Skip to content

Question sheet C5: MAWS-run sessions ask through the sheet (C5's landing) - #917

Merged
SSFSKIM merged 80 commits into
masterfrom
question-sheet-c5
Nov 30, 2026
Merged

SSFSKIM merged 80 commits into
masterfrom
question-sheet-c5

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Nov 30, 2026 •

Copy link
Copy Markdown
Owner

Part of #870.

C5 of the question-sheet composite (docs/doperpowers/specs/2026-11-23-question-sheet-design.md): a session whose question tool is "Default" now asks through the sminos sheet when MAWS runs it, the same way a terminal session does. The tool inside the session delivers the answers. MAWS composes no envelope and reads no delivery. The execution document, with its Progress, As-built paragraphs and Outcomes & Retrospective, is docs/doperpowers/plans/2026-11-27-question-sheet-c5-maws-run.md. M1 and M2 landed earlier; this PR carries M3 to M6.

  • M3, the launch. MAWS_QUESTION_SHEET=2:<id>, set from buildEnvironment. The sminos home goes into the session's settings only on a host that lists engine.questionSheet. SheetService.readStatus and sheetOverride.
  • M4, the ring. The engine host's per-process SheetRinger, which follows rows 1 to 8 and keeps the still, deadline, ran and bare budgets. SheetOwed, with the Stop's hold persisted as sheetHold. The spine's teller (src/services/sheet/owed.ts), which starts a session with no process, when MAWS ran it last, with nothing sent. The engine.sheetOwed command, which answers {held, unknown?}. WIRE_MINOR goes to 67, an additive change.
  • M5, the surfaces. The transcript draws a filled ring as the sheet's line and a dropped ring as nothing: no notice, no turn, no phase change, no unread mark. A MAWS-run session's question is announced the way an asynchronous ask is. The channel journal keeps one question and one outcome per sheet pair (sheetSrc).
  • M6, live acceptance. A driver that runs the real engine and the real sminos on the Mac runner (e2e/sheet-maws-live.rig.ts). No gate collects it; Concrete Steps in the execution document give the command to rerun it.

A session whose question tool is set to "MAWS" keeps ask unchanged.

Validation Evidence

  • Static, unit and probes (class 1a) on the final code head 3adf70c54: GREEN, run 46311113304. Command: scripts/ci-gate.sh <worktree> --class1a linux, on hosted runners because the self-hosted Linux pool was down. The commit after it, 5de20bc61, changes only the execution document.

  • Mac e2e groups: GREEN on c2f67c41b, run 46309633037: e2e:supervisor-daemon and its mini copy, e2e:remote and its mini copy, e2e:lane-a (on mini overflow), e2e:panel and e2e:cross-build. c2f67c41b differs from 3adf70c54 only in a tsconfig include line, the TS6307 fix.

  • Mac e2e groups still owed: e2e:tools (twice), e2e:c7, e2e:settings, e2e:transcript, e2e:to-human and e2e:desk-web. The matrix skipped them while e2e-build (harness) sat queued on the downed Linux pool. CI-opt has the manual lines for them.

  • maws-tools.spec.ts:684: a test race that also fails on master (run 46220007574). The maws.ask.opened events arrive in 16 ms batches, while the journal row lands at once. The test now polls until both events are present (d02ef5451). e2e:tools was GREEN twice with that fix, on scratch head 902a6a3b2 (runs 46220326441 and 46220329297).

  • Live acceptance: 19 of 19 scenes on the Mac runner on c2f67c41b, the head with every product fix. The run took 6.1 minutes, from 20:53:22Z on 2026-11-29, and nothing was retried. Engine: the pinned Claude Code binary. sminos: doperpowers f89c328d9, with 40b79a7d1 for scene 16. Scenes 12 and 13 used a real model (Haiku): this run cost US$0.0093 and all of M6 cost about US$0.047. Every acceptance clause maps to a scene, as follows:

    Clause Scenes
    A.a, A.o, A.p 1
    A.b, A.t 2
    A.c 6, 7a, 7b, 15
    A.d 3
    A.e 8a, 9, 14
    A.f 8a, 8b
    A.g 9
    A.h 10
    A.i, A.r 11
    A.j 4
    A.k 12, 13 (real model)
    A.l 16
    A.m 17
    A.n 17, plus e2e:tools and e2e:remote
    A.q 5

    A.s was proven by M1 and M2 (W6). The execution document's "The gates, by clause" lists the unit and e2e proof for each clause.

  • Two faults the live run found, each fixed with a test:

    • fbe7c1d96: at ready, the engine answers mcp_status before sminos has registered its tool. A "no" now counts only after an init frame or a reload has reported the servers.
    • 5b1e1b423: the engine's record of a dropped ring set the unread mark.
  • Reviews.

    • Each milestone had task reviews until they converged.
    • The branch had a high-rung review at f37392a33..8b960f8ef: one P1 and seven P2. The fix that ended the series is that the ringer now asks one queue predicate, ringWaits(). It is true from the moment a person's message is accepted until it is written, so a ring cannot go ahead of a waiting message. The other fixes are listed in the execution document's Progress.
    • One narrow confirmation round found four more issues: two paths where ringWaits() read false, and two liveness gaps. All four were fixed in 48c0ea19a.
  • After merging master ae747ca8f (C6.1) at 59bb205f2: C5's wire was renumbered to WIRE_MINOR 68. Class 1a and e2e:desk-web are GREEN on hosted Linux in run 46339736235. Eleven Mac jobs are GREEN in run 46339693096, which was cancelled only because its e2e-build (harness) job sat queued on the down pool: e2e:tools, e2e:c7, e2e:settings, e2e:transcript, e2e:to-human, e2e:remote and its mini copy, e2e:lane-a, e2e:supervisor-daemon and its mini copy, and e2e:cross-build. e2e:requests, whose spec took a conflict, is GREEN in run 46397404055. The second e2e:tools run is on the macOS lane. 8f38b18bf adds one tracker row and nothing else.

Unresolved Review Findings

Recorded rather than fixed, for whoever reviews the branch.

  • The live driver (M6's last review round; this is test-rig rigor, not product code):
    • e2e/support/model-stub.ts (~L98, ~L260): the spend cap's arithmetic becomes NaN when a response reports only part of its usage. The real-model scenes report full usage, and the run's spend was read independently.
    • Scenes 15 and 16 still rely on timed negatives. They stand as bounded smoke tests beside M4's unit proofs of the same rows.
    • Scene 9's index barrier is not byte-exact.
    • Scene 13 does not observe the subagent's completion independently of the session's own record.
  • M5: the busy marker is pinned between a result and completed. This is a Minor; it gives no wrong answer.
  • M3:
    • A relative SMINOS_HOME override is not normalised. The resolver behaved this way before this PR, and the configuration is rare.
    • SheetService's found map can keep an id that was read only while busy and then removed. The leak is tiny and gives no wrong answer.
  • Logged in docs/tech-debt-tracker.md with a reason each:
    • A stale mcp_status reply can overwrite newer evidence.
    • A sheet removed during a start's forced tell can be read again.
    • Gap reseed: a reseed that lost a ring's echo can leave the ring out or draw it wrong.
    • The chain follower's rejoin skips a held ring row's bytes.
    • Channel visibility ranks by the kept row's lane. It can only hide, never expose.
    • A split project when an outcome is stored before its question.
    • The sheet-question cache is rebuilt whenever a prune runs at the cap.
    • An adopter's replay of an owed interrupt does not withdraw a restored ring.
    • The tell's backoff can still resend on an unrelated pass.
    • M5's eleven stated limits.

Residue

  • The live rig's teardown (e2e/support/sheet-live.ts) kills the engine pids but not their process trees, so the Bash-tool children outlive a run. The tracker row gives the fix to the rig's next live run, C6.3 M7, which also proves it.
  • Harmonising the channel journal for the composite. Outcome words differ by lane. ask appears twice, once from each lane. Visibility follows the kept row's lane. These belong to the composite's writer and a later child, not to C5.
  • The page-off sentence, owned by C7 (sminos_sheet_step.py): with C4's page off, the sentence appended when no surface's registration is alive misleads. It is logged in the tracker with C7 as owner.
  • The teller's retry and the host's restore (the owed-interrupt withdrawal and the tell backoff): two small liveness refinements in src/engine-host/session.ts and src/services/sheet/owed.ts. Each has a tracker row.
  • The journal's sheet-question cache (src/services/channel/journal.ts): a prune at the cap drops the whole cache. A per-entry eviction would remove the one bounded rebuild query.

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)

…#870)

The standalone execution document of the composite's child C5, written
against the composite at 7dd3627, master b65a1e1, question-sheet-c3 at
04bf485 and doperpowers 42ab7915d. It settles what the composite left to
the child as 27 numbered decisions (F1 to F27): the launch
(MAWS_QUESTION_SHEET set by the host from the id buildLaunch resolves,
SMINOS_HOME named by the spine in the spec's settings, a capability, the
override for a session that already has a sheet, supplement 5), sminos's
two additions for a MAWS-run session (notices and contexts on its routes,
the context of a subagent's question on the message that answers it), and
delivery as one state machine across the tool, the spine and the host: a
tie journaled before the write, read at the engine's started, a host that
refuses a key in flight, riders on the person's next message, one keyed
acknowledgement per flight, a released session brought up once per answer.
Eight milestones, a table of the acceptance by clause, and the entries for
the composite's writer. Nothing is built by this commit.

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…e writer's rulings, the buildability review's twelve findings)

Parent pin moved to cc9fd7f. What the text said before, and why it changed:

- F20 limited the start of a session by an answer to one the digest marked
  released. The owner ruled (2026-11-27) that an answer starts any session
  MAWS ran last that has no process, once per answer. The fact is now read
  from the index's record and the entrypoint of the transcript's newest
  record, and "once" from the journal's newest launch; the digest is not
  read.
- F13 read a flight as read at the engine's started or completed. The
  fixtures show a blocked prompt and /clear ending the same way with no
  model turn, so read now also needs the engine's echo carrying the block,
  a zero-turn result leaves the flight unread, and a command never carries
  a rider. M2 probes the four cases no fixture holds (P11).
- F21 used the transcript only after a replay gap. It is now the arbiter
  wherever the journal cannot say how a flight ended (a process's end, a
  reverted or rejected write, a host's death on either side of the write,
  a handover inside a Stop), with an undecided state that is never sent on
  a guess, and a ledger of read flights (F28) so an acknowledgement does
  not depend on rows the journal may prune.
- New: every flight, rider and request names the engine session (F29); a
  pass that leaves something unresolved retries itself (F30); a running
  process's eligibility is read from its spawn row (F31); the rider's
  offer is idempotent and repeated; sheetFlights is asked in chunks.
- M2 has two sittings and a written branch or a named stop for every
  answer of P6 to P13; M1 and sitting A start at once. The handover is
  proven with the real adopter and deliverer and the content the engine
  was sent, and live in M8; deliveries are counted in the model's history.
- Supplement 5 says a place is counted from 1, and the real-model scenes
  pick the second of three options.
- The channel reconciles an outcome at the question's insert too, and the
  two lanes are measured with a rule for each result.

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
… over the wire (spike, engines 2.1.331 and 2.1.332)

Part A (haiku, auto mode, U1's soft_deny marker rule): after a classifier block, a
consent sentence the model wrote, in its question or in the label the person picked,
got no retry allowed on any of the sheet tool's own routes (0/13: prompt-hook context,
$.prompt.submit wire and terminal, $.session.send to the subagent), and 4/17 on the
host user frame; the question form never got a retry at all (0/48). The human's own
typed text and probe T's bare grant passed 32/33. Retries were blocked with the reason
"[Undermining Oversight]".

Part B (stand-in model): the doorbell's prompt hook attaches the envelope at idle and
the terminal's landing detection takes the key out of pending; a `next` frame's hook
runs at the tool boundary with the running turn's id, after the result route has
already carried the envelope; a function hook can drop a host frame (an informational
frame and a zero-turn result follow); the hook budget is 10 s; the initialize reply
waits for session.start, so no frame beats the start; mid-turn context is never on the
wire; the start-time transcript search lands an envelope left pending by a kill.

Findings: spikes/protocol-probe/findings-qsheet-c5-carriers.txt. Scenarios
qsheet-c5.mjs and qsheet-c5-terminal.mjs; the scratch sminos patch they ran with;
fixtures/qsheet/qsheet-c5-*.jsonl.

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
The design under this document changed (the owner, 2026-11-27: "Yes, the
tool delivers"; the composite's sections 5.1 and 5.4 at 2620c63). The
earlier text (2a8ef52, repaired at 5e97f8e) built MAWS as the deliverer:
a steer composed in MAWS, its keys tied to a message in the journal, a fold
that read how the message ended, riders on the person's messages, three host
commands, an acknowledgement and a ledger. Two buildability reviews found
that choice unsound, and all of it is removed.

What the document now says: sminos under runner maws delivers by the
terminal's routes, fills MAWS's one constant frame and drops an empty one,
and honours MAWS_QUESTION_SHEET only as 2:<session id>; a turn the person
stopped is marked in the tool in both runners. MAWS writes the ring only to
a session that is ready with no turn running, by a small table on the spine,
keeps nothing on disk, and starts a session it ran last that has no process,
once per key per run, with a scoped wake of a parked host. The launch, the
override, supplement 5 (now naming labels), the notice and the channel
journal stand; the channel's two lanes are deduplicated by sminos's own
source. Six milestones in place of eight. The withdrawn decision numbers
(F9, F11 to F21, F28 to F30) are not reused.

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…red in the plan

The tool stays the sole deliverer; the Stop, wake and queue contracts are
restated. The ringer is a reconciler (one predicate, one deadline per
session, no step waiting on a frame); the Stop's mark is taken at the Stop
and enforced by the host; a ring is known to the tool by runner, origin and
text and to MAWS by its own evidence; a start counts every pending or queued
answer, requires that no retained message be waiting, and spends a key only
on success or a final refusal; a dropped ring settles the queue and leaves
nothing a person can see; the parked host's wake is ordered. M2 gains P8,
P9, W4a, W4b and W12; M6 has eighteen scenes.

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
… to write

The re-check's seven defects, three of them one: the spine decided from
facts of the host that it could get only through the reply to a write. The
ring's whole predicate, each ring's end, the two budgets, the deadline and
the Stop's hold now live in the engine host, in the process that owns the
queue; the spine tells it one level, the table of what each record shows
owed, and starts a session with no process. The hold is kept in the
session's state file. The tool's hook reads the envelope's own block, and
under runner maws the step packs answers first. A ring in a file is known
by the record's entrypoint and the attachment together. Scenes 7 and 8b are
restated with one cause each. A regression table holds every finding of
both reviews as a sequence, a rule and a test. Parent pin 6e7fbf7.

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…s sitting runs

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
… in the scenario

M1's branch of sminos as it is, no patch, under MAWS's launch line (the fixed flags,
--await-initialize, the direct tell's mod before sminos's, buildEnvironment's constants,
MAWS_QUESTION_SHEET=2:<id>, the sminos home in --settings' env), against the stand-in
model, every scratch directory under /tmp. QC5_CELLS=m1 of qsheet-c5.mjs runs
qsheet-c5-m1.mjs, which reuses the carriers round's readers; brief keeps entrypoint,
prompt_submit_outcome and prevent_continuation.

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
… at 34e1942ca)

P6: the sminos home named in --settings' env reaches the mod, the step and the bridge from
the first start. P7: 2:<id> takes the sheet at a new session, a resume and a fork; the bare id
and the plugin before M1 do not. P8: before any prompt, mcp_status lists server sminos with
its AskUserQuestion (and get_context_usage names it); neither does under the plugin before
M1. P9: as a string the sentence and a line break reach the hook and the saved row whole; as a
text block the hook's text is trimmed, so the frame is taken for a ring (stop S9).

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
P6 yes (F4 stands; the other branch is no longer carried). P7 yes to all.
P8: mcp_status before the first prompt names sminos's tool, so the ringer
requires it and a process without it is never rung; the bare budget stays
as the second bound. P9 fired stop S9: the engine joins and trims a
message's text blocks before the hook reads them, so a line break on a
person's message could not keep it from the ring. By the composite
writer's ruling the ring's text is now the sentence with one U+2060 after
it, the tool drops only on exact equality, and MAWS takes the mark out of
a person's text that holds it. P9 is celled again; regression rows C1 to
C3 hold the stop. Parent pin 006db33.

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
… scenario

The ring is the sentence and its mark (U+2060), as F33 now says; P9 sends it as a string and
as a block, and the plain sentence in each of the first sitting's forms (kept as p9-first).
W1, a ring to an idle session with an answer pending; W2, rings with nothing and with only a
dismissal pending, then a person's message. brief keeps a drop's fields as the file names
them (promptSubmitEnding, preventContinuation) and a record's parent.

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
… and the fixture tests

The W cells on M1's branch (doperpowers 7040fbae5): two rings in a row, the two /clear cases,
a ring folded into a long call, a kill as the envelope landed and the resume, an interrupted
ring, an interrupt then a dismissal, a resume with a queued answer, the two subagents, a
compaction, a person's frame behind a dropped ring. The findings' section "M1's branch on the
wire" is a draft until the whole set runs on M1's merged head; the fixture tests read each
cell's deciding facts from its recording, and skip the phase B group until those recordings
are committed together.

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…sumed process, and pass the engine's echo of a permission answer

Run on the Mac runner against the phase B recordings of doperpowers 7040fbae5: 45 of 45.

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…ssion answer

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…the plan

All cells pass on M1 at 7040fbae5. P9 with the mark: U+2060 reaches the
hook exactly in both forms; the engine trims each block and joins blocks
with a line break, so MAWS's rule for a person's text reads one text at a
time. The ring's-end table takes two orders the cells recorded: a ring
stopped after its start (a result that names it, then cancelled) and a
ring folded into a running turn (completed, then the warning, no result
of its own); the drop is read from the warning's reason alone. The queue
releases a message behind a dropped ring at the ring's completed (W12's
order). In the transcript's file a ring's envelope binds through the
parent chain past attachment records, and a drop is known by
promptSubmitEnding. W10's answer went by the tool's send, its one path to
a subagent. Regression rows D1 to D3; M6's scenes wait for a subagent's
completion turn.

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…writers

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…e envelope whole; the findings say the tool's send

The running subagent's answer reaches it by the tool's send, placed after its running call
returns, not by a result route: the recording now keeps that message whole, the send's
opening line with it, and the cell and its test require the line.

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…set of keys

M1's high review found five orderings in which the hold was wrong, one
cause: it inferred "pending at the Stop" from which views the mod held.
By the composite writer's ruling the mod records stoppedAt for the
session, in the state that survives a reload, and the idle route opens
only for a main answer whose acceptedAt is later; a prompt's entering
clears it; the step's view gains the latest acceptedAt of the main
conversation's pending answers. The Stop count, the window, holdStopped
and the Stop's use of noIdle and idleFailedAt go. The ring's test reads
the runner from the kept choice, so a ring during a reload is known.
Regression rows E1 to E6. Parent pin b4c035d.

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
… makes a ring

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…n admission (M1 wave 5 as built)

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…ead (doperpowers 27986ac25, engine 2.1.331)

The whole set, P6 to P9 and W1 to W12, from one run of run.sh DP=27986ac25 on MAWS 8325404;
the first sitting's p9-string and p9-block unchanged. W7's shape is not deterministic on
2.1.331, so its two other shapes are kept beside it as w7-zero and w7-landed, repeats on the
same heads, and the fixture tests hold each to the cell's criterion. The findings' section is
final, and the plan's W7 row, D1, the ring's-end table and the frames fact say an aborted
result names the ring with num_turns 0 or more, the model perhaps asked and the envelope
perhaps landed, and the ringer reads it as stopped either way.

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
… reads where the envelope went from the record

In qsheet-c5-m1-w7 (num_turns 2, the model not asked) the ring and its envelope were written
into the conversation and the key landed at the Stop; the model read them once in the request
after the person's message. The scenario's label had called it riding the message; the plan,
the findings and the test now say what the record shows, and the test reads it from the key
pending after the Stop. The recordings are unchanged.

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…(doperpowers 6e9e67a64): every cell as recorded

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
… merged as M3 to M6's base

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…MAWS_QUESTION_SHEET, the home, supplement 5)

