Skip to content

Read the shared-instruction pin from .agents (#42) - #43

Merged
sehkone merged 1 commit into
mainfrom
sehkone/issue-42
Aug 9, 2026
Merged

Read the shared-instruction pin from .agents (#42)#43
sehkone merged 1 commit into
mainfrom
sehkone/issue-42

Conversation

@sehkone

@sehkone sehkone commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Summary

aicers/agent-instructions dropped the blocks and instructions-ref inputs from its reusable drift check, which this repository still passed at the instructions job. An unknown input to a called workflow is a startup failure, so every run went red before a single job began — main included (run 31287538153) — and no check, test or Markdown job 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 default GITHUB_TOKEN, which may not push to that directory. The only input the reusable workflow still takes is target, left at its AGENTS.md default.

The pin stays at v2 and the block list at what AGENTS.md carries, so the comparison being run is unchanged. The uses: 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.md is untouched. Onboarding the scheduled apply.yml caller, 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_request run 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

  • The drift check runs at all again, and passes: AGENTS.md matches the workflow and rust blocks at v2, and carries no region the pin file no longer lists
  • AGENTS.md is byte-identical to what main carries

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
@sehkone
sehkone merged commit 6fd9e23 into main Aug 9, 2026
4 checks passed
@sehkone
sehkone deleted the sehkone/issue-42 branch August 9, 2026 02:49
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.

Read the shared-instruction pin from .agents

1 participant