Skip to content

feat: quiet the open-question marks and give missed work its own colour - #2469

Merged
yansfil merged 5 commits into
mainfrom
feat/quiet-open-asks
Nov 12, 2026
Merged

yansfil merged 5 commits into
mainfrom
feat/quiet-open-asks

Conversation

@yansfil

@yansfil yansfil commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Problem: a yellow ?N on many task rows and an orange box in the pane pulled the eye all the time, even for stale questions.
  • Rows in the 태스크 list, the project list and the sidebar no longer end their line with ?N; a question laid as the row's ask still puts the row in Needs You in the warning colour, unchanged.
  • The pane head shows the count as 질문 N in blue words with no border or fill; a press still opens the turn card, and nothing is drawn at 0.
  • The turn card lists the questions under a blue 나를 기다리는 것 · 질문 N head with a thin blue rule and no box, each question in the normal text colour, 무시하기 kept; the session record's own list is unchanged.
  • Missed work (놓친 일) takes its own teal instead of the warning colour; a missed question offers only 무시하기.

Before / after, Dark: rows lose ?N, pane head and turn card questions in blue, 놓친 일 in teal, record list unchanged
The same places in Light

Review

  • Decide: --open-ask is an alias of --agent-working (the working blue), so a kept question and a working spinner share one blue; the operator picked this blue from the candidates.
  • Decide: --missed teal (Dark #2FC4B2, Light #0F766E) beside --kind-task cyan; and 무시하기 alone applies only to a missed question (kind: ask), while problems, suggestions and leftovers keep 백로그로 · 무시.
  • Risky files: web/src/agentRow.ts - LineParts/lineText lost the count, and rowSentence (accessible names) goes through lineText; design/tokens.json - two new colour tokens.

Tests

  • Layer: unit (Vitest): agentRow.test.ts (a row's line and its accessible words carry no count) and PaneHeaderBand.test.tsx (the pane head says Questions 2, opens the turn card listing both, draws nothing for a pane with none; the turn card head reads Waiting on you · Questions 2).
  • Catches: planted ?{count} back in the pane head: the new pane head test failed; planted a count back into lineText: the row test (and others) failed. Both restored.
  • Repeat: not run.
  • Waits: none.

Evidence

  • Verified: bash scripts/verify-web.sh web typecheck|lint|test|build all exit 0; node scripts/check-design-contract.mjs ok (tokens, contrast, logos, ui parts); attribution, identity and screenshot gates pass.
  • Verified: gallery captures before and after on the same fixtures, Dark and Light, 420 px and 260 px rows, a 340 px narrow pane head, Korean and English; the record's list renders as on main (warning question marks).
  • Verified: the phone row (web/src/mobile/ListRows.tsx) never passed open_asks to lineText, so it showed no mark before and shows none now.
  • Not verified: no isolated running candidate (hided + a real agent session) was checked; the captures are the gallery's production components over invented data.
  • Not verified: the e2e suite was not run locally; no e2e spec asserts these marks or colours.
  • Not verified: the missed-question line (kind: ask in 놓친 일) has no unit test and is seen only in the gallery; the core does not send such items until the separate hide-core change lands.
  • Not verified: when a question is laid, cleared or turned into missed work is unchanged here and owned by that hide-core change.
More evidence

Korean: pressing 질문 2 opens the turn card with 나를 기다리는 것 · 질문 2

  • Gallery: scene=session-panel and scene=pane-header now give rows s4, s6 and panes progress, turn-working, turn-narrow open questions; scene=overview&state=backlog-missed opens four missed items, one a question.
  • Docs: docs/UI_BEHAVIOR.md (turn card, pane head, 놓친 일 colour and the missed question, Project tool) and docs/status-model.md (A question still waiting, the row's line) updated in the same change.
  • No with-hide/hide-private document describes ?N, the box or these colours, so no paired private change.

Rows no longer end their line with a yellow ?N for the questions an agent
put to the operator: the count moved to the pane head as plain grey words
(질문 N) that still open the turn card, and the turn card lists the
questions beside a thin grey rule under 나를 기다리는 것 · 질문 N instead
of a warning-coloured box. A question laid as the row's ask still puts the
row in Needs You in the warning colour, unchanged.
Missed work is not an agent waiting on the operator, so the Overview's
놓친 일 N line, each missed item's kind, the Project tool's 놓친 일 N and
the flag on a backlog item made from missed work now use a new --missed
token (violet, Dark and Light) rather than the warning colour.
Following the chosen colours: the pane head's 질문 N and the turn card's
나를 기다리는 것 head and rule take a new --open-ask colour (an alias of
the existing blue), with each question in the normal text colour; the
session record's own list keeps its previous look. Missed work moves from
violet to teal, which reads apart from a merged pull request, and a missed
question offers only 무시하기, since it is answered nowhere in that list.
@yansfil
yansfil added this pull request to the merge queue Nov 12, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Nov 12, 2026
@yansfil
yansfil added this pull request to the merge queue Nov 12, 2026
Merged via the queue into main with commit b7cf2dd Nov 12, 2026
35 checks passed
@yansfil
yansfil deleted the feat/quiet-open-asks branch November 12, 2026 02:45
HyunjunJeon pushed a commit to HyunjunJeon/hide that referenced this pull request Nov 12, 2026
… open (with-hide#2473)

Related: follows with-hide#2470 and with-hide#2469 (both merged). Paired private docs:
with-hide/hide-private#879.

## Summary

Some questions in `나를 기다리는 것` were settled without anyone answering them
in the session. Another agent relayed the operator's decision, or the
agent did the thing itself. They stayed open anyway and kept the task in
Needs You.
Hide AI may now fold such a question, never delete it. It moves under
`정리됨 N` below the list, with a one-line reason, and one press of `다시 열기`
brings it back for good.
A step only the operator can take (sign-in, approval, permission, typed
information) is marked when the question is listed. Hide AI never folds
it, and a parent's letter no longer closes it; only the operator's own
answer does.
Questions recorded before this change carry no mark and are never
folded.

![정리됨 opened (dark): each folded question with Hide AI's reason and 다시
열기](https://github.com/yansfil/pr-assets/blob/main/hide/feat-fold-open-asks/771e64d/folded-open-dark.png?raw=true)
Look at the lines under `정리됨 2`: the question in the subtle colour, the
reason under it, `다시 열기` at the right.

## Review

- **Decide**: an approval the agent reserves for the operator ("only
your OK is left") counts as the operator's own step, so it never folds.
On the sample this keeps one settled merge question (fc86b2) in Needs
You.
- **Decide**: the fold is shown closed as `정리됨 N` under `나를 기다리는 것`,
only in the session record; rows and the pane head ignore folded lines.
- **Risky files**: `hide-core/src/links/ledger_store.rs` - the close and
fold updates in one turn-end transaction; schema 16 adds two nullable
columns to `ledger_missed`.
- **Risky files**: `hide-core/src/labels/context_label.rs` - END prompt
v27 adds `operator_only` on each missed item and `reason` on each
resolved id.
- **Cost**: no new model call. The existing END call returns two more
fields, and the turn-end write runs one more UPDATE.

## Tests

- **Layer**: unit, against the real ledger store
(`links/ledger_store_tests.rs`), plus a vitest render of the session
record.
- **Fixture**: the e2e stand-in provider now answers every missed line
with `operator_only: false` and every resolution with `reason: ""`
(`web/e2e/pane-fixture.ts`); without them the v27 schema refused its
answers and the session-record e2e tests saw no questions.
- **Catches**: a parent's letter closing the operator's own step; a fold
of an unmarked or operator-only line; a reopened line folding again.
Dropping the `operator_only` guard from the parent-answer close (closing
every line) fails both new ledger tests.
- **Repeat**: the two new ledger tests and with-hide#2470's bell test 5 times
locally, all green.
- **Waits**: none.

## Evidence

- **Verified**: `verify` green on 1ff2732 (all lanes, web e2e Linux
6/6 and Windows, desktop e2e Windows). The first run's e2e reds were the
stand-in answers the v27 schema refused, fixed in the fixture.
- **Verified**: after merging main (with-hide#2469 included): `hide-core`
filtered nextest 350/350; web typecheck, lint, and vitest for
SessionRecord, agentRow, PaneHeaderBand and i18n (159/159); design
contract.
- **Verified**: the v27 prompt on haiku, with production flags, over the
hand-labelled sample. The person-step mark caught 3 of 3 operator steps
and wrongly marked 2 of 12 other questions. That error leaves a question
held, never closed.
- **Not verified**: no run on an installed build. The measurement
rebuilds each turn from the session file (last 3,500 characters, at most
5 later turns), and 9 questions were not listed again in that context.
- **Not verified**: the full Rust suite and the other lanes run in CI
only. `verify-web.sh`'s install step is refused locally by pnpm 12
(ignored build scripts), so its steps were run one by one.

<details><summary>Measured on the labelled sample (open questions of
11-11/12 with later turns: 20 stale, 3 live, labelled by hand)</summary>

| | stale cleared | live lost |
| --- | --- | --- |
| before (with-hide#2470 not merged) | 0/20 | 0/3 |
| with-hide#2470's rule alone, no relisting | 15/20 | 2/3 (both operator steps) |
| with-hide#2470 + this, v27 judgment (one run) | 8/20 (7 closed, 1 folded) | 0/3
|

Needs You over the 16 root sessions holding questions of 11-11/12, at
the copy's last turn:

| | Needs You | false | live lost |
| --- | --- | --- | --- |
| before | 16 | 2 (fc86b2, dfc3c6), f89171 unclear | 0 |
| after | 16 | 2 (fc86b2, dfc3c6), f89171 unclear | 0 |

- fc86b2: the judgment read it as settled with a reason on 3 turns
("with-hide#2402 already merged"), but the agent had reserved the merge OK for
the operator, so the mark keeps it.
- dfc3c6: the judgment lists it again as still waiting on all 5 later
turns; nothing in the session settles it.
- A narrower mark (excluding merge decisions) was tried. It still marked
fc86b2 and missed the 9 GB delete permission, so it was not kept.

</details>

<details><summary>More evidence</summary>

![정리됨 closed at first (light), below 나를 기다리는
것](https://github.com/yansfil/pr-assets/blob/main/hide/feat-fold-open-asks/771e64d/folded-closed-light.png?raw=true)
Closed at first, light theme.

</details>
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