rxq: design thinking (general)
How one piece of research moves from idea to delivered result, and how new ideas are found. This file is general: it holds for any research machine, any domain, any agent or machine. Copy it unchanged into a new project; everything specific to a project lives in its domain contract and machine layer (see Layers).
Born from pekka-reports (BTC backtests, Nov 2026), generalised for research whose evidence is computed, read from sources, or both.
Roles
The design names roles, never people. Each repo maps them once, in its domain contract.
| role | does |
|---|---|
| approver | approves (ACC) a spec, asks for wild idea generation, may reject or reopen any idea |
| requester | asks for research and receives its messages |
| agent | writes specs, gathers evidence, runs compute, writes reports (any model or subagent) |
The spirit: a chain of small bets against a champion
- "Better" means nothing without a comparator and a measure. Every test says better than what, in which sense, measured how, and why that sense and that measure.
- Every goal has a champion: the best known answer right now. At the start of a project the champion is whatever already exists (an incumbent service, a baseline rule), even before it is measured.
- One research is one small step that can fail. Its "why it matters" comes from the result before it; its "because" uses earlier numbers to predict this one.
- A result opens the next bets. The chain, not any single report, is what finds something new.
Two kinds of research
| measure | test | |
|---|---|---|
| asks | how does something work, how big is it | is this idea better than the champion |
| BET | a sharp question: one fixed case, what is counted, its unit, its window. No threshold | a one-sentence claim holding every condition, plus Falsified if |
| result | MEASURED | SURVIVED, FALSIFIED, or OPEN (a deciding row is still unknown) |
| role | feeds tests: it maps how things work, gets data, measures the champion | moves the champion |
- "How does X work" is a measure. As soon as the sentence claims something ("X needs prefunding", "route Y is cheaper than X"), it is a test.
- A measure does not stand alone: it ends with Next bets that are tests, or with an Open line saying what blocks them.
- A measure stays sharp by fixing one case and naming what is counted at each step (for a flow: who holds the money, on which rail, at what cost, how long), and the totals.
N, the number of points studied, is 1 (one case, one rule) or more (N players, N corridors, N settings). A test with N > 1 is decided at a point stated in advance, not at the single best point.
Report form: FBKU
index.md holds the research, in this order. Lines tagged [measure], [test] or [N>1] appear only in that case; untagged lines always appear.
---
status: idea | rejected | locked | done
from: <approver, requester name, or idea generation>
builds_on: [<research ids>]
tags: [<from the domain's tag list>]
blocker: <idea only: none, or one sentence on what stops it>
answer: <done only: one plain sentence; a test's starts with Yes, No or Open>
board: <done test only: [{goal: <id>, point: <plain label>, value: <number>}], read from KILL>
---
# <Question, at most 15 words>
- [test] Mechanism: <why it could work: who is forced or able to do what>
- [test] Who loses: <who pays or loses today, or who is displaced>
- [test] Why it persists: <why it has not been done or competed away>
- [measure] Why it matters: <what this measure unblocks>
## FRAME
- Subject: <what is studied, precisely>
- Why it matters: <why now; usually the result of the research before>
- Observation: <how it works today, each fact with its source>
- Prior work: <earlier research by link, each with its numbers>
- Current best: <the goal's champion and its numbers, or "not measured yet: <who>">
- Scoreboard: <the measure that decides, its condition, whose count>
- Question: <the question that follows from the above>
- Scope:
- Mode: measure | test
- Space: <one case> | <the set>
- N: <number of points>
- Evidence: <sources, compute, or both; the date or window>
- Terms: <every term used below, defined exactly>
## BET
[measure] <question: what is counted, for which case, in which unit, over which window>
[test] <claim: <idea> makes <subject> more <adjective> than <current best>, under <conditions>>
- [test] Adjective: <one word from the domain's adjective list>
- why: <why this quality answers the question>
- Measured by: <the measure; which direction wins; a measure has no threshold>
- why: <why this measure captures it>
- [test] Compared with: <the champion or comparator>
- why: <why it is the one to beat>
- [test] Guards: <other measures that must not get worse beyond a stated limit, or none>
- [test] Because: <the mechanism with earlier numbers, or "see Prior work">
- [test] Falsified if: <threshold on the measure, a guard broken, or a blocking row failed>
- [N>1] tested at: <the point stated in advance>
- Locked in this folder's lock commit, before the evidence.
## KILL
<the skim block: ### Assumptions, ### Results in short>
<method in one or two lines>
[test] | test | falsified if | result | status |
[measure] <the measured table(s)>
<the full table of the space when N > 1>
Also observed, not deciding: <anything else seen>
## UPDATE
- Status: MEASURED | SURVIVED | FALSIFIED | OPEN
- [test] Board: <new champion | not a champion | off the board, and why>
- What it means: <one point per line>
- Next bets: <links to the ideas this opens>
- Open: <what is still unknown, and who can answer it>
KILL
KILL is the only place a bet dies, and it dies by evidence.
- A test's deciding table has one row per test: the measure against the champion first, then every blocker that could stop the idea (a law or licence, a partner who must agree, a missing rail). The domain contract lists the kinds of blockers and who answers each.
- Status per row: passed, failed, or unknown. One failed row falsifies the bet. An unknown row and no failed row make the result OPEN; UPDATE's Open line names who can answer it.
- A measure has no deciding table: its KILL is the measured tables, built the same way every time so measures of different cases can be compared.
- Evidence is either computed (a script writes KILL) or sourced (a fact with its source and the date it was read). The domain contract says which a domain uses.
- A blocker the domain says to ignore (for now) is never a row.
Sources
Desk evidence goes stale, yet a result must stay checkable. Both hold when every sourced fact keeps a snapshot.
- Every fact in FRAME or KILL that is not common knowledge carries a source: a link and the date it was read.
- The page read is saved under
research/<id>/sources/(text, with the URL and the date at the top), so the claim can be checked after the page changes. - A source is tagged by strength: official (the company's own page, a regulator, a law), press, or secondhand (a blog, a summary, an AI answer). A claim held only by a secondhand source is marked unverified.
- Rerunning a sourced research means reading the sources again: new snapshots, then a
Revised (numbers)line if a number or a status moved.
Lifecycle
idea generation (context: one report | none) ──┐
approver, requester ───────────────────────────┴──> idea ──┬── rejected
│
└── approver ACC ──> locked ──evidence──> + KILL ──> done
▲ │
└──────── Revised ───────────┘
| step | who | formal check | side effect |
|---|---|---|---|
| born as idea | idea generation, approver, requester | id yyyymmddhhmmss-name; a title; a test has Mechanism, Who loses, Why it persists; a measure has Why it matters; ## BET with its claim or question |
|
| idea → rejected | approver or agent | a Rejected: <reason> line |
|
| idea → locked | agent writes FRAME + BET, approver ACC | FRAME's fields; Mode and N; a test has Adjective, Measured by, Compared with, Falsified if; committed | messages.md # Plan sent, if there is a requester |
| locked → + KILL | agent, or a script in a subagent | a test's table has a status and evidence in every row | |
| → done | agent writes UPDATE and report.md | writing rules; a measure's Next bets link a test or its Open line says what blocks one; idea generation with this report as context has run; ideas made moot are rejected with a reason | published; # Result sent |
| done → locked (Revised) | agent or approver | a Revised line | Result rewritten and sent again whole |
- Picking an idea means asking the agent to write its spec; only a spec the approver approved is locked.
- Locked means recorded, not frozen: the spec is committed before evidence is gathered; that commit is the lock. Every change after results are seen gets one
Revisedline in index.md and report.md, with its kind:Revised (presentation) <date>: ...: wording, layout; KILL's numbers and statuses unchanged.Revised (numbers) <date>: ...: a number or a status in KILL changed. Research that builds on this one and was locked before that day is flagged.
- A test that must change shape after results is a new idea, not a Revised line.
- An OPEN result is done: it is published, and it becomes SURVIVED or FALSIFIED by a Revised line once its unknown row is answered.
Keeping the open ideas few
Age is not a reason to close an idea. A result is. When a research is done, the agent reads the open ideas with the same tags or in the same builds_on chain, rejects those whose premise the result removed, each with a reason naming the research, and names them in its reply. Rejected is not deleted; setting status: idea reopens it.
Research folder
research/<yyyymmddhhmmss-name>/
index.md status + FBKU, filled in stages (site tab "Concise")
report.md plain-language story, after KILL (site tab "Explanatory", opens first)
messages.md draft messages to the requester: "# Plan", "# Result"
sources/ snapshots of sourced facts
compute.py only when evidence is computed; it writes only KILL
| stage | index.md holds |
|---|---|
| idea | title, the idea's lines, ## BET with only its claim or question |
| rejected | title + Rejected: <reason> |
| locked | + FRAME; BET completed |
| done | + KILL, + UPDATE |
- The id is the folder name: a timestamp, then a short name. Sorting by name sorts by time.
- Status is written, not inferred: "locked" means the approver approved, which the content cannot show.
- Tags come from a short fixed list in the domain contract; a new tag is added to that list on purpose.
report.md (Explanatory)
Written for the requester. It answers first, then tells the story:
# <Question>
<the answer: Yes, No, Open, or the measured result, with its key numbers>
### Assumptions <- what was assumed, one fact per line
### Results in short <- the numbers and statuses that decide, one per line
## <The rule | The flow> <- numbered, nested, precise enough to redo; a Mermaid flowchart when it branches
## Over time <- only when there is a time series
## What was tested <- the story: the case, the comparator, the definitions in plain words
## Results <- the tables, and the test table: test | needed | result
## What it means <- one point per line
## Limits <- what this does not show
Revised ... lines
## Next ideas <- links
The domain contract says what the skim block holds for each kind of report.
messages.md
- Exists only when the research has a requester other than the approver, or the approver chooses to send its result to one.
# Plan(after ACC) and# Result(after publishing), plain paragraphs; a script turns them into message form.
Board
One board per goal answers "what is best right now". A goal names one adjective, its measure, a condition, and a scope (a window, a corridor, a segment); goals live in the domain's goals.yaml with no numbers.
- Each done test adds at most one point per goal, written in its front matter
board:from its KILL; numbers are never typed on the board itself. - The champion is the best point that meets the condition. Before any test, the board names the incumbents the domain lists as the starting champions, marked "not measured yet".
- A measure that measures an incumbent adds that incumbent's point, so the first champion has a number.
- The board shows: the champion, up to 3 candidates that meet the condition, the best point that fails it (the price of the condition), former champions.
Idea generation
One process, AI-generated, with one setting: context.
- Context = one report: near ideas. Runs when a report is done, 1-3 ideas, each
builds_onthat report. They become the report's Next bets. - No context: wild ideas. Runs when the approver asks.
Why both: ideas from the end of a report are timid by construction, neighbours of the last result. Wild ideas exist to find what the loop would never reach.
A bold idea is a mechanism, not a topic: "actor X is forced to do Y because of Z, so W is possible". Being new is not enough.
- Wild: several subagents in parallel, without the research context (they do not read the reports).
- Each gets one combination drawn from the domain's axes (
axes.yaml), so the runs differ. - Cost of checking and missing data are not allowed as reasons to drop an idea at this stage.
- Required format per idea: a question of at most 15 words; Mechanism; Who loses; Why it persists; the BET claim with its adjective, measure and comparator.
- Given a ban list: ideas already in research/, and the domain's clichés.
- The axes are a growing list. The approver may fix one axis to a value ("only B2B") or aim a round at one goal; the others are still drawn.
- Each gets one combination drawn from the domain's axes (
- Filter: one separate judge subagent.
- Scores: surprise (to someone who knows the field), plausibility of the mechanism, cost to check, fit (how directly it could take a board seat), plus each idea's main flaw.
- Ranked by surprise + plausibility. Cost and fit are shown, not added: a bold idea must not lose to a safe one.
- An idea is not dropped for missing data; the missing data becomes its own measure ("get data X").
- Pick: the top five are shown to the approver as a list. Only the ideas the approver ACCs become research folders with
status: idea.
Every round keeps its generators' and judge's output in the machine's work folder, so a round can be read back.
Site
- Home: done reports, newest first, each with its answer.
- Each research: Explanatory (report.md, opens first) and Concise (index.md), with its id above the title; a click copies the id.
- Ledger: every research by status (locked, ideas, rejected), each idea with its claim.
- Board: one table per goal.
- The design and the domain contract are pages too.
Check
Every formal check above is one command, run by the build and before each commit. It reads every research folder and fails with a plain message naming the folder and the rule.
Deterministic and wild at once: the content of ideas and the writing are free; every gate is a formal check; the decisions are the approver's.
Layers
| layer | holds | must answer |
|---|---|---|
| design (this file) | lifecycle, forms, gates, roles, idea generation, board | how a research moves from idea to done |
| domain contract | roles mapped to people, goals and starting champions, adjectives and measures, blocker kinds, axes, tags, writing rules, the skim block per kind of report | what makes results comparable in this domain |
| machine | paths, secrets by bundle name, site URL | where things live on this machine |
- Only this file is general. A new project copies it and writes the other two.
- Every rule, decision and correction lives in one of these files, never only in an agent's private memory.
- Test of the layers: a fresh agent in an empty folder, given only these documents, can take an idea to done.