DecidrHolon Design Kit

Resources

Checklist

Every review guideline as a yes or no check, to work through before a holon is shown to anyone.

Work through every line before a holon is shown to anyone. Each line links to its guideline, where the rule and its source are set out. This page is made from the review guidelines when the kit is built, so the two never drift apart. This kit: review-guidelines

1. Purpose and structure

No.GuidelineCheck
1.1One holon per entity per organisationDoes the schema enforce a unique constraint per (entity, owning organisation), and does an attempt to register a second holon fail cleanly?
1.2Single line of inheritance from the base Holon typeDoes the holon type declare its parent in the inheritance chain and inherit all nine base attribute sets without duplicating or omitting base contracts?
1.3Assembled payload, never hand-authoredIs every section of the holon's runtime payload produced by an automated assembler reading schema attribute sets rather than static hand-edited prompt text?
1.4One primary purpose from the twelve canonical purpose typesDoes the entity type declare exactly one primary purpose from the twelve canonical types, and do its goals roll up to serve its parent?
1.5Teleology resolves upward to the organisation within eight stepsDoes every non-root goal resolve cleanly to the organisation's top goal in eight steps or fewer, with zero orphan goals and all sum roll-ups fitting inside their parent range?
1.6Five-level BusinessOS holarchy and goal attachmentDoes the holon sit at one canonical level in the five-level hierarchy, and are goals and metrics absent from Task and Job levels?
1.7Plain-language education on every holon typeDoes the holon type definition contain a non-empty, plain-language education statement of one or two sentences suitable for people?

2. Flow

No.GuidelineCheck
2.1Deterministic container around probabilistic slotsDoes deterministic code control every transition, lock, and exit gate in the flow, with zero unguarded model outputs reaching the interface or store?
2.2Seven-stage message flow in fixed orderDo trace logs confirm all seven stages execute in exact order and that blocked or screened-out messages never reach the reply stage?
2.3Task types composed from verb-tense action typesDoes every task type define one atomic output cell, chain canonical intake, deliberation, and commitment action types, and name its task and emitted event using the verb-tense triad?
2.4Generic to context shape, never hardcoded to a tenantCan the same flow definition run unchanged against a second organisation that supplies the same entity and goal shape?
2.5Zero model tokens for deterministic maths and lookupsDo all code_only steps, counts, roll-ups, and filters record zero model calls and zero model spend?
2.6Every question terminates in an explicit answerDoes every question step offer Not applicable and an Other path where applicable, and does period-end processing close unanswered human tasks as incomplete?
2.7Structured single-shot output and immutable event storageDoes every completed run produce schema-validated JSON and append-only step events, and does inspecting the store confirm withheld message text is never saved?

3. Safety and privacy

No.GuidelineCheck
3.1Screen and normalise input in code before any model callDo unit tests confirm that non-ASCII digits, zero-width characters, wellbeing phrases, secret codes, and prompt-inspection probes stop in screen() with zero calls to the decisions service or reply model?
3.2Redact contact details and numbers before models and across turnsDo red-team tests confirm that raw phones, emails, tax file numbers, obfuscated contact strings, and numbers split across multiple turns never reach the model or survive in session history?
3.3Checks and reply reviews fail closedWhen the decisions service is simulated to fail or refuse on either the message battery or reply battery, does the holon return a fixed line without invoking the reply model or releasing unreviewed output?
3.4Stream replies only after passing code and review checksIs reviewed streaming mode the default in production configuration, and does a canary leak or failed reply check replace the reply before any delta reaches the client?
3.5Enforce input, body, and reply length capsDoes sending a 501-character message return the fixed length line with zero model calls, does a 5 KB payload return 413, and does finish() trim any longer model output to two sentences and 60 words?
3.6Load secrets via key files and keep internal assets out of public pathsAre all keys loaded solely from 0600 files via *_KEY_FILE, and does inspecting public/ and client responses show zero internal schemas, diagnostics, or raw record IDs?
3.7Block prohibited domains before any request and allowlist outbound linksDoes the fetch layer reject .ru, .su, and .рф URLs before opening a socket, and does finish() strip any link outside allowedHosts?
3.8Tail-Light context minimisation and aggregate anonymity floorDoes every vendor-facing or filler task payload contain only its declared input attributes, and do group views with fewer than 100 members suppress aggregate numbers?

4. Authority

No.GuidelineCheck
4.1Asks only from its closed question bank, always with OtherDoes every question surfaced by the holon resolve to a closed-bank entry, and does every option set end with an Other choice?
4.2A holon never approvesDoes the holon's output contract offer no approve action, and does every approval in the flow go to a person?
4.3Hands off anything outside its purposeWhen given an out-of-scope request, does the holon decline to execute it and route to the exact target declared in its handoff map?
4.4Restricted to the five canonical actionsDoes the JSON schema for the holon's output contract enumerate strictly those five actions and reject any other value?
4.5Acts only on orange, red, grey, or unknownWhen all goals are green and zero required fields are unknown, does the holon emit none without invoking discretionary reasoning?
4.6Unknowns are never guessed and self-reported attributes are never auto-filledDoes a missing required attribute appear under unknowns with its bank question rather than a guessed value, and does the filler leave every self_reported attribute unfilled?
4.7Remembers only its own goal periodsDoes the payload assembler fetch memory strictly within the holon's own goal periods and cap future cells at the configured rolling horizon?

5. Design

