Holon pane and chat
The single-holon conversation pane: one-row header, calm bottom-anchored thread, citations, tap-to-send starters, and accessible composer.
The holon pane is the conversation surface for the single holon attached to a page. It pairs restrained, bottom-anchored messaging with clear scope and source citations so the person always knows which holon is answering and what it can do. House note: chat direction Ruling 23
Delivery holon
Function holon · Answers for EFS
What is waiting on a person right now?
Three items are waiting on the Delivery team: one unread compilation pack request, one client match to confirm, and seven approved invoices not yet marked as sent.
Comp Pack Delivery
Nov 2026 snapshot
Approve the pending invoice for me.
An EFS team member must record invoice approval in the task form. I have queued the record and its source summary for review.
Invoice approval task
HTML
<div class="hx-pane hx-stack">
<div class="hx-pane-head">
<img class="hx-glyph" src="assets/glyphs/function.svg" alt="Function holon">
<div class="hx-stack">
<div class="hx-title">Delivery holon</div>
<div class="hx-small hx-muted">Function holon · Answers for EFS</div>
</div>
</div>
<div class="hx-thread">
<div class="hx-msg-person">What is waiting on a person right now?</div>
<div class="hx-msg-holon">Three items are waiting on the Delivery team: one unread compilation pack request, one client match to confirm, and seven approved invoices not yet marked as sent.</div>
<div class="hx-row">
<span class="hx-cite">Comp Pack Delivery</span>
<span class="hx-cite">Nov 2026 snapshot</span>
</div>
<div class="hx-msg-person">Approve the pending invoice for me.</div>
<div class="hx-msg-holon">An EFS team member must record invoice approval in the task form. I have queued the record and its source summary for review.</div>
<div class="hx-row">
<span class="hx-cite">Invoice approval task</span>
</div>
</div>
<div class="hx-starters">
<button type="button" class="hx-chip">Which Delivery goal is off track?</button>
<button type="button" class="hx-chip">Show unread requests</button>
<button type="button" class="hx-chip">Show open flows</button>
</div>
<div class="hx-composer">
<input type="text" placeholder="Ask Delivery holon" aria-label="Message">
<button type="button" class="hx-btn hx-btn-primary">Send</button>
</div>
</div>Anatomy
- One-row header (
hx-pane-head): Shows the holon's level glyph, the holon's functional name (never a human name), and a scope line in the formAnswers for [Organisation]. Keep the header to one row so the thread keeps vertical space. House note: chat direction Ruling 22 Wireframe review C1 - Thread (
hx-thread): A scrolling column anchored to the bottom so the newest message sits directly above the starters and composer. Holon replies sit on the left in a light grey bubble (#F7F8F8, radius 14); the person's messages sit on the right in a soft violet bubble (#EEE8FF, radius 14) with accessible purple text (#6D3CE6). House note: chat direction Reference: console.css Brand rules §2 - Citation chips (
hx-cite): Compact source chips placed directly beneath a holon reply whenever the reply cites a specific record, flow, or snapshot. Wireframe spec W16 Wireframe review C1 - Tap-to-send starters (
hx-starters): At most three short prompt chips (plus an optionalMorechip) that submit on tap and hide once a message is sent. House note: chat direction Holon rules §3.3 - Composer (
hx-composer): A single-row input set at16pxor larger paired with a primarySendbutton (8pxradius). Ruling 25 Reference: console.css
Best practices
- Render at most one holon per page. Every page belongs to one entity and one holon; never stack two chat panes side by side or mix two holons into one thread. Ruling 23 Constitution 1.1
- Keep replies calm: one or two plain sentences in one size and weight. Do not add headings, multi-paragraph reports, bullet dumps, or repeated sender labels inside the thread. House note: chat direction House note: restrained interface taste Ruling 21
- Never put an email gate inside chat. Let the person talk to the holon immediately without an inline email capture form. Holon rules §3.3 Ruling 19
- Express boundaries factually, never as internal rules. A holon never approves, yet the pane should never print rule slogans such as
"It never approves"or"A holon, not a person"; state who completes the step instead. Constitution 1.7 Ruling 43 House note: no literal copy - Protect mobile ergonomics on the composer. Keep the input font size at
16pxor larger so mobile browsers do not zoom on tap, and never call programmatic.focus()when the page loads. Ruling 25 Brand rules §2 - Avoid boxed borders, shadows, and capsule ends. Use flat surfaces with
14pxbubble corners and8pxcontrol corners, reserving purple strictly for the person's messages and the primary action. House note: restrained interface taste Brand rules §2 Wireframe review B10
States
| State | What the person sees | Rule |
|---|---|---|
| Ready | Header, any prior turns anchored to the bottom, up to three starter chips, and an unfocused composer. | Never auto-focus the input on load. Ruling 25 |
| Waiting | The person's bubble appears on the right; a muted placeholder bubble (…) sits on the left while checks, rules, and reply review run; Send disables and starters hide. | Nothing streams to the visitor until review passes in default reviewed mode. Reference: console.js Reference: flow.mjs |
| Streaming | Once reviewed, the approved reply streams word by word into the left bubble. | Keeps scroll pinned only if the reader is already at the bottom. Reference: console.js Reference: flow.mjs |
| Replaced or fixed | If a guard or reply check replaces the draft, a fixed reply settles cleanly (fading across in 320ms if live text was already visible). | Never expose internal check failure codes or prompt leaks. Reference: console.js Reference: flow.mjs |
| Paused or capped | A calm fixed resting reply appears; no further model calls run. | Enforced server-side before reserving spend. Reference: server.mjs Reference: flow.mjs |
Keep replies to one or two plain sentences in one text style. The light grey bubble holds calm prose, followed by a quiet citation chip when grounded in a record.
Which Delivery goal is off track?
Approved invoices not marked as sent is red at 7 for Nov 2026, above the green reading of 0.
Delivery Performance
HTML
<div class="hx-thread">
<div class="hx-msg-person">Which Delivery goal is off track?</div>
<div class="hx-msg-holon">Approved invoices not marked as sent is red at 7 for Nov 2026, above the green reading of 0.</div>
<div class="hx-row"><span class="hx-cite">Delivery Performance</span></div>
</div>Never pack a holon reply with boxed cards, headings, or multi-paragraph lists. Heavy framing, repeated sender labels, and nested headings crowd out the conversation.
DELIVERY HOLON · ASSISTANT
Delivery Status Report
1. Approved invoices not marked as sent is currently red at 7 (result range 0).
2. Completed jobs still in WIP is orange at 5.
3. For approvals, please contact the practice team directly.
HTML
<div class="hx-thread">
<div class="hx-card hx-stack">
<div class="hx-small hx-muted">DELIVERY HOLON · ASSISTANT</div>
<div class="hx-title">Delivery Status Report</div>
<div class="hx-small">1. Approved invoices not marked as sent is currently red at 7 (result range 0).</div>
<div class="hx-small">2. Completed jobs still in WIP is orange at 5.</div>
<div class="hx-small">3. For approvals, please contact the practice team directly.</div>
</div>
</div>Behaviour
- Bottom anchoring and scroll discipline: The first message uses
margin-top: autoso short threads rest at the bottom of the pane. Auto-scrolling follows incoming text only while the person stays within80pxof the bottom; anyone reading earlier turns is left undisturbed. Reference: console.css Reference: console.js - Growing composer: The composer expands smoothly as the person types up to
168pxheight. PressingEntersends the message;Shift+Enterinserts a new line. Reference: console.css Reference: console.js - Held page context: Each page's holon carries the context of the entity on that page, never re-introducing itself on subsequent turns. Holon rules §3.3 House note: chat direction
- Reviewed streaming over POST: Messages post to
/api/saywithAccept: text/event-stream. Replies stream only after code checks and reply checks pass, keeping unreviewed text off the screen. Reference: server.mjs Reference: flow.mjs