|
1 | | -# Agent enrichment wave — tracer workflow (plans 3–4) |
| 1 | +# Agent enrichment wave — tracer workflow (plan 4) |
2 | 2 |
|
3 | | -> **Status:** in-flight · **Scope:** remaining P2 plans ranked by consumer/agent ROI |
| 3 | +> **Status:** in-flight · **Scope:** remaining P2 plan ranked by consumer/agent ROI |
4 | 4 | > |
5 | 5 | > **Goal:** Ship tracer bullets that cut agent round-trips, improve answer trust, and sharpen PR/CI deltas — all Moat-A (predicate columns, no verdict primitives). |
6 | 6 | > |
7 | | -> **Shipped (plans retired):** Evidence chains ([#174](https://github.com/stainless-code/codemap/pull/174)) · Graph-estimated CRAP ([#175](https://github.com/stainless-code/codemap/pull/175)) — durable contract in `golden-queries.md` + `architecture.md`; plan files deleted per [docs-governance](../../.agents/skills/docs-governance/SKILL.md) § Closing a plan. |
| 7 | +> **Shipped (plans retired):** Evidence chains ([#174](https://github.com/stainless-code/codemap/pull/174)) · Graph-estimated CRAP ([#175](https://github.com/stainless-code/codemap/pull/175)) · Coverage deletion confidence (PR **#D**) — durable contracts in `golden-queries.md` + `architecture.md`; plan files deleted per [docs-governance](../../.agents/skills/docs-governance/SKILL.md) § Closing a plan. |
8 | 8 | > |
9 | | -> **Remaining:** [coverage-deletion-confidence](./coverage-deletion-confidence.md) → [audit-delta-attribution](./audit-delta-attribution.md) |
| 9 | +> **Remaining:** [audit-delta-attribution](./audit-delta-attribution.md) |
10 | 10 |
|
11 | 11 | --- |
12 | 12 |
|
13 | 13 | ## Shared conventions (locked) |
14 | 14 |
|
15 | | -| Convention | Applies to | |
16 | | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- | |
17 | | -| **Moat A** — no `pass`/`fail` engine verdict; extra columns only | All | |
18 | | -| **`reason` TEXT** — machine code + short clause where useful | #3 | |
19 | | -| **`evidence_json` TEXT** — bounded JSON array (≤3 hops) | shipped #1 | |
20 | | -| **`confidence` / `coverage_source` / `attribution`** — recipe-specific enums | #3, #4 | |
21 | | -| **Golden update per slice** — `fixtures/golden/minimal/*.json` + `scenarios.json` | All | |
22 | | -| **`/harden-pr lite`** after each tracer commit; **`/harden-pr full`** before PR merge | All | |
23 | | -| **Retire plan on merge** — delete `docs/plans/<topic>.md` + lift to reference docs/roadmap in the **same PR** (never leave shipped plans as leftovers) | All | |
24 | | -| **No deferring complements** — agent surfaces (rule/skill/MCP), glossary, golden/script tests, and plan acceptance items ship **in the same PR** unless explicitly listed under plan **Out of scope** | All | |
| 15 | +| Convention | Applies to | |
| 16 | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------- | |
| 17 | +| **Moat A** — no `pass`/`fail` engine verdict; extra columns only | All | |
| 18 | +| **`reason` TEXT** — machine code + short clause where useful | shipped | |
| 19 | +| **`evidence_json` TEXT** — bounded JSON array (≤3 hops) | shipped | |
| 20 | +| **`confidence` / `coverage_source` / `attribution`** — recipe-specific enums | shipped #3, #4 | |
| 21 | +| **Golden update per slice** — `fixtures/golden/minimal/*.json` + `scenarios.json` | All | |
| 22 | +| **`/harden-pr lite`** after each tracer commit; **`/harden-pr full`** before PR merge | All | |
| 23 | +| **Retire plan on merge** — delete `docs/plans/<topic>.md` + lift to reference docs/roadmap in the **same PR** (never leave shipped plans as leftovers) | All | |
| 24 | +| **No deferring complements** — agent surfaces (rule/skill/MCP), glossary, golden/script tests, and plan acceptance items ship in the **same PR** unless explicitly listed under plan **Out of scope** | All | |
25 | 25 |
|
26 | | -**Cross-plan synergy:** shipped evidence `reason` complements #4 `attribution` on audit `added` rows. CRAP `coverage_source` (#175) ships before #3 so deletion-confidence can narrow rows with coverage semantics. |
27 | | - |
28 | | ---- |
29 | | - |
30 | | -## Plan 3 — Coverage deletion confidence (`coverage-deletion-confidence.md`) |
31 | | - |
32 | | -| Slice | Deliverable | Verify | |
33 | | -| -------------------------- | -------------------------------------------------------------- | ------------- | |
34 | | -| **3.1 recipe fork** | `coverage-confirmed-dead.sql` + `.md` from `untested-and-dead` | query CLI | |
35 | | -| **3.2 golden no-ingest** | `confidence: medium` policy (per D.4) | `test:golden` | |
36 | | -| **3.3 golden with ingest** | fixture coverage → `confidence: high` | `test:golden` | |
37 | | -| **3.4 classifier** | intent keywords if needed | optional | |
38 | | - |
39 | | -**Grill before 3.1:** Q3 without ingest — `medium` rows vs empty + stderr (plan D.4 leans medium rows). |
| 26 | +**Cross-plan synergy:** shipped evidence `reason` complements #4 `attribution` on audit `added` rows. Shipped `confidence` (#D) narrows deletion triage after `ingest-coverage`. |
40 | 27 |
|
41 | 28 | --- |
42 | 29 |
|
|
54 | 41 |
|
55 | 42 | ## PR cadence |
56 | 43 |
|
57 | | -| PR | Contents | Changeset | Retire plan on merge | |
58 | | -| -------------------------- | --------------- | --------- | --------------------------------- | |
59 | | -| **#D Deletion confidence** | Plan 3 complete | patch | `coverage-deletion-confidence.md` | |
60 | | -| **#E Audit attribution** | Plan 4 complete | patch | `audit-delta-attribution.md` | |
| 44 | +| PR | Contents | Changeset | Retire plan on merge | |
| 45 | +| ------------------------ | --------------- | --------- | ---------------------------- | |
| 46 | +| **#E Audit attribution** | Plan 4 complete | patch | `audit-delta-attribution.md` | |
61 | 47 |
|
62 | | -Each PR: `harden-pr full` (includes plan retirement) → merge. Do not batch plans 3–4 into one PR. |
| 48 | +Each PR: `harden-pr full` (includes plan retirement) → merge. |
63 | 49 |
|
64 | 50 | --- |
65 | 51 |
|
66 | 52 | ## Current slice |
67 | 53 |
|
68 | | -**Active:** Plan 3 slice **3.1** on `feat/high-crap-score` or fresh branch from `main` after **#175** merges — `coverage-confirmed-dead` recipe fork. |
| 54 | +**Active:** Plan 4 slice **4.1** on fresh branch from `main` after **#D** merges — `findingKey()` helper + unit tests. |
0 commit comments