Skip to content

docs: fast-lane review lessons — grep-tests hide phantom-done; deploy-manifest completeness#384

Merged
urlmonitor merged 2 commits into
mainfrom
learning/phantom-done-lessons
Jul 23, 2026
Merged

docs: fast-lane review lessons — grep-tests hide phantom-done; deploy-manifest completeness#384
urlmonitor merged 2 commits into
mainfrom
learning/phantom-done-lessons

Conversation

@urlmonitor

Copy link
Copy Markdown
Owner

Summary

Captures two hard-won lessons from building the fast-lane feature and its independent review, as CLAUDE.md Implementation-Conventions entries (matching the existing retro-KI style):

  1. Gate/Workflow ACs — verify behaviorally, not by grep. The anti-phantom-done feature itself shipped a phantom-done runner: fast-lane-build.js passed its grep-only structural tests while never executing its gates, and fast_lane.py had no CLI (its select_batch call was a no-op). Invisible to structural tests; caught only by a code-review agent + a logic-check agent that executed the code. Rule: cover workflow/gate ACs with behavioral or semantic-consumption tests + independent adversarial review before marking done.

  2. New hook/gate deps must be in the build deploy-manifest. done_proof.py (backing the check_done_proof hook + the required CI done-proof gate) was omitted from build_ac_store's deploy_map, so the deployed hook crashed with ModuleNotFoundError — which would have blocked every merge once the gate became required. Rule: add hook/gate imports to the deploy_map and verify via the deployed hook, not just source-tree unit tests.

Also commits the IT-PO greenfield package-surface assignment note (memory/) surfaced during the run.

Separate from the fast-lane feature PR (#378) — this is pure knowledge capture.

🤖 Generated with Claude Code

Test User and others added 2 commits July 22, 2026 12:45
… deploy-manifest completeness)

Two CLAUDE.md Implementation-Conventions entries distilled from the fast-lane build + independent code-review/logic-check: (1) gate/workflow ACs must be verified behaviorally or by semantic-consumption, never grep-only string presence — the anti-phantom-done feature itself shipped a phantom-done runner that passed grep tests while never executing its gates. (2) a new module imported by a commit-guardian hook / required CI gate must be added to the build deploy_map or the deployed hook crashes with ModuleNotFoundError and blocks every merge once required. Also commits the IT-PO greenfield package-surface assignment note (memory/) surfaced during the run. SKIP=check-product-truth-{validate,generate}: pre-existing unrelated index drift.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@urlmonitor
urlmonitor merged commit 154b691 into main Jul 23, 2026
7 checks passed
@urlmonitor
urlmonitor deleted the learning/phantom-done-lessons branch July 23, 2026 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant