# RCK-1 — the robo's six pre-registered checks have two fail-open seams: a halted day is scored as a flawless one (permanently), and a blank yardstick is invisible on every surface

status: open · raised panel run 51 (2026-11-23) · class: **G5 registration
hygiene (leg A) + P0-class loudness in the watching layer (leg B)** ·
judgement: **YES** · effort **~0.4 pd**, observability tier,
steward-mergeable (leg A's pin is a dated append to the spec, not a value
change) · horizon: the checks are read at session 126 (**~2027-05-19**); leg A
gets *harder to do honestly* every session, so its window is now

---

**Plain-language summary.** The robo sleeve is the index-fund portfolio that
went live on 2026-11-16. Because it claims no edge, the only way to tell
whether it is working is six tests that were written down on 2026-11-13,
before it ever traded — does it stay close to its own target mix, does each
fund stay inside its band, does it leave cash idle, does it trade too much,
does it break the tax wash-sale rule, does it halt. Two of those six can
report "pass" when the honest answer is "fail" or "we cannot tell".

1. On a day the robot **halts itself** (it refuses to trade when the broker's
   numbers do not reconcile, or when the account has moved too far), it still
   writes a record of the day — but that record contains none of the
   measurements. The scoring code reads a missing measurement as the *good*
   value. So a halted day counts as a day everything was in band, cash was
   0%, and nothing traded. Worse, those day-records are **append-only**: the
   mis-scoring is not a glitch that clears tomorrow, it is baked into every
   future reading.
2. The comparison against its own mix is built from a file the robot refreshes
   each morning from the broker. If the broker's price feed declines — which
   the code explicitly expects and swallows — the file is rewritten **empty**,
   and nothing anywhere goes red. The owner's email silently drops the
   comparison line, the website shows the same layout as a healthy day, and
   four of the six checks read "pending". The file does heal itself the next
   time the feed works; what does not heal is that nobody was told.

Neither leg touches trading. Nothing is mis-sized, mis-ordered or lost. What
is at stake is whether the scorecard that is the sleeve's *entire* reason for
existing can be believed at session 126.

## Scope — read this before anything else

**This row is NOT about the robo's returns**, the mix it holds, or whether an
index fund was a good idea. Those are owner decisions, already pinned
(`research/2026-11-13_robo_sleeve_spec.md`), and judged against the sleeve's
own mix and never against SPY. This row touches only the **evaluator**.

**Leg A is deliberately filed as a pre-registration clarification, not a bug
fix.** There have been **zero halts** on this sleeve so far. Deciding today how
a halted day scores costs nothing and can be done honestly. Deciding it after
the first halt — when it is known whether the halt helps or hurts the
scorecard — is gate-shopping, and `NORTHSTAR.md` C0 forbids it. That asymmetry
is the whole reason this is urgent at a 2027 clock.

## What is true (verified at HEAD `005d7ef`; every claim with its command)

### Leg A — a halted run is kept, and its absent fields score as passing

`src/thales/execution/robo_daily.py:170-186` — `_halt_run` is called with
`dec=None` from two sites, `reconcile-HALT` (`:324`) and `equity-HALT`
(`:326`). The summary it writes therefore carries no `out_of_band`, no
`idle_cash_pct`, no `class_weights`, no `turnover`.

`src/thales/execution/robo_checks.py:149-152` — `_trading_runs` excludes only
`action in ("market-closed", None)`, so a halt summary is **kept** as a
trading run.

All three run-derived checks then read an absent field as the passing value:

```python
:206   c.name in (r.get("out_of_band") or [])        # absent -> "in band"
:219   float(r.get("idle_cash_pct") or 0.0)          # absent -> 0.00%
:230   (r.get("turnover") or {}).get("rebalance") or 0.0   # absent -> no trading
```

**Reproduced from the pure function** (five run summaries in the on-disk
grammar, real `config/robo.yaml`, no broker):

```
TRUTH    (5-session us_stocks breach) : fail · longest streak 5 run(s) over 5 runs
WITH one reconcile-HALT mid-breach    : pass · longest streak 2 run(s) over 5 runs
idle cash with the same halt          : pass · average 0.00% over 5 runs
```

