Repository navigation
Epic #2324 seam fixes: migration prefixes, ADR status, changelog - #2413
Merged
neuromechanist merged 9 commits intoNov 26, 2026
Merged
neuromechanist merged 9 commits into
neuromechanist merged 9 commits into
Conversation
📦 Package PreviewYour package is ready to test! bun install -g nemar-cli@PR2413Version: 🤖 Updated on each push. |
neuromechanist
merged commit Nov 26, 2026
15f8802
into
feature/issue-2324-epic-pipeline-progress
27 of 31 checks passed
This was referenced Nov 26, 2026
Merged
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Seam-review fixes for #2412 (epic #2324 into
dev).Findings and fixes
parseIntand applies in string order, so00153_b.sqlor154_x.sqlwould slip past); a malformed name gets its own message;scripts/migration-prefixes.tsjoins theclipaths filter so unit-pure runs on it.Originally: Nothing rejected two D1 migrations with the same numeric prefix, though
wrangler d1 migrations applytracks by file name (open Publication queue: decide lane (epic #2182) #2397 also adds 0150-0154).New
scripts/migration-prefixes.ts(duplicateMigrationPrefixes) andtest/migration-prefixes.unit.test.tsfail on any shared prefix inbackend/src/db/migrations;scripts/d1-migration-check.tsruns the same check before replaying.The two pairs already applied in production (
0003,0015) are grandfathered by exact file names; a third file on either prefix still fails.The test proves failure on a temp copy of the directory with a duplicate added (no mocks). Revert check: a probe
0153_dup_probe.sqlin the real directory fails the first test naming both files; neutering the check fails the three duplicate cases.acceptedin its header (**Accepted:** 2026-11-26; correct it if the UTC merge date differs) and unmarked in the load-bearing list, which marks only ADRs that are not accepted.ADRs 0134, 0137 and 0141 stay
proposed, each with a header line saying when it moves to accepted (0141: its launcher part, decision 5, is built only on the nemar-process epic).dev(checked againstorigin/dev: no plugin manifest, checkpoint maps,figurescheckpoint, progress vectors orserving_indexthere).Dropped the ADR 0140 "until the dispatcher stages the index" sentence; the N1 entry now states the final
qualitycheckpoint (nemar-qualitythennemar-spectrum); the N1b and Plugin manifest: no unit for a produced role without columns #2358 entries are folded into the manifest's Added entry without the "edited in place", "gone" and "losefigures" history; "regenerated" vectors and "unchanged" maps wording removed; "1.0.0-b1above" now reads "in 0.10.40 below". The 0.10.40 section and everything after it are byte-identical todev.relativeLocation) is stated as a plain constraint in the Added progress, signalJourney and launcher entries; only thedata_papersDOI narrowing (ondevsince migration 0088) stays under Changed; the nemar-process gap and the manifest copies are stated relative to nemar-process's epic reaching itsdev.VIEWS_SKIPPED_NEUROSCHEMA_WORDSandVIEWS_SKIPPED_NEMAR_PROCESS_WORDSdocblocks now say they are documentation a contract test holds, not a validation allowlist (the backend admits anyfailureCodeword).Tests
bun run typecheck,bun run lint, Biome on the touched filesbun test test/migration-prefixes.unit.test.ts test/adr-index.unit.test.ts test/changelog-format.unit.test.ts test/quality-documents-contract.unit.test.ts(135 pass, 0 fail); round 1: migration-prefixes, adr-index, changelog-format (24 pass, 0 fail)bun testnot run (targeted only, per.rules/testing.md).Agentic AI tools were used. The author assumes full responsibility for this content.