Skip to content

docs: flag temporary agent-generated EFO IDs in PRs - #2741

Merged
jamesamcl merged 1 commit into
masterfrom
docs-temporary-id-visibility
Jul 7, 2026
Merged

jamesamcl merged 1 commit into
masterfrom
docs-temporary-id-visibility

Conversation

@aleixpuigb

Copy link
Copy Markdown
Collaborator

Summary

Agent-authored new terms are given temporary EFO_099xxxx IDs that the allocate-definitive-ids.yml workflow replaces with definitive IDs after merge to master. This PR makes that temporariness obvious in the PR itself, so a reviewer never mistakes a placeholder for a stable ID — while ensuring manually-authored terms keep their permanent IDs even when an agent opens the PR.

The distinction is drawn purely by the ID range: EFO_099xxxx = temporary/agent-generated; anything else = permanent. It does not depend on who opened the PR.

Changes

File Change
CLAUDE.md (New terms policy) Clarify that only agent-authored terms use EFO_099xxxx; a manual term's ID is permanent even when an agent opens the PR; never renumber a permanent ID into the temp range.
CLAUDE.md (PR template) Add a ⚠️ temporary-IDs callout, a Temp? column in the Changes table, and a Checks item requiring temp IDs to be flagged.
.claude/agents/efo-ontologist.md Same temp-vs-permanent rule at ID-generation time; note that a handed-off permanent ID must be preserved; report format marks the ID as temporary.

Notes

  • No ontology content changes — instructions/docs only.
  • Rationale grounded in .github/workflows/allocate-definitive-ids.yml, which triggers on EFO_099 and mints definitive IDs post-merge.

Docs-only change; no issue to close.

New terms authored by an agent use temporary EFO_099xxxx IDs that automation
replaces with definitive IDs after merge. Require PRs to flag these clearly
(callout + Temp? column) so reviewers never mistake them for stable IDs.
Manually-authored terms keep their permanent ID even when an agent opens the
PR — temporary-vs-permanent is decided purely by the EFO_099xxxx range, not by
who created the PR. Reinforce the same distinction in the efo-ontologist spec.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@jamesamcl
jamesamcl merged commit 009c67d into master Jul 7, 2026
1 check passed
@aleixpuigb
aleixpuigb deleted the docs-temporary-id-visibility branch July 7, 2026 08:41
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.

2 participants