DecidrHolon Design Kit

Components

Console

The 50/50 split console pairing live flow activity, metrics, rules, and prices on the left with the holon pane on the right.

The console lets a person watch a holon work while talking to it. On desktop it splits the viewport 50/50 beneath the top app bar: everything flowing through sits on the left, and the holon with its chat sits on the right. Reference: console.html Reference: console.css Wireframe review C1

Tasks run
12
Checks
10
With a person
1
Billed today
$0.07
Message
1.8 s · $0.07
How do you charge for advisory?
Classify a message · Standard · $0.01 Prepare a reply · Reviewed · $0.05 Check a reply · Standard · $0.01
Organisation holon
EFS
Organisation holon · Answers for EFS
How do you charge for advisory?
EFS agrees fixed fees upfront before work begins. Our team can walk through options in a free first meeting.
HTML
<div class="hx-console">
  <div class="hx-stack">
    <div class="hx-row">
      <div class="hx-card hx-stack">
        <div class="hx-small hx-muted">Tasks run</div>
        <div class="hx-value">12</div>
      </div>
      <div class="hx-card hx-stack">
        <div class="hx-small hx-muted">Checks</div>
        <div class="hx-value">10</div>
      </div>
      <div class="hx-card hx-stack">
        <div class="hx-small hx-muted">With a person</div>
        <div class="hx-value">1</div>
      </div>
      <div class="hx-card hx-stack">
        <div class="hx-small hx-muted">Billed today</div>
        <div class="hx-value">$0.07</div>
      </div>
    </div>
    <div class="hx-card hx-stack">
      <div class="hx-spread">
        <div class="hx-title">Message</div>
        <div class="hx-small hx-muted">1.8 s · $0.07</div>
      </div>
      <div class="hx-small hx-muted">How do you charge for advisory?</div>
      <div class="hx-steps">
        <span class="hx-small">Classify a message · Standard · $0.01</span>
        <span class="hx-small">Prepare a reply · Reviewed · $0.05</span>
        <span class="hx-small">Check a reply · Standard · $0.01</span>
      </div>
    </div>
  </div>
  <div class="hx-pane hx-stack">
    <div class="hx-pane-head">
      <img class="hx-glyph" src="assets/glyphs/organisation.svg" alt="Organisation holon">
      <div class="hx-stack">
        <div class="hx-title">EFS</div>
        <div class="hx-small hx-muted">Organisation holon · Answers for EFS</div>
      </div>
    </div>
    <div class="hx-thread">
      <div class="hx-msg-person">How do you charge for advisory?</div>
      <div class="hx-msg-holon">EFS agrees fixed fees upfront before work begins. Our team can walk through options in a free first meeting.</div>
    </div>
    <div class="hx-composer">
      <input type="text" placeholder="Ask anything" aria-label="Message">
      <button type="button" class="hx-btn hx-btn-primary">Send</button>
    </div>
  </div>
</div>

Anatomy

  1. Top app bar: Full-width 56px bar carrying the Decidr mark and the location breadcrumb (Holons / EFS, or EFS / Delivery on a function console). Reference: console.html Reference: console.css Wireframe review C1
  2. Metric strip (left, top): Four single-value cards (Tasks run, Checks, With a person, Billed today) rendered as large values rather than charts. Reference: console.html House note: value not chart visual grammar
  3. Rules grid (left, middle): Two-column cards displaying the formal rules governing this holon (such as Personal advice goes to an adviser with its threshold and applied count). Each card highlights briefly in #EEE8FF when triggered. Reference: console.css Reference: console.js Reference: flow.mjs
  4. Run stream (left, bottom): Newest-first cards under Flowing through. Each run lists its title, timestamp, elapsed time, total billed price, screened message quote (or withheld reason), and step-by-step trace showing task type, variant, detail, and price. Reference: console.js Reference: flow.mjs
  5. Holon pane (right): The level glyph, name, level line, secondary actions (such as Run profile checks), purpose sentence, bottom-anchored chat thread, starters, and composer. Reference: console.html Reference: console.css

Best practices

Viewport layouts

BreakpointColumn layoutPane order and height
Desktop (> 1000px)50/50 two-column grid (1fr 1fr), fixed to calc(100vh - 56px).Left: flowing through (overflow-y: auto). Right: holon pane with 1px left divider. Reference: console.css
Tablet (<= 1000px)Single column (minmax(0, 1fr)), natural page height.Holon pane moves first (order: -1) and fills calc(100dvh - 56px); flowing through sits below with overflow: visible. Reference: console.css
Phone (<= 640px)Single column with 16px side padding.Header actions wrap full width, purpose line hides to preserve thread space, and message bubbles widen to 86%. Reference: console.css
Do

Show billed variant prices only on a public console. Visitors see clear whole-cent totals (Billed today) and step prices without internal spend telemetry.

Tasks run
12
Billed today
$0.07
HTML
<div class="hx-row">
  <div class="hx-card hx-stack">
    <div class="hx-small hx-muted">Tasks run</div>
    <div class="hx-value">12</div>
  </div>
  <div class="hx-card hx-stack">
    <div class="hx-small hx-muted">Billed today</div>
    <div class="hx-value">$0.07</div>
  </div>
</div>
Don’t

Never expose raw model cost or internal spend toggles on a public port. Raw provider spend belongs on the internal loopback port only.

Billed today
$0.07
Raw cost today
<$0.01
HTML
<div class="hx-row">
  <div class="hx-card hx-stack">
    <div class="hx-small hx-muted">Billed today</div>
    <div class="hx-value">$0.07</div>
  </div>
  <div class="hx-card hx-stack">
    <div class="hx-small hx-muted">Raw cost today</div>
    <div class="hx-value">&lt;$0.01</div>
  </div>
</div>

Behaviour

  • Boot and resync via GET /api/state: On load and after every completed run, the page fetches /api/state, which returns profile, rules, metrics, the last 30 runs, exploreOn, talkOn, public taskTypes names and variant prices, public, and paused. This guarantees recovery after a reload or dropped stream. Reference: server.mjs Reference: flow.mjs Reference: console.js
  • Live step updates over POST SSE: Submitting a message or clicking Run profile checks posts with Accept: text/event-stream and streams run.start, run.step, run.quote, reply.delta, reply.done, run.done, and metrics events into both halves at once. Reference: console.js Reference: server.mjs
  • Idempotent rule counting: Because a run may arrive via the live stream and again on resync, each (runId, ruleId) pair increments its rule card at most once. Reference: console.js