Skip to content

Question sheet: the design spec and its cut (ticket 600) - #864

Merged
SSFSKIM merged 14 commits into
masterfrom
question-sheet
Nov 24, 2026
Merged

SSFSKIM merged 14 commits into
masterfrom
question-sheet

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Nov 24, 2026

Copy link
Copy Markdown
Owner

Documents only: docs/doperpowers/specs/2026-11-23-question-sheet-design.md.

One question tool for terminal sessions and sessions MAWS runs: questions with ids on a per-session sheet that the agent adds to, revises and withdraws, and the human answers in any subset. The record is a file with one writer and an inbox; the MAWS app, a local page served by mawsd, desk-web and the sminos sheet command are its surfaces. MAWS's ask is retired at the last step. Carries out board ticket 600 and amends the UX wave's U1 and the tool choice's D6 where the document says.

  • The design, approved by the owner on 2026-11-23: commit 2fe16c6.
  • The cut into children C0 to C7 with contracts X1 to X7: awaiting the owner's gate. Draft until then.
  • Reviews folded: a two-round critique debate before approval, a buildability review, an independent spec review and a closing review (39 findings in the three).

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

One question tool for terminal and MAWS-run sessions: questions with ids on a
per-session sheet that the agent adds to, revises and withdraws; the human
answers any subset. The record is a file with one writer and an inbox; the
MAWS app, a local page served by mawsd, desk-web and the sminos command are
its surfaces. MAWS's ask is retired. Approved by the owner in conversation on
2026-11-23 after the grill and a two-round critique debate; this commit is the
baseline later changes are read against.

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
doperpowers:decomposing extends the approved design in place: two spikes
(engine probes, behaviour baseline), the sheet in sminos, the sheet in the
MAWS app, the local page, MAWS-run sessions (ticket 600), the phone and other
machines, and the flip of the terminal's default. Awaiting the owner's gate.

Design text changed by the cut, each a consequence of a ruling already given:
- §7 gains the setting SMINOS_QUESTION_SHEET, off by default until C7. The
  design said a session offers the sheet wherever a surface is alive, which
  would have changed the terminal's default as soon as the page landed; the
  owner ruled that the default changes only after phone and other-machine
  answering work.
- §2.2: the result's first line has a fixed grammar (X7), so a transcript row
  can be drawn without the sheet's directory.
- §9: removing today's sminos tool is outside this unit; it stays as the
  fallback.
- The execution section's order paragraph is replaced by the roadmap.

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
The adversarial reviewer's verdict on the cut was needs-attention; every
finding is folded. What moved, and what the text said before:
- C5 no longer retires ask or proves remote answering. It lands beside ask
  (a session set to "Default" takes the sheet); remote answering of both
  kinds of session is C6; retiring ask for new launches moves to the flip,
  C7. Before: C5 retired ask while C6, which it blocks, owned the remote path.
- §5.4: MAWS steers only outcomes the tool applied; a released session is
  acquired first, the tool drains at its start, then MAWS steers. Before:
  the steer was said to resume a released session, with nothing applying
  the queued line.
- C2.G1 publishes every schema, both envelope forms and the fixtures at one
  pinned revision before C3.G1 starts. Before: both were said to start
  together on fixtures that did not exist yet.
- §4.1, §4.2: a retract names its target key and a drain reads all unread
  lines before applying; the lines of one Send are one batch.
- §2.2 (X7): added ids carry their entry's place when a call partly succeeds.
- §8.2: a navigation carries no Origin, so the shell is Host-checked only and
  data requests carry the checks. Before: every request needed an exact Origin.
- §7 (X6): MAWS_QUESTION_SHEET is honoured only in the process MAWS launched;
  the variable alone is inherited by a claude started inside the session.
- §5.4, §5.5: option labels in order reach the model as trusted context where
  it may not hold the question.
- §11: sheet questions are exempt from the project log's stop cleanup; the
  channel journal is C5's.
- §9: the import of today's open asks happens at first enablement (C2), and
  is recorded only after a definite read.
- C7 gates a launch with ask outstanding adopted by a new host.
- C1 is a brief that lands its eval harness (tests/output-styles/), not a
  findings-only spike.

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
Fifteen findings; fourteen folded, one answered where it bears (§2.2 keeps a
fixed grammar and says why not a structured block). What moved:
- §5.4: MAWS records a delivery by appending a `delivered` line; before, the
  tool marked outcomes delivered on sighting their keys in the steer's text,
  which contradicted "nothing in a prompt's text changes state" and let an
  imitated envelope drop pending answers. MAWS never computes a verdict.
- §7: a session that starts with questions or owed outcomes in its sheet
  takes the sheet's schema whatever the setting and surfaces say.
- §8.2: the credential lives in origin-scoped storage, not a cookie (cookies
  are not scoped by port on any host name); the threat model is stated;
  reference and upload bodies are served as text or raster images; link
  schemes are limited.
- §5.2: everything owed at a session's start rides the first prompt.
- §3: verdicts are kept for the directory's life; a tool call drains before
  applying its own entries; ids in a fork or after a lost directory start
  past the highest found; the daemon's sweep and `sminos sheet remove` are
  the only things that delete a sheet.
- §2.1: the built-in AskUserQuestion is withdrawn while the sheet is
  registered. §2.3: what is captured, and how "changed since asked" is told.
- §8.3: the command-line surface is `sminos sheet`; today's `sminos answer`
  keeps its meaning. Before: the spec redefined `sminos answer`.
- §9: "Default" sets MAWS_QUESTION_SHEET (an amendment of the tool choice's
  D6, stated); the submenu's question choice goes at the flip.
- Acceptance 15 to 19 added (a refused reference, withdraw, compaction and
  fork, a subagent that ends, two surfaces and none); 2 and 11 corrected.
- Citations: the port is 47590 (47831 is a test scene's), the open-question
  count is SessionMaws.pending.

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
- §5.1, §5.4: an outcome leaves pending when its delivery is known, not when
  the steer's write settled (a written `next` steer can be cancelled unread);
  until then it is in flight, tied to the steer's id in MAWS's journal. MAWS
  waits for the tool's verdict by key, not for `pending`, and a dismissal
  alone does not bring a released session up.
- §4.1, §5.1, §6: one Send is applied whole and delivered per recipient; each
  pending outcome records its recipient and whether the tool took it.
- §7, §9: a session that already has a sheet is launched by MAWS with the
  sheet whatever its stored question tool; the proof that MAWS launched the
  process must be positive before the schema is fixed.
- §4.2: `delivered` acts per key; a key with a verdict keeps it ahead of the
  unread scan.
- §1, §2.1, §2.2: labels unique within a question; an id once per call;
  entry places on revised ids too.
- §9: a fork imports none of its parent's asks.
- Gates: C5 no longer needs C4's page (that check is the recomposition's);
  Acceptance 15 to 19's visible parts are C3's and C4's; recomposition runs
  1 to 19.

Review of the composite stops with this round.

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…2.G1 to start

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
@SSFSKIM
SSFSKIM marked this pull request as ready for review November 24, 2026 04:14
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 24, 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-24T04:15:53.544032Z 7bc1bbd Draft marked ready
ℹ️ 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.

… Map

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

From the ux-wave session's reply of 2026-11-23: #852 (the row model C3's lines
are drawn in), #851 (the launch key must carry MAWS_QUESTION_SHEET), and
ux-wave/subagent-tell (a built-in MAWS mod using $.session.send in MAWS-run
launches).

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
C2's author (doperpowers branch question-sheet-c2, ed2113f66) listed 27
sentences of this document its plan reads, extends or finds incomplete.
All taken by this document's writer; none changes a ruling of the owner.

What the text said before, where a binding sentence moved:
- §3 "written only by the tool": now "on the tool's order, by the
  plugin's step under the record's lock" (C2's K1; a hook has no rename,
  append or lock, and refuses a read past 4 MiB).
- §3 a fork's id floor "in the parent's directory": now "in the
  conversation it holds" (no module can learn a fork's parent);
  Acceptance 17 follows.
- §4.2: rows added for a retract before its target, a retract of a
  retract or delivered line, an id never assigned, and an invalid line.
- §5.2: what "delivery known" is for the tool; what is owed across a
  stop rides the first prompt that enters, not only the human's.
- §5.3, X3: the project log is written from the record, so it is no
  reader of the envelope; the block's details fixed.
- §7: a headless process MAWS did not launch never takes the sheet;
  C2's side of the launch proof (the session id as the variable's value).
- §12: P4 reworded for the step; P5 also observes the tag's escaping.
- C2's section, X2, the Tracking Map and the children's statuses.

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…pens first (§5.2)

The buildability review of C2's plan read §5.2 as reserving such an
outcome for the first prompt alone. The rule's purpose is that it starts
no turn by itself; a fresh answer's turn may carry it. Before: "rides
the first prompt that enters … as context".

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

Engine 2.1.331, scripted model. No binding sentence overturned.
- §2.3: Read does not cut (a file over 256 KB needs a range); a path
  outside the working directories is refused; a captured file is
  attached again after a compaction, accepted. Before: "what Read
  returns by default, with a note when that was cut".
- §3: P4 confirms the step; a hook's write in place tears.
- §5.4, §5.5, §5.3: P1 and P5 as confirmed; what a MAWS-run launch's
  first SessionStart cannot read.
- §6: the send works in both kinds of session; a subagent resumed by a
  late send costs a turn. Before: "which is harmless".
- C0's status, the Tracking Map, Risks, Progress (with the buildability
  review of C2's document).

Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…frontier (§2.4)

The owner's ruling of 2026-11-23, in answer to C1's smoke finding that
agents told only "put every question in one call" held their questions
to the end of the turn: "Ask when the question comes up, with every new
frontier at that moment in one call, then keep working … batch".
Before: "put every question you have in one call".
Also the baseline's size as the owner set it: both wordings, the subject
on Opus 5.5 at medium, all efforts medium or low.

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

The eighteen findings and this writer's rulings were answered in C2's
plan (doperpowers question-sheet-c2, 7f767ff19); its 21 entries for this
document are all taken.

- §5.3: an envelope's budget (60,000 UTF-16 units), long texts as files
  under texts/, the block's cut text, and a Send split into parts. The
  section stated no bound before.
- §3: an unacknowledged call's outcome and its settling replace "the
  results of the last 64 calls"; the record holds what the project log
  is owed, and the log's projection is the one other operation that
  rewrites the file, under the same lock; a lock file is never removed;
  only a start makes a record; two processes on one session id.
- §1, §9: the bounds are the tool input's; an import is kept as asked;
  a duplicate label refuses its entry alone (before: "as today's tool
  checks them", which refuses the call).
- §4.2, §4.3: the verdict of a target never seen; queued and cancelled.
- §5.2, §6: how the tool knows its own row landed; a subagent's send
  counts only when answered delivered; the stated limit across a
  process death.
- §8.3: the q7@2 handle. §11: the snapshot carries answered questions.
- C2's Edges, Status, G1's fixtures, the Tracking Map.

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

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

SSFSKIM commented Nov 24, 2026

Copy link
Copy Markdown
Owner Author

Landed master-first as eac9da2 (docs only, on the gated master 6020aab). The branch and its worktree are left for the spec's later revisions.

Sminos-Session: master-landing-architect#37052769 (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