Skip to content

M7: Label who holds the Turn and settle an interactive send on admission #290

Description

@Sandstorm831

Parent

Spec #276; implementation sub-issue of M7 #275.

What to build

The interactive input's label is derived from the Run Projection's live Turn: while a Turn works it says the agent is working, and when the Step is blocked on the human it says it is the human's move; it never shows "Your Turn" during a live agent Turn. The interactive send Operation settles applied when Secant admits the Turn (the Run is durably running and the Turn is live), not when the Turn ends; the Turn's own outcome still arrives through the Run Projection. The draft clears on that settlement with no lingering sending state; a refused send settles not-applied, keeps the draft, and says why. The admission rule lives in the shared Application behind the Projection Port; headless has no interactive send (slicing rule 1's named exception). Run-control guidance on deferred settlement is amended to say where the send now settles (stories 87–92, 121).

Acceptance criteria

  • A Projection Port test with the real Application and Run Store proves the interactive send settles on admission while the Turn is still live, and a refused send settles not-applied.
  • Renderer tests prove the working and human's-move labels, the draft cleared on admission with no sending state, and a refused send keeping the draft with its reason.
  • The run-control guidance amendment has landed, and the Workbench line "the draft clears only on an applied send" stays true.
  • Prototype Crucible's launch and Run information architecture #23 evidence: keymap and focus, small terminals and resize, large content, interaction tuning, meaning without colour, and renderer and platform evidence, each shown by testRender frames with the fake Renderer Port.
  • CI scenario: the Port and Workbench renderer tests are green on Windows x64, macOS arm64, and Linux x64.

Blocked by

Implementation packet

Owner: Application (interactive send admission behind the Projection Port), TUI presentation (Workbench interactive input), run-control guidance

Ratchet: a Port test that send settles on admission

Deletes: send settlement at Turn end, the lingering sending state, and "Your Turn" during a live agent Turn

Gate: ADR 0027 three-OS CI and recorded human evidence, with the slice scenario above.

Dependencies: no new runtime dependency

Activity

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

    ready-for-agentFully specified and ready for an AFK agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions