chore(tasks): phase 3 closed with the user's /context measures; dev tool-search measure queued

This commit is contained in:
bchanot committed 2026-11-03 11:03:54 +01:00
1 parent 29624d703f
commit 60f28a66a7
2 files changed
+6 -1

No files matched your search

+3
View File
@@ -686,3 +686,6 @@ rules:
- phase 5 profiles+packs shipped on feature/phase5-profiles-packs (13 tasks SDD, 3-lens challenge, gates MET/CONFORME/PASS after 3 passes): 9 packs, 9 profile fragments, profile.sh one-jq current --plain, cc <name> [profile], census; BDR-134, LRN-248..253, BLK-039/040, EVAL-054; TODO: router ask-before-Fable queued
- BDR-125 re-verification (gates x5, 31 SHAs, reconcile engine): 0 code defect, 5 done-but-open ticks → chore/todo-reconcile-bdr125 e58a617 (merge on signal); EVAL-055, LRN-255. /feat router-ask-tier (feature/router-ask-tier): plan r1 FATAL x2 → r3, feater 28 TIER tests, GATE 0 MET, verifier CONFORME 11/11, security PASS (1 LOW fixed); 9a24a62 + docs 789fd00; BDR-135, LRN-254. Merge on signal. Next: phase 2 guards via /ship-feature.
- Phase 2 guards (feature/phase2-guards): bench 16 ask + 7 deny approved (quoted finish rule, gitflow_finish*, bash -s* not), rtk rc 3 passthrough, router write guard (skill latch), code-limits hook, settings via index, release finish in main loop. Plan r1 FATAL x2 → r3; SDD 11 tasks; final review fix wave; gates: verifier ECARTS → human rulings (16 replaces 11, criteria 1/5/7 amended, USAGE in scope), security PASS (MEDIUM rtk read -n .env queued). BDR-136, LRN-256/257, EVAL-056, BLK-018 resolved. Merge on user signal; /close click after merge.
## 2026-11-03
- Phase 3 closed, not built (user /context 2026-11-03: full 40k, dev 38.4k, web 40k; connector instr have a native lever, jit-subtractable doctrine ~1-2k). dev System tools 11.5k vs 7.6k full: tool-search threshold suspected, queued. Phase 2 merged 29624d7. Next: phase 4b capture on feature/memory-capture.
+3 -1
View File
@@ -104,10 +104,12 @@ Shared rules for every phase:
- Proof: evasion matrix per rule (bench), the /close ritual finishes after one click, destructive commands never run live (plugin test with stubs only).
- Cleanup: compress the gitflow section only for the forms now enforced.
- [ ] **Phase 3, context mod: CONDITIONAL** (user pick 2026-10-25). Measure the always-on residual after phases 0, 4a, 1, 5 and 2 (`/context` at repo root + the two biggest projects). Build only if a mod can carry conditionally a residual worth its cost (birth, off switch, canaries, doctor line); otherwise close the item with the measurement.
- [x] **Phase 3, context mod: CONDITIONAL — CLOSED 2026-11-03, not built** (measured by the user, repo root, Opus 5.5, after phases 0/4a/1/5/2: full 40k = memory files 8.2k, skills 16.5k, system tools 7.6k, MCP instr 2.4k, agents 2.2k, system 2.2k; dev 38.4k = memory 8.2k, skills 12.7k, system tools 11.5k, MCP instr 0.7k; web 40k. Connector instructions already have a native lever (profile `deniedMcpServers`: 2.4k → 0.7k on dev); the jit-subtractable doctrine left in memory files is ~1-2k (3-5%), not worth a mod birth, canaries, off switch and doctor line.) (user pick 2026-10-25). Measure the always-on residual after phases 0, 4a, 1, 5 and 2 (`/context` at repo root + the two biggest projects). Build only if a mod can carry conditionally a residual worth its cost (birth, off switch, canaries, doctor line); otherwise close the item with the measurement.
- If built, scope = `prompt.compose` section deltas for doctrine a carrier already re-delivers (jit-marked, never deleted; mod off = full text; ledger in `$.state`, reset on compact/clear) + `mcp_instructions_delta` for connectors irrelevant in a coding repo. Shared infra (jit-marker subtraction, `$.state` ledger) lives here or in 4c, whichever ships first.
- Dropped by the re-challenge: skill listing filter + routing.json `contexts` + census (phase 5 packs + the budget env already give 0 name-only); routing-hint classifier (no measured miss outside code intents the phase 2 guard catches; the "Skill routing" table lines move into our own skills' `description:`, ≤3 lines for vendored aliases stay in CLAUDE.global.md, done in phase 1 cleanup); agent listing rewrite (phase 1 diet); higgsfield deltas (phase 0/5); project fingerprint. `prompt.attachment` kinds (`skill_listing`, `agent_listing_delta`…) exist in the 2.1.306 types but not in the docs text: re-verify at build time.
- [ ] Measure: under profile `dev` System tools rise to 11.5k vs 7.6k on `full` (23 MCP tools vs 180): likely the deferred tool-search threshold no longer trips and tool definitions inline; dev saves 1.6k total instead of ~5k. Check the CLI threshold (ENABLE_TOOL_SEARCH / auto threshold) before tuning the dev profile.
- [ ] **Phase 4b-4d, memory v2 capture, read, feedback** (shrunk 2026-10-25 to the measured channels)
- Measured recall (5 real FR prompts, 22 relevant entries): BM25 full text 9/22, haiku rerank of lexical top-30 14/22 (~8.5k chars). Error 4-gram match on real errors: BLK-030/031/034 exact, no false positive; 5 of 7 real errors of 2026-10-23 had NO entry: capture is the weak link.
- **4b capture (mod).** Failure ledger: tool results with isError, deny or non-zero exit carrying a distinctive error line → normalized + verbatim + command, REDACTED at capture (rtk-rewrite redaction + gitleaks patterns), bounded ring per session in `$.store` (4 MiB cap), matched against the registry error index; unmatched = new failure modes. Milestones: feat/fix commit, `gitflow finish`, a suite red then green. `memory_pending` tool returns unmatched failures + milestones; /capitalize, /close and every CAPITALIZE step call it first; one context note at the next prompt after a milestone, never per turn, never at Stop. "Proactive capitalization" paragraph KEPT. Writing always = model draft + user approval + lib/memory.sh.