teleo-codex/ops/systemd/teleo-diagnostics.service
m3taversal 05d74d5e32 sync: import all VPS pipeline + diagnostics code as baseline
Imports 67 files from VPS (/opt/teleo-eval/) into repo as the single source
of truth. Previously only 8 of 67 files existed in repo — the rest were
deployed directly to VPS via SCP, causing massive drift.

Includes:
- pipeline/lib/: 33 Python modules (daemon core, extraction, evaluation, merge, cascade, cross-domain, costs, attribution, etc.)
- pipeline/: main daemon (teleo-pipeline.py), reweave.py, batch-extract-50.sh
- diagnostics/: 19 files (4-page dashboard, alerting, daily digest, review queue, tier1 metrics)
- agent-state/: bootstrap, lib-state, cascade inbox processor, schema
- systemd/: service unit files for reference
- deploy.sh: rsync-based deploy with --dry-run, syntax checks, dirty-tree gate
- research-session.sh: updated with Step 8.5 digest + cascade inbox processing

No new code written — all files are exact copies from VPS as of 2026-04-06.
From this point forward: edit in repo, commit, then deploy.sh.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 00:00:00 +01:00

21 lines
534 B
Desktop File

[Unit]
Description=Argus — Teleo Pipeline Diagnostics Dashboard
After=teleo-pipeline.service
Wants=teleo-pipeline.service
[Service]
Type=simple
User=teleo
Group=teleo
WorkingDirectory=/opt/teleo-eval/diagnostics
ExecStart=/usr/bin/python3 /opt/teleo-eval/diagnostics/app.py
Environment=PIPELINE_DB=/opt/teleo-eval/pipeline/pipeline.db
Environment=ARGUS_PORT=8081
Environment=REPO_DIR=/opt/teleo-eval/workspaces/main
Restart=on-failure
RestartSec=5
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target