A session whose question tool is "Default" (the set's `question: 'engine'`) is now a sheet launch on an
engine host that lists the new capability `engine.questionSheet` (wire minor 67):

- The engine host sets MAWS_QUESTION_SHEET=2:<the session id buildLaunch resolved> (F2, F32) when the
  spec's set asks with the engine's tool and its settings name the sminos home; a prestart's minted id
  is the one its engine keeps, and the adopter rebuilds a pinned launch under the spawn row's id.
- The spine names the home MAWS's reader reads as SMINOS_HOME in the settings' env (F4), the same at a
  prestart and at its Send, so the adoption still holds (sameLaunchSpec unchanged, prestartKey untouched).
- A resume of a session whose record holds a sheet is served the engine's question tool for that launch,
  its stored set unchanged (F5, `sheetOverride`, `sheetHolds`).
- On such a host the owner channel appends supplement 5 (F6; X18 amended), which names sminos's tool
  where it is listed and the built-in where it is not; a prompt recorded under 4 renders anew.
- The two sentences that say what Default is (F7), the charter's Decision Log, and the tool-choice
  plan's "What ticket 600 changes" as built.

A session set to "MAWS" launches as before, with neither variable (F26).

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
… list; a rendered prompt is appended, not rewritten)

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…ordings' turnAttributionKey

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…ssignment (lint)

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…n until its last lifecycle; the channel's sheet lookup reads nothing per change (findings a, c)

(a) A ring's result with no echo no longer clears its unstarted marker: the
session reads busy until the ring's last lifecycle, where the queue considers a
person's waiting message before the ringer, so a changed owed set no longer
lets a second ring go first. The quiet end no longer considers the ringer.

(c) The journal keeps where each sheet question stands (its first question
row's project, and whether its outcome is recorded there) in memory, loaded by
one read and kept with each row recorded, dropped at a prune that deletes; lane
B skips ids whose outcome is recorded before anything else. A record change
whose outcomes are all recorded reads nothing of the journal.

§Z's as-built bullets rewritten to what is built; finding (b) logged; finding
6's row and §Z say it can only hide, never show.

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…journal); one cache residue logged

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…cripted model (first cut)

e2e/sheet-maws-live.rig.ts runs the plan's 17 scenes, one test each, against the
app built from this checkout, the pinned engine and a doperpowers checkout's
sminos, every directory under one scratch root in /tmp. The model stand-in now
answers from a script per request and forwards the real-model scenes to the
gateway under a spend cap.

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…ad before any turn is no evidence yet

sminos's hooks module registers its tool server after initialize resolves, so the
mcp_status a session asks at ready can come before it (under a prestart's quick
ready it did, by some 50 ms), and the ringer then never rang that process. An
answer that names no sminos tool is final only when asked after an init frame or
a reload reported the servers; before that the evidence stays unknown and the
ringer asks again on row 7's schedule.

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…ves no unread mark

