docs: keep the source's documents in the present #265

Merged
claudiomaradonna merged 2 commits from docs/present-state-docs into main 2026-11-30 13:54:07 +01:00
Collaborator

Why

AGENTS.md § Documentation, since #264, keeps history, earlier states,
and migration steps in a file dedicated to them. This source's own
documents still broke that rule in two places. An agent adopting a
repository read, in docs/INSTALL.md and the README's Quick start, a
case for repositories adopted before the foundry-upgrade skill
existed, which is an upgrade, not an adoption. A maintainer sizing an
eval run in docs/MAINTENANCE.md read costs dated October and November 2026.

What changed

The steps for a repository adopted before foundry-upgrade existed
move from docs/INSTALL.md to UPGRADING.md, as ## Without the skill, before its Steps. The README's Upgrading Agent Foundry section
links to it, which is where that reader looks, and the section now ends
on the Steps below it instead of pointing back to the README.
docs/INSTALL.md's opening and the README's Quick start name only the
new repository and the umbrella workspace.

docs/MAINTENANCE.md states the evals' cost undated, as "about 8 USD
and 28 minutes for all the cases on the main branch's policy", and drops
"historical" from the turn count.

How to verify

Base main at f85d322, branch docs/present-state-docs at 7e74699.

docs/INSTALL.md § Adopted before foundry-upgrade, before:

A repository adopted before the foundry-upgrade skill existed first
copies the skill and its Claude Code link from the source, fills the
Record with the source's location and the commit its README credits
or its history shows, and then upgrades as the README's Upgrading
Agent Foundry section describes.

After, in UPGRADING.md § Without the skill:

A repository adopted before the foundry-upgrade skill existed first
copies the skill and its Claude Code link from the source, fills the
Record with the source's location and the commit the repository's
README credits or its history shows, and then asks an agent for the
upgrade the Steps below describe.

The README's Upgrading Agent Foundry section gains: "A repository
adopted before that skill existed first follows Without the
skill
."

docs/MAINTENANCE.md, before: "about 7 USD and 25 minutes for the cases
on the main branch's policy in October 2026, and about 1 USD and 3
minutes more for the execute-plan case added in November 2026". After:
"about 8 USD and 28 minutes for all the cases on the main branch's
policy".

grep -n 'adopted before' README.md docs/INSTALL.md prints only the
README's Upgrading line, and grep -n '2026\|historical' docs/MAINTENANCE.md finds nothing.

Run on the tree of 7e74699, as a non-root user, outside Claude Code's
sandbox: bash tests/verify-agent-config.sh (361 tests, none skipped),
bash tests/check-work-folder.sh (46 tests),
.agents/hooks/shellcheck.sh repo, prettier --check '**/*.md',
scripts/verify-agent-config.sh, and git diff --check main, all
passing.

Considerations

  • The 8 USD and 28 minutes are the sum of the two earlier measurements,
    not a new run.
  • docs/SANDBOX.md's "as of 2.1.319" stays: it tells the reader which
    version a behavior applies from.
  • The moved steps keep their facts; they still name no fallback for a
    repository whose README credits no commit and whose history shows
    none.
## Why `AGENTS.md` § Documentation, since #264, keeps history, earlier states, and migration steps in a file dedicated to them. This source's own documents still broke that rule in two places. An agent adopting a repository read, in `docs/INSTALL.md` and the README's Quick start, a case for repositories adopted before the `foundry-upgrade` skill existed, which is an upgrade, not an adoption. A maintainer sizing an eval run in `docs/MAINTENANCE.md` read costs dated October and November 2026. ## What changed The steps for a repository adopted before `foundry-upgrade` existed move from `docs/INSTALL.md` to `UPGRADING.md`, as `## Without the skill`, before its Steps. The README's Upgrading Agent Foundry section links to it, which is where that reader looks, and the section now ends on the Steps below it instead of pointing back to the README. `docs/INSTALL.md`'s opening and the README's Quick start name only the new repository and the umbrella workspace. `docs/MAINTENANCE.md` states the evals' cost undated, as "about 8 USD and 28 minutes for all the cases on the main branch's policy", and drops "historical" from the turn count. ## How to verify Base `main` at f85d322, branch `docs/present-state-docs` at 7e74699. `docs/INSTALL.md` § Adopted before `foundry-upgrade`, before: > A repository adopted before the `foundry-upgrade` skill existed first > copies the skill and its Claude Code link from the source, fills the > Record with the source's location and the commit its README credits > or its history shows, and then upgrades as the README's Upgrading > Agent Foundry section describes. After, in `UPGRADING.md` § Without the skill: > A repository adopted before the `foundry-upgrade` skill existed first > copies the skill and its Claude Code link from the source, fills the > Record with the source's location and the commit the repository's > README credits or its history shows, and then asks an agent for the > upgrade the Steps below describe. The README's Upgrading Agent Foundry section gains: "A repository adopted before that skill existed first follows [Without the skill](UPGRADING.md#without-the-skill)." `docs/MAINTENANCE.md`, before: "about 7 USD and 25 minutes for the cases on the main branch's policy in October 2026, and about 1 USD and 3 minutes more for the `execute-plan` case added in November 2026". After: "about 8 USD and 28 minutes for all the cases on the main branch's policy". `grep -n 'adopted before' README.md docs/INSTALL.md` prints only the README's Upgrading line, and `grep -n '2026\|historical' docs/MAINTENANCE.md` finds nothing. Run on the tree of 7e74699, as a non-root user, outside Claude Code's sandbox: `bash tests/verify-agent-config.sh` (361 tests, none skipped), `bash tests/check-work-folder.sh` (46 tests), `.agents/hooks/shellcheck.sh repo`, `prettier --check '**/*.md'`, `scripts/verify-agent-config.sh`, and `git diff --check main`, all passing. ## Considerations - The 8 USD and 28 minutes are the sum of the two earlier measurements, not a new run. - `docs/SANDBOX.md`'s "as of 2.1.319" stays: it tells the reader which version a behavior applies from. - The moved steps keep their facts; they still name no fallback for a repository whose README credits no commit and whose history shows none.
A repository adopted before the foundry-upgrade skill existed is
upgrading, not adopting, yet its steps sat in the install guide and the
README's Quick start. AGENTS.md § Documentation keeps steps from an
earlier state in the file dedicated to them, so they move to
UPGRADING.md, and the README's upgrade section points there, where that
reader looks.
docs(maintenance): state the evals' cost undated
All checks were successful
Maintenance / checks (pull_request) Successful in 6m39s
Maintenance / checks (push) Successful in 6m48s
7e74699f3e
The cost figures carried the months they were measured in, and the turn
count was called historical; a maintainer sizing a run needs only what
holds now. The total is the sum of the two measured runs, not a new
measurement.
Sign in to join this conversation.
No description provided.