Document the agent-owned deploy and reload flow #299

Merged
nelsong6 merged 1 commit from claude/agent-deploy-reload-docs into main 2026-08-08 10:29:38 -07:00
nelsong6 commented 2026-08-08 10:27:51 -07:00 (Migrated from github.com)

Why

AGENTS.md granted agents permission to hot-reload SpireLens but never stated the
mechanism. The mechanism lived only in .codex/skills/dev-work/SKILL.md, which
Claude Code does not load — it reads CLAUDE.md and .claude/skills/, and this
repo had neither a root CLAUDE.md nor a .claude/skills/ entry.

Net effect: an agent with the authorization but not the method, defaulting to
handing the user an F5 press. That is the exact thing the dev-work skill says not
to do ("Reload SpireLens through automation, not by asking the user to press F5").

What

AGENTS.md

  • Useful Commands now carries the Core deploy command, both reload paths (the
    reload_spirelens_core MCP tool and the equivalent bridge POST), the
    godot.log markers that prove a reload took, and the Loader-vs-Core deploy
    distinction.
  • User-Owned Verification now states outright that build, deploy, and reload
    are agent-owned and must never be handed over as a chore, while leaving the
    existing test/verification preference untouched.

CLAUDE.md (new)

  • Points at AGENTS.md as the authoritative brief.
  • Notes that the dev-work workflow at .codex/skills/dev-work/SKILL.md applies
    to Claude sessions too, despite the historical path.
  • Lists the rules easiest to get backwards: reload is yours to run; do not run
    tests unless asked; restart claims are evidence-based; persisted fields are
    additive and need fixtures; read the runtime primer before attribution work.

Also records a log trap found while verifying a reload: godot.log is the live
session, and the timestamped godot<ISO-8601>.log siblings are rotated copies of
earlier sessions. Reading one of those to judge the running process gives a
stale answer.

Scope

Documentation only — no code, no behavior change.

## Why AGENTS.md granted agents permission to hot-reload SpireLens but never stated the mechanism. The mechanism lived only in `.codex/skills/dev-work/SKILL.md`, which Claude Code does not load — it reads `CLAUDE.md` and `.claude/skills/`, and this repo had neither a root `CLAUDE.md` nor a `.claude/skills/` entry. Net effect: an agent with the authorization but not the method, defaulting to handing the user an F5 press. That is the exact thing the dev-work skill says not to do ("Reload SpireLens through automation, not by asking the user to press F5"). ## What **AGENTS.md** - `Useful Commands` now carries the Core deploy command, both reload paths (the `reload_spirelens_core` MCP tool and the equivalent bridge POST), the `godot.log` markers that prove a reload took, and the Loader-vs-Core deploy distinction. - `User-Owned Verification` now states outright that build, deploy, and reload are agent-owned and must never be handed over as a chore, while leaving the existing test/verification preference untouched. **CLAUDE.md** (new) - Points at AGENTS.md as the authoritative brief. - Notes that the dev-work workflow at `.codex/skills/dev-work/SKILL.md` applies to Claude sessions too, despite the historical path. - Lists the rules easiest to get backwards: reload is yours to run; do not run tests unless asked; restart claims are evidence-based; persisted fields are additive and need fixtures; read the runtime primer before attribution work. Also records a log trap found while verifying a reload: `godot.log` is the live session, and the timestamped `godot<ISO-8601>.log` siblings are rotated copies of *earlier* sessions. Reading one of those to judge the running process gives a stale answer. ## Scope Documentation only — no code, no behavior change.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
romaine-life/spirelens!299
No description provided.