feat(convoy-metrics): un-gitignore .metrics.jsonl + add CI gate on convoy PRs #134
No reviewers
Labels
No labels
agent-context-drift
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: rstillwell/deckhearth#134
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/restore-convoy-metrics-gate"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
The convoy metrics shim worked correctly through Jun 4 (65 role events, 25 convoys recorded in
.convoys/.metrics.jsonl) but silently stopped capturing thereafter. 8 convoy PRs merged Jun 5-11 (#126-#133) with zero rows logged. The L2 roles'## Metricssections clearly instruct agents to callscripts/log-convoy-event.shafter every hand-off, but the instruction was skipped during multitask audit fan-outs and longer sessions where the Metrics section fell out of the agent's working context.Without telemetry, the agent-pipeline
analytics/v0.4-beta1-results.md§10 measurement protocol can't run, kill criteria can't trigger, and the closed-loop improvement story (Phases 6/7/8) has no fuel.See
agent-pipeline / docs/PHASE-2A-DESCOPE.mdandanalytics/v0.4-beta1-results.md§Observational data for the data trail.What
Two changes:
.gitignore: drop the.convoys/.metrics.jsonlignore line. Convoy telemetry is now committed in git so silent gaps surface in PR review. The shim header already documented "events contain only metadata — no code, no prompts" so this is safe..github/workflows/convoy-metrics-gate.yml: new CI workflow that fails any PR titledconvoy:(case-insensitive) if no rows were added to.convoys/.metrics.jsonlbetween base and head. Bypass: add theskip-metricslabel to the PR and document why in the body. Non-convoy PRs are no-op.Also: commits the existing 65-event history so future baselines have a stable reference point.
Test plan
bash scripts/log-convoy-event.sh role=role-test convoy=metrics-restoration-check duration_s=1— file appended cleanly (test row removed before commit).feat(convoy-metrics):notconvoy:)..metrics.jsonlchange.Behavior changes for future convoy work
Once merged, L2 roles MUST call
bash scripts/log-convoy-event.sh role=role-X convoy=<slug> ...at every hand-off, exactly as their existing## Metricssections instruct. The CI gate will catch any convoy PR that skips it.Bypass scenarios for the
skip-metricslabel:Related
varutasu/agent-pipeline#1— companion Phase 1a + descope-Phase-2a PR.feat(convoy-metrics):notconvoy:) so the new gate does not self-trigger.Made with Cursor
The latest updates on your projects. Learn more about Vercel for GitHub.
Pipeline Health
Build + CI gates
Build runs on Vercel; this CI runs lint and schema-map drift only (no duplicate build).
Role reports
See individual comments above for details. This rollup updates automatically.