Skip to content

Guide-pins v2 (guide only): derive Ask First, stakes-filter contradictions, bake in taught best practices, existence ACs, substitute tiers, keyed-tool defaults - #20

Merged
Carr1005 merged 1 commit into
mainfrom
guide-pins-v2
Sep 7, 2026
Merged

Carr1005 merged 1 commit into
mainfrom
guide-pins-v2

Conversation

@Carr1005

@Carr1005 Carr1005 commented Sep 7, 2026 •

Copy link
Copy Markdown
Collaborator

What (guide-only — reshaped)

Evolves spec-generation-guide.md (+33/−18) with the rules validated by the guide-pins-v2 pass; no spec changes (see "What changed in this PR's scope" below).

  • §6 Ask First is derived, not composed — entries come mechanically from Pass B's mined spoken trade-offs; criterion (b) ("changes a behavior guarantee without failing any AC") captures the silent-drift class; §14 audit; section retitled "Standing Permissions (in force for the entire build)". (Guide: pin the Ask-First inventory — derive it from Pass-B mined trade-offs #8)
  • §5.5 stakes-filter for contradicted: a contradiction always surfaces provenance but earns a Ledger row only if the stakes test passes at initial choice time; near-equivalent levers become body defaults picked by a deterministic lever-value rule (narration → app config → majority/earliest, branch cited). (Guide: stakes-filter the contradicted category + reframe best-practice design-argued rows #11)
  • §5.5 best-practice bake-in: a Ledger row requires a genuinely two-sided argument; taught-best-practice-vs-anti-pattern teachings become business rules (degenerate-case clause on the litmus). (Guide: stakes-filter the contradicted category + reframe best-practice design-argued rows #11)
  • §8 existence ACs — every declared persistent structure gets a fresh-init existence AC.
  • §3 deterministic substitute tiers (standard distribution / embedded / locally served), judged at the spec's declared default scale, invariant-guarded.
  • §3 keyed-tool defaults — three honest options (real "(course default)" / labeled fake stand-in / omit); default decided by the sole-carrier test.
  • §12.9 reconciled; Output mandates recording the generating guide commit in every spec's provenance header (per-course pinning).

Validation

Three rounds of clean-room regenerations (two isolated agents per round, PR #9 protocol); every round's failures traced to a specific rule sentence, fixed, re-run; final round 25/25 properties file-verified. Full record: docs/research/guide-pins-v2-property-matrix.md. A complete build (run-08) from the final regen went 15/15 on its offline AC suite with a passing temptation probe against the restored Ask-First guard.

What changed in this PR's scope

An earlier version of this PR also replaced the agent-memory spec.md with the validation regen (B3). That was removed after two discoveries (matrix addendum): the shipped spec has strong field feedback, and B3 regresses the merged #15 scope-boundary row — the guide-side rule (#17) never merged, so no regen can reproduce it yet. Spec replacement rides the next promotion pass, whose regen will carry #17 + the #18 residuals and arrive strictly better than B3. B3 remains under experiments/ as validation evidence.

Residuals: #18 (route closure, constants→CTX, fixture churn, gate-semantics reform) · #19 (recording). PR #17 will be absorbed and validated by that same promotion pass.

Closes #8. Closes #11.

🤖 Generated with Claude Code

…ctions; bake in taught best practices; existence ACs; deterministic substitute tiers; keyed-tool defaults; guide-version pinning

Implements #8 and #11, validated by three rounds of clean-room regenerations
(matrix: docs/research/guide-pins-v2-property-matrix.md; final round 25/25
file-verified). Spec adoption deliberately NOT included: the shipped
agent-memory spec has strong field feedback, and the validation regen (B3)
predates the unmerged #17 scope-boundary rule — replacement rides the next
promotion pass so the spec arrives strictly better. See the matrix addendum.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Carr1005 Carr1005 changed the title Guide-pins v2: derive Ask First, stakes-filter contradictions, bake in taught best practices; adopt the regenerated 12-row agent-memory spec Guide-pins v2 (guide only): derive Ask First, stakes-filter contradictions, bake in taught best practices, existence ACs, substitute tiers, keyed-tool defaults Sep 7, 2026
@Carr1005
Carr1005 merged commit dbaaa7c into main Sep 7, 2026
@Carr1005
Carr1005 deleted the guide-pins-v2 branch October 11, 2026 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant