Skip to content

Question sheet C0: engine probes (P1 to P5) #865

Done

Description

@SSFSKIM

Problem & intent

Answer the five engine questions the question sheet's design depends on (the spec's §12, P1 to P5) before anything is built on the answers: what a function hook sees and can do inside a session MAWS runs over the wire, how a message reaches a running and an ended subagent, how a referenced file is captured through the engine's Read without bypassing permission rules and secret guards, whether the sheet's file and inbox hold under concurrent processes, and what SessionStart context delivers after a compaction, a resume and a fork.

This ticket is child C0 of the composite spec docs/doperpowers/specs/2026-11-23-question-sheet-design.md (branch question-sheet, pull request #864; parent pin 7bc1bbd15), under ticket #600. The child's section in that document, "### C0: …", is its specification: purpose, acceptance gates, edges, contracts and design inheritance. Read the whole document first; its design sections §1 to §12 carry the reasoning, and the grades paragraph under "Execution" says what is binding.

Constraints

  • Spans both repositories: the sminos plugin in doperpowers (probe plugin, terminal sessions) and MAWS (spikes/protocol-probe/).
  • The constraints on every child, under "Execution" in the spec: the engine is unmodified and reached through function hooks only; no user-role text MAWS sends holds text a model wrote (ticket 711); the sheet's record has one writer and one apply table; nothing in use today stops working at any step.
  • Every artifact of this child (plan, ledger, findings, pull request) opens by citing the spec's path, the child id C0 and the parent pin.
  • A discovery that contradicts binding content of the spec goes back to the session holding the composite (question-sheet-design), never into a local override.

Success criteria

A verdict for each of P1 to P5 with its evidence, reported to the composite's writer, who writes it into the section that posed the question. Fixtures kept: terminal probes as a probe plugin's transcript, MAWS-run probes as scenarios and fixtures under spikes/protocol-probe/. A spike: its deliverable is findings, never a merge of product code.

Open questions

None. The questions are the spec's §12 table.

Decision log

  • 2026-11-23: the owner approved the design (commit 2fe16c6) and the cut (commit d845b49) and asked for C0, C1 and C2.G1 to start.

Activity

  1. added
    status:ready-for-implementer
    priority:P2
    spike
    on Nov 24, 2026
  2. added a commit that references this issue on Nov 24, 2026
  3. added
    status:in-progress
    and removed
    status:ready-for-implementer
    on Nov 24, 2026
  4. SSFSKIM commented on Nov 24, 2026

    @SSFSKIM
    OwnerAuthor

    [board] in-progress: C0 dispatched from the composite's session

  5. added
    status:in-review
    and removed
    status:in-progress
    on Nov 24, 2026
  6. SSFSKIM commented on Nov 24, 2026

    @SSFSKIM
    OwnerAuthor

    [board] in-review: Verdicts for P1 to P5 are written into the composite spec (question-sheet branch, 8ebf4ff). The pull request carries the findings file, the scenarios, the probe mods and the fixtures.

  7. SSFSKIM commented on Nov 24, 2026

    @SSFSKIM
    OwnerAuthor

    Findings (engine 2.1.331, scripted model; master 90ce5c0, spikes/protocol-probe/findings-qsheet-c0.txt, fixtures/qsheet/):
    P1: in a MAWS-run session the tool's prompt.submit hook sees the host's prompts and steers and can add context; tool-result context reaches the model; a plugin submit starts a turn except from inside a tool.call hook.
    P2: a plugin's send to a running subagent works in both kinds of session (plan mode too); an ended subagent is resumed by it.
    P3: capture through check then Read works and runs other plugins' guards; a file over 256 KB needs a range, a path outside the working directories is refused, and a captured file is attached again after a compaction (accepted).
    P4: a hook's write in place tears for another reader; a process's replace under flock holds.
    P5: SessionStart context arrives at startup, resume, compaction, fork and clear; the delivery block arrives byte for byte.
    Each verdict is written into the composite spec's section that posed it (docs/doperpowers/specs/2026-11-23-question-sheet-design.md, §2.3, §3, §5.3 to §5.5, §6, §12). No binding sentence was overturned.

  8. removed
    status:in-review
    on Nov 24, 2026
  9. SSFSKIM commented on Nov 24, 2026

    @SSFSKIM
    OwnerAuthor

    [board] done: Findings recorded; fixtures landed with #874 (squash, master 90ce5c0).

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

    priority:P2spike

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions