DecidrHolon Design Kit

Components

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

Function holon
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

  1. 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 form Answers for [Organisation]. Keep the header to one row so the thread keeps vertical space. House note: chat direction Ruling 22 Wireframe review C1
  2. 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
  3. 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
  4. Tap-to-send starters (hx-starters): At most three short prompt chips (plus an optional More chip) that submit on tap and hide once a message is sent. House note: chat direction Holon rules §3.3
  5. Composer (hx-composer): A single-row input set at 16px or larger paired with a primary Send button (8px radius). Ruling 25 Reference: console.css

Best practices

States

StateWhat the person seesRule
ReadyHeader, 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
WaitingThe 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
StreamingOnce 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 fixedIf 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 cappedA calm fixed resting reply appears; no further model calls run.Enforced server-side before reserving spend. Reference: server.mjs Reference: flow.mjs
Do

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>
Don’t

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: auto so short threads rest at the bottom of the pane. Auto-scrolling follows incoming text only while the person stays within 80px of 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 168px height. Pressing Enter sends the message; Shift+Enter inserts 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/say with Accept: 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