Skip to content

fix(tests): repair the bootstrap fixture to a clean scan (todo.bootstrap-fixture-repair-or-delete) - #535

Merged
George-RD merged 1 commit into
mainfrom
loop/todo.bootstrap-fixture-repair-or-delete
Jul 30, 2026
Merged

fix(tests): repair the bootstrap fixture to a clean scan (todo.bootstrap-fixture-repair-or-delete)#535
George-RD merged 1 commit into
mainfrom
loop/todo.bootstrap-fixture-repair-or-delete

Conversation

@George-RD

Copy link
Copy Markdown
Collaborator

Executes the maintainer-ratified REPAIR verdict (PR #528 sheet W10) for todo.bootstrap-fixture-repair-or-delete.

What changed

  • Fixture blueprints (cairn.blueprint, cairn-with-demo.blueprint): nested per-module decisions/research pointer directories replaced by System-level flat pointers; the nine phantom src/* paths dropped (declaration-only corpus); header documents the deliberate evidence-corpus split.
  • Artefacts flattened: six decisions and one research file moved to flat slug-only names (dec.dsl-as-current-state.md renamed to blueprint-as-current-state.md to match its id:); provenance kept in prose where machine refs could not stay resolvable.
  • Six missing contracts populated (artefacts, changes, cli, hooks, query, summariser), closing the fixture's own todo.backfill-contracts prop; two fixture decisions extended to anchor cairn.kernel.cli and cairn.summariser (clears CAIRN_PROVENANCE_NO_DECISION).
  • Evidence corpus stays unreached: meta/sources/ (smoke-test corpus premise, todo.artefact-filename-test-fixtures) and meta/research/ (a loaded research artefact must cite loaded sources) gain no pointer; recorded as proposed dec.bootstrap-fixture-corpus-split with evidence in res.bootstrap-fixture-repair and source src.pr-528-w10-ratification.
  • Gate folded: expected-findings.json deleted; test_bootstrap_fixture_scans_clean asserts an empty finding set on a temp copy. Helper split into scan_fixture_copy + assert_scan_matches_baseline (demo keeps its [] baseline).
  • Warning-source decoupled: the two scan --strict exit-code tests in phase_7_7_ux_foundation.rs build an inline warning-only project (CAIRN_RECONCILE_LANGUAGE_UNKNOWN, verified: one Warning, strict exit 1, plain exit 0) instead of borrowing fixture dirt.
  • Plan reconciled: todo.example-corpus-scan-assertions closed done (its close condition landed here); todo.blueprint-authorability-eval opened with the substrate constraint; AGENTS.md fixture row updated (still 'may lag', no longer 'only smoke-parsed').

Verification

  • Fixture: 22 findings before, 0 after (cairn --file tests/fixtures/cairn-bootstrap/cairn.blueprint scan --json); demo variant surfaces exactly its two intended demonstrators.
  • cargo test --test examples_gate --test fixtures_smoke: green (acceptance).
  • Full cargo test: green; cargo clippy --all-targets --all-features -- -D warnings: clean.
  • Root cairn scan --strict exit 0, cairn hook all exit 0; root finding set identical to pre-unit state (no new finding).

@coderabbitai

coderabbitai Bot commented Jul 30, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@George-RD, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 45 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: e1b8bb8c-79b6-4d05-898a-e7930db85dd8

📥 Commits

Reviewing files that changed from the base of the PR and between a20d7b8 and 3ad5fb3.

📒 Files selected for processing (29)
  • AGENTS.md
  • meta/decisions/bootstrap-fixture-corpus-split.md
  • meta/research/bootstrap-fixture-repair.md
  • meta/sources/pr-528-w10-ratification.md
  • meta/todos/todo.blueprint-authorability-eval.md
  • meta/todos/todo.bootstrap-fixture-repair-or-delete.md
  • meta/todos/todo.example-corpus-scan-assertions.md
  • tests/examples_gate.rs
  • tests/fixtures/cairn-bootstrap/cairn-with-demo.blueprint
  • tests/fixtures/cairn-bootstrap/cairn.blueprint
  • tests/fixtures/cairn-bootstrap/expected-findings.json
  • tests/fixtures/cairn-bootstrap/map.json
  • tests/fixtures/cairn-bootstrap/map.md
  • tests/fixtures/cairn-bootstrap/meta/contracts/kernel/artefacts.md
  • tests/fixtures/cairn-bootstrap/meta/contracts/kernel/changes.md
  • tests/fixtures/cairn-bootstrap/meta/contracts/kernel/cli.md
  • tests/fixtures/cairn-bootstrap/meta/contracts/kernel/hooks.md
  • tests/fixtures/cairn-bootstrap/meta/contracts/kernel/query.md
  • tests/fixtures/cairn-bootstrap/meta/contracts/summariser.md
  • tests/fixtures/cairn-bootstrap/meta/decisions/blueprint-as-current-state.md
  • tests/fixtures/cairn-bootstrap/meta/decisions/change-directories.md
  • tests/fixtures/cairn-bootstrap/meta/decisions/contradiction-classes.md
  • tests/fixtures/cairn-bootstrap/meta/decisions/module-path-mapping.md
  • tests/fixtures/cairn-bootstrap/meta/decisions/stable-ids.md
  • tests/fixtures/cairn-bootstrap/meta/decisions/two-chain-authority.md
  • tests/fixtures/cairn-bootstrap/meta/research/related-work-survey.md
  • tests/fixtures/cairn-bootstrap/meta/reviews/rev.module-path-mapping.md
  • tests/fixtures/cairn-bootstrap/meta/todos/todo.backfill-contracts.md
  • tests/phase_7_7_ux_foundation.rs
📝 Walkthrough

Summary by CodeRabbit

  • Bug Fixes

    • Repaired the bootstrap example so it now scans cleanly without the previous warnings.
    • Updated fixture metadata and documentation to reflect synchronized component state and completed contract coverage.
  • Documentation

    • Added guidance on separating evidence from authoritative project records.
    • Documented bootstrap repair findings, provenance practices, module contracts, and updated design decisions.
  • Tests

    • Added direct coverage ensuring the bootstrap example remains warning-free.
    • Isolated strict and non-strict warning behavior checks for more reliable results.

Walkthrough

The bootstrap fixture is converted to a declaration-only corpus that scans clean. Contracts, provenance records, maps, gate assertions, and warning-mode tests are updated, while related todo statuses document the completed repair and reopened evaluation work.

Changes

Bootstrap fixture repair

Layer / File(s) Summary
Declaration-only fixture corpus
tests/fixtures/cairn-bootstrap/cairn*.blueprint, tests/fixtures/cairn-bootstrap/meta/contracts/..., tests/fixtures/cairn-bootstrap/map.*
Blueprint modules now use contract-only declarations where applicable, missing kernel contracts are added, and fixture maps report synced nodes with no findings.
Corpus split and authority records
meta/decisions/bootstrap-fixture-corpus-split.md, meta/research/..., meta/sources/..., meta/todos/..., tests/fixtures/cairn-bootstrap/meta/decisions/...
Evidence remains unclaimed and cited in prose, authority artefacts remain loaded and anchored, and repair and todo records document the resulting corpus state.
Clean-scan and warning-mode gates
tests/examples_gate.rs, tests/phase_7_7_ux_foundation.rs, AGENTS.md
The bootstrap fixture is asserted clean directly, scan results are normalized centrally, and strict/non-strict warning tests use an isolated generated project.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Possibly related PRs

Poem

A rabbit hops through Cairn’s clean gate,
No warning crumbs remain to wait.
Contracts bloom in folders bright,
Provenance points stay tucked just right,
And scans now thump a green delight.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly describes the main change: repairing the bootstrap fixture to a clean scan.
Description check ✅ Passed The description is directly related to the fixture repair and matches the implemented changes.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch loop/todo.bootstrap-fixture-repair-or-delete

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
tests/fixtures/cairn-bootstrap/meta/todos/todo.backfill-contracts.md (1)

3-19: 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Update the completed todo’s stale context.

After this repair, the six contracts resolve and the clean-scan gate expects zero missing-contract findings. Rewrite the “currently” statements as historical context or add a completion note so the done todo no longer describes the pre-repair state as present.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@tests/fixtures/cairn-bootstrap/meta/todos/todo.backfill-contracts.md` around
lines 3 - 19, Update the completed todo’s Context section to describe the six
unresolved contracts and CAIRN_CONTRACT_MISSING findings as historical
pre-repair state, or add a clear completion note stating that all six now
resolve and the clean scan reports zero missing-contract findings. Preserve the
existing completion criteria and contract references.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@tests/fixtures/cairn-bootstrap/meta/contracts/kernel/cli.md`:
- Line 16: In the CLI error-handling statement in cli.md, replace the incorrect
phrase “at a user” with “to a user,” preserving the rest of the wording
unchanged.

In `@tests/fixtures/cairn-bootstrap/meta/decisions/module-path-mapping.md`:
- Around line 17-41: Update the decision record’s prose to describe the
declaration-only fixture and its repaired map with paths: [] rather than
claiming modules reconcile real src/ directories; revise the contract
consequence to acknowledge the contracts added by this PR, and rename every
dec.dsl-as-current-state reference to dec.blueprint-as-current-state. Replace
new DSL/.dsl terminology with blueprint/.blueprint while preserving the intended
taxonomy and module-name changes.

In `@tests/fixtures/cairn-bootstrap/meta/decisions/stable-ids.md`:
- Around line 30-35: Restore the required machine-readable provenance in the
frontmatter of tests/fixtures/cairn-bootstrap/meta/decisions/stable-ids.md
(lines 30-35) by adding informed_by: [src.review-adversarial-1], and in
tests/fixtures/cairn-bootstrap/meta/decisions/two-chain-authority.md (lines
35-42) by adding informed_by: [res.related-work-survey,
src.review-adversarial-1].

---

Outside diff comments:
In `@tests/fixtures/cairn-bootstrap/meta/todos/todo.backfill-contracts.md`:
- Around line 3-19: Update the completed todo’s Context section to describe the
six unresolved contracts and CAIRN_CONTRACT_MISSING findings as historical
pre-repair state, or add a clear completion note stating that all six now
resolve and the clean scan reports zero missing-contract findings. Preserve the
existing completion criteria and contract references.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 48fc1715-a2a2-4b91-9e4c-3c00d3b963ea

📥 Commits

Reviewing files that changed from the base of the PR and between 60f4156 and a20d7b8.

📒 Files selected for processing (28)
  • AGENTS.md
  • meta/decisions/bootstrap-fixture-corpus-split.md
  • meta/research/bootstrap-fixture-repair.md
  • meta/sources/pr-528-w10-ratification.md
  • meta/todos/todo.blueprint-authorability-eval.md
  • meta/todos/todo.bootstrap-fixture-repair-or-delete.md
  • meta/todos/todo.example-corpus-scan-assertions.md
  • tests/examples_gate.rs
  • tests/fixtures/cairn-bootstrap/cairn-with-demo.blueprint
  • tests/fixtures/cairn-bootstrap/cairn.blueprint
  • tests/fixtures/cairn-bootstrap/expected-findings.json
  • tests/fixtures/cairn-bootstrap/map.json
  • tests/fixtures/cairn-bootstrap/map.md
  • tests/fixtures/cairn-bootstrap/meta/contracts/kernel/artefacts.md
  • tests/fixtures/cairn-bootstrap/meta/contracts/kernel/changes.md
  • tests/fixtures/cairn-bootstrap/meta/contracts/kernel/cli.md
  • tests/fixtures/cairn-bootstrap/meta/contracts/kernel/hooks.md
  • tests/fixtures/cairn-bootstrap/meta/contracts/kernel/query.md
  • tests/fixtures/cairn-bootstrap/meta/contracts/summariser.md
  • tests/fixtures/cairn-bootstrap/meta/decisions/blueprint-as-current-state.md
  • tests/fixtures/cairn-bootstrap/meta/decisions/change-directories.md
  • tests/fixtures/cairn-bootstrap/meta/decisions/contradiction-classes.md
  • tests/fixtures/cairn-bootstrap/meta/decisions/module-path-mapping.md
  • tests/fixtures/cairn-bootstrap/meta/decisions/stable-ids.md
  • tests/fixtures/cairn-bootstrap/meta/decisions/two-chain-authority.md
  • tests/fixtures/cairn-bootstrap/meta/research/related-work-survey.md
  • tests/fixtures/cairn-bootstrap/meta/todos/todo.backfill-contracts.md
  • tests/phase_7_7_ux_foundation.rs
💤 Files with no reviewable changes (1)
  • tests/fixtures/cairn-bootstrap/expected-findings.json


- **Input.** A parsed argument vector naming one subcommand and its flags.
- **Output.** Human-readable text on stdout by default; stable JSON under `--json`. Exit code 0 on success, non-zero when a blocking condition is found.
- **Errors.** Unknown subcommands, unresolvable ids, and missing files report a single actionable message; the CLI never prints a stack trace at a user.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Correct the user-facing wording.

Change “the CLI never prints a stack trace at a user” to “the CLI never prints a stack trace to a user.”

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@tests/fixtures/cairn-bootstrap/meta/contracts/kernel/cli.md` at line 16, In
the CLI error-handling statement in cli.md, replace the incorrect phrase “at a
user” with “to a user,” preserving the rest of the wording unchanged.

Comment on lines +30 to +35

## Provenance

Informed by the adversarial structural review `src.review-adversarial-1`
(meta/sources/review-adversarial-1.md), cited in prose because meta/sources/
stays unclaimed by the blueprint (see the cairn.blueprint header note).

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

Restore machine-readable provenance links in both decisions.

The prose citations do not satisfy the repository’s required informed_by evidence contract.

  • tests/fixtures/cairn-bootstrap/meta/decisions/stable-ids.md#L30-L35: restore informed_by: [src.review-adversarial-1] in frontmatter.
  • tests/fixtures/cairn-bootstrap/meta/decisions/two-chain-authority.md#L35-L42: restore informed_by: [res.related-work-survey, src.review-adversarial-1] in frontmatter.
📍 Affects 2 files
  • tests/fixtures/cairn-bootstrap/meta/decisions/stable-ids.md#L30-L35 (this comment)
  • tests/fixtures/cairn-bootstrap/meta/decisions/two-chain-authority.md#L35-L42
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@tests/fixtures/cairn-bootstrap/meta/decisions/stable-ids.md` around lines 30
- 35, Restore the required machine-readable provenance in the frontmatter of
tests/fixtures/cairn-bootstrap/meta/decisions/stable-ids.md (lines 30-35) by
adding informed_by: [src.review-adversarial-1], and in
tests/fixtures/cairn-bootstrap/meta/decisions/two-chain-authority.md (lines
35-42) by adding informed_by: [res.related-work-survey,
src.review-adversarial-1].

Source: Coding guidelines

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Inline review comments failed to post. This is likely due to GitHub's internal server error or limits when posting large numbers of comments. If you are seeing this consistently it is likely a permissions issue. Please check "Moderation" -> "Code review limits" under your organization settings.

Actionable comments posted: 3

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
tests/fixtures/cairn-bootstrap/meta/todos/todo.backfill-contracts.md (1)

3-19: 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Update the completed todo’s stale context.

After this repair, the six contracts resolve and the clean-scan gate expects zero missing-contract findings. Rewrite the “currently” statements as historical context or add a completion note so the done todo no longer describes the pre-repair state as present.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@tests/fixtures/cairn-bootstrap/meta/todos/todo.backfill-contracts.md` around
lines 3 - 19, Update the completed todo’s Context section to describe the six
unresolved contracts and CAIRN_CONTRACT_MISSING findings as historical
pre-repair state, or add a clear completion note stating that all six now
resolve and the clean scan reports zero missing-contract findings. Preserve the
existing completion criteria and contract references.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@tests/fixtures/cairn-bootstrap/meta/contracts/kernel/cli.md`:
- Line 16: In the CLI error-handling statement in cli.md, replace the incorrect
phrase “at a user” with “to a user,” preserving the rest of the wording
unchanged.

In `@tests/fixtures/cairn-bootstrap/meta/decisions/module-path-mapping.md`:
- Around line 17-41: Update the decision record’s prose to describe the
declaration-only fixture and its repaired map with paths: [] rather than
claiming modules reconcile real src/ directories; revise the contract
consequence to acknowledge the contracts added by this PR, and rename every
dec.dsl-as-current-state reference to dec.blueprint-as-current-state. Replace
new DSL/.dsl terminology with blueprint/.blueprint while preserving the intended
taxonomy and module-name changes.

In `@tests/fixtures/cairn-bootstrap/meta/decisions/stable-ids.md`:
- Around line 30-35: Restore the required machine-readable provenance in the
frontmatter of tests/fixtures/cairn-bootstrap/meta/decisions/stable-ids.md
(lines 30-35) by adding informed_by: [src.review-adversarial-1], and in
tests/fixtures/cairn-bootstrap/meta/decisions/two-chain-authority.md (lines
35-42) by adding informed_by: [res.related-work-survey,
src.review-adversarial-1].

---

Outside diff comments:
In `@tests/fixtures/cairn-bootstrap/meta/todos/todo.backfill-contracts.md`:
- Around line 3-19: Update the completed todo’s Context section to describe the
six unresolved contracts and CAIRN_CONTRACT_MISSING findings as historical
pre-repair state, or add a clear completion note stating that all six now
resolve and the clean scan reports zero missing-contract findings. Preserve the
existing completion criteria and contract references.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 48fc1715-a2a2-4b91-9e4c-3c00d3b963ea

📥 Commits

Reviewing files that changed from the base of the PR and between 60f4156 and a20d7b8.

📒 Files selected for processing (28)
  • AGENTS.md
  • meta/decisions/bootstrap-fixture-corpus-split.md
  • meta/research/bootstrap-fixture-repair.md
  • meta/sources/pr-528-w10-ratification.md
  • meta/todos/todo.blueprint-authorability-eval.md
  • meta/todos/todo.bootstrap-fixture-repair-or-delete.md
  • meta/todos/todo.example-corpus-scan-assertions.md
  • tests/examples_gate.rs
  • tests/fixtures/cairn-bootstrap/cairn-with-demo.blueprint
  • tests/fixtures/cairn-bootstrap/cairn.blueprint
  • tests/fixtures/cairn-bootstrap/expected-findings.json
  • tests/fixtures/cairn-bootstrap/map.json
  • tests/fixtures/cairn-bootstrap/map.md
  • tests/fixtures/cairn-bootstrap/meta/contracts/kernel/artefacts.md
  • tests/fixtures/cairn-bootstrap/meta/contracts/kernel/changes.md
  • tests/fixtures/cairn-bootstrap/meta/contracts/kernel/cli.md
  • tests/fixtures/cairn-bootstrap/meta/contracts/kernel/hooks.md
  • tests/fixtures/cairn-bootstrap/meta/contracts/kernel/query.md
  • tests/fixtures/cairn-bootstrap/meta/contracts/summariser.md
  • tests/fixtures/cairn-bootstrap/meta/decisions/blueprint-as-current-state.md
  • tests/fixtures/cairn-bootstrap/meta/decisions/change-directories.md
  • tests/fixtures/cairn-bootstrap/meta/decisions/contradiction-classes.md
  • tests/fixtures/cairn-bootstrap/meta/decisions/module-path-mapping.md
  • tests/fixtures/cairn-bootstrap/meta/decisions/stable-ids.md
  • tests/fixtures/cairn-bootstrap/meta/decisions/two-chain-authority.md
  • tests/fixtures/cairn-bootstrap/meta/research/related-work-survey.md
  • tests/fixtures/cairn-bootstrap/meta/todos/todo.backfill-contracts.md
  • tests/phase_7_7_ux_foundation.rs
💤 Files with no reviewable changes (1)
  • tests/fixtures/cairn-bootstrap/expected-findings.json
🛑 Comments failed to post (1)
tests/fixtures/cairn-bootstrap/meta/decisions/module-path-mapping.md (1)

17-41: 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Align this decision with the declaration-only fixture.

Lines 17-19 and 23-40 say fixture modules reconcile real src/ paths, but the repaired map deliberately has paths: []. Line 41 also says kernel contracts are missing, although this PR adds them. Update this record to describe the declaration-only corpus, and rename dec.dsl-as-current-state to dec.blueprint-as-current-state.

As per coding guidelines, use blueprint and .blueprint, not DSL and .dsl, in new prose and identifiers.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@tests/fixtures/cairn-bootstrap/meta/decisions/module-path-mapping.md` around
lines 17 - 41, Update the decision record’s prose to describe the
declaration-only fixture and its repaired map with paths: [] rather than
claiming modules reconcile real src/ directories; revise the contract
consequence to acknowledge the contracts added by this PR, and rename every
dec.dsl-as-current-state reference to dec.blueprint-as-current-state. Replace
new DSL/.dsl terminology with blueprint/.blueprint while preserving the intended
taxonomy and module-name changes.

Source: Coding guidelines

@George-RD
George-RD force-pushed the loop/todo.bootstrap-fixture-repair-or-delete branch from a20d7b8 to 33ce67e Compare July 30, 2026 06:24
…rap-fixture-repair-or-delete)

Executes the maintainer-ratified REPAIR verdict (PR #528 sheet W10):
flatten the nested pointer directories into flat slug-named decisions and
research, drop the nine phantom src/* paths (declaration-only corpus),
populate the six missing contracts, delete the expected-findings.json
burn-down, and fold the bootstrap case in tests/examples_gate.rs into a
direct clean-scan assertion. The fixture's evidence corpus (meta/sources/,
meta/research/) stays deliberately unclaimed so the smoke-test corpus
premise holds; the corpus split is recorded in
dec.bootstrap-fixture-corpus-split (proposed) with evidence in
res.bootstrap-fixture-repair. The two scan --strict exit-code tests own an
inline warning-only project instead of borrowing fixture dirt.

Success criterion: a temp-copy scan of tests/fixtures/cairn-bootstrap
reports zero findings, asserted by test_bootstrap_fixture_scans_clean;
fixtures_smoke stays green; the root scan gains no finding.
@George-RD
George-RD force-pushed the loop/todo.bootstrap-fixture-repair-or-delete branch from 33ce67e to 3ad5fb3 Compare July 30, 2026 06:27
@George-RD
George-RD merged commit f91ec82 into main Jul 30, 2026
14 checks passed
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