aboutsummaryrefslogtreecommitdiff
path: root/todo.org
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-02 01:29:37 -0400
committerCraig Jennings <c@cjennings.net>2026-07-02 01:29:37 -0400
commit44c8cc2f0657653b2173faaa3518fa74f931d468 (patch)
tree0e199070382728d3c0bdf9be38630f0e41f1b3cf /todo.org
parenteea93f152460b9624b3b863fa2b7a4901b391eb0 (diff)
downloadrulesets-44c8cc2f0657653b2173faaa3518fa74f931d468.tar.gz
rulesets-44c8cc2f0657653b2173faaa3518fa74f931d468.zip
feat(backlog): add the metrics synthesis step to org-roam
"synthesize backlog metrics" reads the JSONL union across personal projects and computes the per-run rollups, the trends, and the corrections signal (a later revert or fix touching an autonomous commit's files within ~14 days, a flag for review rather than a conviction). It writes one :agent:metrics: KB node linking back to prior synthesis nodes. Work and unknown projects are excluded by the denylist classification and reported per the refusal contract. The step is read-only over the logs plus the single KB write. It never mutates the JSONL, todo.org, or any project tree.
Diffstat (limited to 'todo.org')
-rw-r--r--todo.org4
1 files changed, 2 insertions, 2 deletions
diff --git a/todo.org b/todo.org
index 5135bc1..d4b3c1c 100644
--- a/todo.org
+++ b/todo.org
@@ -474,8 +474,8 @@ The four-item checklist (in since Phase 1) gained its mechanics: a VERIFY-filing
*** 2026-07-02 Thu @ 01:24:50 -0400 Phase 5 landed — per-task JSONL metrics log
Metrics section written into work-the-backlog.org: one record per task at outcome time, appended to the project's .ai/metrics/work-the-backlog.jsonl (git-tracked, append-only, dir+file created on first append). Full field table per the spec (ts, run_id, project, caller, task, outcome, defer_reason, upfront_decision, wall_clock_s, commit_sha, review_findings), outcome slugs mapped to the prose vocabulary, commit_sha flagged as the corrections-signal key (comma-separated when a task decomposed into several commits). Added the sixth outcome the spec's readiness section demanded but the enum missed: failed (tree left working, surfaced, run continues) — wired into the Outcomes vocabulary and loop step 4. A failed append warns in the run summary but never blocks, reorders, or aborts execution.
-*** TODO [#C] Phase 6 — synthesis to org-roam :feature:
-Read the JSONL union, compute per-run + trend metrics, write a KB node under ~/org/roam/agents/ per knowledge-base.md (personal-projects-only classification enforced). Spec Phase 6. Verify: read-only over the logs plus one KB write.
+*** 2026-07-02 Thu @ 01:27:43 -0400 Phase 6 landed — synthesis step to org-roam
+Synthesis section written into work-the-backlog.org (trigger "synthesize backlog metrics", INDEX row added): discover the JSONL union across project roots, classify each project per knowledge-base.md's denylist before reading, exclude work/unknown projects with the refusal contract, compute per-run rollups + trends, compute the corrections signal (later revert/fix commit touching the same files within ~14 days — a flag for human review, not a conviction), write one :agent:metrics: KB node under ~/org/roam/agents/ with [[id:...]] links to prior synthesis nodes, pull-before/commit-push-after. Read-only over the logs plus the single KB write; never mutates JSONL, todo.org, or any tree.
*** TODO [#C] Speedrun — live trial validation :test:
What we're verifying: the whole loop under a real run. Craig names a small ordered set in a coding project and says "no approvals speedrun": pre-flight Q&A fires once up front, each task lands as its own reviewed commit, ineligible/underspecified tasks get VERIFYs instead of half-work, the end-of-set page arrives via notify --persist, and the metrics JSONL carries one record per task. Not :solo: — needs Craig's set and his read on the run.