Read the shared-instruction pin from .agents (#42) - #43
Merged
Conversation
aicers/agent-instructions dropped the `blocks` and `instructions-ref` inputs from its reusable drift check, which this repository still passed. An unknown input is a startup failure, so the whole run went red before a single job began -- on main as well as on every open branch, and with no repository content at fault. The two values now live in `.agents/instructions.toml`, where the check reads them from. They record what this repository carries rather than what its workflow says it does, and keeping them out of `.github/workflows/` is what lets the upstream apply job rewrite them with the default GITHUB_TOKEN, which may not push to that directory. The pin stays at v2 and the block list at what AGENTS.md carries, so the comparison is the same one that was running before. Closes #42
23 tasks
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
aicers/agent-instructionsdropped theblocksandinstructions-refinputs from its reusable drift check, which this repository still passed at theinstructionsjob. An unknown input to a called workflow is a startup failure, so every run went red before a single job began —mainincluded (run 31287538153) — and nocheck,testorMarkdownjob ran at all.The two values move to
.agents/instructions.toml, which is where the check now reads them from. They record what this repository carries rather than what its workflow claims, and keeping them out of.github/workflows/is what lets the upstream apply job rewrite them with the defaultGITHUB_TOKEN, which may not push to that directory. The only input the reusable workflow still takes istarget, left at itsAGENTS.mddefault.The pin stays at
v2and the block list at whatAGENTS.mdcarries, so the comparison being run is unchanged. Theuses:stays at@main: upstream treats the check's scripts as mechanism that ships with the workflow, not as content that ships with the pin.AGENTS.mdis untouched. Onboarding the scheduledapply.ymlcaller, so this repository pulls future releases on its own, is left to its own change.This was split out of #41 on review — it is CI wiring, unrelated to admitting a release-trust package, and belongs on its own tracking. #41 carries the identical commit for now, because a
pull_requestrun reads its workflow files from the head branch and so has no CI signal without it; once this merges, #41 rebases and the commit leaves its diff.Closes #42
Test plan
AGENTS.mdmatches theworkflowandrustblocks atv2, and carries no region the pin file no longer listsAGENTS.mdis byte-identical to whatmaincarries