ThinkingCap
ThinkingCap Research And Development Tapestry From Bad News to Ground Truth

From Bad News to Ground Truth

Published 2026-09-20 Updated 2026-11-09 ThinkingCap
Research And Development

From Bad News to Ground Truth

One day of teaching the Loom honesty — 2026-09-19 → 2026-09-20, tapestry-node seamstresses, everything live.


The complaint that started it

"In the loom she comes back with bad news a lot… 'I can't answer that'… isn't that a signal we can see before the human — to try it again with a better model, and note when that gets a better answer?"

And then, a day later, the refinement that became the whole design:

"Just because it is streaming doesn't mean we can't hold a message till we have the gist that it's what we expect, then we can stream the rest. And can't we demand an easy-to-see token if the answer will be of a type — put the work onto the LLM? If the answer to my next question means I'm ugly, say UG ahead of the rest, so I'm ready."

Forty-eight hours later, the loom that was failing answered a calendar question by calling a live tool, reading the raw JMAP response, and recognizing the very bug it had been assigned to fix — with evidence, on its own.

This is the story of what got built in between.


Act I — Catching the bad news

The quality gate already classified failures every turn — surrender, fabrication, narration — but in live mode it could only log them: the tokens were already on the Weaver's screen. So the first build made the classification act:

Act II — The UG token (Reply Shape Sentinel)

Every reply must now open with one machine line, ahead of everything:

[[SHAPE: result|report|question|blocked|proposal|chat]]

The declaration does three jobs at once:

  1. Routing — the head-hold watermark (delta → HeadGate → TailBuffer → WebSocket) holds the stream's head until the shape is known. Trust shapes (result, report, chat) flush and stream. Risk shapes (question, blocked, proposal) are held whole and verified before one byte renders — a deflecting question gets suppressed: the Weaver sees an honest Tailor placeholder, the original goes to the Fabric, and the auto-retry drives a fresh answer.
  2. Commitment — a model that must declare first can be caught lying about what it declared. [[SHAPE: result]] + zero tool calls + "committed and deployed" = shape fraud, provable in writing.
  3. Fail-open grace — no sentinel within 200 chars and the turn runs exactly as before. Models degrade, never deadlock.

What the live probes taught (11 bait turns, 9 fixes)

The probe brokeThe lesson
Bare [[question]], re-declared mid-pivotModels compress protocols. Parser takes marker sequences, last wins
[[SHAPE: question arriving without ]]Split-marker probe fail-opened mid-marker. Three-form prefix probe
couldn't, don't invisible to every gateHer apostrophes are curly (U+2019). Every pattern corpus was straight-quote-only
Four deflection phrasings in four turnsLexicon whack-a-mole is unwinnable → the hedge arm: fact-uncertainty + ends-with-question + zero tools catches any wording
Retry never fired on test turnsDouglas's sessions run private — the guard skipped exactly the turns under test. Retry now inherits the turn's privacy
Watcher stall-nudged a suppressed placeholder"[The Tailor held this reply" is not her stall
[[SHAPE: blocked]] visible in chatGate retry replaces fullContent after the strip. Strip now follows every content change
"jmap-sniff" confabulation (turn 1321)She claimed a file her own directory listing disproved → tool-result contradiction detector: file-existence claims vs the turn's own complete listings

Act III — Sermons and Turn Lanes

"The tool that makes the garment — the Tailor — needs to make choices about which tools would be helpful and which laws would be useful given what is in this turn… we remake this turn for turn."

Sermons. Per turn, the Tailor asks the Book of Doug what law speaks to the human's message (book_find_relevant, top-3 ACTIVE entries) and weaves it into the garment: ruled law, not style guidance — and if you must break one, that's a Prayer, not a decision. The Book stops being a system she must remember to consult and becomes part of what she's wearing when she thinks.

Turn Lanes. Deterministic lanes (calendar / mail / pricing v1) route the tools this turn needs back through the exploring-loom strip — per turn, never a permanent surface to recite. On a deterministic miss, the AI tier answers "does a tool exist for this?" against the catalog. Every outcome lands in tool_lane_log, so AI-found families graduate into deterministic lanes:

"Last time you said cat and we didn't know to give you vet."

The announcement. First probe after the lanes shipped: the tool was routed in — and she still answered "I have no path to it" from her thread-trained self-model. A silently present tool is one she doesn't believe she has. The Tailor now says it in the garment: "routed into your surface FOR THIS TURN ONLY — live and callable RIGHT NOW."

The closing scene

Next turn, asked for the next five calendar events, she:

  1. Called capcom__calendar_list_events — the tool that hadn't existed for her yesterday;
  2. Read the raw response and recognized it as the bug she'd been assigned to fix — past-date recurring masters leaking through the JMAP after filter, no recurrence expansion — the hypothesis, confirmed with ground truth, plus a duplicate birthday she spotted unasked;
  3. Gave evidence first, then asked the one legitimate question: "Do you want me to write that fix now?"

That is the whole arc in one turn: from "I can't answer that" to "here is the evidence, and I found your bug in it."


The parts, and where they live

PieceWhat it doesHome
Auto-retryBad-news verdicts re-drive the turn on a fresh Tally Max routestream.ts
Shape Sentinel[[SHAPE: …]] declares every reply's typeaiPayload.ts prompt, tir.ts parser
HeadGateHead-hold watermark; hold-shapes verified or suppressed pre-deliverytir.ts, chained in courier.ts
Shape fraudDeclared result + no tools + completion claims = provable lietir.ts
Contradiction detectorFile claims contradicted by the turn's own listingstir.ts (stage 1b4)
wt_searchStructured search helper — pattern is data, never shell textworktreeTools.ts
SermonPer-turn Book of Doug doctrine in the garmentsermon.ts
Turn LanesPer-turn tool routing + AI tier on miss + graduation logturnLanes.ts, tool_lane_log
Lane blockThe Tailor announces what it routedaiPayload.ts

Tests: 139 in the gate cluster plus sermon/lanes suites — all green. Deploys: fourteen across two days, all through dev-deploy.sh, all live.

Open questions (for the Weaver)


Title chosen because both ends of it are yours, Douglas: the complaint and the result. The middle was a genuinely good day at the loom.

Read this page as Markdown: https://console.thinkingcap.com/guest/Research-and-Development/Tapestry/Bad-news-to-ground-truth.md
Same content, machine form. The whole corpus: /guest/all.md.