The engine files its warning for the tool's drop of a ring as a uuid record in the
transcript, and the index's unread rule reads an advance of the last record's
time: two dropped rings marked a session that was out of view unread. The
summary's and the follower's last record now pass over that record (the file's
promptSubmitEnding names the drop, as backfill already reads it); another hook's
drop of a prompt is activity as before.

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…found them

The scripted model matches a call's result by its id and the ring by its text with
the mark; a release clears the keep mark and closes the session's tab, read from
the host's idle release; a subagent's question opens from Needs you; /compact
goes through MAWS's Compact dialog; the terminal scene runs C2's stand-in surface
as C3's driver does; the CLIs run without blocking the model's stand-in.

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…nder the project's .smns

channel.history is main's own command, so the driver asks it as main does; and
each scratch project is a sminos project (as C3's scratch is), whose .smns is what
an unenrolled machine's org-project join takes as the channel's project.

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…ession, whose hover card covered the pane

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…age-off sentence logged for C7

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
- The ringer asks the queue one question, ringWaits(): unloaded, any entry, a
  steer registered and not flushed, or busy. A ring no longer goes ahead of a
  person's message across a turn end's save or a steer's flush (finding 1).
- A plugin reload makes row 2's evidence unknown and asks mcp_status again; an
  answer asked before the reload is no evidence (finding 2).
- A plain interrupt written while a started ring runs is recorded as reaching
  it, so an adopter reads the Stop as owning the ring's aborted end (finding 3).
- A hold whose read fails stays unknown: no ring, held to the teller, read
  again; a person's write meanwhile makes it known and empty (finding 4).
- The session service tells the teller when a retained message is let go
  (release, discard, a guard's hand-back), wired in startSpine (finding 5).
- The teller reads the last writer again after want and the forced telling,
  before acquiring (finding 6).
- Two findings logged in the tech-debt tracker; §V and §W "As built" updated.

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…positives and evidence

The task review's six findings on the driver:
- the checkout, engine and feature paths are absolute from config load, so Concrete
  Steps' relative ../dp-main serves (the scratch runs sminos with a /tmp cwd);
- the model stand-in reserves a bound per forwarded request (its body's bytes as
  prompt tokens at the dearest prompt rate, max_tokens at the output rate, the
  long-context rates past 100K) and admits it only within the cap with every
  reservation in flight counted; an answer whose usage cannot be accounted books its
  bound and stops every forward after it (test/support/model-stub.test.ts);
- each negative's count is taken before the act that could cause it and compared at
  the next identified event (go on's request, the ringer's and the teller's lines,
  mawsd's park and welcome lines); a pass that marks nothing waits the shortest bound
  past a pass seen, each such exception stated in its scene; scene 9 waits for the
  index to read the drop records before it reads the unread mark;
- scene 14 holds the engine at the answer's pending, so the ring waits unread across
  the handover, and asserts written, detached, attached with the key pending, read,
  landed;
- scene 11 pins the first answer in the tool's send to the subagent and the notice to
  B's question; 12 and 13 assert the three labels asked and 13 a subagent asker by
  id, named as ended in the ring; 17 checks both variables in the environment and the
  settings and the chosen answer in the tool's result;
- the evidence is whole (every request's body, every transcript, the logs, a snapshot
  of the records at each assertion), and a run whose evidence cannot be written fails.

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…) into question-sheet-c5

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
… fix wave

- ringWaits() also reads true while a steer is claimed for a withdrawal (the
  engine's cancelled ends its unstarted count before the held entry exists)
  and while a removal's save has not committed (item 1, item 2).
- engine.sheetOwed answers an unreadable hold in a separate `unknown` list,
  never `held`; the teller retries such a start and spends nothing (item 3).
- A reload has the ringer consider, so a stopped "no" asks again on row 7's
  schedule when the reload's own mcp_status fails (item 4).
- §V and §W "As built" follow.

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…nor 68

The class 1a gate read the required `unknown` as a breaking wire change (a
major) and the stale manifest, fingerprint and address paths. `unknown` is now
an optional property, an additive change at minor 68, recorded with
pnpm wire:manifest and the address-paths snapshot; the teller reads its
absence (a host of before 68) as an empty list.

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…e.sheetOwed in its final shape

WIRE_MINOR back to 67; wire-manifest.json, the fingerprint, routes.json and
address-paths.json regenerated over master's copies, so the manifest's verdict
reads 66 to 67, additive, with engine.sheetOwed answering `held` and an
optional `unknown`.

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…0ea1) into question-sheet-c5

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
… new unit test reads

test/support/model-stub.test.ts imports e2e/support/model-stub.ts, which tsconfig.node.json
did not list (TS6307 in hosted class 1a's typecheck on c2f67c4).

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…etrospective

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-30T01:10:08.642351Z 5de20bc PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5de20bc614

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +1037 to +1038
const shown = EngineSession.showsSheetTool(answer);
if (asked.seq > this.sheetEvidenceFloor) this.sheetToolShown = shown || asked.reports > 0 ? shown : null;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Reject stale MCP answers before updating ring evidence

When concurrent mcp_status requests complete out of order, an older answer can overwrite the ringer's newer evidence even though SessionStatusTracker.applyMcpStatus() correctly rejects that answer. Concurrent reads are possible through session.mcpStatus, stdioServers(), and the ringer's own read; sheetEvidenceFloor only excludes requests made before a plugin reload, not answers superseded by another request or an init report. In particular, an older negative answer asked after an init can replace a newer positive answer with false, which stops the ringer's retry timer and leaves subsequent sheet answers undelivered until another reload. Apply equivalent request-sequence/report freshness checks before changing sheetToolShown.

Useful? React with 👍 / 👎.

Comment on lines +149 to +152
if (record.type === 'attachment') {
if (boundToRing(record, held)) {
ctx.ring = null;
return mapRecord(held.record, ctx, sheetCarried(record));

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Replay ring attachments when a transcript branch rejoins

When a transcript branches away from a filled ring and later rejoins that ancestry, the ring is no longer recognized as a sheet delivery. FollowerCore.branch() and rejoin() restore removed ancestors through reemit(), but reemit() in src/engine-host/fs/chain-follower.ts explicitly skips every attachment without passing it to recordToEvents(). Consequently, neither the intervening attachment parents nor the bound hook context reach this new classifier; the next assistant record instead flushes the held ring through the ordinary human-message fallback. The restored transcript therefore displays MAWS's internal ring as a person's message and loses its sheet-delivery notice. Update the follower's attachment replay path alongside this attachment-dependent classification.

Useful? React with 👍 / 👎.

…on sheet C5: C5's wire at 68

C6.1 took 67, so C5's capability engine.questionSheet and engine.sheetOwed are renumbered to 68. The manifest is master's
copy with commands.engine.sheetOwed added. The fingerprint stays C5's: C6.1's sheet commands are machine-owned and
C6.1 added no engine-host command. RL2 stays at C6.1's 19, since C5 does not touch RL2. Both sides are kept in
spine-root.ts (C5's sheetLaunches beside C6.1's sheetBindings), in requests.spec.ts (both sides' imports, and both
appended tests) and in the tracker (every row from both sides).

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
… in the tracker for C6.3 M7

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
@SSFSKIM
SSFSKIM merged commit 74c812c into master Nov 30, 2026
@SSFSKIM

SSFSKIM commented Nov 30, 2026

Copy link
Copy Markdown
Owner Author

Landed on master as 74c812c (merged with master 9cb69b7; spine-root imports resolved; hosted Linux class 1a + sheet-page + desk-web 46403412726, unit 1/4's source.test.ts:513 red once and green on the rerun 46406379736).

@SSFSKIM
SSFSKIM deleted the question-sheet-c5 branch November 30, 2026 11:26
SSFSKIM added a commit that referenced this pull request Nov 30, 2026
…osites

The parent composite:
- C5 is landed (#917 at 74c812c, board #870 closed, wire minor 68 for
  engine.questionSheet and engine.sheetOwed): Progress, its Status, the
  Tracking Map, Verification's rung as run, C6's edges.
- Section 5.4: a "no" about the tool read at ready is provisional until the
  engine has reported its servers (fbe7c1d); a dropped ring leaves no
  unread mark because the two readers of the last-record time pass over its
  record (5b1e1b4), not by construction.
- Section 11 says what the channel journal's one entry leaves to the order
  of arrival (the outcome's words, a pair's visibility) and that today's ask
  is there twice.
- C7 gains three requirements: the sentence a MAWS-run session is told with
  the page off, one wording and one visibility for a sheet pair in the channel.
- X5 names SheetService.readStatus.

The C6 composite:
- Section 3: the owner's ruling of 2026-11-30, "Notify once per question",
  as C6.2 built it; the machine's silence is read only at first contact.
  C6.2's acceptance sentence on a daemon's restart follows it.
- Section 2: for the phone's class a named binding that cannot be read
  answers class on the call, the act and the query; an unshared session's
  cards subscription ends removed.
- Section 5: a failed put's message is the reason alone, for every host of
  the shared components.
- Section 6: a kept cards subscription is interest in the engine host; a
  sheet the machine cannot read keeps its contribution; the notifier's read
  of the waiting ids, which Y1 now lists.
- C6.3's acceptance: two clauses worded as section 6 states them. C6.3 is
  in flight. The files C6.2 and C6.3 both change are in Risks.

The tracker: the attention store persists items its load never restores,
and a stored row makes a discovered record non-bare; the visibility row
names C7.

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant