refactor!: drop the umbrella and the template state #283

Merged
claudiomaradonna merged 3 commits from refactor/drop-umbrella-template into main 2026-12-03 19:32:14 +01:00
Collaborator

Why

Agent Foundry reaches clients only as the Claude Code and Codex plugins
and the OpenCode folder. None of them carries the umbrella, and no
repository is initialized from the source any more, yet the source kept
a Members section, a template state with its placeholders and Template
lifecycle, a validator with template and initialized states, three test
areas for them, and build and eval code that stripped it all. An agent
working in this source found placeholders where its Setup, Test, and
Verify belong.

What changed

AGENTS.md loses the state comment, Template lifecycle, and Members.
Its Architecture and How to interact with the project now hold this
source's own facts, linking docs/MAINTENANCE.md for the checks, as
any project's would. The build still replaces that block with the
generic scripts/forms/shared/project-facts/ text, so the policy every
install ships is unchanged; the README marker goes too.

The validator checks only the source: no state, tokens, or members, and
each check the source already passed now runs unconditionally. The
eval installer replaces each project section's value with
evals/sections/'s instead of placeholder tokens. The umbrella wording
leaves the run-sandboxed skill and the comments of the main-checkout
guard and run-sandboxed.sh; their nested-repository behavior and
-C <dir> stay.

Breaking: the Members section, the template state, and the validator's
states are gone.

How to verify

On branch tip 1f87e65 against base 55ef181, build the shared form
from each and compare the policy:

scripts/build-form.sh shared main /tmp/base
scripts/build-form.sh shared HEAD /tmp/tip
diff /tmp/base/agent-foundry/AGENTS.md /tmp/tip/agent-foundry/AGENTS.md

The only difference is one trailing blank line the base's Members
stripping left. Run as written.

git grep -niE 'umbrella|member' prints only "remember" in two skills,
and git grep -nE 'agent-foundry: template|template-source|Template lifecycle|initializ|<[A-Z_]+>$'
prints nothing.

For the behavioral evals, run the base from main's own checkout,
evals/run.sh --policy main, whose installer still strips the old
sections, and the candidate from this branch with --policy HEAD; the
tip's installer run on main would leave main's Template lifecycle in
the base policy. Not run.

The first commit's two test files pass on the base's code. The checks
of docs/MAINTENANCE.md pass on the tip: 371 agent configuration
tests, the 46 work-folder check tests, the shell check, Prettier, the
static validator, and git diff --check main.

Considerations

The tests of an initialized repository that dropped adapters or briefs
are gone with that state. evals/install-policy.sh's header holds one
86-column comment line, left as a low finding.

## Why Agent Foundry reaches clients only as the Claude Code and Codex plugins and the OpenCode folder. None of them carries the umbrella, and no repository is initialized from the source any more, yet the source kept a Members section, a template state with its placeholders and Template lifecycle, a validator with template and initialized states, three test areas for them, and build and eval code that stripped it all. An agent working in this source found placeholders where its Setup, Test, and Verify belong. ## What changed `AGENTS.md` loses the state comment, Template lifecycle, and Members. Its Architecture and How to interact with the project now hold this source's own facts, linking `docs/MAINTENANCE.md` for the checks, as any project's would. The build still replaces that block with the generic `scripts/forms/shared/project-facts/` text, so the policy every install ships is unchanged; the README marker goes too. The validator checks only the source: no state, tokens, or members, and each check the source already passed now runs unconditionally. The eval installer replaces each project section's value with `evals/sections/`'s instead of placeholder tokens. The umbrella wording leaves the `run-sandboxed` skill and the comments of the main-checkout guard and `run-sandboxed.sh`; their nested-repository behavior and `-C <dir>` stay. Breaking: the Members section, the template state, and the validator's states are gone. ## How to verify On branch tip `1f87e65` against base `55ef181`, build the shared form from each and compare the policy: ```bash scripts/build-form.sh shared main /tmp/base scripts/build-form.sh shared HEAD /tmp/tip diff /tmp/base/agent-foundry/AGENTS.md /tmp/tip/agent-foundry/AGENTS.md ``` The only difference is one trailing blank line the base's Members stripping left. Run as written. `git grep -niE 'umbrella|member'` prints only "remember" in two skills, and `git grep -nE 'agent-foundry: template|template-source|Template lifecycle|initializ|<[A-Z_]+>$'` prints nothing. For the behavioral evals, run the base from main's own checkout, `evals/run.sh --policy main`, whose installer still strips the old sections, and the candidate from this branch with `--policy HEAD`; the tip's installer run on main would leave main's Template lifecycle in the base policy. Not run. The first commit's two test files pass on the base's code. The checks of `docs/MAINTENANCE.md` pass on the tip: 371 agent configuration tests, the 46 work-folder check tests, the shell check, Prettier, the static validator, and `git diff --check main`. ## Considerations The tests of an initialized repository that dropped adapters or briefs are gone with that state. `evals/install-policy.sh`'s header holds one 86-column comment line, left as a low finding.
The evals' installed policy must hold each evals/sections/ file and no
source fact or token whatever layout the source's project sections
take, and the main-checkout guard's nested-clone cases are named for a
clone nested in another repository rather than an umbrella. Both pass
on the code as it is, before the umbrella and the template state go.
No install form carries the umbrella, and no repository is initialized
from the source any more, so the Members section, the template state,
and the code that checked or stripped them served nothing. AGENTS.md
now holds this source's own Architecture and How to interact with the
project, linking docs/MAINTENANCE.md, and the build still replaces them
with the generic project-facts passage, so the built policy keeps its
text. The validator checks only the source, applying unconditionally
each check the source already passed.

BREAKING CHANGE: the Members section, the template state (the
AGENTS.md state comment, the README marker, Template lifecycle, and
the placeholder tokens), and the validator's template and initialized
states are gone; the validator prints no state.
docs: point the install guide at the source's own architecture
All checks were successful
Maintenance / checks (pull_request) Successful in 6m35s
Maintenance / publish (pull_request) Has been skipped
Maintenance / checks (push) Has been skipped
Maintenance / publish (push) Successful in 49s
1f87e6502c
claudiomaradonna deleted branch refactor/drop-umbrella-template 2026-12-03 19:32:22 +01:00
First-time contributor

Command failed

The agent did not complete this command, so nothing came of it. A person should look at this thread.

The run failed at step "aoe_purge". The operator reads the job logs in the Windmill editor, or finds the run with: wmill job list --path f/agents/bot_commands

## Command failed The agent did not complete this command, so nothing came of it. A person should look at this thread. The run failed at step "aoe_purge". The operator reads the job logs in the Windmill editor, or finds the run with: `wmill job list --path f/agents/bot_commands`
Sign in to join this conversation.
No description provided.