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

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

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.

Sources

Desk evidence goes stale, yet a result must stay checkable. Both hold when every sourced fact keeps a snapshot.

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

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

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

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.

Idea generation

One process, AI-generated, with one setting: context.

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.

  1. 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.
  2. 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").
  3. 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

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