Repository navigation
docs: flag temporary agent-generated EFO IDs in PRs - #2741
Merged
Merged
Conversation
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Agent-authored new terms are given temporary
EFO_099xxxxIDs that theallocate-definitive-ids.ymlworkflow replaces with definitive IDs after merge tomaster. 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
CLAUDE.md(New terms policy)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)Temp?column in the Changes table, and a Checks item requiring temp IDs to be flagged..claude/agents/efo-ontologist.mdNotes
.github/workflows/allocate-definitive-ids.yml, which triggers onEFO_099and mints definitive IDs post-merge.Docs-only change; no issue to close.