Repository navigation
Vendor neuroschema 0.7.0 for quality axes - #2534
Merged
neuromechanist merged 6 commits intoNov 28, 2026
Merged
neuromechanist merged 6 commits into
neuromechanist merged 6 commits into
Conversation
📦 Package PreviewYour package is ready to test! bun install -g nemar-cli@PR2534Version: 🤖 Updated on each push. |
neuromechanist
merged commit Nov 28, 2026
ae9abbc
into
feature/issue-2524-epic-quality-axes
27 checks passed
neuromechanist
deleted the
feature/issue-2525-vendor-neuroschema-0.7.0
branch
November 28, 2026 20:44
This was referenced Nov 28, 2026
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.
Part of #2525 (epic #2524), phase 0a.3 PR 1 of 2.
Vendors neuroschema 0.7.0, tag
v0.7.0atc3ea2c066e7045f8074e3d2644ff543501c2b06e(nemarOrg/neuroschema#47): the quality state words, the item result, the provenance block and themetadataQuality,annotationQualityandconformancenamespaces.Changes
build-vendor.mjs:qualityjoinsVENDORED_SOURCES(a dirty checkout underquality/is refused). Theviews/writer is now one function taking{sourceRoots, rules, dest, description}; a second set copies neuroschemaquality/vectors/*toshared/contract/neuroschema/quality/vectors/, with its ownquality/SHA256SUMS.json(formatnemar.vendored-files.v1).--checkcovers both sets (every file, no file more or less). A commit with no file underquality/vectors/is refused.dataset.bundle.json(50 schemas, now including the six quality schemas),views/SHA256SUMS.json(only the version and commit change; every view file is byte for byte 0.6.1's), and the newquality/(quality-verdicts.v1.json,item-checks.v1.json,conformance-checks.v1.json).NEUROSCHEMA_VERSIONand its comments inshared/contract/dataset.ts, theshared/contract/index.tscomment, the comments inbackend/src/routes/data.tsandbackend/src/services/data-router.ts,shared/neurobagel/input-schema.ts, the "currently 0.7.0" description inshared/zarr-engine-protocol.schema.json, bothtest/fixtures/neuroschema/*-ds002718-processing.jsonstamps,test/contract-schemas.test.ts(0.6.1 is now refused too) andtest/data-route.unit.test.ts.NEUROSCHEMA_TRANSITION_LINESgoes from the stale["0.4"]to["0.6"](production serves 0.6.1), with its docblock and test rewritten. The "rejects another MINOR" case now uses 0.5 instead of 0.6, because 0.6 is the transition line.test/contract-neuroschema.test.ts,quality/SHA256SUMS.jsonis stamped 0.7.0 at the release commit, every copy matches it and it lists exactly the three vector files, the bundle holds the three quality definitions and the three namespaces, and the 79-case verdict corpus replays under Ajv on the bundle with every case'svalid(6 schemas, each resolved to itsnsc:/id). Intest/neuroschema-build-vendor.unit.test.ts, the quality rule is copied byte for byte from git (a skip-worktree tamper does not get through), a dirtyquality/is refused with nothing written, an emptyquality/vectors/is refused, and--checkreports a missing, an extra and a changedquality/file.CHANGELOG.md(Unreleased): "Vendor neuroschema 0.7.0 (quality states and namespaces)".The TypeScript replay of
item-checksandconformance-checksbelongs to phase 1a, not to this PR. nemar-process's byte copy of the bundle moves in 2a.2; its advisorynemar-cli-latestjob will show the difference once this reachesdev, which is expected.What the website must re-copy (phase 0b, website#625)
scripts/copy-quality-views-vocabulary.mjs: its pin moves to 0.7.0 and this commit. The view bytes are unchanged.shared/contract/neuroschema/quality/SHA256SUMS.json(samenemar.vendored-files.v1format asviews/), copyingvectors/*.jsontotest/fixtures/quality/vectors/.devstays red until the whole epic merges (owner ruling: one merge).Tests
bun shared/contract/neuroschema/build-vendor.mjs <neuroschema at v0.7.0> --check: matches 0.7.0 at c3ea2c06bun run typecheckbunx biome checkon shared/contract and the changed tests: cleanbun teston contract-neuroschema, contract-neuroschema-record, neuroschema-build-vendor, contract-schemas, data-route.unit, compute-checkpoints, quality-documents-contract and plugin-manifest-contract: 597 pass, 1 skip (the nemar-process byte comparison, which needsNEMAR_PROCESS_DIR; with the variable set, quality-documents-contract passes 117 of 117)test/contract-live.test.tsandtest/data-route.test.ts(they read a deployed backend). They would check the liveschema_versionagainstNEUROSCHEMA_LINE_RE, which matters because the transition line moved to 0.6.Review
Agentic AI tools were used. Workflows follow the Research Skills (doi:10.5281/zenodo.20696515). The author assumes full responsibility for this content and associated changes.