Skip to content

task-lane builders' afx replies to the architect are silently lost #1530

Closed

Description

@waleedkadous

Observed repeatedly during Spec 1470 Phase 8 live runs (review artifact follow-up 10): a --task-lane builder (builder-task-x47-) had every afx reply to its architect silently lost — 'STATE WRITTEN', 'STATE UPDATED', and a probe answer all never arrived — while its file actions all executed and messages TO it delivered fine. Protocol-lane builders (aspir-1527, spir-1470) replied normally throughout the same window. Suggests task-lane reply addressing/routing breaks somewhere in the mailbox path. Repro sketch: spawn a --task builder, instruct it to reply via afx send architect, observe delivery vs the mailbox tables. Workaround used: file-based replies in the worktree.

Activity

  1. added
    area/tower
    on Aug 19, 2026
  2. added a commit that references this issue on Aug 19, 2026
  3. waleedkadous commented on Sep 1, 2026

    @waleedkadous
    ContributorAuthor

    Root-cause forensics (2026-08-30) refuted the routing hypothesis: the task builder never invoked afx send at all. The mailbox holds zero rows from builder-task-x47- to any architect (its only rows are the three delivered to-self Spec-1470 refresh frames), and the builder's own transcripts show 'STATE WRITTEN' / 'STATE UPDATED' and the probe answers emitted as plain assistant text into its own terminal — no Bash call containing afx send exists in either session. Meanwhile task-lane builders in other workspaces (multibench, shannon) had normal delivered rows from afx send architect in the same weeks, so the path itself works for task lanes. The real defect this incident exposed: a builder replying into its own terminal gets no feedback that the text went nowhere, and nothing at the point of need names the reply mechanism (task spawn prompts are minimal, and post-/clear even that context is gone). That fix — a reply hint in the delivered frame + the task spawn prompt — is prescribed in #1574 along with the recipient-field change from #1543; this issue will close when #1574 merges.

  4. added a commit that references this issue on Sep 1, 2026
  5. waleedkadous commented on Sep 1, 2026

    @waleedkadous
    ContributorAuthor

    Closing — the real defect behind this report is fixed by #1574 (PR #1575, merged 2cf19f1c4 on 2026-09-01).

    To be precise about what was and wasn't wrong here: the original routing hypothesis ("task-lane replies silently lost in transit") was refuted by forensics on 2026-08-30. Nothing was losing messages. The builder never invoked afx send at all — instructed to "reply", it typed its replies as plain assistant text into its own terminal, which goes nowhere by construction and reports nothing.

    The framework hole that made that the natural thing to do: the reply mechanism was never stated at the point of need. Protocol-lane builders escape it only because porch phase prompts drill afx send architect on every task. A task-lane builder gets a minimal spawn prompt that named no reply channel at all — and any builder loses whatever it was taught to a /clear.

    Three surfaces now state it themselves:

    • Builder-bound message frames — (reply: afx send architect "…") on the closing delimiter line.
    • The task-lane spawn prompt — TASK_REPLY_CHANNEL, which also says why typing a reply locally isn't a reply, since the failure mode is a builder that believes it has already replied.
    • The post-refresh re-entry frame — as a required marker, so assembly refuses a frame that loses it rather than handing a cleared builder one without it.

    Full write-up and stats: #1574 (comment)

    Related follow-up: #1576 (builder→builder sends currently point the reply at the recipient's own architect rather than the sender).

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