Skip to content

📝 docs(examples): EX-S09 walkthrough byte-pinned to complex cases - #65

Merged
konih merged 7 commits into
mainfrom
lane/ex-s09
Aug 16, 2026
Merged

📝 docs(examples): EX-S09 walkthrough byte-pinned to complex cases#65
konih merged 7 commits into
mainfrom
lane/ex-s09

Conversation

@konih

@konih konih commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Rewrote docs/usage/walkthrough.md Step 3 to show real, byte-captured assent test console output from all three example packs (topic-registry YAML nested fields, service-catalog JSON nested objects, infra-vars tfvars nested maps), naming the .tf opaque-REVIEW and companion-file-delete-REVIEW (C8) cases by their real case names.
  • Mapped all eight REF-EX C1–C8 governance patterns to their real case names, cross-checked against openspec/specs/backlog.md's authoritative table.
  • Extended hack/docs/truthlag_pins_test.sh (not forked) with pins that compare full name (DECISION) pairs bidirectionally between the walkthrough's console blocks and live assent test output, so any invented case, wrong decision, or silently-truncated block reddens the gate. This closes a P1 found in round 1 of independent review (pins previously checked case names but not decisions).
  • examples/README.md was checked and confirmed already accurate from prior lanes (S01/S05/S06/S07); left untouched.

Spec: openspec/specs/p5-ex-complex-examples/spec.md EX-S09. Independently reviewed across two rounds — verdict APPROVE (round 1 P1 fixed and confirmed to genuinely generalize in round 2; only non-blocking P3 notes remain).

Test plan

  • task check green, including changelog-verify
  • task docs-gates green (readme_smoke_test.sh, truthlag_pins_test.sh, example_format_inventory_test.sh)
  • Manually rebuilt ./bin/assent and re-ran assent test against all three packs (topic-registry, service-catalog, infra-vars); output matches docs/usage/walkthrough.md Step 3 verbatim
  • Rebase onto origin/main was a no-op (lane already based on current tip)

konih added 7 commits August 16, 2026 13:33
… output (EX-S09)

Step 3's console block was 8 lines of stale topic-registry-only output and the
intro implied partitions was the sole governed field. Replace it with real,
captured `assent test` output across all three shipped packs (YAML nested
maps, JSON nested objects, tfvars nested maps, plus the .tf opaque and C8
companion-delete REVIEW cases), and name the REF-EX C1-C8 patterns by real
case name. Extend hack/docs/truthlag_pins_test.sh (REQ-EX-S09-01..03) so every
case name the walkthrough shows must exist in real assent test output, all
four formats must be named, and any HCL/.tf claim must stay REVIEW/opaque/
known-limitation, never an "understands Terraform" overclaim.
…apshot

Three follow-up fixes on the walkthrough pinning work: (1) the intro's "one YAML
file" snippet showed invented fields (name/retentionMs) that exist nowhere in the
shipped corpus - replace it with a trimmed excerpt of a real fixture; (2) Step 1's
rule-file parenthetical still named the pre-S06 four-rule pack while the pack now
ships nine, and add a filesystem-driven pin so that list can't go stale again; (3)
the .tf/REVIEW honesty pin in truthlag_pins_test.sh grepped the whole page for
"REVIEW|opaque", which can never fail once Step 3's console blocks exist (~30
REVIEW lines) - replace it with a stable-substring match on the actual honest
sentence, reconfirmed by mutation to now redden when the sentence is softened.
Also regenerate CHANGELOG.md (drift from the prior EX-S09 commit).
@konih
konih merged commit 042f0d7 into main Aug 16, 2026
7 checks passed
@konih
konih deleted the lane/ex-s09 branch August 16, 2026 12:12
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