A plugins/spire/skills/curator/agents/openai.yaml M plugins/spire/skills/gremlins/SKILL.md M plugins/spire/skills/gremlins/preamble.md M plugins/spire/skills/gremlins/templates/rebase.md M plugins/spire/skills/gremlins/templates/spawn.md M plugins/spire/skills/gremlins/templates/train.md A plugins/spire/skills/gremlins/tests/test_prompts.py M plugins/spire/skills/implementation/references/run-log.md A plugins/spire/skills/init/agents/openai.yaml M plugins/spire/skills/svg/SKILL.md
68 lines
3.0 KiB
Markdown
68 lines
3.0 KiB
Markdown
# Run log and handoff notes
|
|
|
|
The run log is the record of a build: one file per build plan at `logs/<YYYY-MM-DD-hh>-<slug>/run.md` in the quire (tier: `quire` skill). Each phase appends to it. The reviewer reads it. One Athanor runs a brief; the next brief's Athanor starts from the run log and trunk notes.
|
|
|
|
Rules:
|
|
|
|
- Take every time from `date` when you write it. Never estimate or count forward by feel.
|
|
- Durations in summaries come from git commit times.
|
|
- Stamp the exact model id from your system prompt. If you dispatched an agent and its id is unknown, write "unknown", not a guess.
|
|
- Totals stay **provisional** until the review, fix pass and re-check have closed.
|
|
|
|
## Header
|
|
|
|
```markdown
|
|
# Run log — <plan title>
|
|
|
|
- Plan: <path> · Build plan: <path>
|
|
- Branch: <branch> · Start commit: <hash>
|
|
- Trunk notes: <path, same folder>
|
|
- Scratch: <run dir `<repo>/.spire/scratch/<run-slug>/` (parent of `G init`'s `state`); filled at build start, gremlins or not>
|
|
- Athanor: <model id> · Session journal: <path>
|
|
```
|
|
|
|
## Per phase
|
|
|
|
```markdown
|
|
## Phase <N> — <title>
|
|
|
|
| Block | Owner (model id) | Commit | Tokens (if known) |
|
|
|---|---|---|---|
|
|
```
|
|
|
|
## Handoff note (one per block, written by the block's owner; a gremlin writes it to the helper's note path and the Athanor copies it here)
|
|
|
|
A few lines per block: findings, not narration. "none" is the normal answer for deviations and flags, and a real deviation or doubt is never left out.
|
|
|
|
```markdown
|
|
### Block <N.M> — <title>
|
|
|
|
- Model: <exact model id>
|
|
- Start / end: <`date` output> / <`date` output>
|
|
- Done: <what changed, in one or two lines>
|
|
- Deviations from plan: <what, and why, including size well over the plan's estimate, with its cause> — or "none"
|
|
- Flagged for review: <a point you are unsure of, e.g. a semantic the plan left open> — or "none"
|
|
- Left for later: <work deferred to a later block or phase>
|
|
- Expected broken: <areas that do not build or pass yet, and which block fixes them>
|
|
- Commits: <hashes> — or "none" when your brief says you do not commit
|
|
```
|
|
|
|
## Phase close (written by the Athanor)
|
|
|
|
```markdown
|
|
### Phase <N> close
|
|
|
|
- Gate: <command> — <result>
|
|
- Cost: <from `G status` or `ledger.jsonl`, never from streams>
|
|
- Tests: <command> — <result> (fallout fixed in block <N.M>)
|
|
- Flags for the reviewer: the deviations and flags from the block notes above, one line each with its block — or "none" when the notes have none.
|
|
- Not run / untested: <behaviour the plan names that no test or gate ran> — or "none"
|
|
- Status: provisional until review, fix pass and re-check close.
|
|
```
|
|
|
|
After a review, its reviewer of record (the Athanor or Igor) appends the review path, the fix-pass commits, the re-check result, and the minors logged as follow-ups.
|
|
|
|
## Trunk notes (written by the Athanor at build start)
|
|
|
|
Short, for the next agent that has not read the code: key files and seams, invariants the phase touches, every consumer of a changed semantic, the gate command, known traps. A page, not a design document. Refresh it through the handoff notes: block owners note changed seams there.
|