Files
g4borg f6dc43be19 ✨ export: 36 files (features)
M plugins/gitea/.claude-plugin/plugin.json
M plugins/gitea/.codex-plugin/plugin.json
M plugins/gitea/README.md
M plugins/gitea/skills/gitea/SKILL.md
M plugins/gitea/skills/gitea/scripts/fetch_ticket.py
M plugins/gitea/skills/gitea/scripts/start_ticket.py
A plugins/spire/UPGRADES.md
A plugins/spire/agents/designer.md
M plugins/spire/agents/planner.md
A plugins/spire/providers/README.md
A plugins/spire/providers/hosts/claude-desktop/spawning.md
A plugins/spire/providers/hosts/t3-code/spawning.md
A plugins/spire/providers/runtimes/codex/spawning.md
M plugins/spire/skills/gremlins/grm/call.py
M plugins/spire/skills/gremlins/grm/cli.py
A plugins/spire/skills/gremlins/grm/codex.py
A plugins/spire/skills/gremlins/grm/errors.py
A plugins/spire/skills/gremlins/grm/harness.py
M plugins/spire/skills/gremlins/grm/launch.py
A plugins/spire/skills/gremlins/grm/scrub.py
M plugins/spire/skills/gremlins/grm/stream.py
A plugins/spire/skills/gremlins/grm/title.py
A plugins/spire/skills/gremlins/tests/_pin.py
M plugins/spire/skills/gremlins/tests/fake_claude.py
A plugins/spire/skills/gremlins/tests/fake_codex.py
M plugins/spire/skills/gremlins/tests/test_cli.py
A plugins/spire/skills/gremlins/tests/test_cli_codex.py
A plugins/spire/skills/gremlins/tests/test_codex.py
A plugins/spire/skills/gremlins/tests/test_harness.py
A plugins/spire/skills/gremlins/tests/test_scrub.py
A plugins/spire/skills/gremlins/tests/test_title.py
A plugins/spire/skills/igor/references/upgrades.md
A plugins/spire/skills/igor/tests/test_upgrade_notes.py
A plugins/spire/skills/igor/upgrade-notes.sh
R plugins/spire/skills/implementation/references/spawning-claude-code.md -> plugins/spire/providers/runtimes/claude-code/spawning.md
M plugins/spire/skills/project/SKILL.md
2026-11-25 01:52:10 +01:00

63 lines
5.2 KiB
Markdown

# Spire upgrade notes
Actions a user must take after upgrading Spire. A release gets an entry here only if it requires user action. Each item restates the release note with its check and fix; the duplication is intended.
Igor reads this file automatically at startup and shows the entries newer than this checkout's marker. `.spire/upgrades.lock` records what this checkout has handled. To see the notes again, delete the marker or write a lower version into it.
### Format contract (for authors)
The startup script depends on this. Never put a `## ` heading in the preamble or inside an entry, code fences included.
- The preamble sits before the first entry heading and is never printed.
- Entry heading: a line starting `## ` whose next word is `X.Y.Z`, for example `## 0.4.0` or `## 0.4.0 (2026-12-01)`. The body runs until the next line starting `## ` or EOF. Entries are newest first.
- A `## ` line whose second word is not a version also ends the current entry and starts no new one.
- Each item in an entry:
```
### <short title>
- Change: <what changed, one or two lines>
- Affects: <how to tell whether this checkout is affected>
- Check: <one read-only command or grep, runnable from the project root; say how to read the result>
- Fix: <the exact action; commands or edits>
```
`Check:` is run by Igor's scout, never by the startup script. Keep it read-only (grep, ls, test).
## 0.4.0
### workpad is now quire
- Change: the skill `spire:workpad` is gone; use `spire:quire`. The helper is `quire.py`, the folder default is `docs/quire` (`QUIRE_FOLDER`, `--quire` in gitea). `docs/workpad` still works as a fallback; if both exist, quire wins.
- Affects: agent files that preload `spire:workpad` (the preload is lost silently), and a `docs/workpad/` folder.
- Check: `grep -rn 'spire:workpad' .claude/agents/ 2>/dev/null` (hits = applies; no output = already done or not applicable).
- Fix: replace `spire:workpad` with `spire:quire` in agent `skills:` lists. Optionally `git mv docs/workpad docs/quire` and repoint the `.gitignore` logs line and project.md `**Quire**:`.
### attacker is now advocate
- Change: the agent `spire:attacker` is now `spire:advocate`; the step verb "attack" is now "castigate". Saying "attack the plan" still triggers it.
- Affects: `spire:attacker` or `attacker` in dispatch lists, project.md, or permissions.
- Check: `grep -rn 'spire:attacker\|"attacker"' .claude/ CLAUDE.md AGENTS.md 2>/dev/null` (hits = applies; no output = already done or not applicable).
- Fix: replace `spire:attacker` with `spire:advocate` in those places.
### Harness references moved
- Change: harness references moved from `skills/implementation/references/providers/` to the plugin root `providers/` (`runtimes/`, `hosts/`). `subagent-writes.md` folded into `providers/runtimes/claude-code/spawning.md`.
- Affects: project overrides or notes that cite the old path.
- Check: `grep -rn 'implementation/references/providers' .claude/ CLAUDE.md AGENTS.md docs/ 2>/dev/null` (hits = applies; no output = not applicable).
- Fix: repoint the citations to the new `providers/` paths.
### Gremlins need --harness outside a harness
- Change: `G init` needs `--harness claude` (or `codex`) when run from a shell with no harness marker (plain terminal, CI); inside a harness the caller's harness is detected. Only `init` takes `--harness`; other gremlins commands read the harness stored in the run.
- Affects: scripts or CI that call `gremlins.py init` (or `G init`, `G` being `uv run --script …/gremlins.py`).
- Check: `grep -rnE "(gremlins\.py['\"]?|(^|[^a-z])G)[[:space:]]+init" --include='*.sh' --include='*.yml' --include='*.yaml' --include='Justfile' --include='Makefile' . 2>/dev/null | grep -v -- '--harness'` (hits = init calls without the flag, applies; a call continued over several lines may be a false hit, read it; no output = not applicable).
- Fix: add `--harness claude` (or `codex`) to those `init` calls.
### Secret-shaped env names are scrubbed from gremlins
- Change: secret-shaped environment names are scrubbed from gremlin environments (this strips e.g. `CLAUDE_CODE_CLIENT_KEY`; unlisted `CLAUDE_CODE_*` stay). Only inherited env is scrubbed; secrets exported by shell startup files reach tool shells again.
- Affects: a gremlin run that needs a variable whose name looks like a secret (KEY, TOKEN, SECRET, PASSWORD).
- Check: `grep -rn 'pass-env' .claude/ CLAUDE.md AGENTS.md docs/ 2>/dev/null` (hits = pass-through already configured, likely done; no output and gremlins in use = review by hand).
- Fix: pass what a gremlin really needs with `--pass-env NAME` at `init`.
### Finish or re-init in-flight 0.3.x gremlin runs
- Change: templates are not frozen per run, so a run started under 0.3.x would get the new spawn text without the old preamble's companion rules, plus the new scrub. New runs use the new preamble and templates; handoff notes live in `notes/<J>.md` and the Athanor copies them into the run log.
- Affects: gremlin run state from before the upgrade that is still in progress. This is an action for after the upgrade.
- Check: `ls -d .spire/gremlins/* .spire/scratch/*/gremlins 2>/dev/null` (any listing = run state exists; compare its dates with the upgrade; no output = not applicable).
- Fix: finish those runs, or re-init them. Do not resume them.