Instruction file imported from humlab-sead/sead_change_control (
.github/instructions/features/clearinghouse-submission.instructions.md). Copyright stays with the author.
Clearinghouse Submission Workflow
- Use
bin/commit-submissionfor the Clearinghouse-to-CR workflow. - Treat this workflow as integration work: validate project, submission identity, and target database before running commands.
- Keep generated CRs traceable to the submission source and issue.
Typical Flow
- Confirm the submission is in a ready-to-commit state.
- Choose the target project.
- Run
bin/commit-submissionwith explicit mode, date, database, submission id, and note. - Inspect the generated SQL before treating it as ready.
- Validate on staging.
Command Pattern
bin/commit-submission \
--mode new \
--date 20260527 \
--database sead_staging \
--id submission_name \
--project archaeobotany \
--note "Import of dataset XYZ from Clearinghouse"
Guardrails
- Do not treat generated SQL as automatically correct.
- Keep workflow notes explicit enough to trace the submission origin later.
- If the submission impacts multiple projects, stop and resolve project boundaries before proceeding.