Skip to content

ADR 0133: format conformance vectors live in biosig-zarr - #2277

Merged
neuromechanist merged 4 commits into
feature/rfc-programfrom
feature/rfc-A3-supersede-0124
Nov 25, 2026
Merged

neuromechanist merged 4 commits into
feature/rfc-programfrom
feature/rfc-A3-supersede-0124

Conversation

@neuromechanist

Copy link
Copy Markdown
Contributor

Card A3 of the RFC program, epic #2239. Records the owner's answers of 2026-11-20 to Q9 and Q34 as a new accepted ADR that partially supersedes ADR 0124 decision 3.

What changes

  • New ADR 0133: the format-level conformance vectors, conformance/manifest.json and the goldens (biosig-zarr schemas/ and conformance/) are canonical in nemarOrg/biosig-zarr; nemar-cli vendors them byte for byte into shared/contract/zarr-conformance/biosig-zarr/, pinned to a biosig-zarr release tag and to the SHA-256 of conformance/manifest.json, with a drift check; the NEMAR-profile cases (the nemar provenance block, other root additions, and ADR 0123's store content digest with its vectors) stay canonical in nemar-cli. Nothing is vendored by this ADR.
  • ADR 0124: one header line, **Superseded in part by:** ADR 0133 (decision 3); no other change to its text.
  • .context/decisions/README.md: the ADR 0133 index line, and "partially superseded by ADR 0133 (decision 3)" at the end of ADR 0124's two index lines.

Hold

Draft and held: ADR 0132 is in the mail epic's PR #2270 (base dev) and is not yet on this base, so bun test test/adr-index.unit.test.ts fails only on the gap at 0132. This PR waits until 0132 is on origin/dev and origin/dev is merged into feature/rfc-program; then the base is merged into this branch and the gate is rerun. 0133 was the next number free on origin/dev, origin/feature/rfc-program and every open PR head at the time of opening.

Testing

  • bun run typecheck and bun run lint: clean.
  • bun test test/adr-index.unit.test.ts: 8 pass, 2 fail, both on the single gap 0132 (expected until the hold ends).
  • Card acceptance: the diff lists exactly the three files, ADR 0124's diff has one changed line, and test/adr-index.unit.test.ts is untouched (no TOLERATED_GAPS entry).

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

📦 Package Preview

Your package is ready to test!

bun install -g nemar-cli@PR2277

Version: 0.10.40-PR2277.5ec888a
Commit: 5ec888a


🤖 Updated on each push.

@neuromechanist

Copy link
Copy Markdown
Contributor Author

Review round 1 (one Sonnet reviewer, docs-only ADR) and outcomes, after merging feature/rfc-program (now current with dev) into this branch:

  • Important 1, fixed in 5ec888a: the store content digest's vectors stay in shared/contract/derivatives-vectors.json (ADR 0124 decision 4), not zarr-conformance/; corrected in ADR 0133 decision 3 and its index line.
  • Important 2, deviation recorded: test/adr-index.unit.test.ts drops 0133 from the tolerated gaps. The card expected no test change, but the stale-gap check fails once 0133 exists, so the edit is required.
  • Suggestion 3, fixed: SHA-256 is spelled out on first use.
  • Suggestion 4, fixed: Q9 points at the RFC program plan on first mention.
  • Suggestion 5, no change needed: zarr-conformance/ is a future location ADR 0124 already names.

The ADR index test passes locally (11 pass, 0 fail). Also kept: the merge restored this PR's two ADR 0124 index lines that the conflict resolution had dropped (54f9480).

@neuromechanist
neuromechanist marked this pull request as ready for review November 25, 2026 18:17
@neuromechanist
neuromechanist merged commit 82101d0 into feature/rfc-program Nov 25, 2026
1 check passed
@neuromechanist
neuromechanist deleted the feature/rfc-A3-supersede-0124 branch November 25, 2026 18:18
marordyan pushed a commit to marordyan/nemar-cli that referenced this pull request Nov 30, 2026

This branch was previously deployed

1 inactive deployment
npm — 5ec888ad Deployed Nov 25, 2026 by neuromechanist via publish #4857
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