Research register¶
Dokimi's own research is itself a set of experiments, and many of them come back negative or
inconclusive. The register in research/records/ keeps every one of them findable, so the
next person who wants to try an idea can see what was already tried, what came out of it and
why a direction was kept or dropped.
The register is plain files in this repository: no server, history from git, review through pull requests, and any agent with file access can read and write it.
Record types¶
Each record is one Markdown file, research/records/<type>/<id>.md. The YAML front matter
holds the typed fields that research/record.v1.json defines; the body is free Markdown for
the setup, result, rationale and anything else a reader needs, after the
license header every file in the repository carries.
| Type | Id | What it holds | Points at |
|---|---|---|---|
idea |
I001 |
A question worth answering, its map theme (P…W) and open/parked/closed status |
— |
experiment |
X001 |
Hypothesis, what was run, and the outcome: planned, running, supported, refuted, inconclusive or aborted |
idea |
finding |
F001 |
What was learned, with low/med/high confidence |
experiments |
decision |
D001 |
accepted, rejected, deferred or superseded, and why |
findings, ideas, superseded_by |
implref |
R001 |
The issue or pull request that carries a decision out, with its own status |
decision |
Three states stay separate on purpose: an experiment's outcome (what the evidence showed),
a decision's state (what the team chose) and an implementation reference's status (what
was built). A closed issue does not tell which of the three happened.
An experiment that turns out wrong is not deleted: set retracted: true and say in the body
what was wrong with it. retracted means the whole experiment is invalid, so check fails
any finding that still cites it; query, export and render keep it, marked. When only part of a
result is withdrawn, keep the outcome, leave retracted unset and list the withdrawn claims
under a ## Corrections heading. Every record has a date (YYYY-MM-DD) and optional links (required on
implref), which must be public github.com/intel/ or github.com/napetrov/ URLs. The register is public:
leave out internal hosts, paths, names and raw traces, and describe local evidence in words
("local run, 96 runs").
Working with it¶
Run from the dokimi/ project directory:
python scripts/research_register.py check
python scripts/research_register.py next experiment
python scripts/research_register.py query --type experiment --ref I001 --where outcome=refuted,inconclusive
python scripts/research_register.py query --type decision --where state=rejected
python scripts/research_register.py export > register.json
python scripts/research_register.py render > map.md
python scripts/research_register.py render --html --live > map.html
python scripts/research_register.py gaps --live
checkvalidates every record against its schema, its path and id prefix, and every reference.tests/test_research_register.pyruns it in CI, so a broken record fails the PR.nextprints the next free id for a type. Two PRs can claim the same id; both add the same file, so the second PR to merge gets an add/add conflict (checknever sees a duplicate) and renumbers then. To renumber: take the new id fromnext, rename the file and change itsid:, then rewrite every reference to the old id in that PR's own records (idea,experiments,findings,ideas,superseded_by,decision). Find them withquery --ref OLDID;checkmust pass afterwards.querylists the records matching every filter:--where FIELD=V1,V2matches any of the values,--ref IDkeeps the records that point atID. An unknown field, a clause without=or a missingIDexits 2. Booleans are spelled as in the records:--where retracted=true.exportwrites all records, the reference edges and the ideas grouped by map theme as one JSON document, stamped with the commit, for the plans-and-research map and other views.dirtyis true whenresearch/has uncommitted changes, andrendersays so next to the commit.renderwrites the plans-and-research map from the same tree: a Mermaid mindmap (theme, idea, experiments marked by outcome) and a table, as one Markdown file. It is generated on demand and not committed; open it in any Mermaid-aware viewer, such as GitHub or an editor preview.render --htmlwrites the same register as one self-contained page to open in a browser, with no network and no library: a collapsible tree (theme, idea, experiment, finding, decision, implref), a search box (/focuses it; every word must match the id, a field or the body), filters for type, theme, outcome or state and implementation, a sortable table, and a panel with the clicked record and the records that cite it.#X003in the URL opens that record.gapslists accepted decisions with nothing merged and implrefs stillopenorproposed. An implref'sstatusis written by hand and goes stale when its pull request merges, so--live(here and onrender --html) asks GitHub throughghfor the state of every link, reports implrefs whose recorded status differs, and lists the openintel/dokimiissues that no record links to. It only reads: fix a stale status in a PR.checkstays offline.- An open issue that is engineering work with no research behind it (a dependency
dashboard, a build chore, a bug) goes in
research/untracked.yamlwith its reason instead of a record;gaps --liveskips those and reports an entry whose issue has closed. An implref may also point at the file that carries the change when it landed before the public history and has no pull request.
Adding a record¶
python scripts/research_register.py next <type>for the id.-
Write
research/records/<type>/<id>.md:--- id: X012 type: experiment title: Compressed skill keeps step ordering date: 2026-10-14 idea: I004 hypothesis: A skill cut to 40% of its tokens keeps the ordering constraints. outcome: refuted --- <!-- Copyright (C) 2026 Intel Corporation SPDX-License-Identifier: Apache-2.0 --> ## Setup ... ## Result ... -
python scripts/research_register.py check, then open the PR.