Repository navigation
Description
Problem
#1709 / PR #1710 made /arch-save <text> persist a next task verbatim and /arch-init start on it. Verbatim was chosen so the saving session cannot rewrite the owner's intent. But it also stops that session from doing the one thing only it can do: resolve what the owner's words refer to.
/arch-save merge them all → banner reads NEXT TASK: merge them all. After the clear, "them" points at nothing. The resumed session can only guess from the open-loops section, which works by luck. And because merging is a per-occasion-word act, the pickup rule ("a saved instruction is an instruction, not a pre-spent approval") makes the resumed architect ask again — for an instruction the owner already gave.
Proposal
Keep the owner's words verbatim and add a resolved gloss written at save time, on the same banner line. The gloss carries the referents, and for word-gated acts it carries the word.
# ⏭ NEXT TASK (owner-directed at save, 2026-09-22T13:40Z): merge them all [resolved at save: PRs #1710, #1712, #1715]
Design (prescribed — implement as written unless something is genuinely wrong with it)
/arch-save step 3 — resolve, don't plan
After splitting off the next task (unchanged from #1709):
- Resolve every referent in the owner's words to a concrete, durable identifier: pronouns and deictics ("them", "that issue", "his PR", "the failing one") → PR numbers, issue numbers, builder ids, branch names, file paths. Write them as
[resolved at save: …]appended to the NEXT TASK line, after the verbatim text. - Resolution only. The gloss names what, never how. No steps, no ordering, no caveats, no "after CI is green". A gloss that contains a plan has overstepped; the resumed session plans.
- No referents → no gloss.
/arch-save review PR #1712needs nothing; write the line as today. Do not add an empty or redundant gloss. - Cannot resolve → do not clear. If any referent is ambiguous or unknown to the saving session, stop before step 4 (the clear) and ask the owner which items are meant. Clearing with an unresolved task destroys the only context that could have answered. This is the one case where
/arch-savemay pause its own cycle; it is cheap, and the alternative is a wrong merge.
/arch-init step 4 — the gloss carries the word
- Report both halves in the orient block:
Next task from the owner at save time: <verbatim> → resolved: <gloss>. - Items named in the gloss are approved for the act the owner's words name. "merge them all [resolved at save: PRs [Air #1709] feat: /arch-save takes a next task, /arch-init starts on it #1710, afx spawn can half-register a builder: worktree + branch + live agent but no registry row (spawn must be transactional) #1712]" means: merge [Air #1709] feat: /arch-save takes a next task, /arch-init starts on it #1710 and afx spawn can half-register a builder: worktree + branch + live agent but no registry row (spawn must be transactional) #1712 without asking again. The owner gave the word at save time, and the saving session pinned it to those items. This narrows the /arch-save: accept a next-task instruction and have /arch-init start on it after the refresh #1709 rule, it does not remove it:
- The act must be the one the owner's words say. A gloss never widens the verb ("merge" does not also approve a release).
- Anything not in the gloss still needs the word live. A new PR that appeared after the save, an item the gloss did not name, a gate the words did not mention → prepare and ask, exactly as /arch-save: accept a next-task instruction and have /arch-init start on it after the refresh #1709 says.
- Porch gates are still relayed to the builder, never run by the architect; the gloss lets the architect relay the approval without re-asking, it does not change who runs
porch approve.
- Ordinary verification still applies: an approved merge still waits for green CI; a resumed architect that finds a gloss item already merged, closed, or changed reports it rather than forcing.
- Delete-line-and-log-pickup unchanged; the log entry records verbatim + gloss.
Files
Same eight copies as #1709, byte-identical:
.claude/skills/{arch-save,arch-init}/SKILL.md, .codex/skills/{arch-save,arch-init}/SKILL.md, and both under codev-skeleton/. Do not edit packages/codev/skeleton/ (build-generated). Update the state-block template in arch-save to show the optional [resolved at save: …] suffix. Extend packages/codev/src/agent-farm/__tests__/air-1709-next-task.test.ts (or add a sibling) to pin: resolution-not-planning, no-referents-no-gloss, cannot-resolve-stops-before-clear, gloss-carries-the-word-for-named-items-only, and the orient-block format.
Acceptance
/arch-save merge them allwith three open builder PRs in context writes the verbatim text plus[resolved at save: PRs #a, #b, #c], then clears.- After re-init the architect reports verbatim + gloss and proceeds to merge exactly those three (relaying gate approvals to their builders as usual) without asking again; a fourth PR that appeared after the save is reported, not merged.
/arch-save merge them allwith nothing resolvable stops and asks instead of clearing./arch-save review PR #1712produces no gloss.- All eight copies identical; tests pass.
Activity
[Air #1724] feat: resolve /arch-save next-task referents into a gloss…
[Air #1724] fix: address CMAP — no-gloss pickup log, paused-save resu…
[Air #1724] feat: carried-over NEXT TASK gloss orients only; gloss re…
Merge pull request #1725 from cluesmith/builder/air-1724