refactor!: name the plugin foundry@agent-foundry #276

Merged
claudiomaradonna merged 1 commit from refactor/plugin-name into main 2026-12-03 12:41:14 +01:00
Collaborator

Why

The Claude Code and Codex plugins are installed with
<plugin>@<marketplace>, and the build gave both the same name, so the
install read dumbledore@dumbledore. That repeats one name, and the
name does not mention Agent Foundry.

What changed

The build now names the plugin foundry and the marketplace
agent-foundry. Before, both were dumbledore. The install command is
now claude plugin install foundry@agent-foundry or
codex plugin add foundry@agent-foundry. The plugin sits at
plugins/foundry/, its settings file is settings/foundry.json, and
skills and subagents appear as foundry:<name>. A publish commit reads
build: foundry <hash>.

scripts/build-form.sh gets a marketplace variable next to name.
docs/INSTALL.md and the tests for the build and publish scripts use
the new names.

This is a breaking change: an existing install would have to add the
new marketplace and install foundry@agent-foundry. The plugin has no
users yet, so there are no migration steps. The OpenCode form has no
plugin name and stays as it is.

How to verify

Run from the repository root, at base 4dd4519 and at branch tip
770d44e, using each revision's own scripts/build-form.sh:

scripts/build-form.sh claude HEAD /tmp/form-claude
scripts/build-form.sh codex HEAD /tmp/form-codex
jq -r '.plugins[0].name + "@" + .name' \
  /tmp/form-claude/.claude-plugin/marketplace.json \
  /tmp/form-codex/.agents/plugins/marketplace.json

On the base, both lines print dumbledore@dumbledore; on the tip, both
print foundry@agent-foundry, and ls /tmp/form-claude/plugins shows
foundry. I ran this scenario as written, and it gave these results.
Installing with the claude and codex clients was not run; the
expected result is that claude plugin list shows
foundry@agent-foundry.

The checks in docs/MAINTENANCE.md pass on the tip:
tests/verify-agent-config.sh (426 tests),
tests/check-work-folder.sh, the shell check, Prettier,
scripts/verify-agent-config.sh, and git diff --check main. On the
base, the extended tests in tests/agent-config/build-form.sh and
publish-form.sh fail at their name and path assertions.

Considerations

On the first publish, the claude-plugin and codex-plugin branches
switch from the old layout to the new one. The publish script's guard
against older builds reads the manifest at the new path, so it does not
stop that first publish. It also does not stop an older workflow run,
started from a commit before the rename, from republishing a
dumbledore build over a foundry one.

## Why The Claude Code and Codex plugins are installed with `<plugin>@<marketplace>`, and the build gave both the same name, so the install read `dumbledore@dumbledore`. That repeats one name, and the name does not mention Agent Foundry. ## What changed The build now names the plugin `foundry` and the marketplace `agent-foundry`. Before, both were `dumbledore`. The install command is now `claude plugin install foundry@agent-foundry` or `codex plugin add foundry@agent-foundry`. The plugin sits at `plugins/foundry/`, its settings file is `settings/foundry.json`, and skills and subagents appear as `foundry:<name>`. A publish commit reads `build: foundry <hash>`. `scripts/build-form.sh` gets a `marketplace` variable next to `name`. `docs/INSTALL.md` and the tests for the build and publish scripts use the new names. This is a breaking change: an existing install would have to add the new marketplace and install `foundry@agent-foundry`. The plugin has no users yet, so there are no migration steps. The OpenCode form has no plugin name and stays as it is. ## How to verify Run from the repository root, at base `4dd4519` and at branch tip `770d44e`, using each revision's own `scripts/build-form.sh`: ```bash scripts/build-form.sh claude HEAD /tmp/form-claude scripts/build-form.sh codex HEAD /tmp/form-codex jq -r '.plugins[0].name + "@" + .name' \ /tmp/form-claude/.claude-plugin/marketplace.json \ /tmp/form-codex/.agents/plugins/marketplace.json ``` On the base, both lines print `dumbledore@dumbledore`; on the tip, both print `foundry@agent-foundry`, and `ls /tmp/form-claude/plugins` shows `foundry`. I ran this scenario as written, and it gave these results. Installing with the `claude` and `codex` clients was not run; the expected result is that `claude plugin list` shows `foundry@agent-foundry`. The checks in `docs/MAINTENANCE.md` pass on the tip: `tests/verify-agent-config.sh` (426 tests), `tests/check-work-folder.sh`, the shell check, Prettier, `scripts/verify-agent-config.sh`, and `git diff --check main`. On the base, the extended tests in `tests/agent-config/build-form.sh` and `publish-form.sh` fail at their name and path assertions. ## Considerations On the first publish, the `claude-plugin` and `codex-plugin` branches switch from the old layout to the new one. The publish script's guard against older builds reads the manifest at the new path, so it does not stop that first publish. It also does not stop an older workflow run, started from a commit before the rename, from republishing a `dumbledore` build over a `foundry` one.
refactor!: name the plugin foundry@agent-foundry
All checks were successful
Maintenance / checks (pull_request) Successful in 11m2s
Maintenance / checks (push) Successful in 13m19s
Maintenance / publish (pull_request) Has been skipped
Maintenance / publish (push) Successful in 1m17s
770d44ea82
The plugin and its marketplace shared the name dumbledore, so the
install read dumbledore@dumbledore. The plugin becomes foundry, its
skills foundry:<name>, and the marketplace agent-foundry, after the
project. The plugin has no users yet, so no migration step.

BREAKING CHANGE: install with foundry@agent-foundry; skills and
subagents are foundry:<name>.
claudiomaradonna deleted branch refactor/plugin-name 2026-12-03 12:41:20 +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.