chore!: upgrade Agent Foundry to 0fa0312 #60

Merged
claudiomaradonna merged 1 commit from chore/foundry-upgrade-0fa0312 into master 2026-10-29 14:38:21 +01:00
Collaborator

Why

The repository's agent policy was adopted from Agent Foundry at
0e6e754. Since then the source has fixed a gap in the main-checkout
guard: it now refuses edits through a nested member clone on any
branch. It has also made design take its recommendations only when
told to, kept effort-low plan tasks in the main session, and moved
document-reviewer and dependency-advisor to sonnet. The upgrade to
0fa0312 brings all of these at once. The alternative of stopping at
b47921f, which skips the OpenCode 2 change, was set aside so the
OpenCode hooks track the OpenCode the image installs.

What changed

Agents working in this repository get the source's current skills,
templates and subagent settings, with no project-specific rule lost.
The repository had no changes of its own to the merged files, so every
file merged without a conflict. The Record in the foundry-upgrade
skill now names 0fa0312.

Breaking: the OpenCode shell check and main-checkout guard are now
OpenCode 2 plugins and run in OpenCode 2.x only. Anyone running agents
in OpenCode 1.x loses both hooks until they move to 2.x. Claude Code and
Codex hooks are unchanged.

How to verify

From a checkout of the branch, run Verify:
make lint && .agents/hooks/shellcheck.sh repo && make test. Every
test passes with no failures. On this tip, the source's
scripts/verify-agent-config.sh also reports "agent configuration
statically valid".

The OpenCode plugins were not run: the source wrote them against
OpenCode 2.1.4's plugin API and has not yet run them in OpenCode, and
no OpenCode 2 was available here.

Considerations

containers/Dockerfile installs opencode-ai without a pinned
version, so the plugins work in the image only while npm resolves to a
2.x release. The change and security reviews found nothing.

## Why The repository's agent policy was adopted from Agent Foundry at 0e6e754. Since then the source has fixed a gap in the main-checkout guard: it now refuses edits through a nested member clone on any branch. It has also made `design` take its recommendations only when told to, kept effort-low plan tasks in the main session, and moved `document-reviewer` and `dependency-advisor` to sonnet. The upgrade to 0fa0312 brings all of these at once. The alternative of stopping at b47921f, which skips the OpenCode 2 change, was set aside so the OpenCode hooks track the OpenCode the image installs. ## What changed Agents working in this repository get the source's current skills, templates and subagent settings, with no project-specific rule lost. The repository had no changes of its own to the merged files, so every file merged without a conflict. The Record in the `foundry-upgrade` skill now names 0fa0312. Breaking: the OpenCode shell check and main-checkout guard are now OpenCode 2 plugins and run in OpenCode 2.x only. Anyone running agents in OpenCode 1.x loses both hooks until they move to 2.x. Claude Code and Codex hooks are unchanged. ## How to verify From a checkout of the branch, run Verify: `make lint && .agents/hooks/shellcheck.sh repo && make test`. Every test passes with no failures. On this tip, the source's `scripts/verify-agent-config.sh` also reports "agent configuration statically valid". The OpenCode plugins were not run: the source wrote them against OpenCode 2.1.4's plugin API and has not yet run them in OpenCode, and no OpenCode 2 was available here. ## Considerations `containers/Dockerfile` installs `opencode-ai` without a pinned version, so the plugins work in the image only while npm resolves to a 2.x release. The change and security reviews found nothing.
Merge Agent Foundry from 0e6e754 to 0fa0312: the OpenCode hooks become
OpenCode 2 plugins with a shared hook-event builder, the main-checkout
guard covers nested member clones on any branch, design takes
recommendations only when told, effort-low tasks stay in the main
session, and document-reviewer and dependency-advisor run on sonnet.

BREAKING CHANGE: the OpenCode shell check and main-checkout guard run
in OpenCode 2.x only.
claudiomaradonna force-pushed chore/foundry-upgrade-0fa0312 from 2dc891b3b7 to a6d059201b 2026-10-29 14:28:51 +01:00 Compare
claudiomaradonna deleted branch chore/foundry-upgrade-0fa0312 2026-10-29 14:38:30 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
claudiomaradonna/azkaban!60
No description provided.