docs: lead the Quick start with the plugin installs #275

Merged
claudiomaradonna merged 3 commits from docs/plugin-quick-start into main 2026-12-03 09:13:53 +01:00
Collaborator

Why

An operator who opened the README to install Agent Foundry met adoption
first, which copies the foundry into the repository. The Claude Code
plugin, the Codex plugin, and the OpenCode system-directory folder,
which keep the repository free of foundry files, shared one sentence.
The maintainer of an adopted repository learned nowhere that these
installs replace adoption, nor how to move to one without loading the
policy, skills, and hooks twice.

What changed

The README's Quick start now leads with one entry per client, giving
the client's minimum version and a link to its section of
docs/INSTALL.md. Adoption and the umbrella workspace follow as
deprecated, and the adoption prompt still works. The description, the
Hooks and settings section, and the upgrade section describe the
install forms, and the settings text gives both scopes: a user's merged
~/.claude/settings.json and an adopted repository's
.claude/settings.json.

docs/INSTALL.md opens by sending each client to its section. It then
gives one section on what each project holds, the three installs, and
one shared list of checks plus the checks specific to each form. Two
deprecated groups close the guide:

  • A new section, Migrate from adoption, which an agent runs on a branch
    of the adopted repository. It removes the files adoption copied, as
    git ls-tree lists them at the Record's commit. It reports the
    repository's own changes to skills, subagents, hooks, and templates.
    It reduces AGENTS.md to the project's own sections and moves Verify
    to the shell check's path in the install.
  • The adoption steps, New repository, and Umbrella workspace. Their
    anchors and step numbers are unchanged, since UPGRADING.md cites
    them by number.

UPGRADING.md, the workflows guide, and the foundry-upgrade page mark
adoption and the skill as deprecated and kept for adopted repositories.
Nothing is removed: adoption, the umbrella, foundry-upgrade, the
validator, and the builds work as before.

How to verify

Editorial changes only. On this branch, read the README's Quick start
and docs/INSTALL.md from the top. On main the Quick start opens "A
new repository and an umbrella workspace follow docs/INSTALL.md" and
then lists the four adoption steps. On this branch it opens with the
three install entries.

Checks run on the branch's tip, all passing:

  • bash tests/verify-agent-config.sh: 426 passed
  • bash tests/check-work-folder.sh: 46 passed
  • .agents/hooks/shellcheck.sh repo: 57 files clean
  • prettier --check '**/*.md': passed
  • scripts/verify-agent-config.sh: valid, state=template
  • git diff --check main: passed

Untested: no trial has run Migrate from adoption on a real adopted
repository. The expected result is a repository with no file under
.agents/, and only its own files under .claude/, .codex/, and
.opencode/. Its AGENTS.md should hold only Architecture and How to
interact with the project.

Considerations

  • After the migration, a CI job that ran .agents/hooks/shellcheck.sh
    must run ShellCheck some other way, since the repository no longer
    holds the script.
  • Until every workstation has the install, a session that has both the
    install and the adopted files loads the policy twice. The migration's
    first step therefore asks for the install first.
  • No install form carries an umbrella's Members section, so the
    umbrella is only deprecated, with no migration.
## Why An operator who opened the README to install Agent Foundry met adoption first, which copies the foundry into the repository. The Claude Code plugin, the Codex plugin, and the OpenCode system-directory folder, which keep the repository free of foundry files, shared one sentence. The maintainer of an adopted repository learned nowhere that these installs replace adoption, nor how to move to one without loading the policy, skills, and hooks twice. ## What changed The README's Quick start now leads with one entry per client, giving the client's minimum version and a link to its section of `docs/INSTALL.md`. Adoption and the umbrella workspace follow as deprecated, and the adoption prompt still works. The description, the Hooks and settings section, and the upgrade section describe the install forms, and the settings text gives both scopes: a user's merged `~/.claude/settings.json` and an adopted repository's `.claude/settings.json`. `docs/INSTALL.md` opens by sending each client to its section. It then gives one section on what each project holds, the three installs, and one shared list of checks plus the checks specific to each form. Two deprecated groups close the guide: - A new section, Migrate from adoption, which an agent runs on a branch of the adopted repository. It removes the files adoption copied, as `git ls-tree` lists them at the Record's commit. It reports the repository's own changes to skills, subagents, hooks, and templates. It reduces `AGENTS.md` to the project's own sections and moves Verify to the shell check's path in the install. - The adoption steps, New repository, and Umbrella workspace. Their anchors and step numbers are unchanged, since `UPGRADING.md` cites them by number. `UPGRADING.md`, the workflows guide, and the `foundry-upgrade` page mark adoption and the skill as deprecated and kept for adopted repositories. Nothing is removed: adoption, the umbrella, `foundry-upgrade`, the validator, and the builds work as before. ## How to verify Editorial changes only. On this branch, read the README's Quick start and `docs/INSTALL.md` from the top. On `main` the Quick start opens "A new repository and an umbrella workspace follow `docs/INSTALL.md`" and then lists the four adoption steps. On this branch it opens with the three install entries. Checks run on the branch's tip, all passing: - `bash tests/verify-agent-config.sh`: 426 passed - `bash tests/check-work-folder.sh`: 46 passed - `.agents/hooks/shellcheck.sh repo`: 57 files clean - `prettier --check '**/*.md'`: passed - `scripts/verify-agent-config.sh`: valid, state=template - `git diff --check main`: passed Untested: no trial has run Migrate from adoption on a real adopted repository. The expected result is a repository with no file under `.agents/`, and only its own files under `.claude/`, `.codex/`, and `.opencode/`. Its `AGENTS.md` should hold only Architecture and How to interact with the project. ## Considerations - After the migration, a CI job that ran `.agents/hooks/shellcheck.sh` must run ShellCheck some other way, since the repository no longer holds the script. - Until every workstation has the install, a session that has both the install and the adopted files loads the policy twice. The migration's first step therefore asks for the install first. - No install form carries an umbrella's Members section, so the umbrella is only deprecated, with no migration.
Adoption and the umbrella become deprecated paths, kept for
repositories that use them, and a new section takes an adopted
repository to a plugin or folder install. What every project holds
and the checks the forms share now have one home each.
The plugins and the OpenCode folder become the way in, with adoption
and the umbrella kept below as deprecated. The description, settings,
and upgrade passages now cover the install forms, not adoption alone.
docs: mark adoption and foundry-upgrade deprecated
All checks were successful
Maintenance / checks (pull_request) Successful in 10m52s
Maintenance / checks (push) Successful in 11m9s
Maintenance / publish (pull_request) Has been skipped
Maintenance / publish (push) Successful in 1m0s
4dd4519834
A plugin or folder user reading the workflows guide would otherwise
take foundry-upgrade for a workflow they have, and an adopted
repository's maintainer learns there where the migration is.
claudiomaradonna deleted branch docs/plugin-quick-start 2026-12-03 09:14:02 +01:00
Sign in to join this conversation.
No description provided.