refactor!: remove adoption and its upgrade #281

Merged
claudiomaradonna merged 2 commits from refactor/drop-adoption into main 2026-12-03 18:13:58 +01:00
Collaborator

Why

Agent Foundry reaches clients only as the Claude Code and Codex plugins
and the OpenCode folder, and no repository is adopted any more. The
deprecated adoption path still cost the source a 389-line upgrade guide,
the foundry-upgrade skill, about 160 lines of the install guide, a
validator Record check, and old-layout errors that only sent an adopted
AGENTS.md to an upgrade migration. An operator reading the README met
an adoption prompt beside the installs to use.

What changed

The foundry-upgrade skill, its .claude/skills/ link, UPGRADING.md,
and its workflow page are gone, and no skill, page, or rule names them.
The validator no longer requires or checks the upgrade Record or
UPGRADING.md, nor reports the old AGENTS.md layouts; it still
requires the four subsections of How to interact with the project. The
build copies every skill, and the evals' installer fills no Record.

The routing rule in AGENTS.md and the trim step of implement-feature
keep their generic precedence for a project's own change skill, the text
the built forms already carried, so their two form passages go. Template
lifecycle now allows only source maintenance.

The README, docs/INSTALL.md, and docs/SETTINGS.md now speak only of
the three installs: Migrate from adoption, Adoption steps, New
repository, Umbrella workspace, and Codex hook setup are gone. What each
project holds says where the project's sections are defined and how to
fill them, and docs/MAINTENANCE.md takes Prettier and the Codex hook
trust a clone of this source needs.

Breaking: an adopted repository has no upgrade path; none exists.

How to verify

On branch tip a47f7c3 against base 53632ec:

git ls-files | grep -E 'foundry-upgrade|UPGRADING'
git grep -nE 'foundry-upgrade|UPGRADING|Adopted commit|FOUNDRY_(SOURCE|COMMIT)|#(migrate-from-adoption|adoption-steps|new-repository|umbrella-workspace)'

Both print nothing on the tip; on the base they list the skill, the
guide, and their references. Run as written.

The four tests/agent-config/build-form.sh tests that a target "holds
each skill" fail on the base at their assertion, the built list lacking
skills/foundry-upgrade/SKILL.md, and pass on the tip.

The checks of docs/MAINTENANCE.md pass on the tip: 407 agent
configuration tests, the 46 work-folder check tests, the shell check,
Prettier, the static validator, and git diff --check main.

Considerations

Left for a later change: the Members section and umbrella handling, and
the template state with its placeholders and the validator's
initialized-state checks. Until then no document describes how a
repository is initialized from the source.

## Why Agent Foundry reaches clients only as the Claude Code and Codex plugins and the OpenCode folder, and no repository is adopted any more. The deprecated adoption path still cost the source a 389-line upgrade guide, the `foundry-upgrade` skill, about 160 lines of the install guide, a validator Record check, and old-layout errors that only sent an adopted `AGENTS.md` to an upgrade migration. An operator reading the README met an adoption prompt beside the installs to use. ## What changed The `foundry-upgrade` skill, its `.claude/skills/` link, `UPGRADING.md`, and its workflow page are gone, and no skill, page, or rule names them. The validator no longer requires or checks the upgrade Record or `UPGRADING.md`, nor reports the old `AGENTS.md` layouts; it still requires the four subsections of How to interact with the project. The build copies every skill, and the evals' installer fills no Record. The routing rule in `AGENTS.md` and the trim step of `implement-feature` keep their generic precedence for a project's own change skill, the text the built forms already carried, so their two form passages go. Template lifecycle now allows only source maintenance. The README, `docs/INSTALL.md`, and `docs/SETTINGS.md` now speak only of the three installs: Migrate from adoption, Adoption steps, New repository, Umbrella workspace, and Codex hook setup are gone. What each project holds says where the project's sections are defined and how to fill them, and `docs/MAINTENANCE.md` takes Prettier and the Codex hook trust a clone of this source needs. Breaking: an adopted repository has no upgrade path; none exists. ## How to verify On branch tip `a47f7c3` against base `53632ec`: ```bash git ls-files | grep -E 'foundry-upgrade|UPGRADING' git grep -nE 'foundry-upgrade|UPGRADING|Adopted commit|FOUNDRY_(SOURCE|COMMIT)|#(migrate-from-adoption|adoption-steps|new-repository|umbrella-workspace)' ``` Both print nothing on the tip; on the base they list the skill, the guide, and their references. Run as written. The four `tests/agent-config/build-form.sh` tests that a target "holds each skill" fail on the base at their assertion, the built list lacking `skills/foundry-upgrade/SKILL.md`, and pass on the tip. The checks of `docs/MAINTENANCE.md` pass on the tip: 407 agent configuration tests, the 46 work-folder check tests, the shell check, Prettier, the static validator, and `git diff --check main`. ## Considerations Left for a later change: the Members section and umbrella handling, and the template state with its placeholders and the validator's initialized-state checks. Until then no document describes how a repository is initialized from the source.
Agent Foundry reaches clients only as the plugins and the OpenCode
folder, and no repository is adopted, so the upgrade that merged a newer
source into an adopted one has no user. Its skill, UPGRADING.md, the
validator's Record check, and the errors that sent an old AGENTS.md
layout to an upgrade migration go; the build copies every skill, and the
evals' installer fills no Record. The routing and trim-step rules keep
their generic exemption, the text the built forms already carried, so
their two form passages go too.

BREAKING CHANGE: the foundry-upgrade skill and UPGRADING.md are gone, and
the validator no longer requires or checks an upgrade Record.
docs: remove adoption from the guides
All checks were successful
Maintenance / checks (pull_request) Successful in 6m32s
Maintenance / publish (pull_request) Has been skipped
Maintenance / checks (push) Has been skipped
Maintenance / publish (push) Successful in 48s
a47f7c32aa
With no repository adopted, the README's adoption prompt, the install
guide's migration, adoption, new-repository, and umbrella sections, and
the settings guide's adopted-repository passages have no reader. What
each project holds now says how to fill the project's sections, the one
part of the adoption steps an install still needs, and the maintenance
guide takes Prettier and the Codex hook trust its clone of this source
needs.
claudiomaradonna deleted branch refactor/drop-adoption 2026-12-03 18:14:05 +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.