Skip to content

Views are state: the board and the wall are keyed items in collapsed navigation (card 00f719c0) - #5827

Merged
joelteply merged 1 commit into
canaryfrom
fable/views-are-state
Nov 7, 2026
Merged

joelteply merged 1 commit into
canaryfrom
fable/views-are-state

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Card 00f719c0 (P0). This serves the residents' speed and focus (path step 1 "Fast", order-of-work line 2, "a mind's context as an epoch"). The board was 47-58% of a resident's prompt, and the engine prefilled it again after every claim.

Stacks on #5814 (merged into canary; rebased onto canary e5f57d9).

How kanban and the wall reached her prompt before

RoomBoardSource / WallSource (continuum-mind) already delivered one keyed RagItem per card or post. RagSourceFaculty carried those as Contribution::units. messages.rs then wrapped each contribution in context_streams::blocks::Grounding, which is a context Source that emitted one item (key block) holding every unit joined. So any change to any card gave that one item a new rendering, and the view appended the whole board as a new version. split_tally peeled the counts off into a pseudo-source called room-kanban counts, but the cards stayed one blob. The capture diffs show what triggered the re-appends: a claim anywhere, and a peer card's silent 2m+ age ticking to silent 5m+.

The design (the pattern, not prose)

  • Keyed state, with supersede in the codec. A Grounding with units is now one item per unit, keyed by the unit's typed key (card:<uuid>, the post id). The codec already appends a changed key's new revision. states() + ended() end a unit that left once ([room-kanban] card:…: no longer shown). A whole-board snapshot is never appended again.
  • Collapsed navigation (continuum_context::nav, new, codec level). Node { label, count, expand: Expand { verb, args } } renders one line, ▸ claimable (185) → \work/list claimable=true`, whatever the count. standing(n)decides how many of a group off her focus stand on their own: ⌈√n⌉, the same geometric-mean runglevelsuses, not a fixed number.Grounding::foldrenders a source's folded oldest run as aNode`, so thoughts and results can reuse it instead of wording their own.
  • Levels from what she can do (RoomBoardSource):
    • Her focus comes last, so it is kept whole longest: her cards whole, her [your work] lead, and the focused submission.
    • Every other live card goes in a group by what she can do with it (claimable, held by others). The most recently changed standing(n) show at a glance (tag, title, holder; work/get has the rest). The others are one node with its work/list filter.
    • Merged and closed cards are one node per state (work/list state=merged|closed).
    • Every card stays reachable through a node's command.
  • Tallies (headline, available lead, nodes) are ordered after the body inside the source, so a moving count never sits ahead of the cards.

Positron nav, what I found and how I used it: continuum-positron/src/nav.rs NavViewState is per-citizen tab state (open_tabs, current_tab, last_read, bookmarks; nav/select, nav/close), stored in airc. It tracks tabs at the level of rooms, content and personas. It has no item-level fold or expand inside a view. I did not build a second tab model. A node's expand is a typed command (Expand), the same verb a person's click on the board issues (work/list with filters), and its result enters her view like any act result. Follow-up (owner Fable): persist which nodes she or a user expanded as navigation state on NavViewState (a typed nav/expand/nav/collapse on a view key), and use last_read[room] as the recency anchor for which cards stand. Right now the anchor is each card's updated_at_ms.

Measured

Replay of their real boards. Fixtures were copied from the M5 captures under context_streams/fixtures/. The validator is context_streams::blocks::tests::real_boards_are_collapsed_navigation_and_a_change_appends_only_its_cards (--nocapture prints the numbers).

Resident (capture, build 19426f4) Before: board share Board as After: board share After: board as
Benchy 2f50b223 @1794056230503 47.3% of 439,123 chars 7 whole snapshots, 207,894 chars 2.0% 4,777 chars: 29 items, 180 cards counted in nodes; the 6 board changes appended 1,235 chars in total
Atlas e5f4141d @1794058504131 57.6% of 100,258 chars 2 whole snapshots, 57,778 chars 6.1% 2,759 chars: 19 items, 181 cards counted in nodes; the 1 change appended 0 chars (it touched a folded card)

