Skip to content

Name eegprep-lean dev2 and index_url in the contract - #1492

Merged
neuromechanist merged 2 commits into
devfrom
docs/eegprep-lean-contract-dev2
Sep 23, 2026
Merged

neuromechanist merged 2 commits into
devfrom
docs/eegprep-lean-contract-dev2

Conversation

@neuromechanist

Copy link
Copy Markdown
Contributor

Summary

.context/eegprep_lean_contract.md is the file eegprep-lean's own README links as its contract. It still said OSA vendors eegprep-lean 0.1.0.dev1, which OpenScience-Collective/osa#450 replaced with 0.1.0.dev2, so it disagreed with ADR 0071. It also never described read_index(index_url=) (sccn/eegprep#416), which the python_browser recipe has led with since #1487.

This names 0.1.0.dev2 and both OSA pull requests, adds index_url under "Reading a NEMAR dataset" (it replaces the hardcoded index URL, contract_base is still read from the fetched document, and a document naming another dataset is refused), and adds the receipts. Found by OSA phase 3's cross-repository seams review (osa#432).

Test plan

Docs only. Each statement was checked against read_index on sccn/eegprep develop, buildHowTo on dev, and ADR 0071, and reviewed locally by a Sonnet agent.

The contract still said OSA vendors 0.1.0.dev1, which osa#450 replaced,
and did not describe read_index(index_url=) from sccn/eegprep#416, which
the python_browser recipe now depends on. Docs only.
It replaces the reader's default index URL, not contract_base.
@neuromechanist

Copy link
Copy Markdown
Contributor Author

Local review, and what was done with each finding

Reviewed locally by a Sonnet agent, together with the OSA and docs follow-ups from the same seams review.

  • "fetches the given index document in place of that hardcoded one" read as replacing contract_base, the previous bullet's subject, which is the misreading eegprep-lean's own docstring warns against. It now names what index_url replaces: the reader's default, https://zarr.nemar.org/<dataset_id>/zarr/index.json. 44254095
  • Verified, no change: 0.1.0.dev2 is the version at sccn/eegprep b4aa18bd (Phase 5: enrichment Action commits with GITHUB_TOKEN #416) and dev1 at Phase 3: idempotent workflow deploy + sync command #414; the refusal of a mismatched dataset_id and contract_base being read from the document match read_index on develop; buildHowTo on dev passes contract_base + index.json; ADR 0071 agrees.

@github-actions

Copy link
Copy Markdown

📦 Package Preview

Your package is ready to test!

bun install -g nemar-cli@PR1492

Version: 0.10.6-PR1492.4425409
Commit: 4425409


🤖 Updated on each push.

This branch was previously deployed

1 inactive deployment
npm — 44254095 Deployed Sep 23, 2026 by neuromechanist via publish #2831
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