Repository navigation
Description
Failure
ci on main, nightly suite. Two browser tests have failed on every run since 292de9c "Make reader-added answers real options", first seen in run 33337626485:
tests/test_render_controls.py::test_a_seat_conversation_leaves_the_pick_it_is_about_live—Asks (0)expected,Asks (1)actual.tests/test_render_navigation.py::test_the_ring_holds_on_a_seat_the_agent_has_still_to_answer—Asks (1)expected,Asks (2)actual.
The other seventeen failures that commit introduced are fixed in the PR that links here.
Diagnosis
Both tests guard the same layer-generic split: a conversation standing in a widget's declared x-conversation seat takes that widget off the reader's list without answering it, so the banner's count drops while the widget stays an open decision the reader is still standing in. seat_with_agent in decisions.py is the Python half, and standingIn in runtime/decisions/view.js reads unansweredDecisions rather than openDecisions for exactly this reason. Both still carry the behaviour and both still describe it in the present tense.
292de9c removed x-conversation and x-work from lf-options, which was the only widget in the shipped layer that both awaits and seats. So the split is still implemented and can no longer be produced:
lf-optionsawaits (x-awaits.when) but no longer seats.lf-taskseats (x-conversation.when: {talk: [true]}) but isx-awaits: {rollup: true}, and a rollup record never enters the visible list —_answered, and thereforeseat_with_agent, is not consulted for one.- No other entry in either shipped package declares both.
Why no fix was produced
Every substitution that keeps the tests' subject fails on the same premise:
- An honored
chosenpick also takes the group off the reader's list, but it answers it, soactionAvailable'sawaitingprerequisite legitimately refuses the press. Tried against the eligibility test: it fails atassert [] == ['choose'], which is the opposite of what the test asserts. - Retargeting to a
lf-task talkseat loses the ask. Adding a localx-awaitstolf-taskin a project overlay is refused at the registry door:<lf-task> x-awaits local decision declares no answer verbs, andanswersmust name anx-stateverb the entry declares. - Putting
x-conversationback onlf-optionsin a test overlay builds a layer the product itself rejects — the render gate'smissingConversationsprobe reportsdeclares x-conversation but rendered 0 matching hosts; its module must place exactly one conversationBox, becauseconversationBoxplacement is the module's andlf-options.jsno longer calls it.
That leaves three ways out, all of them decisions about what the seat is for rather than test edits:
- Re-seat
lf-options— keep the add-option form as the reader's answer, and place aconversationBoxfor agent threads beside it, restoringx-conversation/x-work. This also gives an options group its inline thread view back, which 292de9c dropped as collateral: a comment anchored to a group now appears only in the panel and margin. - Fabricate the pair in the test layer — a
render_cases_*widget declaringx-state,x-awaits.answers, andx-conversation, with a module that places the seat. The layer-generic feature would then be tested layer-generically, which is whatCLAUDE.md's "Keep the layer open" asks for. It costs a new module and entry, andtest_a_seat_conversation_leaves_the_pick_it_is_about_livewould stop being aboutlf-optionspainting the pick before either guard runs — which is half of what it says. - Retire the split — drop
seat_with_agent, thex-workconversation seat, the two tests, and the paragraphs inAGENTS.md,skills/leaf/CLAUDE.md, anddecisions.pythat describe them. Cheapest, and it takes a real capability out of the layer on the grounds that the default package stopped using it.
Until one is chosen, ci on main stays red on these two.
Activity
leaf-agent commentedon Aug 31, 2026
Reproduced on
mainat92b54aeand again ataa41f7a: both fail deterministically at the counts this issue names, sociis still red on them.#151 takes option 2, on the grounds that it is the only one of the three that decides nothing. It declares the ask-and-seat pair in the test layer — a project-package entry and module handed to
servethroughlayer_registry/layer_widgets, the waylf-feedandlf-tallyalready are — and changes no shipped registry entry, module, theme rule or runtime file. Options 1 and 3 are both still open after it: whetherlf-optionsshould seat a conversation again, and whether the split should be retired, are product questions the tests no longer force an answer to.The cost this issue named for option 2 is real and paid:
test_a_seat_conversation_leaves_the_pick_it_is_about_liveis no longer aboutlf-optionspainting the pick before either guard runs. What it is about instead is the door, which is what the test's own docstring says it is for — so the fabricated module paints its answer before it sends, and the assertion still bites in the same shape. FlippingansweredContextto read the reader's list fails it atassert [] == ['settle']where the old fixture gaveassert [] == ['choose']; flippingstandingIntoopenDecisions()fails the navigation test at the ring.Notes
test_a_questions_digits_are_drawn_wholeandtest_c_in_a_seated_conversation_reaches_the_thread_it_is_inin the same two files, neither of which Retarget the seated-decision tests onto a widget that declares the seat #151 touches.mainand are untouched here — three of them Update the option-group tests for the removed seat, and ring the add field #148's, three separate.tests/CLAUDE.mdgains the rule the change follows, so the next guard over a declaration-driven reading is written against a widget that declares it rather than against whichever shipped entry currently does.Retarget the seated-decision tests onto a widget that declares the seat