feat(ctx7): coverage extension — fast-libs single source + reminder hook + executor briefs (BDR-078)

- lib/fast-libs.sh: detect/cache-status verbs, JS+Python manifests,
  7-day cache freshness, LC_ALL=C sort — replaces 3 hardcoded lists
  (ship-feature 0c, init-project 5c, onboard 3.5)
- hooks/ctx7-reminder.sh: once-per-session UserPromptSubmit nudge when
  the project carries fast-libs and .ctx7-cache/ is missing/stale
- find-docs: before-writing-code trigger + cache-first rule; dist is
  machine-owned (gitignored) so the durable patch lives in
  install-plugins.sh STEP ctx7 (idempotent, grep-guarded)
- feater/bugfixer briefs: fast-lib docs rule (fresh cache read, else
  2-topic ctx7 fetch, else NOTES cache miss + proceed)
- tests: lib/tests/fast-libs.test.sh (11 checks); shellcheck + full
  make test green (review-guards 5/0)
This commit is contained in:
Bastien Chanot
2026-07-20 10:45:06 +02:00
parent 6838d5a8fa
commit b7026e4bda
14 changed files with 277 additions and 9 deletions
+20
View File
@@ -1,5 +1,25 @@
# TODO
## 2026-07-20 — ctx7 coverage extension (feature/ctx7-coverage, BDR-078)
Close the 4 gaps from the ctx7 coverage audit: /feat //bugfix + ad-hoc coding
never consult ctx7; fast-libs list hardcoded 3×; zero deterministic backstop.
- [x] (d) `lib/fast-libs.sh` — single source of truth: `detect` +
`cache-status` verbs; JS (package.json exact/scoped keys) + Python;
7-day cache freshness. LC_ALL=C sort (locale-independent order).
- [x] (c) `hooks/ctx7-reminder.sh` — UserPromptSubmit, once-per-session
sentinel, fires only when fast-libs detected; settings.json
registration (2nd ctx7 surface, deliberate refinement of BDR-053).
- [x] (a) find-docs description — before-writing-code trigger (fast-moving
libs, even without a doc question) + cache-first rule in body.
- [x] (b) feater.md + bugfixer.md — fast-lib docs rule (read fresh cache,
else ctx7 fetch max 2 topics, else NOTES cache miss + proceed).
- [x] consumers → lib: ship-feature STEP 0c, init-project STEP 5c, onboard
STEP 3.5 detection blocks point at fast-libs.sh.
- [x] `lib/tests/fast-libs.test.sh` (lib verbs + hook fire/sentinel/quiet)
— 11/0, auto-discovered by the make test glob.
- [x] Gate: shellcheck + make test green (review-guards 5/0). BDR-078 +
journal + CHANGELOG done. Committed on branch, NO merge (human gate).
## 2026-07-19 — Opus-pin dispatched judgment agents (branch feature/opus-pin-audit-agents)
Goal: session model (Fable) = orchestration + inline reflection ONLY.