teleo-codex/ops/pipeline-v2/lib
m3taversal 154f36f2d3 epimetheus: fix eval crash + wire per-PR cost tracking
Three bugs fixed:
1. triage_pr() returns 3 values but line 611 unpacked 2 → ValueError on every
   non-deterministic PR (circuit breaker opened, 5 PRs stuck)
2. costs import was inside triage else-block → NameError on deterministic routes
3. pr_cost never written to prs.cost_usd → 0% cost tracking across 1,118 PRs

Cost tracking now covers all 4 exit paths: domain failed, domain rejected,
Leo failed, and normal completion. Uses additive UPDATE (cost_usd + ?) so
re-evals accumulate correctly.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 12:01:13 +01:00
..
__init__.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
analytics.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
attribution.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
breaker.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
cascade.py commit pending pipeline changes: watchdog tier0 recovery, stale_pr cleanup, deploy.sh improvements 2026-04-13 10:14:54 +02:00
claim_index.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
config.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
connect.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
costs.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
cross_domain.py Add Phase 1+2 instrumentation: review records, cascade automation, cross-domain index, agent state 2026-04-02 10:50:49 +00:00
db.py commit pending pipeline changes: watchdog tier0 recovery, stale_pr cleanup, deploy.sh improvements 2026-04-13 10:14:54 +02:00
dedup.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
digest.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
domains.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
entity_batch.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
entity_queue.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
evaluate.py epimetheus: fix eval crash + wire per-PR cost tracking 2026-04-14 12:01:13 +01:00
extract.py commit pending pipeline changes: watchdog tier0 recovery, stale_pr cleanup, deploy.sh improvements 2026-04-13 10:14:54 +02:00
extraction_prompt.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
feedback.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
fixer.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
forgejo.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
health.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
llm.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
log.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
merge.py ship: add contributor attribution tracing to PR lifecycle 2026-04-07 14:56:03 +00:00
post_extract.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
pre_screen.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
search.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00
stale_pr.py apply Ganymede review fixes: delete misplaced ops/db.py, correct diff log, fix stale_pr DB update 2026-04-13 10:57:43 +02:00
substantive_fixer.py fix: add date_errors to substantive fixer tag routing 2026-04-07 14:56:02 +00:00
validate.py commit pending pipeline changes: watchdog tier0 recovery, stale_pr cleanup, deploy.sh improvements 2026-04-13 10:14:54 +02:00
watchdog.py commit pending pipeline changes: watchdog tier0 recovery, stale_pr cleanup, deploy.sh improvements 2026-04-13 10:14:54 +02:00
worktree_lock.py sync: import all VPS pipeline + diagnostics code as baseline 2026-04-07 00:00:00 +01:00