(The card's 38.5% / 23.3% came from other captures of the same residents. I measured the newest captures that had the most snapshots.) Each replayed change appends exactly the units that changed plus the units that ended, which the test asserts. Benchy's held card stays whole. Card units were parsed from the captured text, and the capture's order stands in for updated_at_ms, which the capture does not carry.

Live read after deploy: residents' board share and prefix reuse over 15 minutes on the M5. Owner: Fable. Card 00f719c0 stays open until it is posted.

Validation (rebased tree, canary e5f57d9 + this commit)

  • continuum-context --lib --examples: 102 + 21 ok.
  • continuum-cognition --lib --features test-fixtures,metal: 967 ok.
  • continuum-mind --lib --features test-fixtures,metal (CI's skip): 1106 ok.
  • continuum-core --lib deliberation (livekit-webrtc,avatar-3d,metal,accelerate): 18 ok, 1 failing: pinned_act_result_reaches_the_prompt_even_with_an_empty_broadcast panics at expect("saved inventory"). It fails identically on plain canary on this host (the spill store; this PR does not touch it).
  • source-hygiene ratchets vs origin/canary: every count equals base; 87/87 tests pass in both runs. Every touched file is ≤ 765 lines.

Ratchet: positron ViewState kinds that are not context Sources

13 → 11 in MIND-CONTEXT-AND-ENGINE-CONFIG.md. The kanban and the wall are now keyed-item Sources. That gate is a doc count with no mechanized rule. The doc's "How to add a layer" now names nav::Node for folds.

Removed / added

  • Removed: Grounding::split_tally and the <faculty> counts pseudo-source, the one-item block rendering, the board's per-card whole list, the [board history] line, and the old tally test.
  • Added: continuum_context::nav (92 lines with tests), a per-unit Grounding, and the replay validator with two fixtures (~270 KB of captured board text).
  • 566 insertions, 254 deletions, fixtures included.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

…navigation

A grounding block whose source delivers keyed units (cards, wall posts, peers) is now one
item per unit in her view: a change appends that unit's revision, a unit that leaves is ended
once, and the whole block is never appended again. On the M5 (19426f4) Benchy's prompt held
7 whole [room-kanban] snapshots, 47.3% of 439k chars (one per claim anywhere, and one per
"silent 2m+ -> 5m+" age on a peer's card); Atlas's held 2, 57.6% of 100k.

Collapsed navigation (Joel: "think positron collapsed navigation and expansion"):
- continuum_context::nav: Node (label, count, typed Expand command) and standing(n), the
  geometric-mean rung of how many of a group stand on their own. Grounding::fold renders a
  source's folded oldest run as one Node.
- RoomBoardSource: her cards whole and last (kept whole longest), every other live card in a
  group by what she can do with it (claimable, held by others), its most recently changed
  standing(n) at a glance and the rest one node (`work/list claimable=true`); each settled
  state one node (`work/list state=merged|closed`).
- Deleted Grounding::split_tally and the "counts" pseudo-source; tallies order after the body.

Replay of their real boards (fixtures from the captures): Benchy 47.3% -> 2.0% (4,777 chars,
29 items, 180 cards counted in nodes, 1,235 chars appended by 6 board changes); Atlas
57.6% -> 6.1%.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply
joelteply merged commit 73b5473 into canary Nov 7, 2026
18 checks passed
@joelteply
joelteply deleted the fable/views-are-state branch November 7, 2026 15:09
joelteply added a commit that referenced this pull request Nov 7, 2026
…board tests start and turn over at a cost

Rebasing onto canary (7b7d277) brought tests written against the
character-unit view API (#5815 shed, #5827 collapsed navigation). They
now pass the cost the API requires and read Claim::full. The rebase's
conflict in context_streams/tests.rs had dropped this branch's own
updates to that file; they are re-applied, minus the tally test #5827
moved into blocks.rs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply added a commit that referenced this pull request Nov 7, 2026
… as the final prompt prices it (#5819)

* test: reproduce view start exceeding its token grant with uneven message sizes

* The view starts by the caller's token oracle: a start keeps its grant as the final prompt prices it

Codex's defect: View::start converted a source's TOKEN grant into characters at the source's
AVERAGE tokens per character (start_grants: share * full_chars / requested_max), so a source of
cheap long old turns and dear short new ones bought characters enough for new turns whose own
cost overran the grant.

continuum-context::cost::Cost<T> is the caller's price of a block (block, stored), with Chars for
callers whose grants are characters and cost::whole as the one owner of an item's whole price
(source::whole_chars deleted). View::start / turn_over / start_would_restore / readmit, view::claims,
view::floor, the allotment (allot, fold_of) and depth::collapsible all price by it; Claim's sizes
(floor, full, newest, logged), depth's Collapsible (whole, saves) and Growing (base, logged) are in
the oracle's unit, and Growing::per_char is gone. Motion's order stays in characters.

Cognition's oracle is ViewCost(calibration): each block at calibration.charge(message_cost), the
function the final prompt is charged with (charged per block it errs high by under a token a block,
never low). view_claims prices the plan's claims by the same oracle through view::claims (its own
floor/whole pricing removed, view.rs no longer re-charges them); start_grants hands back token
shares (the share itself, or the claim's full when granted all), takes one act's growth in tokens
from fit_view's next_act_tokens, and reads Claim::newest directly; admit_view hands readmit its
token budget.

Removed char conversions: start_grants' grant mapping and its newest_of and wanted_tokens/
wanted_chars ratio; depth's per_char (claims[i].growing(share, requested_max / full_chars));
admit_view's budget * view.chars() / view_tokens limit; view_claims' raw-then-charge path;
the fold decision in chars (fold_of now decides in the oracle the view allots by).

Tests: Codex's regression (previous commit) passes on this base before and after: #5814 removed
the per-message template tokens, so his short "ok" turns cost nothing here.
a_view_start_keeps_its_token_grant_when_her_newest_turns_are_denser is the same defect on this
base (CJK newest turns: a byte-counted estimate makes them three times as dense per char): red
before (36 tokens in 3 messages against 32), green after. a_view_start_with_uniform_message_sizes_
keeps_what_it_kept: five newest turns before and after.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* The template's share is measured per kind from the engine and joins her allocation estimate

#5814 removed PER_MESSAGE_TEMPLATE_TOKENS (no constant) but nothing measured in its place, so an
"ok" turn cost 0 and a start priced by text alone kept twenty of them against a 32-token grant
(Codex's 100 > 32).

Engine (llama_server/template_overhead.rs): the serving lane's template is measured once per engine
process and model, from the reconcile that already reads its build (observe_template beside
observe_served_engine). Probe messages per kind (system, user, assistant, native tool result, native
tool call with 0-3 parameters) are rendered in the middle of a conversation through /apply-template
on the request wire (request_body::wire_messages) and counted by /tokenize (HTTP-thread calls, no
slot, no decode); each records the tokens it added. MessageShape is the one owner of how a message is
classified (kind, calls or results, parameters). TemplateMeasurement::Unmeasured is a type; the
adapter seam reports it (AIProviderAdapter::template_overhead, OpenAI adapter for the serving lane,
the placement switch forwards). Probe: serving.template_overhead.

Cognition (prompt/template.rs): TemplateEstimate derives each kind's share against her own text
estimate (message_cost) at its HIGHEST observation, a call's as the least-overcharging line over its
parameters on or above every observation, so the estimate errs high on every observation and states
its spread. PromptCalibration carries it (fit_within, from the adapter); estimate(message) =
message_cost + its kind's share (unmeasured: text alone, density carries the template, probed on
delib.prompt.density); estimated_prompt_tokens counts it, so density calibrates the rest.

The view's oracle is renamed for what it is: AllocationEstimate (cognition) over
continuum_context::cost::Estimate (the trait, was Cost). Its docs say it decides what to keep, errs
high, claims no exact count or token prefix; dispatch still rests on the engine's exact quote.

Measured on the M5 engine (Qwen3.6-35B-A3B-Q4_K_M, build b11017-444f386cf, 2026-11-07T11:38Z),
tokens each probe added: plain turns 6/12/10/7/11 for every role, tool results 10/16/14/11/15,
calls 17/31/43/57 (0/1/2/3 parameters). Beyond her text estimate: system/user/assistant highest 9,
lowest 1 (spread 8); tool result 13, lowest 5 (spread 8); call line 17 + 8 per parameter
(base lowest 14, spread 3).

Tests: Codex's regression stays byte-identical but for the View::start cost argument, and stays
green (its "ok" turns are priced by message_cost, which counts text). The template's red/green is
a_view_start_keeps_its_token_grant_with_the_measured_template_overhead on his conversation: priced
by text alone the start keeps 20 "ok" turns, 120 tokens as the recorded engine counts them (6 each)
against 32; priced by the allocation estimate it keeps within every grant 32..512, and the recorded
engine count is under the estimate. the_allocation_estimate_errs_high_on_the_recorded_engine: every
probe is estimated at or above the engine's count, and a six-message multi-role conversation counted
at 97 (92 without the 5-token generation suffix) is estimated at 118.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* One price for a message: the view's start, the final fit and a refusal's refit all estimate through PromptCalibration::estimate

The view's start priced each block by her allocation estimate (text plus the measured template
share) while the final fit and a refusal's refit priced text alone (LlmDeliberationFaculty::
messages_cost): two pricing paths for one fact. Now PromptCalibration::estimate / estimate_all is
the one owner, and every prompt-assembly reader goes through it:

- PromptMessages carries its pricing (set by its one builder from the faculty's binding, and by
  the act's view build to that act's calibration); required_parts, tokens, recent_move_evidence,
  fit_messages (each message and the quiet-tick minimum) and the newest result's levels price with it.
- DeliberationPromptView carries the pricing its messages were estimated with; refit_rejected_prompt
  reprices and rebuilds with it.
- The view build (view tokens, the quiet minimum, the tail budget, the sent sample, the assembled
  context's used tokens), fit_view (view and admitted tokens) and the budget ledger
  (estimate_system for the system message) price through it.

Removed: LlmDeliberationFaculty::messages_cost (no production caller left; tests use
PromptCalibration::default().estimate_all, numerically the same text-only estimate when unmeasured).
message_cost stays as the text part estimate builds on, documented as never a price by itself.
PromptCalibration derives Debug (the view snapshot carries it).

Codex's regression changes one more call for the removal: messages_cost(&rendered) ->
PromptCalibration::default().estimate_all(&rendered) (same number; his test stays green).

Test: the_final_fit_and_a_view_start_price_a_multi_role_sequence_identically: a user turn, a native
call, its result, an assistant turn and a CJK user turn, priced at the recorded engine's template:
the view's start (AllocationEstimate per block) and the final fit (its receipt's history_tokens)
give the same number, and a budget of that number keeps all of it.

The engine's exact quote of the finalized body before generation stays the authority for dispatch.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* Canary's new view callers price by the caller's oracle: the shed and board tests start and turn over at a cost

Rebasing onto canary (7b7d277) brought tests written against the
character-unit view API (#5815 shed, #5827 collapsed navigation). They
now pass the cost the API requires and read Claim::full. The rebase's
conflict in context_streams/tests.rs had dropped this branch's own
updates to that file; they are re-applied, minus the tally test #5827
moved into blocks.rs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
joelteply added a commit that referenced this pull request Nov 7, 2026
…ards whole, each group's recent cards, one fold per group (card e0b2b5b1)

On the M5 (2026-11-07) work/list returned 241,460 chars (~80,884 tokens) as a
summary plus a handle, while the same board in her view was collapsed
navigation (#5827/#5828). The tool and the view now declare the board through
one owner:

- `persona::board_nav::group_of` (new): which group a card sits in off her
  focus and the `work/list` that opens it. `room_board_source` and `work/list`
  both call it (the closure in room_board_source is deleted).
- `work/list` with no filter: `continuum_context::nav::collapse` over the
  board, so her cards come back whole, each live group's most recently changed
  cards stand (nav::standing), and the rest of each group is one `folded`
  line naming the call that lists it whole. With a filter it is that group
  opened, whole.
- `nav::Origin::Node` carries its typed `Expand`, so a structured consumer
  never re-derives the command (viewstate_rag also records it).
- The "held by others" fold now opens with `work/list claimable=false` (before,
  plain `work/list`, which would now return the nav again, not the group).
- Deleted the per-tool truncation: `WorkListParams::limit`, its truncate and
  its note.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply added a commit that referenced this pull request Nov 7, 2026
…ards whole, each group's recent cards, one fold per group (card e0b2b5b1)

On the M5 (2026-11-07) work/list returned 241,460 chars (~80,884 tokens) as a
summary plus a handle, while the same board in her view was collapsed
navigation (#5827/#5828). The tool and the view now declare the board through
one owner:

- `persona::board_nav::group_of` (new): which group a card sits in off her
  focus and the `work/list` that opens it. `room_board_source` and `work/list`
  both call it (the closure in room_board_source is deleted).
- `work/list` with no filter: `continuum_context::nav::collapse` over the
  board, so her cards come back whole, each live group's most recently changed
  cards stand (nav::standing), and the rest of each group is one `folded`
  line naming the call that lists it whole. With a filter it is that group
  opened, whole.
- `nav::Origin::Node` carries its typed `Expand`, so a structured consumer
  never re-derives the command (viewstate_rag also records it).
- The "held by others" fold now opens with `work/list claimable=false` (before,
  plain `work/list`, which would now return the nav again, not the group).
- Deleted the per-tool truncation: `WorkListParams::limit`, its truncate and
  its note.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply added a commit that referenced this pull request Nov 7, 2026
…ards whole, each group's recent cards, one fold per group (card e0b2b5b1)

On the M5 (2026-11-07) work/list returned 241,460 chars (~80,884 tokens) as a
summary plus a handle, while the same board in her view was collapsed
navigation (#5827/#5828). The tool and the view now declare the board through
one owner:

- `persona::board_nav::group_of` (new): which group a card sits in off her
  focus and the `work/list` that opens it. `room_board_source` and `work/list`
  both call it (the closure in room_board_source is deleted).
- `work/list` with no filter: `continuum_context::nav::collapse` over the
  board, so her cards come back whole, each live group's most recently changed
  cards stand (nav::standing), and the rest of each group is one `folded`
  line naming the call that lists it whole. With a filter it is that group
  opened, whole.
- `nav::Origin::Node` carries its typed `Expand`, so a structured consumer
  never re-derives the command (viewstate_rag also records it).
- The "held by others" fold now opens with `work/list claimable=false` (before,
  plain `work/list`, which would now return the nav again, not the group).
- Deleted the per-tool truncation: `WorkListParams::limit`, its truncate and
  its note.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply added a commit that referenced this pull request Nov 7, 2026
…ards whole, each group's recent cards, one fold per group (card e0b2b5b1)

On the M5 (2026-11-07) work/list returned 241,460 chars (~80,884 tokens) as a
summary plus a handle, while the same board in her view was collapsed
navigation (#5827/#5828). The tool and the view now declare the board through
one owner:

- `persona::board_nav::group_of` (new): which group a card sits in off her
  focus and the `work/list` that opens it. `room_board_source` and `work/list`
  both call it (the closure in room_board_source is deleted).
- `work/list` with no filter: `continuum_context::nav::collapse` over the
  board, so her cards come back whole, each live group's most recently changed
  cards stand (nav::standing), and the rest of each group is one `folded`
  line naming the call that lists it whole. With a filter it is that group
  opened, whole.
- `nav::Origin::Node` carries its typed `Expand`, so a structured consumer
  never re-derives the command (viewstate_rag also records it).
- Every fold opens EXACTLY its group: `board_nav::BoardGroup` (claimable,
  held_by_others, merged, closed) is the typed group, `group_of` returns it,
  each node's call is `work/list group=<its group>`, and the `group` selector
  filters through `group_of` itself (Cormac on #5843: a `claimable=false` call
  behind "held by others" also returned her cards and every merged and closed
  card). `work/list`'s filters are one `Selector`.
- Deleted the per-tool truncation: `WorkListParams::limit`, its truncate and
  its note.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply added a commit that referenced this pull request Nov 14, 2026
…e0b2b5b1) (#5843)

* Her newest result is irreducible at its whole; past the window it is its first page of content, never a summary and a handle (card 8a12dcd1)

Goal 7: her newest result is the step that ends her recursion. On the M5
(2026-11-07) it came in as a summary plus a handle 159 times in a day, about
105 follow-on acts re-read it, and 52 of those reads were themselves too large
and came back as another summary and handle.

The allocation (continuum-context `allocation::newest`, the one owner):
- `Newest` (Absent | Whole | Pageable { whole, least }) replaces the newest
  result's ladder of summary levels. It is chosen before the search against
  every other part at its hard limit, so her tools, grounding, view and older
  history collapse first and it is whole whenever the window holds it.
- Past that it is its FIRST PAGE, cut to the room left beside every hard limit,
  her reply's whole want and her grounding's handles; never below its least
  page (its note plus as much content as the note). While it pages, each held
  head level that fits beside her LEAST page stays (framing, then tools: a head
  change re-prefills her whole prompt, and a page needs no particular size);
  only one that cannot fit drops to its hard limit, loudly, and the page takes
  what the kept levels leave (Cormac on #5840). Grounding sits at its handles.
- A page binds the irreducible sum at its least page, never at the page.

The renderer (continuum-cognition `prompt/newest_result.rs`): measures whole
and least page, renders the granted page as her result's own content from its
start, cut at a line end (or inside an over-long first line), with a note naming
the call that reads on (`Reopen::Lines` / `Reopen::Bytes`) in the saved output
that slot IS (her call's own custody handle). The page is cut once her view is
fitted, to its grant and never more than the fit actually has beside the rest.

Copies migrated/deleted: the summary ladder (`level_newest`,
`newest_result_levels`, `too_large_note`), view.rs's level-index-to-cost
mapping, `ActPlan::newest_level`, the newest's entry in `chosen`.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* work/list returns the board's nav from the owner her view uses: her cards whole, each group's recent cards, one fold per group (card e0b2b5b1)

On the M5 (2026-11-07) work/list returned 241,460 chars (~80,884 tokens) as a
summary plus a handle, while the same board in her view was collapsed
navigation (#5827/#5828). The tool and the view now declare the board through
one owner:

- `persona::board_nav::group_of` (new): which group a card sits in off her
  focus and the `work/list` that opens it. `room_board_source` and `work/list`
  both call it (the closure in room_board_source is deleted).
- `work/list` with no filter: `continuum_context::nav::collapse` over the
  board, so her cards come back whole, each live group's most recently changed
  cards stand (nav::standing), and the rest of each group is one `folded`
  line naming the call that lists it whole. With a filter it is that group
  opened, whole.
- `nav::Origin::Node` carries its typed `Expand`, so a structured consumer
  never re-derives the command (viewstate_rag also records it).
- Every fold opens EXACTLY its group: `board_nav::BoardGroup` (claimable,
  held_by_others, merged, closed) is the typed group, `group_of` returns it,
  each node's call is `work/list group=<its group>`, and the `group` selector
  filters through `group_of` itself (Cormac on #5843: a `claimable=false` call
  behind "held by others" also returned her cards and every merged and closed
  card). `work/list`'s filters are one `Selector`.
- Deleted the per-tool truncation: `WorkListParams::limit`, its truncate and
  its note.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* Files this change touches leave clean: owner match by is_some_and, the board-read mark threshold and the ViewState wire decode say why

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* work/list's select and listed take any iterator, and the nav entry's copies are taken before the card moves in: no new contract_shape sites

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* The agentic surface ceiling moves 17986 -> 18094 for work/list's typed group, measured in CI

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant