Skip to content

/arch-save next task: resolve referents at save time into a gloss that carries the owner's word ("merge them all") #1724

Closed

Description

@waleedkadous

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):

  1. 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.
  2. 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.
  3. No referents → no gloss. /arch-save review PR #1712 needs nothing; write the line as today. Do not add an empty or redundant gloss.
  4. 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-save may pause its own cycle; it is cheap, and the alternative is a wrong merge.

/arch-init step 4 — the gloss carries the word

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 all with 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 all with nothing resolvable stops and asks instead of clearing.
  • /arch-save review PR #1712 produces no gloss.
  • All eight copies identical; tests pass.

Refs #1709 (next task), #1307 (the cycle).

Activity

  1. added
    area/tower
    on Sep 22, 2026
  2. added 3 commits that reference this issue on Sep 22, 2026
  3. added a commit that references this issue on Sep 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/tower

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions