3 · The system at a glance
This section is the map: what the application is, as a promise, a set of actors, a domain model, a list of functions, a set of services, and the journeys the owner actually lives. Everything after it is the detail of one of these parts.
3.1 The product, in one screen
A container composition the owner starts with one model-provider API key. It opens a browser surface — the Floor — on which a complete investment firm is running: desks producing views, a challenge function attacking them, an internal market pricing them, a portfolio manager proposing a book, a risk officer objecting, a kernel refusing, a gateway executing, and a measurement system scoring all of it against nulls. The owner approves, signs, halts, asks and reads. The phone carries the decisions and nothing else.
At the top of every page, beside the risk strip, sits the one number the whole system exists to produce.
- R-FUN-001 (MUST) The scoreboard. One code-computed panel answers "is this working?" at fund,
desk, screen and variant level, containing: factor-residual return over the window with its
confidence interval; the same for the three null desks (random, momentum-copy, consensus-copy);
the benchmark; the cost ratio (annualised cost ÷ NAV); n (resolved views, decisions,
fills) and the effective n after correlation; and a state word computed from the
pre-registration (§16), never written by a model, one of:
not yet— n below the pre-registered minimum; shown asn = 41 of 250;no evidence— n sufficient, interval includes or sits below the nulls;evidence at 90%/evidence at 95%— deflated lower bound above the best null at that level. The scoreboard's state word is the first line of every weekly letter and the first thing on the Floor's home page. It may never be replaced by prose.
3.2 Actors
| Actor | Is | Can | Can never |
|---|---|---|---|
| The owner | one human, board, IC chair, risk chair, sole LP | approve, reject, halt, kill, sign the mandate, ask questions, file observations, set every setting | size a position, edit the Record, bypass the kernel, write a limit that takes effect before its cooling window |
| Employees | model instances with a seat, an id, coverage, a budget and a record | read their assembled inputs, call their class's tools, write artefacts in schema | read another seat's private state, another variant's artefacts, or the broker |
| Code seats | deterministic services (kernel, scoring, allocator, settlement, calculators) | compute, enforce, refuse | be argued with |
| The gateway | the only process holding a broker credential | send, amend, cancel, reconcile | originate an order, or act on anything without a kernel verdict |
| The second person | a named human with a freeze-only credential | halt and freeze the fund | trade, approve, or read the research |
| Counterparties | brokers, venues, data vendors, model providers | serve the fund's requests under contract | be trusted: every one has a contract record, a canary and a degraded state |
3.3 Domain model
The entities the system is made of. Each is owned by exactly one service, has a lifecycle, and has a page on the Floor.
| Entity | Owner | Lifecycle |
|---|---|---|
| Mandate row | Mandate service | proposed → signed → effective (→ superseded); loosenings cooled |
| Vision | Mandate service | drafted → signed → running → retired |
| Variant | Mandate service | created → running → paused → closed |
| Employee | Firm service | hired → probation → active → (leave) → reviewed → promoted / dismissed |
| Desk | Firm service | opened → funded → on notice → closed |
| Coverage row | Firm service | assigned → active → reassigned |
| Instrument | Security master | listed → active → (corporate action) → renamed / delisted |
| Entity (issuer) | Entity master | created → merged → dissolved |
| Investable list | Sourcing | computed per desk per day, versioned |
| Screen | Sourcing | drafted → live → scored → retired |
| Candidate | Sourcing | surfaced → triaged (researched / parked / discarded) → resolved at horizon |
| Claim | Claims service | asserted → corroborated / contradicted → superseded |
| Dataset | Data platform | proposed → built → in service → closed |
| Data source | Data platform | contracted → healthy → degraded → retired |
| View | Research | draft → validated → challenged → debated → priced → proposed / shelved → resolved → scored |
| Bear twin | Challenge | produced with its view |
| Debate | Challenge | opened → argued (both orderings) → judged |
| Bid | Idea Book | placed → priced → settled |
| Proposal | Portfolio management | drafted → risk-reviewed → compliance-reviewed → kernel verdict → approved / rejected / expired |
| Risk memo | Risk Officer | attached to a proposal |
| Kernel verdict | Kernel | issued (pass / block / conditional) with frozen inputs |
| Digest | Kernel | issued → displayed → signed → expired |
| Decision | Autonomy service | signed → executable → undone (inside the window) |
| Intent | Gateway | written ahead → sent → acknowledged |
| Order | Gateway | new → working → partially filled → filled / cancelled / rejected |
| Fill | Gateway | received → reconciled → TCA'd → lotted |
| Position | Ledger | opened → adjusted → closed; marked daily |
| Lot | Ledger | acquired → disposed (per jurisdiction's method) |
| NAV point | Ledger | computed → official |
| Halt | Kernel | armed → fired → acknowledged → cleared |
| Rung | Ladder service | gates evaluated continuously; attained / lost |
| Strategy | Lab | hypothesis → pre-registered → tested → paper → live → graveyard |
| Scored view | Scoring | computed at resolution; immutable |
| Meeting | Firm service | scheduled → agenda built → transcript → minute → actions closed |
| Situation room | Firm service | opened → pinned → closed with a post-mortem |
| Exception | Compliance | raised → owner-acknowledged → closed |
| Owner observation | Human desk | filed → structured → confirmed → used / inadmissible |
3.4 The functions
Nineteen functions. Each has inputs, outputs, an owner and a place on the Floor. Everything the fund does is one of these.
| # | Function | In | Out | Detail |
|---|---|---|---|---|
| F1 | Source — decide what to look at | investable list, screens, events, calendars, owner notes | candidates with a reason and a priority | §6 |
| F2 | Research — turn a candidate into a view | candidate, claims, filings, prices, expectations calculators | a view in schema with pillars, horizon, conviction bucket, wrong_if, edge_source | §7 |
| F3 | Challenge — attack the view | view | bear twin (cold and warm), debate transcript, judge verdict | §7.5 |
| F4 | Price — rank ideas against each other | views, seats' reputation balances | Idea Book price and rank, with bids | §10 |
| F5 | Construct — turn views into a proposed book | views, prices, current book, construction targets, risk model | proposal with post-trade landing, marginal risk contributions, orders | §11 |
| F6 | Review risk and compliance | proposal | risk memo (object / no objection), compliance line | §12 |
| F7 | Enforce | proposal, mandate, book, market state | kernel verdict with rule id, measured value, cap, frozen inputs | §12.3 |
| F8 | Decide | verdict, digest | signed decision, or rejection, or expiry | §14 |
| F9 | Execute | decision | intents, orders, fills, TCA | §13 |
| F10 | Monitor | positions, pillars, events, feeds | pillar checks, thesis challenges, halts, situation rooms | §12.4 |
| F11 | Score | resolved views, fills, decisions, bids | scored views, calibration mappings, settlements, attribution | §15 |
| F12 | Allocate | records with intervals | lines per desk, strategy and employee; headcount proposals | §11.5 |
| F13 | Review and audit | everything | weekly / monthly / quarterly reviews, tripwires, control statement, the letter | §15.7 |
| F14 | Discover | surprise packets, literature-free generators | pre-registered hypotheses, tests, strategies, graveyard entries | §17 |
| F15 | Build data | primary sources | datasets with contracts, gold sets, vintages and licences | §18 |
| F16 | Take the owner's input | notes, answers, approvals, settings | claims, views, decisions, mandate rows | §20 |
| F17 | Run the tournament | variants' records | the tournament table, kills, the live vision recommendation | §21 |
| F18 | Operate | system state | reconciliation, NAV, corporate actions, backups, upgrades, health | §26 |
| F19 | Show | the Record | the Floor, the phone, the notifications, the search, the scrubber | §22 |
3.5 Services
One page of architecture. Each service owns its entities, exposes a typed interface, and is replaceable without touching the others. Detail in §24.
| Service | Owns | Invariant |
|---|---|---|
| Record store | the append-only event log and its projections | append-only, hash-chained, content-addressed; nothing is updated in place |
| Mandate | mandate rows, visions, signatures, amendment history | no setting exists anywhere else; loosenings obey cooling windows |
| Firm | employees, desks, coverage, meetings, situation rooms | an employee id is stable across model swaps |
| Scheduler | wakes, cadences, the market calendar, job state | one clock abstraction; idempotent wakes; event coalescing |
| Assembler | input manifests per wake | a seat receives exactly what the manifest says, assembled by code |
| Model adapter | provider calls, routing, caching, budgets | stateless, provider-agnostic, every call costed and recorded |
| Claims | claims, reliability records, contradictions | query by entity and as_of; first_available_at honoured; contradictions surfaced, never averaged |
| Data platform | bitemporal rows, sources, datasets, gold sets, licences | no row without a vintage; no source without a canary |
| Security master / Entity master | instruments, identifiers, corporate actions, issuers | one identifier space; a symbol change never silently rewrites history |
| Sourcing | investable lists, screens, candidates, triage | every candidate has a record, including the discarded |
| Expectations | reverse DCF, implied move, consensus, reaction history, borrow, positioning | code only; each output cites its inputs |
| Research pipeline | views, twins, debates, validation | schema and citation validation before anything downstream |
| Idea Book | bids, prices, balances, settlements | settlement by code against factor-residual outcomes |
| Risk engine | exposures, factor model, stress, liquidity ladder, marginal contributions | diagnostic model separate from the kernel's limits |
| Kernel | limits, grades, verdicts, halts | the only authority that permits an order; verdicts carry frozen inputs |
| Signing | digests, nonces, signatures, undo windows | displayed bytes = signed bytes |
| Gateway | intents, orders, fills, the broker credential | write-ahead intents; deterministic client order ids; no origination |
| Paper engine | the fund's own fill model | identical interface to the gateway; costs never optimistic |
| Ledger | positions, lots, cash, NAV, corporate actions | broker is authority for holdings; breaks are classified, never absorbed |
| Scoring | scored views, calibration, attribution, nulls, shadow books | code only; no model input |
| Allocator | lines, capital ladder, headcount proposals | moves by rule inside bounds |
| Lab | hypotheses, tests, lockbox, graveyard, trial ledger | pre-registration before test; the holdout is held by the engine |
| Committee runner | agendas, transcripts, minutes, actions | agenda built by code, risk first |
| Human desk | intake, observations, questions, the owner's record | observation and opinion separated at intake |
| Finance | cost ledger per employee, budgets, caps | every model call attributed |
| Notification | channels, windows, escalation | two independent channels for halt and kill |
| Floor | view definitions, projections, search, the scrubber | read-only over the Record; a view is a definition, not a page |
| Watchdog | heartbeat, chain anchoring, manifest verification, kill flag | fails closed; lives outside the fund's own fate |
| Ladder | rungs and gates | gates are code-checked facts |
3.6 State machines
Each is implemented once, as code, with property tests; no component re-implements a transition in prose. The full set: candidate (surfaced → researched / parked / discarded → resolved); view (draft → validated → challenged → debated → priced → proposed / shelved → resolved → scored); Idea Book row (open → priced → settled); proposal → order (drafted → risk → compliance → verdict → decision → intent → order → fill → reconciled → lotted); position (opened → adjusted → challenged → closed); employee (hired → probation → active → leave → reviewed → promoted / dismissed); desk and screen (opened → funded → on notice → closed); strategy (hypothesis → pre-registered → tested → paper → live → graveyard); halt (armed → fired → acknowledged → cleared); rung (gates → attained → lost); situation room (opened → pinned → closed); mode (Propose → Approve → Bounded → Auto, per strategy, both directions).
3.7 Non-functional requirements
| Property | Requirement | How it is checked |
|---|---|---|
| Durability | RPO 0 for decision → fill events; RTO 4 hours for the whole fund | quarterly restore drill on a fresh host |
| Reproducibility | any wake replayable from its manifest; replay re-reads, never re-runs, the model | replay drill on a sampled wake each month |
| Idempotency | zero duplicate orders across injected crashes | 200 crash injections in the gateway harness |
| Latency | risk strip ≤ 2s; any Floor view ≤ 3s at p95; halt to effect ≤ 30s measured | continuous, on the Ops view |
| Integrity | hash chain unbroken; manifests verified at load; anchor external | watchdog, continuously |
| Isolation | no cross-seat and no cross-variant read | monthly canary artefacts |
| Cost | every call attributed; hourly, per-run and monthly caps | Finance service, circuit breaker |
| Understandability | owner reads a component cold and changes one rule in < 30 min | measured in the spikes and re-measured yearly |
| Availability | research may degrade; risk monitoring and maintenance orders may not | the degraded states are explicit, never silent |
3.8 The owner's journeys
Setup. The owner runs one command and pastes one model key in the browser. The Floor opens
on a running rehearsal firm: all universes on paper, the default mandate, three starter visions, and
desks waking on the calendar. A guided tour walks through it on live content. The owner has decided
nothing yet, and the firm is already working. Outcomes are sealed. The state word reads
not yet: not pre-registered (§26.2).
The founding, at the owner's pace. One step at a time, the owner answers what only an owner can answer: signing devices, jurisdiction, capital and appetite, universes, a second model provider, data, channels, visions. Every screen says what the answer will do, in the owner's currency. Any answer may be "I don't know yet". Nothing expires and nothing nags. Meanwhile the rehearsal runs, or sits paused, and teaches the owner what a view, a debate and a kernel refusal look like. The founding may take an afternoon or a season. It ends only when the owner signs the pre-registration.
- R-FUN-030 (MUST) The legacy book. At any point, the owner may import existing holdings as a
read-only legacy book. Every legacy position is re-underwritten by the covering desk and appears as
a Propose row (hold / trim / exit) with a view attached. The legacy book:
- is marked as not the fund's record;
- is excluded from the scoreboard until it is re-underwritten;
- is the fourth counterfactual on the Portfolio view (fund / system-only / benchmark / legacy).
The signature. The pre-registration is signed. The record begins, every fund clock starts
(R-DEP-014), and cooling starts to apply to loosening. The scoreboard reads not yet: n = 0 of 250.
Rehearsal outcomes may now be opened, labelled, and they never count.
The first weeks of record. The morning meeting has a page at 07:30. Bear twins and debates run on every view, the Idea Book prices ideas, and the PM proposes a paper book, which the kernel partly refuses with reasons. The owner reads the first weekly letter, whose first line is the state word. Screens are scored and some are retired. A desk goes on notice. The first game day runs, and the ladder's L2 gates go green one at a time.
Month 6 of record. The pre-registration's first review. The calibration layer has enough resolutions to speak; the view layer does not yet. The tournament's burn rule applies or does not. The owner reads a continue / pivot / stop recommendation that names the layer it rests on.
The first live slice. A universe passes its gate; the owner signs its slice and maximum loss; the broker credential is injected; the first real fill arrives and the TCA compares it with the fund's own paper assumption.
A halt day. A data canary breaks at 09:12. The data halt fires; alpha orders stop; maintenance
orders continue; the phone shows one line with what broke, what is frozen and what is unaffected.
The owner clears it after the source is healthy, and the clearing is an event.
An override. The owner rejects a proposal the system produced, or approves one the Risk Officer objected to. Both are recorded on the owner's own record; the counterfactual runs; the quarterly owner reliability table shows whether the overrides helped.
Incapacity. The two-channel timer expires. The fund moves to the slow safe book, stops originating alpha orders, and notifies the second person, who can freeze but not trade.
Quarterly. Performance reviews for every employee in one format; the tournament review with intervals and the layer named; the control statement; the owner's own reliability table; the letter.
3.9 What each promise rests on
| Promise | Where it is made real |
|---|---|
| Hedge fund in a box | §26 deployment, §3.8 journeys, §19 connectors |
| A firm, not a pipeline | §4 |
| Full workings to beat the market | §6 sourcing → §7 research → §10 pricing → §11 construction → §13 execution → §15 measurement |
| A superb control surface | §22 |
| Risk management first | §12, P11 |
| An honest answer | §15 and §16 |
| One person can hold it | §3, §22, §24, and the 30-minute test throughout |