Skip to content

fix(instrument-guidelines): tell agents to bump the edition of a modified instrument - #1840

Merged
joshunrau merged 1 commit into
DouglasNeuroInformatics:mainfrom
joshunrau:fix/guidelines-edition-bump
Oct 29, 2026
Merged

joshunrau merged 1 commit into
DouglasNeuroInformatics:mainfrom
joshunrau:fix/guidelines-edition-bump

Conversation

@joshunrau

Copy link
Copy Markdown
Collaborator

Adds a guideline telling agents to increment internal.edition when they modify an existing scalar instrument, and to update the edition in any series instrument that references it.

The API derives a scalar instrument's ID from name + edition (generateScalarInstrumentId), so uploading a changed instrument with the same edition fails with a conflict.

Resolves DouglasNeuroInformatics/ODC_Instruments#34 once released and picked up there.

🤖 Generated with Claude Code

…fied instrument

An instrument with an unchanged name and edition conflicts with the existing one on upload. Also cover updating series instruments that reference it.

Refs DouglasNeuroInformatics/ODC_Instruments#34

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@joshunrau
joshunrau merged commit 778a395 into DouglasNeuroInformatics:main Oct 29, 2026
1 of 2 checks passed
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.

AGENTS.md needs to remind agent to bump edition number

1 participant