Skip to content

test(recursive-structure-guard): pin recursive model and allocation - #95

Merged
49115566 merged 2 commits into
mainfrom
test/0015-recursive-workflow-guards+0001-recursive-structure-guard
Oct 14, 2026
Merged

49115566 merged 2 commits into
mainfrom
test/0015-recursive-workflow-guards+0001-recursive-structure-guard

Conversation

@49115566

Copy link
Copy Markdown
Owner

Summary

Publishes the reviewed work item 0015-recursive-workflow-guards/0001-recursive-structure-guard — a committed, fixture-based agreement area that pins the recursive lifecycle model, the canonical-reference grammar, and per-level sequence allocation at depth >= 3. The recursive model is documented and swept but was pinned by almost no committed fixture; this guard closes that gap for the structure/reference/allocation contract.

Changes

  • New tests/checks/81-recursive-structure-guard.sh (suite token AC27, sourced by tests/run.sh): fixture-shape sub-areas (fixture-depth, hybrid-node, reservation-marker, allocation-scoping, reference-depth), a derived DUPLICATE-PREFIX/DUPLICATE-CHILD finding set compared to a committed expected block (duplicate-derivation, duplicate-position), pinned recursive-model/reference/allocation authority prose (contract-pins), and a read-only/self-containment contract (read-only-contract).
  • New tests/fixtures/recursive-structure/ fixture root: a four-level tree with a hybrid top-level node, a decomposing branch, duplicate samples at the top level (9010-*) and at depth 4 (0009-dup-*), and marker-only leaves.
  • tests/mutation.sh: one appended stage_copy() line so the mutation self-check clean whole-suite runs see the new fixture root.

Testing

  • bash tests/run.sh → TOTAL: 588 passed, 0 failed, 0 skipped (reconciled tree, includes the sibling guard areas and all 37 AC27 assertions)
  • FRAMEWORK_TEST_AREAS=81-recursive-structure-guard bash tests/run.sh → 37 passed, 0 failed, 0 skipped (per verify.md)
  • bash tests/mutation.sh → clean whole-suite runs green and 30/30 mutations caught (per verify.md)
  • Acceptance criteria covered: AC1–AC16

Conflict detection

No conflicts detected. The read-only pre-flight (git fetch origin main, merge base a006142, git merge-tree --write-tree --name-only HEAD origin/main) reported no conflicted paths. Framework-integrity checks: top-level work/ prefixes 0001–0015 are distinct on both branches, the immediate children of 0015 (0001–0005) are distinct, no manifest dependency-graph fault, and no duplicated inventory/count drift.

Reconcile

  • Result: reconciled (fast-forward merge of origin/main; no conflicts and no work/ conflicts to resolve)
  • Resolved paths: none
  • Re-verification: bash tests/run.sh → 588 passed, 0 failed, 0 skipped

Risks

  • Suite token AC27 is provisional; its registration in tests/README.md and the committed mutation jobs are owned by 0005-guard-registration-sweep.
  • tests/mutation.sh is a shared append-only test surface (declared in design.md); this item adds exactly one stage_copy() line.
  • None otherwise identified.

Artifacts

Workflow artifacts under work/ are committed working state, so these paths exist on the branch and resolve for a reviewer who does not share the working tree:

  • Spec: work/0015-recursive-workflow-guards/0001-recursive-structure-guard/spec.md
  • Design: work/0015-recursive-workflow-guards/0001-recursive-structure-guard/design.md
  • Tasks: work/0015-recursive-workflow-guards/0001-recursive-structure-guard/tasks.md
  • Verification: work/0015-recursive-workflow-guards/0001-recursive-structure-guard/verify.md
  • Review: work/0015-recursive-workflow-guards/0001-recursive-structure-guard/review.md

…allocation

Add committed agreement area AC27 (tests/checks/81-recursive-structure-guard.sh)
and its fixture root tests/fixtures/recursive-structure/, whose tree reaches
four item levels and exercises a hybrid node, a marker-only leaf, per-level
allocation scoping, and the depth->=3 duplicate derivation. The guard derives
the DUPLICATE-PREFIX/DUPLICATE-CHILD findings for its samples and pins the
recursive-model, reference, and per-level-allocation authority prose.

Stage the new fixture root into the mutation self-check's clean copy (one
appended stage_copy line) so its whole-suite runs stay green.

Refs: work/0015-recursive-workflow-guards/0001-recursive-structure-guard
…-workflow-guards/0001-recursive-structure-guard

Tick the completed tasks and record the tester's verify.md and the reviewer's
approving review.md for the recursive structure guard.
@49115566
49115566 merged commit 0c72cfe into main Oct 14, 2026
2 checks passed
@49115566
49115566 deleted the test/0015-recursive-workflow-guards+0001-recursive-structure-guard branch October 14, 2026 15:22
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