Design: the subagent list and a tree subagent's card; Working-notes: re-pin traps, harness cases

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
HomerandClaude Opus 5.5 committed 2026-11-10 10:22:07 +00:00
1 parent 4025a61b19
commit 2e769388d7
2 files changed
+18 -1

No files matched your search

+11 -1
@@ -122,6 +122,14 @@ are their text alone. A phase the app does not know, or one missing a field its
back to the free `status` text, as an older server's does. `ProgressTest` runs the spec's own
conformance cases against the English resources.
**Subagents** (spec 3.4.0) are Android's reduced list (`ui/chat/SubagentList.kt`, `api/Tree.kt`):
the stream's `tree` frame, kept in `ChatState.tree` after the reply ends, and `GET /chats/{c}/tree`
when the activity sheet opens. A row: name (id) — position, the state word, the progress text
without the clock, context % (floored); the main agent first, ended ones after, dimmed. A
subagent's row opens `GET /chats/{c}/subagents/{id}/transcript` read-only (`ConversationDialog`,
re-read every 3 s while it has not ended). No findings and no Stop on Android, by the spec. With a
tree, the Tasks section holds only the background jobs.
## Cards
A sheet that cannot be swiped away -- the reply is stopped until it is answered. The answer is
@@ -131,7 +139,9 @@ is "answered elsewhere first" and is said once, quietly.
An approval's `title` is its heading (*Run a command*) and `detail` the thing itself (the
command). An `editable` item's box starts with `detail`, and Allow sends it in `texts[key]` only
when it differs (`approvalTexts`): an untouched or cleared box sends nothing, so the command the
model asked for runs. `job` names the subagent asking, said first (*explore asks:*).
model asked for runs. `job` names a background subagent asking (*explore asks:*); `subagent
{id, name, position}` a tree subagent asking for what nobody in its tree may allow (*Subagent
parser (s1), reviews the parser, asks:*), said first.
## Push
+7
@@ -103,3 +103,10 @@ design change, before a phone.
- **A failure is shown through `ui/Errors.kt`'s `explain()`**: the server's sentence for a
refusal, one "cannot be reached" sentence for a network that is not there. Never `e.message`
straight to the screen.
- **A re-pin breaks tests that hold a fixture's values**, not only `ContractTest`: CI runs 30 and
36 failed on `SubagentsTest` (the agent chat's facts) and `ScheduleContractTest` (the schedules
frame's `version`, a hash of the list). Grep `app/src/test` for the changed fixtures' names and
values before pushing a pin.
- **`contract/harness_*.json` are the harness spec's conformance cases** from the server's copy
of the spec (`src/lembas/harness_spec/conformance/`), pinned with the fixtures by
`fetch-contract.py`; `ProgressTest` draws `harness_progress.json` with the English resources.