Skip to content

docs: close generation reconciliation phase - #595

Merged
mohanagy merged 1 commit into
core-resetfrom
core-reset-generation-closure
Jul 22, 2026
Merged

mohanagy merged 1 commit into
core-resetfrom
core-reset-generation-closure

Conversation

@mohanagy

Copy link
Copy Markdown
Owner

Summary

This is a governance-only closure. It changes documentation, evidence, and executable governance assertions only. It does not change production source, dependencies, package metadata, or npm contents.

Final phase evidence

  • protected base: 8886a0299ee30765ce149ca7ad5d1779496b78b5
  • measured runtime commit: 1be24dc45a5f07c352c74fc374feb95a9440df8e
  • final PR / CI head: 3f40c5b64cdd63054c52ed67588b782034f8b935
  • implementation merge: b56966c06c0ae1b04c252f297036f332fa1b384c
  • exact-head CI run: https://github.com/mohanagy/madar/actions/runs/29942216697 — all six jobs passed
  • source: 130 production TypeScript files / 66,418 LOC; +2,190 / -4,726 / net -2,536
  • replacements: 6 files / 1,484 LOC; all 15 predecessor files / 3,839 LOC absent
  • dependencies: zero runtime and zero development additions
  • npm package: 276 files / 572,143 packed bytes / 2,699,851 unpacked bytes
  • implementation coverage: 156 files; 1,885 passed; 2 skipped; 84.44% statements / 76.64% branches / 89.57% functions / 85.34% lines
  • review: three independent P0/P1 audits passed; zero unresolved review threads; exact-head receipt: refactor: replace incremental refresh with full reconciliation #594 (comment)

CodeRabbit explicitly skipped the non-default core-reset base. This PR records the owner-approved independent-review exception without representing CodeRabbit as having completed a review.

Architecture outcome

The fixed 500-file gate rejected the warm incremental design. The sealed stop ratios were 0.824 warm-index p50, 1.047 refresh p50, and 1.029 refresh p95. Held-out timing was intentionally skipped because it could not reverse the mandatory stop. The failed incremental path was deleted.

The shipped path is deliberately smaller: a true cold no-op for unchanged state, otherwise one honest full canonical reconcile. There is no in-memory or disk fact/session cache. graph.json remains the sole authoritative artifact and commits last; diagnostic sidecars are derived and non-blocking.

The new receipt binds the immutable CI tree and hashed focused tests. It records 5 files / 92 passing tests covering clean equivalence, zero stale facts, compiler/ignore/unsupported/symlink/worktree mutations, publication failures, and serialization to at most one concurrent builder.

Local verification

  • npm run test:run -- tests/unit/update-index.test.ts tests/unit/generate-index.test.ts tests/unit/index-store.test.ts tests/unit/watch-index.test.ts tests/unit/source-catalog.test.ts --maxWorkers=1 — 5 files / 92 passed
  • npm run test:run -- tests/unit/core-reset-governance.test.ts --maxWorkers=1 — 1 file / 10 passed
  • npm run test:run -- --maxWorkers=1 — 156 files / 1,886 passed / 2 skipped
  • npm run typecheck
  • npm run build
  • npm run release:verify
  • npm run registry:validate
  • npm run verify:pack-parity
  • npm audit --audit-level=high — 0 vulnerabilities
  • npm pack --dry-run --json — exact package metrics unchanged
  • git diff --check

The global package target below 150 files / 1.5 MB and all retrieval, delivery, business, beta, and stable-release gates remain open.

Closes #592
Part of #577

@coderabbitai

coderabbitai Bot commented Jul 22, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (2)
  • ^main$
  • ^next$

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 75683f0e-5acb-4bb0-9865-c9c52da07d0c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch core-reset-generation-closure

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

@mohanagy

Copy link
Copy Markdown
Owner Author

Exact-head independent review receipt

Reviewed PR #595 at 7e6d79764be84564a031ceb46fcd16d0717ecdc5 against base b56966c06c0ae1b04c252f297036f332fa1b384c after CodeRabbit explicitly skipped the non-default core-reset base.

Two independent P0/P1 reviews completed. The first found two evidence-integrity issues before commit: mutable working-tree hashing and ambiguous concurrency wording. Both were corrected before this exact head. The final re-review and a second exact-head review found no remaining P0/P1 issues.

Verified independently:

  • all six changed files are governance, evidence, or tests only; no runtime, dependency, package metadata, or npm content changed;
  • final PR/CI head 3f40c5b... and implementation merge b56966c... share tree 0cead2d...;
  • all five test-file SHA-256 values reproduce from immutable CI-commit blobs;
  • the focused mutation suite passes 5 files / 92 tests;
  • generation is complete, active_phase is null, Evidence-path query is Ready/planned only, and Thin delivery remains proposed/blocked;
  • assertions are portable across Node 20/22 and Linux/macOS/Windows;
  • review threads: 0.

Exact-head CI run https://github.com/mohanagy/madar/actions/runs/29945101104 passed all six jobs. Ubuntu/Node 22 coverage passed 156 files / 1,886 tests with 2 skipped at 84.44% statements, 76.64% branches, 89.57% functions, and 85.34% lines.

CodeRabbit status is successful only because it recorded the skip; this receipt does not claim that CodeRabbit reviewed the diff. Under the owner-approved automation-unavailable exception, the independent exact-head review gate passes.

@mohanagy
mohanagy merged commit bce4f4f into core-reset Jul 22, 2026
7 checks passed
@mohanagy
mohanagy deleted the core-reset-generation-closure branch July 22, 2026 18:21
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