No.GuidelineCheck
5.1Show the level glyph wherever a holon is namedDoes every UI element that names or opens a holon render the SVG glyph matching holon.level, including beside any vendor brand mark?
5.2No five-dot depth marker and glass envelope parkedAre five-dot markers, dot-row step indicators, and the glass envelope completely absent from the DOM and stylesheets?
5.3Traffic lights for goals only; neutral "your marker" for peopleDo green, orange, and red dots or bars appear exclusively on goal result ranges, with neutral ink or icons on tasks, artefacts, and people?
5.4Restrained surfaces: zero edge stripes, glows, accordions, modals, or mobile bottom barsDoes no-stripes.mjs pass, are accordions, edge stripes, glows, modals, animated seals, and mobile bottom bars absent, and do purple text tokens meet AA contrast?
5.5Calm Chat layout and mobile composer safetyAre assistant messages unboxed, person messages styled #EEE8FF at 14px radius, starter chips tap-to-send, email gates absent, and the mobile input at least 16px without mount focus?
5.6One holon per page and Goal composition placementDoes every page contain at most one holon pane, and is Goal composition absent from the Organisation home page and present only on Function and Process Performance tabs?
5.7Two-column task layout, reasoning box, and App-layer chromeDoes every logical-reasoning task show context left, target control right, and a companion reasoning text box, and do BusinessOS pages use light App-layer chrome?
5.8Value, not chart, and explicit data provenance labelsAre single values rendered without charts, multi-value charts using the brand accent first with real-minimum axes, value provenance labels present, and all ordinal scales 1-based?
5.9Navigation scoping, anonymous menu hiding, and no dead controlsAre ··· menus hidden when signed out, is Feed member-scoped, do Task Types display their filler's logo, and do all active links resolve with zero broken routes?

6. Copy and voice

No.GuidelineCheck
6.1Canonical vocabulary and hard word bansDoes the automated vocabulary linter pass with zero banned terms, zero retired OS names, and zero certainty values above 99%?
6.2No anthropomorphism or display-home metaphorsDoes scanning rendered text confirm zero human names on holons, zero anthropomorphic role titles, and zero display-home words?
6.3No literal rule copy or internal notes on screenAre all visible headings, captions, subtitles, and card bodies free of internal rule prose and free-text developer note fields?
6.4No personal names, tool names, model names, internal IDs, or confidence scoresDoes the output leak scanner confirm zero staff names, vendor or model names, raw internal IDs, confidence percentages, evaluation scores, or non-public competitors on screen?
6.5Concise replies of one to two sentencesDo sample visitor turns, including greetings and off-topic questions, produce plain one-to-two-sentence replies under 60 words with warm small-talk handling?
6.6Verified real examples, story-first product pages, and honest roadmap statusAre all public examples grounded in verified organisations or neutral placeholders, with story before brand on product pages and roadmap items marked Coming soon?
6.7Australian English, zero emoji, and zero dashesDoes the HTML declare lang="en-AU", and does a character and spelling scan confirm Australian English with zero emoji and zero em or en dashes?

7. Data and schema

No.GuidelineCheck
7.1Reference attributes store linked entity IDs, never naked textDo database checks return zero value_text rows on single_link or multi_link attributes, and do all linked targets match their attribute's declared target_type_id?
7.2One atomic cell per value, period-scoped and semantically distinctDoes every stored row populate exactly one slot matching its attribute_type, carry a period stamp, and keep distinct semantic fields in separate attributes?
7.3Append-only events, supersession history, and immutable snapshotsAre mutations append-only with supersession history scoped to the single cell produced by a task, do issued artefacts hold frozen snapshots, and does zero code run unguarded DELETE against referenced entities?
7.4Full provenance, deterministic IDs, and read-only archive sourcesAre entity IDs reproducible from UUIDv5, is every folded entity mapped in alpha.source_map, and do all archive source stores show zero changes?
7.5Reuse canonical types and never invent types outside the storeWas a cross-project lookup run before introducing any new type or attribute, are all table names singular, and are missing store types declared in schema.notInStore rather than invented silently?
7.6Formal attribute-only views, immutability once live, and single org primitiveAre all group predicates pure attribute filters, are installed views immutable in place, and do all organisation categories resolve as views over the single org type?
7.7Hybrid SQL guarantees, valid value-type roll-ups, and clean data separationDo hybrid SQL tables satisfy all three kernel-alignment guarantees, does the store reject invalid scale aggregations, and are simulated snapshots isolated and clearly flagged from verified facts?

8. Commerce and operations

No.GuidelineCheck
8.1Price task types as Product and Variant in whole cents, never a bare priceDoes validateTaskTypes() pass at startup, does every priced surface display Product, Variant, and unit price in dollars and cents, and do failed steps bill zero cents?
8.2Never discount, fund outputs only, and enforce flat legal feesAre list prices undiscounted, budgets tied strictly to output metrics, legal-service fees flat, and buyer data isolated from vendor prompt IP?
8.3Persistent spend meter with worst-case holds, daily budget, and PAUSE switchDoes removing an existing ledger file stop startup, does creating PAUSE halt the next model call inside an active flow, and does exhausting the daily budget return the resting line without calling any model?
8.4Rate limits, concurrency caps, and disconnect abortDo limit tests verify 429 and 503 responses at each threshold, and does closing a client connection mid-flow stop subsequent model calls?
8.5Key-link gate, strict security headers, and POST event streamsDoes an unauthenticated request return 404 on every route, does a valid key link emit a relative 303 with an HttpOnly signed cookie, does /api/explore return 409 in public mode, and does streaming run over POST?
8.6Split public edge and internal loopback listenersDo internal inspector and raw-cost endpoints return 404 on the public edge port and 200 on the loopback internal port?
8.7Local-only deployment default, host neutrality, and single-domain publishingDoes the deployment run locally with zero unapproved hosted pushes, zero @decidr.ai email gates, and host-neutral runtime configuration?
8.8Deterministic verification gates and two-party production reviewDo deterministic tests, smoke checks, dual-port checks, and stripe checks all pass with commit and server evidence logged and independent review recorded?