Repository navigation
Conversation
Use the same agent instructions, CI workflows, scripts and tool configuration as the other Open Data Capture instrument repositories. ODC_Instruments_Template is the source of the shared files. - Commit AGENTS.md and CLAUDE.md. CLAUDE.md loads the installed @opendatacapture/instrument-guidelines. - One CI workflow: type-check, lint, format check and edition check. - Instrument preview comments for forms and interactive instruments. - A scheduled check that the shared files agree with the template. - Open Data Capture packages 2.6.0, pnpm 10.34.3, Node from .nvmrc. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01W53iUTEXJJqvujGDog4AuR
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
joshunrau
left a comment
There was a problem hiding this comment.
why is AGENTS.md hardcoded here? It should be linked like Claude.md
|
@joshunrau Thank you for the review. Before I change the seven pull requests, I want to be sure of what you want for What the pull requests do now
The reason was that a new clone has agent instructions with no manual step, and that each repository has a location for its own rules. I agree that the shared block repeats rules 5 to 7 of the 2.6.0 guidelines. Options
Which one do you want, or is it something different? The answer here applies to all seven repositories. Written by Claude Code for @gdevenyi. |
Summary
This repository becomes the source of the agent instructions, CI and tool configuration that all Open Data Capture instrument repositories share. The six other repositories get the same files in their own pull requests. Merge this pull request first: the weekly
template-synccheck in the other repositories compares againstmainof this repository.New scripts:
lint:check,format:check,check-editions,check-template,check(the first three together).Evidence
AGENTS.mdandCLAUDE.mdwere ignored, so a new clone had no agent instructions. Guidelines 1.16.6 have no edition rule.After (local, pnpm 10.34.3, Node 24):
.tsxform each fail without a new edition and pass with one; a series that refers to an old edition gives a warning.instrument-previews.ymlusespull_request_target, so it runs only after it is onmain. Open one test pull request that changeslib/forms/EXAMPLE_FORMafter the merge. The script itself was run locally. TheCLAUDE.mdimport of the specification fromnode_moduleswas not confirmed in a live session;AGENTS.mdalso tells the agent to read that file.Merge Danger
Door: two-way
A revert of this commit restores the previous state. No repository settings change.
Blast Radius: template
New repositories made from this template start with runtime 2.6 and with CI. Existing repositories are not affected until their own pull requests merge.
🤖 Generated with Claude Code
https://claude.ai/code/session_01W53iUTEXJJqvujGDog4AuR