The band cap is 2 consecutive runs, so **one halted day inside a five-session
breach flips the bands check from fail to pass** — the check that measures
whether the policy rule is doing its job, on a day the rule provably did
nothing.

**The contamination is permanent, which is what makes this a row.**
`src/thales/execution/state.py:197` `log_run` appends via `_append_jsonl`, and
`read_run_summaries` only filters `type == "run_summary"`. Nothing regenerates
or supersedes a run summary. So the flattered streak is re-read at every
future evaluation, including the session-126 read.

**Mitigation, stated honestly and not hidden:** the same halt reds check 6
(`1 endogenous, 0 external`), and check 6 is cumulative over all history, so
the halt is never *invisible* — a reader who looks at all six sees the pair.
Both `dec=None` reasons also classify endogenous under
`go_live.EXOGENOUS_HALT_MARKERS`, which is fail-conservative and correct. The
defect is narrower than "the scorecard goes green": it is that **a specific
pre-registered criterion prints PASS on a real breach, for ever.**

### Leg B — a blank or frozen yardstick is indistinguishable from a healthy one

`src/thales/execution/robo_checks.py:91` — `update_yardstick` writes the file
**unconditionally**. There is no comparison against the document already on
disk and no floor on `len(rows)`.

`src/thales/execution/alpaca_broker.py:464-507` — `get_daily_closes` documents
its own failure mode as *"Fail-soft: `{}` on any error"* and **returns rather
than raises** after both SIP and IEX are refused. So the `continue-on-error` /
`soft=True` wrapping of the step
(`.github/workflows/paper-trading-robo.yml:151-157`,
`scripts/win/session.py:337-338`) never fires — there is no error to catch.

With `closes == {}`, every row hits `continue` at `:77-78` and the document
becomes `rows: []`, `base_date: null`, with a **fresh `generated_at`**.

**Reproduced** (`evaluate_policy_checks` against a blanked document with five
real runs): **`4 pass · 2 pending`**, fidelity reading *"no closes yet"*.

What reaches a human:
- `digest_exceptions` fires only on `status == "fail"`
  (`fleet_digest.py:1904-1906`) — `pending` is not a fail, so **nothing reds**;
- `_policy_yardstick_text` returns `None`, so the comparison line **silently
  vanishes** from the owner's email rather than saying anything;
- `yardstick_series` does not carry `generated_at` at all, so the **only**
  freshness signal that reaches the published surface is `last_date` — which
  is computed (`robo_checks.py:135`), published
  (`web/public/data/robo.json` → `/policy/yardstick/last_date` = `2026-11-20`)
  and declared in the TS interface (`web/lib/types.ts:136`) — and **rendered by
  nobody**: `cli.py:880-884`, `fleet_digest.py:1232-1241` and
  `web/app/sleeves/[sleeve]/page.tsx:163-186` all show `base_date` only.
  (`web/`'s other `last_date` hits are `stats.last_date`, a different field.)

**This leg self-heals and is NOT a data-loss finding.** `robo_checks.py:63`
takes `start` from `config["execution"]["live_start_date"]`, not from the file,
and rebuilds every row from broker truth each run. The honest claim is
therefore: *while the close feed is down, every human-facing surface looks
exactly like a healthy day and nothing reds.* It was proposed as "erases the
whole comparison record"; that framing is wrong and is recorded here as
corrected so no future panel repeats it.

**Folded in from the killed `pol-0`:** `public_export.gather_sleeve_public:290-296`
catches every exception from `_policy_block`, sets `policy = None` and logs a
warning, after which the robo's public page falls through to the generic
account tiles (`page.tsx:327`) while its narrative (`page.tsx:27`) still tells
the reader it "is judged only on whether it does its own job". No visible
"scorecard unavailable" state. This was dismissed as a standalone row (no
demonstrated trigger; `gather_policy_checks` reads only committed local files,
so CI and production share inputs) and survives only as the same
"absent reads as fine" shape leg B fixes.

## Mechanism — why it would pay, and who is on the other side

No market mechanism; this is apparatus. The counterparty is **our own future
reader at session 126**, who will be handed six pass/fail verdicts and no way
to tell which were earned. `NORTHSTAR.md` §1 names TRUST as "the only asset
here that is expensive to build, trivial to destroy, and impossible to buy
back at any price", and §3's G5 gauge measures "% of consequential decisions
whose criterion pre-dates the data". Leg A is a criterion that does not yet
cover a case the system can produce; leg B is a silent failure in the
watching layer, the P0 class that cost this shop seven weeks.

## Data plan

None. No new data, no fetch, no PiT question, nothing priced. Every input is
already committed: `data/state/robo/robo_state.json`,
`data/state/robo/yardstick.json`, the run-summary JSONL, and
`config/robo.yaml`'s keystone-pinned `policy_checks:`.

## Test design — how each leg gets falsified on this apparatus

**Leg A.** A dated append to `research/2026-11-13_robo_sleeve_spec.md` §4/§12
stating how a halted session scores, then the code to match. The honest
default, stated so it can be argued with: **a halted run is neither a pass nor
a breach — it is excluded from the three run-derived checks and counted in its
own line**, because the rule did not act, and a day the rule did not act is
evidence about neither the rule's bands nor its turnover. Exclusion must be
*explicit*, not the current accident of absent-reads-as-good, and the excluded
count must be printed beside each check so exclusions can never be silent.
Negative control, mandatory in the PR: the five-run fixture above — with the
halt, `bands` must read `fail` (or `inconclusive, 1 run excluded`), never
`pass · streak 2`.

**Leg B.** Two parts. (i) A don't-shrink guard on the write: refuse to replace
a yardstick holding N rows with one holding fewer unless the span itself
shrank, and make the step fail loudly rather than soft. (ii) Render freshness:
surface `last_date` (or `generated_at`) in the CLI, the digest line and the
site tile, and raise a **digest exception** when the yardstick's last date
trails the last trading day by more than one session. Negative control: blank
`yardstick.json`, run the digest, and require a red; restore it and require
green.

## Pre-registered kill criterion

This row dies if **either**:

- **(a)** the spec gains a dated, countersigned statement of how a halted
  session scores **AND** `robo_checks.py` implements it **AND** the five-run
  negative control above reds — **AND** a blanked `yardstick.json` produces a
  digest exception with a rendered freshness date, demonstrated in the PR; or
- **(b)** the owner rules that the six checks are advisory only and will not be
  read as pass/fail at session 126 — in which case that ruling is written into
  `research/2026-11-13_robo_sleeve_spec.md` §4 in the same edit, and the digest
  stops printing them as `N pass · M pending`.

**Not a kill:** that no halt has happened yet. That is the argument for doing
it now, not for deferring it — and once a halt exists, (a) cannot be satisfied
honestly.

## Effort / horizon / rank

~0.4 pd total (leg A ~0.15, leg B ~0.25). Observability tier; no trading-path
code, no config *values*, no pinned threshold moved. Leg A's spec append is
a pre-registration and so belongs on the queue road rather than the steward's
own tier; leg B alone would have been steward work.

**Rank: 6th of the 13 now open.** Below the four December-dated rows (`fin-3`,
`dlv-1`, `gtr-1`, `plb-1`), below the newly-filed `ecw-1` (30-day window) and
below `cov-2` (biting now); above `btb-1`, `cqa-3`, `pcs-1`, `rwg-1` and
`sit-1`, whose headline is now spent. Read at session 126, ~2027-05-19.

## Provenance

Leg A and leg B were raised separately by the change-reviewer lens as `bnd-1`
and `yrd-1`. The adversarial reviewer merged them (same module, same
evaluator, same §6 clock, one PR — precedent: `rwg-1`'s legs, `cov-2`'s leg
1/leg 3), killed `pol-0` as a standalone and folded its residue into leg B,
and corrected `yrd-1`'s severity after the chair showed the yardstick is a
self-healing cache. Prior art checked: no `rck-`, `bnd-`, `yrd-` or `pol-`
slug exists anywhere in `research/queue/`, and `research/RESEARCH_QUEUE.md`
(the frozen pre-migration archive) predates the robo sleeve entirely.
