chore(agents): upgrade Foundry to 017383c #78

Merged
claudiomaradonna merged 1 commit from chore/foundry-upgrade-017383c into master 2026-11-15 11:54:09 +01:00
Collaborator

Why

This repository uses Agent Foundry to guide agents through planning,
implementation, verification, and delivery. Its adopted policy is behind
the source's improvements to implementer continuity, verification
evidence, and pull request preparation. This upgrades the policy from
b04e778
to 017383c.

What changed

Sequential tasks can continue an eligible implementer, and failed
attempts follow the source's effort escalation rules. Passing check
evidence can be reused when its effective inputs and context are
established unchanged; final verification still runs. Proof worktrees
can retain verified preparation within the calling phase's lifecycle.

Delivery now prepares the PR text before pushing and opening the PR.
The PR template tailors its evidence to the change, and the matching
Forgejo form is renewed. Codex reviewer and implementer settings gain
the source's context restrictions.

The three-way merge preserves the repository's own instructions and
records the new source commit. Application and container code are
unchanged; source-only documentation, evals, and tests stay upstream.

How to verify

Follow the project setup and verification instructions.
The base is c8173c4664bbc4032d1618cb1ddf7c492963f4b5; the branch is
0e802fe5ab7ff399ccc48bcb244b85c96cc30aba.

From a clone containing this branch, check out the branch and run:

git clone https://git.unitoo.it/claudiomaradonna/agent-foundry /tmp/foundry-policy-source
git -C /tmp/foundry-policy-source checkout --detach 017383c42a9220b137642fd4c86f7d6f1fb2baa8
/tmp/foundry-policy-source/scripts/verify-agent-config.sh .
make lint && .agents/hooks/shellcheck.sh repo && make test
git diff --check c8173c4664bbc4032d1618cb1ddf7c492963f4b5
cmp .agents/templates/pull-request.md .forgejo/pull_request_template.md

Observed on the branch: static configuration valid (state=initialized),
328 tests across 34 suites passed, and diff/template checks passed. The
change, security, and document reviewers reported no findings. Eligible
merged source files match the chosen source exactly, with the required
project-specific handling of AGENTS.md, the adoption Record, and the
copied Forgejo form. The user confirmed both Codex hooks enabled and
trusted in the upgrade worktree.

Live continuity trial, untested: it requires authenticated agent
sessions and model calls beyond the static upgrade checks. On Linux,
with bubblewrap, Python 3, ShellCheck, Git 2.48+, and an authenticated
Codex CLI, run the chosen source's eval runner against both source policy
revisions:

cd /tmp/foundry-policy-source
evals/run.sh --client codex --case execute-plan --policy b04e7781d795547882b7bd47b878057cc9cdec32 --out /tmp/foundry-continuity-base
evals/run.sh --client codex --case execute-plan --policy 017383c42a9220b137642fd4c86f7d6f1fb2baa8 --out /tmp/foundry-continuity-upgrade

The runner creates an isolated tally repository with two approved,
sequential medium-effort subagent tasks. The case's exact prompt is:
“Execute the approved work in .plans/2026-11-14-0900-tally-filters/.”
It also supplies its standard unattended-run preamble. Expected: both
policies complete the work; the upgraded policy continues the same
eligible implementer for the second task, whereas the old policy has no
such continuation rule. Inspect the saved transcripts and record the
client version, model, and observed actions when running this trial.

The networked make test-e2e release gate was not run; this change
touches no application or container code.

Considerations

Agent behavior has static validation and review evidence; the live
continuity scenario above remains untested. After landing, repeat the
Codex hook setup on other workstations as the source upgrade procedure
requests.

## Why This repository uses Agent Foundry to guide agents through planning, implementation, verification, and delivery. Its adopted policy is behind the source's improvements to implementer continuity, verification evidence, and pull request preparation. This upgrades the policy from [`b04e778`](https://git.unitoo.it/claudiomaradonna/agent-foundry/commit/b04e7781d795547882b7bd47b878057cc9cdec32) to [`017383c`](https://git.unitoo.it/claudiomaradonna/agent-foundry/commit/017383c42a9220b137642fd4c86f7d6f1fb2baa8). ## What changed Sequential tasks can continue an eligible implementer, and failed attempts follow the source's effort escalation rules. Passing check evidence can be reused when its effective inputs and context are established unchanged; final verification still runs. Proof worktrees can retain verified preparation within the calling phase's lifecycle. Delivery now prepares the PR text before pushing and opening the PR. The PR template tailors its evidence to the change, and the matching Forgejo form is renewed. Codex reviewer and implementer settings gain the source's context restrictions. The three-way merge preserves the repository's own instructions and records the new source commit. Application and container code are unchanged; source-only documentation, evals, and tests stay upstream. ## How to verify Follow the [project setup and verification instructions](AGENTS.md#how-to-interact-with-the-project). The base is `c8173c4664bbc4032d1618cb1ddf7c492963f4b5`; the branch is `0e802fe5ab7ff399ccc48bcb244b85c96cc30aba`. From a clone containing this branch, check out the branch and run: ```bash git clone https://git.unitoo.it/claudiomaradonna/agent-foundry /tmp/foundry-policy-source git -C /tmp/foundry-policy-source checkout --detach 017383c42a9220b137642fd4c86f7d6f1fb2baa8 /tmp/foundry-policy-source/scripts/verify-agent-config.sh . make lint && .agents/hooks/shellcheck.sh repo && make test git diff --check c8173c4664bbc4032d1618cb1ddf7c492963f4b5 cmp .agents/templates/pull-request.md .forgejo/pull_request_template.md ``` Observed on the branch: static configuration valid (`state=initialized`), 328 tests across 34 suites passed, and diff/template checks passed. The change, security, and document reviewers reported no findings. Eligible merged source files match the chosen source exactly, with the required project-specific handling of `AGENTS.md`, the adoption Record, and the copied Forgejo form. The user confirmed both Codex hooks enabled and trusted in the upgrade worktree. Live continuity trial, **untested**: it requires authenticated agent sessions and model calls beyond the static upgrade checks. On Linux, with bubblewrap, Python 3, ShellCheck, Git 2.48+, and an authenticated Codex CLI, run the chosen source's eval runner against both source policy revisions: ```bash cd /tmp/foundry-policy-source evals/run.sh --client codex --case execute-plan --policy b04e7781d795547882b7bd47b878057cc9cdec32 --out /tmp/foundry-continuity-base evals/run.sh --client codex --case execute-plan --policy 017383c42a9220b137642fd4c86f7d6f1fb2baa8 --out /tmp/foundry-continuity-upgrade ``` The runner creates an isolated tally repository with two approved, sequential medium-effort subagent tasks. The case's exact prompt is: “Execute the approved work in `.plans/2026-11-14-0900-tally-filters/`.” It also supplies its standard unattended-run preamble. Expected: both policies complete the work; the upgraded policy continues the same eligible implementer for the second task, whereas the old policy has no such continuation rule. Inspect the saved transcripts and record the client version, model, and observed actions when running this trial. The networked `make test-e2e` release gate was not run; this change touches no application or container code. ## Considerations Agent behavior has static validation and review evidence; the live continuity scenario above remains untested. After landing, repeat the Codex hook setup on other workstations as the source upgrade procedure requests.
claudiomaradonna deleted branch chore/foundry-upgrade-017383c 2026-11-15 11:54:14 +01:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
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!78
No description provided.