Ideas not yet in any spec. A backlog item is not a commitment: nothing here is built until a slice spec takes it in (docs/specs/). Decisions go to decisions.md; requirements go to the specs.
Numbering: take the next free number (check the whole file first; several sessions add entries).
Statuses: new (captured) → triaged (sized, linked to a slice) → accepted (named in a slice spec; link it) · or parked / rejected (with a one-line reason). Never delete an entry; change its status.
Template
### IDEA-nn — <title>
Status: new · Added: YYYY-MM-DD · Slice: <n or —> · Depends on: <IDEA-/slice/decision>
**What:** one or two sentences.
**Why:** the research need it serves.
**Rigour notes:** what must hold for it to be trustworthy.
**Open questions:** …
The overall idea: once all research projects live in the factory, a single view across them, with the living-literature machinery suggesting new work per project and a daily digest. IDEA-01–05 split it into separable pieces.
Status: accepted (slice-7a) · Added: 2026-11-01 · Slice: 7 (views) · Depends on: slice 1 status, slice 3 (graph)
What: one page listing every project with its rigor mode, stage, open tasks, pending human decisions (disagreements, unsure, audits), last search date and new-candidate counts.
Why: see the whole research programme at once and know where a human decision is blocking.
Rigour notes: read-only projection of events; every number derived (R-05), never edited in the dashboard.
Open questions: artifact page vs. local web UI vs. a factory dashboard CLI report first.
Status: built (slice 4b: watch_run re-runs the planned queries on a cadence (services/watch.py); status corrected 2026-11-11; was: new) · Added: 2026-11-01 · Slice: 4 (living corpus) · Depends on: slice 1 protocol + search, R-27 replay
What: each project's recorded queries re-run on a schedule; new records are deduplicated against the corpus and placed in the project's candidate inbox.
Why: keep each corpus current without re-doing the review.
Rigour notes: suggestion is ranking, not selection — inbox items enter the corpus only through the project's screening protocol (living-review method profile). Each watch run is a recorded search run with PRISMA-S fields.
Open questions: frequency per source; whether arxiv-miner's daily scan becomes the arXiv adapter's incremental mode.
Status: partly built (2026-11-11): the digest (slice 4b) has a feed section (slice 4c, branch plan-feed; built, reviewed, untested); delivery stays outside the platform · sweep 2026-11-16: test_feed_service, test_feed_model, test_feed_report, test_dashboard_feed passed · Added: 2026-11-01 · Slice: 4 · Depends on: IDEA-02
What: a scheduled task (Claude subscription, no API) runs the watches and sends a short digest: new candidates per project, pending decisions, retractions affecting included works.
Why: a daily research briefing instead of browsing arXiv.
Rigour notes: digest lists what was found and why it matched (query, seed similarity), never a verdict; quick triage from the digest is recorded as a screening decision with actor and rationale.
Open questions: channel (email, Slack, phone push, artifact page); quiet days; per-project opt-in.
Status: built (v1; decision 112, option a): services/suggestions.py (factory suggest, computed on request), test tests/test_mesh_suggestions.py; on main. Not verified: the proactive daily digest route of the idea. (status refreshed 2026-11-21; was: new) · Added: 2026-11-01 · Slice: 6 · Depends on: slice 3 regions, IDEA-02
What: a paper found for one project is flagged to others whose regions it touches (e.g. a linear-attention paper relevant to the angiography reconstruction project).
Why: the method-borrowing across fields that motivated the graph/onion design.
Rigour notes: a cross-project flag is a hint with a stated reason (shared region, method card match); it enters the other project only through that project's protocol.
Open questions: matching without embeddings (decision #9 open): labels, regions, citations.
Status: new · Added: 2026-11-01 · Slice: 6 · Depends on: IDEA-02, hypothesis registry What: when new papers suggest a direction (new method, contradiction, gap), Claude drafts an idea note linked to the triggering papers; the researcher promotes it to a registered hypothesis or discards it. Why: turn reading into a traceable pipeline of research ideas. Rigour notes: proposer ≠ evaluator (R-51); discarded ideas stay recorded (R-52); promotion to a hypothesis requires pre-registration (R-50). Open questions: where idea notes live (this backlog is for the platform; research ideas belong in each project).
Status: accepted (slice-2) · Added: 2026-11-01 · Slice: 2 (claims) · Depends on: claim extraction with verified spans What: reported results as rows: method × dataset × task × metric × value × compute (params, FLOPs, throughput, resolution, hardware), each cell citing a verified source span. Views: Pareto frontier (accuracy vs. cost), coverage matrix. Why: for questions like "best linear attention for vision" the answer is a frontier, not prose. Rigour notes: comparability conditions are explicit columns; reported vs. reproduced marked; incomparable cells are never merged; derived rankings state the conditions they hold under. Open questions: extraction schema per domain pack; how to normalise compute measures.
Status: built (v1): services/finders.py, MCP finder_contradictions and finder_gaps (mcp/server.py), tests tests/test_finder_conflicts.py, tests/test_finder_gaps.py, tests/test_contradictions.py; contradiction map under decision 147. On main; linking gaps to idea capture (IDEA-05) not verified. (status refreshed 2026-11-21; was: new) · Added: 2026-11-01 · Slice: 6 · Depends on: IDEA-06, claims
What: surface claims that disagree across papers, and untested combinations (e.g. mechanism never evaluated on dense prediction or medical images).
Why: contradictions and gaps are where research ideas come from; feeds IDEA-05.
Rigour notes: a contradiction lists both claims with spans and the conditions that differ; a gap is "not found in corpus", never "does not exist".
Status: parked · Added: 2026-11-01 · Reason: hard to make reliable now; revisit after per-paper assessment exists.
Status: built (v1; decision 98): services/briefing.py, services/briefing_served.py, MCP briefing_get; on main. Per-test coverage not verified. (status refreshed 2026-11-21; was: new) · Added: 2026-11-01 · Slice: 3/5 · Depends on: graph and regions
What: a generated project briefing — question, protocol version, key decisions and amendments, core works and regions, open issues — rendered as a reading path for a new student and as a context pack for a new agent session.
Why: humans and agents both join projects mid-way; today each Claude session reconstructs context ad hoc.
Rigour notes: an agent's context pack is versioned and stored as its input_blob, so what an agent "knew" is reproducible; briefings derive from events, not memory.
Status: built (v1; decision 111): services/performance.py (performance record, CLI only); on main. No test file named for it was found (not verified). (status refreshed 2026-11-21; was: new) · Added: 2026-11-01 · Slice: 5 · Depends on: calibration and audit (slice 1), actors
What: per person and per agent role (role × model × skill version): work done, decisions pending, amendments proposed, and measured quality — calibration sensitivity/specificity, κ against partners, audit error rate, trend over time.
Why: supervise agents like junior team members, with evidence rather than impressions; the same view supports supervising students.
Rigour notes: metrics come only from calibration, agreement and audit events; a model or skill change starts a new performance record (links to the model-change regression idea).
Status: built (decisions 106 and 107): services/lab.py, services/members.py, services/access.py (role gate); on main. Never run by a real multi-person team: see IDEA-84. (status refreshed 2026-11-21; was: new) · Added: 2026-11-01 · Slice: 5 · Depends on: human identity (00-system §11)
What: project and region roles (PI, maintainer, contributor, agent role); owners per region (cf. CODEOWNERS); changes to a shared region or a protocol amendment by a contributor go through review and sign-off (cf. pull requests).
Why: several PhDs share regions (PINNs used by the TAVI and CFD projects); a change in one must not silently alter another's evidence base.
Rigour notes: sign-offs are events with the reviewer of record; downstream projects see an amendment's blast radius across projects.
Status: built (decision 108): services/human_pass.py, services/passes.py; on main. Not verified: a mixed human and agent team run end to end (IDEA-84). (status refreshed 2026-11-21; was: new) · Added: 2026-11-01 · Slice: 5 · Depends on: slice-1 dual screening
What: passes A/B can be any mix of people and agents (two students; student + agent); a third person adjudicates; agreement reported per pair type.
Why: standard systematic-review practice with two human reviewers, extended with agents as a measured third reviewer.
Rigour notes: pair composition recorded and reported; human–agent κ is evidence for when agents can replace a human pass.
Status: built (decision 109): services/ledger.py (ledger.confirmed), MCP ledger_view; on main. CRediT export not verified. (status refreshed 2026-11-21; was: new) · Added: 2026-11-01 · Slice: 5/7 · Depends on: actors, events
What: author contribution statements (CRediT roles) and an AI-assistance statement generated from events: who framed, searched, screened, adjudicated, extracted, wrote.
Why: fair credit in teams and honest disclosure of automation.
Rigour notes: derived, never typed; humans confirm before submission.
Status: new · Added: 2026-11-01 · Slice: 5 · Depends on: IDEA-03, IDEA-10 What: pending decisions routed to the responsible person; a weekly lab-meeting pack per project (progress, amendments, disagreements to discuss, new literature); handover reports when someone leaves a project. Why: keeps a team synchronised without status meetings; continuity across student cohorts. Open questions: visibility rules for unpublished ideas across projects and people.
Status: partly done (2026-11-14, branch low-hanging, merged to main 637868a, reviewed (one Sonnet review, fixes 7286252); see the dated note at the end of this entry) · Added: 2026-11-01 · Slice: — · Depends on: slice 1 plan 4
What: minor findings of the plan 4 final review, not fixed in slice 1: count validators on AuditSampled and CalibrationDrawn; negative-input guards in draw_audit and audit_size; the private _rigor_mode has a third copy; audit labels for unsampled pairs are dropped silently; the batch-order test may pass by chance and the shuffle seed depends on the task count; screen_record marks the answered set after an invalid first item; untested paths (task kind mismatch, lease expiry, re-record after an amendment); direct tests for the obsolete-task and stale-decision agreement rulings; cannot_assess_rate typed float | None; project_status recomputes agreement and audit on every call; a pass that fails the sensitivity gate has no in-pass recovery (it needs an amendment).
Plan 5b minors (reports, trace, check): check calls read_all over the whole log (cost grows with the log); prisma_flow computes final_outcomes twice; trace.py (about 900 lines) is unsplit and prisma.py mixes the PRISMA flow with the PRISMA-S report; the hand-search adapter exists only in tests; _event_for takes the first event, which may differ from the live one if an audit label is superseded; merge-verdict-conflict ignores a merge whose members are still pending; the methods statement lists models and skills over all agent events, though its sentence says "Screening decisions".
Why: each is a small gap in evidence or robustness that does not change a result today.
Rigour notes: none changes an event or a verdict; the validators and the silent drop touch the audit record and should come first.
Open questions: whether the project_status cost matters before slice 3.
State (2026-11-14, branch low-hanging): done: AuditSampled validator (unique works, exclusions plus inclusions equal the sample, sample no larger than the population; the two pilot audit.sampled events pass; CalibrationDrawn has no counts, not applicable) (60ef0e7, 05de71d); negative-input and fraction guards in audit_size and draw_audit (9311b25); one _rigor_mode in services/gates.py for protocol, snowball, reference_resolve and question (the seeds copy syncs first and the project_stage copy has no slug filter, so both stay). Found already fixed: unsampled audit labels are refused by audit_record; screen_record marks the answered set only for valid items; the methods sentence uses screening_models. Not applicable: prisma_flow calls final_outcomes for two different stages; cannot_assess_rate returns None for a stage with no decisions. Still open: the rest of the list (project_status cost, in-pass recovery, trace/prisma split, check cost, hand-search adapter, _event_for, merge-verdict-conflict, untested paths, batch-order test).
Status: new · Added: 2026-11-01 · Slice: 5/6 · Depends on: calibration, audit, protocol amendments, plugin skill versioning
What: a curator agent role reads audit errors, disagreements, cannot-assess spikes and failed runs, and drafts proposed changes: protocol amendments, new worked examples, or skill revisions. A human approves; the change is versioned.
Why: the factory should improve with use, as EvoScientist's AutoSkills does, without silent drift.
Rigour notes: learning enters only as amendments or worked examples (R-34), never as retrieved memory; a new skill version starts a new performance record (IDEA-10) and must pass the calibration sets before use; the proposer never approves its own change (R-51).
Open questions: whether lessons can be shared across projects (via domain packs) and who approves them.
Status: new · Added: 2026-11-01 · Slice: 6 · Depends on: hypothesis registry What: a first-class record of what was tried and did not work — idea, test, evidence, reason (no runnable code within budget, below baseline, refuted, infeasible) — linked to the works and runs involved, searchable before proposing new ideas. Why: avoids repeating dead ends across students and projects; supports R-52. Rigour notes: a failure is recorded with its conditions (budget, data, model), so "failed here" is not read as "impossible"; never deleted, only superseded.
Status: partly built: services/experiments.py (registered design, freeze, unlock and baseline gates; decision 93), MCP experiment_design, tests tests/test_experiments*.py, tests/test_cli_experiments.py; on main. Not built or not verified: sandboxed execution with time and output limits, ablation planning. (status refreshed 2026-11-21; was: new) · Added: 2026-11-01 · Slice: 6 · Depends on: IDEA-16, R-50
What: experiment runs follow fixed rules: reproduce baselines first; change one variable at a time; sandboxed execution with time and output limits; acceptance criteria and analysis plan registered before running; ablations planned, not post hoc.
Why: turns agent-run experiments into evidence a reviewer can trust.
Rigour notes: deviations from the registered plan are recorded as deviations (R-14); results that beat baselines only under changed conditions are flagged.
Open questions: where experiments run (own servers vs. cloud sessions); link to an existing experiment tracker (decision #21).
Not adopted (deliberate): memory retrieved by embedding similarity into prompts (non-reproducible; conflicts with R-34 and decision #9 unless the retrieved content is recorded in input_blob); self-evolution without versioning; LLM-judge evaluation as primary evidence.
Status: built 2026-11-14 (branch low-hanging-2, merged to main dbe3d01, reviewed (one Sonnet review, fixes 1ed65da to 2a5c4fb and 570d467); fb25d1a; ruling "seed tools only", decision 123 proposed) · Added: 2026-11-02 · Slice: — · Depends on: slice 1 plan 5a
What: _held_out_tokens in mcp/server.py withholds only the stated seed.openalex, so the OpenAlex ID that a DOI-only held-out seed resolved to is not withheld from MCP output (for example, from a source error note in a run summary).
Why: R-20 and acceptance 22 require held-out seeds to stay invisible to agent-facing tools, but the specs name no identifier set; the plan's constraint lists the seed ID, DOI and arXiv ID. A seed's resolved OpenAlex ID is outside the current token set, and it identifies the seed as well as its DOI does. Owner suggestion: plan 5b.
Rigour notes: adding it changes the token set only; no event or verdict changes.
Open questions: should any identifier that resolves to a held-out seed be withheld, and should R-20 / acceptance 22 name the set?
Built (2026-11-14, fb25d1a): held_out_tokens(include_work_ids=True) also adds the OpenAlex id (stored and normalised) of the work a held-out seed resolved to; include_work_ids=False (every tool that names corpus works) is unchanged (decision 37 item 9). Test: tests/test_withholding_resolved_openalex.py.
Status: built (option (b), commit 69528b3: screen_next returns blocked and extend_sample writes nothing while dedup_current is false, services/screening.py; status corrected 2026-11-14; was: new) · Added: 2026-11-02 · Slice: — · Depends on: slice 1 plan 5a, dedup_run
What: the pass-B sample extension (screen_next for pass B) can run before dedup_run is current, so two records of one work could be drawn independently. A later merge would leave the canonical work considered-not-added while its twin was sampled.
Why: the pass-B sample should draw each work once, and the PRISMA counts should match the deduplicated corpus; a sample drawn before the merge does not.
Rigour notes: options: (a) record the condition only, with no change to behaviour; (b) make the extension a no-op until dedup_run is current.
Open questions: does option (b) block a legitimate extension while dedup is stale?
Plan 5b note: the PRISMA flow reads only the canonical primary's final outcome after a merge, so a conflicting verdict on an absorbed record is not counted; check reports it as merge-verdict-conflict, which is the interim signal until the conflict is resolved by a rule.
Status: built (decision 114): services/appraisal.py, appraisal_passes.py, appraisal_judgements.py, appraisal_report.py, model/appraisal.py; on main. No test file named for appraisal was found (not verified). (status refreshed 2026-11-21; was: triaged) · Added: 2026-11-03 · Slice: when a project needs it (required in systematic, R-41) · Depends on: slice 2 documents and anchors
What: item-level appraisal with a project-declared instrument; items typed platform (deterministic), agent-span (agent with verified quote, dual on a sample, audited), judgement (agent proposes, human decides); no overall score (decision 42).
Open questions: first instruments (ML evidence checklist from NeurIPS M14; RoB 2 / PROBAST for biomedical projects).
Status: merged (branch pubmed, plan 2026-11-14-pubmed.md, decision 124 proposed; reviewed, live smoke passed 2026-11-14; PubMed unit tests run on branch pubmed-tests 2026-11-15: test_pubmed, test_registry_pubmed, test_fulltext_routes_pmc, test_inbox_links, test_inbox_service, test_seeds and new test_pubmed_edges pass; two stale test assertions fixed, id_list PMID normalisation added); review minors addressed in d39375d3 · Added: 2026-11-03 · Slice: first biomedical project (TAVI, ND)
What: PubMed source adapter (PRISMA-S fields, no truncation) and PMC OA JATS route to Markdown.
Review minors parked (2026-11-14): PubmedBookArticle records not parsed; in-run dedup by work id can merge distinct DOI-less PMIDs with identical title, authors and year (key it on PMID); non-numeric resume_from raises a bare ValueError; long terms go by GET (NCBI recommends POST); OA PDF all-fail reason is the first candidate with a pdf_url, not always the best location.
Status: built (services/copied_check.py, commit 99754a1; plan EQ task 7; not reviewed) · Added: 2026-11-03 · Slice: after slice 2 · Depends on: copied-result flag What: when a paper reports a baseline number copied from another paper in the corpus, compare it with that paper's own extracted value and flag mismatches (including version mismatches).
Status: partly built: services/grey.py and MCP grey_search_report; on main. Grey appraisal and the full outline of specs/outlines/grey-literature.md not verified. (status refreshed 2026-11-21; was: triaged) · Added: 2026-11-03 · Slice: after slice 2 (outline: specs/outlines/grey-literature.md) · Depends on: slice-2 Markdown conversion and local library; IDEA-21 for grey appraisal
What: planned grey-literature searching (registries, repositories, model hubs, targeted websites, web search with declared stopping rules, expert contact), page capture into the local library, and grey items flowing through the same dedup, screening, full-text and extraction stages with their own provenance.
Why: reviews limited to indexed literature miss technical reports, code results, registries and regulatory evidence, and are biased towards published positive results.
Rigour notes: declared in the protocol before searching; snapshots with hash and timestamp; web-search cut-offs declared and reported (explicit exception to R-21); grey evidence labelled and shown with and without it; later publications linked, not merged away.
Open questions: first sources (ML vs. biomedical); status of agent web search; capture limits; monitoring by the literature watch (IDEA-02).
Status: built (plan FL, before 2026-11-13): resolve_source_change (services/fulltext.py), event fulltext.source_resolved (human only, names document and hash, keep-original or accept-new-version), CLI factory fulltext resolve; check lists only open changes. Evidence in tests: tests/test_fulltext_restore_followups.py (agent refused, human resolves) (verified 2026-11-14 on branch test-baseline-2; entry text below describes the state before the fix) · Added: 2026-11-03 · Slice: — · Depends on: decision 46 item 8; decision 48
What: a fulltext.source_changed finding (in check and the source-changed status) stays forever; no event resolves it.
Why: a corpus with one changed source never reads as clean, so the warning stops carrying information.
Rigour notes: resolution must be a recorded human decision that names the document and the hash it accepts or rejects; the original bytes stay referenced; no silent overwrite.
Open questions: whether acceptance supersedes the document or marks the existing one; who may resolve.
Status: built (commit 49bb0f2, PD-5): first-page identifiers are cross-checked against the title; ambiguous and identity_unchecked files are reported with candidates and attach only on the researcher's accept (services/fulltext_import.py, tests/test_fulltext_import.py) (verified 2026-11-14 on branch test-baseline-2; entry text below describes the state before the fix) · Added: 2026-11-03 · Slice: — · Depends on: decision 46 item 7
What: the researcher import collects every identifier on page one. When the paper's own identifier is absent there, a single cited DOI or arXiv ID (a reference, a related paper) is taken as its identity and can attach the PDF to the wrong promoted work.
Why: a mis-attached document is silent provenance corruption for the work it lands on.
Rigour notes: an attachment must be checkable by the researcher before it becomes a document; ambiguous identifiers are reported, not guessed.
Open questions: label proximity ("DOI:", "arXiv:") versus requiring the first identifier only; a title match against the work as a check.
Status: built (plan FL): restore_missing yields one outcome per document and catches each exception (failed: <class>); a document with an unresolved change returns source-changed-unresolved with no request and no event; unavailable changes no document. Evidence: tests/test_fulltext_restore_followups.py (verified 2026-11-14 on branch test-baseline-2; entry text below describes the state before the fix) · Added: 2026-11-03 · Slice: — · Depends on: decision 48 item 4
What: after a source change or an unavailable result, a repeated restore --missing re-requests the same documents, and restore --missing builds all results before printing, so one unexpected exception prints nothing.
Why: a researcher cannot finish a restore of a library with a few unreachable sources.
Rigour notes: each document gets its own outcome in the report; an unavailable or changed result changes no document and is reported as such.
Open questions: whether to skip documents with an unresolved source-changed (depends on IDEA-25).
Status: built (plan FL, ruling 3): a revisit rotates by last attempt, oldest first, then id (_targets, _last_attempts), so a small limit reaches the whole corpus; no new field. Evidence: tests/test_fulltext_restore_followups.py::test_refresh_with_small_limit_reaches_every_work_by_rotation (verified 2026-11-14 on branch test-baseline-2; entry text below describes the state before the fix) · Added: 2026-11-03 · Slice: — · Depends on: decision 48 item 5
What: refresh selects every promoted work sorted by id and takes the first limit, so works after that prefix are never reached by refresh. Explicit work_ids beyond limit are now refused, so the caller cannot split the work by hand either.
Why: a large corpus cannot be revisited in full with a small limit.
Rigour notes: the choice of works in each call stays deterministic and recorded in fulltext.fetch_started.
Open questions: a cursor on the tool, or a rotation by time of last attempt.
Status: built (plan FL): identical bytes under another version record version_differs on the restored attempt, and check reports source-version-differs. Evidence: tests/test_fulltext_restore_followups.py (verified 2026-11-14 on branch test-baseline-2; entry text below describes the state before the fix) · Added: 2026-11-03 · Slice: — · Depends on: decision 46 item 9
What: restore_document compares only the raw hash. If the route serves identical bytes under another version string, the attempt is recorded restored and the document's recorded version is not updated or flagged.
Why: the version of record can differ from what the source now reports, with no event saying so.
Rigour notes: a version mismatch with identical bytes is recorded or refused, never silent.
Open questions: whether this is a source-changed variant or a separate attempt reason.
Three linked ideas from the researcher: read each selected paper for what it builds on and adds, take its references into the corpus, and draw the lineage as a graph. The researcher rates the reference and snowballing part (IDEA-31) as very important.
Status: built (slice 3b: contribution items (CLAUDE.md); status corrected 2026-11-11; was: new) · Added: 2026-11-04 · Slice: — (candidate: extension of slice 2 extraction, or slice 3) · Depends on: slice 2 plan D (extraction, verified quotes), document_read
What: for each selected paper, extract a fixed set of items beyond result rows: the base idea (what the paper builds on), what it adds over that base, the reported results or improvements, and the stated limitations. Each item is an atomic claim with an anchored, verified quote.
Why: the evidence table says how well a method scores; this says what each method is and how it relates to the ones before it, which the lineage graph (IDEA-32) needs.
Rigour notes: every item carries a verbatim quote verified against an anchor (slice 2 verification); "builds on" and "adds over" are the paper's own statements, not inferred relations; the extraction schema is declared in the protocol before reading (R-13); dual extraction and audit apply as for other fields.
Open questions: whether these fields belong in the ml-benchmark domain pack or in a separate generic pack; how to treat papers that do not state a base idea.
Status: built (slice 3a, G1: references and snowballing, MCP, CLI and skill rf-references (CLAUDE.md); status corrected 2026-11-11; was: new) · Added: 2026-11-04 · Slice: — (candidate: right after slice 2; researcher priority: high) · Depends on: slice 2 plan B (canonical Markdown, anchors), slice 1 search_chase, work identity and dedup
What: parse each included paper's reference list from its canonical document, resolve every reference to a work (DOI, arXiv id, title match), and record the paper-to-reference links as events. Resolved references that are not yet in the corpus become snowballing candidates that enter through the project's screening protocol. Also record where in the text each reference is cited (the anchor), so the citation context is available.
Why: slice 1 chases citations through the search sources' metadata; the paper's own reference list is more complete for recent work and gives the citation context. This serves both the graph (IDEA-32) and a more complete corpus.
Rigour notes: link resolution is deterministic and recorded with its method and confidence; unresolved references are listed, never dropped silently; a snowballed work is a candidate, never auto-included; snowballing rounds are recorded search runs with their PRISMA-S fields (R-24, R-25); the corpus count of references is computed, not typed.
Open questions: reference parsing per input format (HTML bibliography, LaTeX .bbl, PDF reference sections are the weakest); how to rank candidates (frequency of citation across included papers is a derived number, not a judgement); stopping rule for snowball rounds.
Status: built (slice 3b: lineage and the graph (CLAUDE.md); status corrected 2026-11-11; was: new) · Added: 2026-11-04 · Slice: 3 (graph) · Depends on: IDEA-30, IDEA-31, slice 3 graph design What: a graph whose nodes are papers and base ideas and whose edges are "builds on", "improves on" and "cites", built from the extracted contribution items and the resolved references. A path from a base idea through its improvements to the current best methods is readable from it. Why: answer "what is this method an improvement of, and what improved on it" across the corpus, and show the field's structure beyond a ranked table. Rigour notes: every edge cites its source (a verified quote for stated relations, a reference link for citations); a relation the paper does not state is not drawn, or is drawn as a separate, labelled "inferred" edge type decided by a human; the graph is a projection of events and can be rebuilt (R-05). Open questions: the node identity of an "idea" (a method family vs. a paper); how to merge naming variants of one idea; who confirms an inferred edge.
Status: built (slice 3c: intuition layer (CLAUDE.md); status corrected 2026-11-11; was: new) · Added: 2026-11-04 · Slice: 3 (graph) · Depends on: IDEA-30, IDEA-32 What: for each extracted idea, an agent-written explanation of why it works, and links from the idea to the foundations it rests on. When a paper brings in an idea from another field (for example, a tool from applied mathematics), the graph gets a node for that background concept, with its own short explanation and links to the other ideas that use it, so the connection to the rest of the graph is visible. Why: a lineage graph (IDEA-32) shows what came after what, not why a change helps. Understanding why a method works, and which older or outside ideas it borrows, is what lets a researcher judge whether it transfers to another problem. Rigour notes: an intuition is interpretation, not evidence. It is stored as a separate node type, labelled "interpretation" with the agent's model, skill version and input blob, and it never counts as evidence in any report or comparison. Every foundation link cites the paper's own statement (a verified quote) or a cited source; a link the paper does not state is a human-confirmed "inferred" edge, as in IDEA-32. A human can mark an intuition as reviewed, wrong or superseded; corrections supersede and never edit. Open questions: where background-concept nodes get their source (the citing paper's text, a textbook reference the researcher supplies, or a cited survey); how to keep the explanations short and checkable; whether the researcher writes the first version of a concept node and the agent only links to it.
The researcher re-raised IDEA-01 (a UI to manage several projects) on 2026-11-04, and added the two ideas below.
Status: built (v1; slice 4a, decision 61): services/inbox.py, inbox_watch.py, MCP inbox_add, inbox_list, inbox_resolve, tests tests/test_inbox_*.py; on main. (status refreshed 2026-11-21; was: accepted (slice 4a, decision 61; implemented v1)) · Added: 2026-11-04 · Slice: 4a · Depends on: slice 1 seed_add, IDEA-02 (candidate inbox), plan C/D pipeline
What: the researcher drops links (arXiv, DOI, publisher page) into a per-project inbox, from the CLI, the MCP server or a future UI; each link is resolved to a work, deduplicated against the corpus, marked as researcher-supplied, and then goes through the same path as any candidate: screening under the protocol, full-text acquisition, conversion and extraction.
Why: papers the researcher finds by reading, talks or colleagues are often the most relevant, and today they enter only as seeds.
Rigour notes: a supplied link enters the corpus as a candidate, never as an inclusion: it is screened by the protocol like every other record, and PRISMA reports it as its own source ("researcher-supplied") so the search remains reproducible. Supplying is a human event with the human actor. Whether supplied papers may be screened differently is a protocol choice declared before screening, not a silent default.
Open questions: one inbox per project or a shared inbox routed to projects; how this differs from seed_add (seeds steer search and are not screened the same way); whether a supplied link after the search date counts as a supplementary search.
Status: built (v1; slice 4a, decision 61): services/discovery.py, MCP report_discovery, test tests/test_discovery.py; on main. (status refreshed 2026-11-21; was: accepted (slice 4a, decision 61; implemented v1)) · Added: 2026-11-04 · Slice: 4a · Depends on: slice 1 search events, IDEA-34
What: for every work, a computed discovery record: which routes found it (database search, snowballing backward or forward, researcher-supplied, seed, agent suggestion), whether a human or an agent first surfaced it, and when. Reports show per-route and human-versus-agent counts for the corpus, the included set and the final evidence.
Why: whether humans or AI systems find the papers that end up mattering is itself useful data, for this programme and as evidence about AI-assisted research. It can later inform how much weight a route deserves.
Rigour notes: the record is derived from events (actor kind and channel already sit on every event), never typed. Weighting by discovery route must never change screening or evidence counts silently: any use of it is a declared protocol rule, reported in methods, with the unweighted figures shown too.
Open questions: what "first surfaced" means when several routes find a work in one session; whether a researcher-supplied paper that a search also finds counts for both; what a weight would be used for (ordering screening, sensitivity analysis), since inclusion must stay protocol-based.
Status: new (to be folded into IDEA-37 as its shared mining layer) · Added: 2026-11-04 · Slice: — · Depends on: plan 2D (extraction), IDEA-01, IDEA-06
What: a shared, read-only library of finished extractions keyed by work, document version (canonical Markdown hash) and pack version. When a project includes a work that another project has already extracted with the same pack, the project can import those rows instead of extracting them again. The imported rows are re-verified deterministically against the project's own copy of the document (quote-in-cell, units), and the project extracts only the fields its protocol declares that the library does not hold.
Why: the same benchmark papers recur across ML projects. Extracting them again costs agent time and gives no new evidence.
Rigour notes: an import is a recorded event in the importing project, with the source project, the source extraction ids and both pass identities. It is never a silent copy. Imported rows count as reused, not as independent dual extraction, unless the source already had two agreeing passes; methods and the report state how many rows were imported. Rows become stale under the same rules as local rows: a different document version or pack version means no import. Each project's protocol can decline reuse, or require a fresh audit sample on imported rows. Events stay per project; the library is a projection over finished extractions, never a writable store.
Open questions: whether the library is built from events across projects/ or kept as a separate store; how the protocol's comparability keys interact with rows extracted under another project's keys; whether a correction in the source project propagates as a staleness flag to the projects that imported it.
The researcher proposed on 2026-11-04 that extraction be treated as mining: a set of miners runs over a corpus and reports back, more miners are added over time, their output is the basis for graphs and other views, and agents may author and run miners of their own. The entry records the abstraction so that later slices build towards it; nothing here is built until a slice spec takes it in.
Status: built (miners are registered, versioned and run in the pilot (services/mining.py); status corrected 2026-11-11; was: new) · Added: 2026-11-04 · Slice: — (after the worked example) · Depends on: plans 2C, 2D, 2E, G1, G2, G3; absorbs IDEA-36 and project-declared fields
What: four layers.
- Corpus layer. Works and their canonical documents, shared across projects (documents are already project-independent by content hash).
- Mining layer. A miner is a declared, versioned, hashed specification: a selector (which works, documents or sections it reads), an output schema (typed records whose fields come from a fixed menu of verifiable kinds: number with unit, enum, verbatim quote, citation, anchor reference, work reference), an evidence rule (every record anchored to a span and checked by a deterministic verifier), a procedure (the skill text the agent follows) and a quality regime (number of independent passes, agreement rule, human audit rate). A run is agents pulling tasks (
mine_next) and submitting records (mine_record); the platform verifies, records events and never calls a model. A mined record is keyed by (miner id, miner version, document version), so it does not depend on any project. - Builder layer. Deterministic consumers of mined records: the evidence report and its frontiers, the citation graph, the lineage graph, a contradiction finder (IDEA-07), and so on. A builder declares which miners and versions it reads.
- Project layer. A project's question selects corpus subsets, chooses miners and builders, and states in its protocol which mined records count as evidence.
What is built or planned today maps onto it as four hand-written miners sharing one machinery (task queue, dual pass, agreement, audit sample, span verification, staleness on document or schema change):
| Today | As a miner |
|---|---|
| Screening (slice 1, 2C) | work → include/exclude with cited criteria |
Extraction (2D, ML_BENCHMARK_V1 pack) |
document → table rows, each value quoted from its cell |
| References (G1) | document → citation edges, each tied to a bibliography entry |
| Contributions, concepts (G2, G3) | document → lineage and concept nodes with source spans |
Agent-authored miners. Agents running over a corpus may propose and run miners of their own, under these rules: (1) a miner is registered (versioned, hashed) before its first task, as a protocol amendment is, and its schema cannot change after results are seen; (2) its fields use only the verifiable kinds above, so every value stays traceable to source text; (3) its output is exploratory until it passes a calibration sample (human-labelled set, declared agreement threshold), and only then may a protocol count it as evidence; the proposer is not the evaluator (R-51); (4) a discarded or failed miner stays recorded (R-52, IDEA-16).
Why: each new kind of question currently needs a new pack or service in code. A miner abstraction lets the corpus be organised for many scientific outputs at once, lets mined records be reused across projects (IDEA-36), and gives graphs and reports one uniform input.
Rigour notes: the platform still never calls a model; generality must not cost the specific checks (the number tokenizer, unit agreement, quote-in-cell, citation markers survive as field kinds and verifiers, not as free text); imported or reused records are labelled as such and do not count as independent passes unless their source had them; evidence status is a protocol decision, never a default.
Open questions: whether screening fits the same record model or stays a special case (its PRISMA accounting is stricter); how a miner's selector names document sections stably across converter versions; where the shared mining store lives (a projection across projects/ or its own event log); how builders handle records from several versions of one miner; cost control for agent-authored miners run over a whole corpus.
Plan: generalise only after the worked example, from the four concrete miners (rule of three), via brainstorming on the existing specs into a slice spec.
Status: built as slice M (decision 84): modules/contract.py (GateSpec, floors, Autonomy), modules/presets.py (policy per rigour mode), services/gates.py, protocol gate_policies, pin test tests/test_gates_by_preset.py; on main. Extended on the integration branch tiers-base, not on main, by slice 9: modules/autonomy.py (AUTONOMOUS_FLOOR, shipped empty), services/gate_trust.py, services/deferred_review.py, services/conductor.py; floors for autonomous wait for decision 165 (D3). Not built: several implementations per stage behind one contract. (status refreshed 2026-11-21; was: new) · Added: 2026-11-04 · Slice: — (after the worked example, with IDEA-37) · Depends on: slice 1–2 stages, IDEA-37, docs/02-production-lines.md, rigor modes (00-system §6)
What: every step of the factory becomes a stage module with one contract, so that each step can be run by a human, by a human with agent help, or by agents alone, without changing the step. IDEA-37's miners are one module kind; the others follow the same contract.
- Contract. A module declares: its inputs and outputs as typed artifacts referenced by id (question, protocol, search run, candidate set, document, mined record, graph, hypothesis, experiment result); its events; its gates (the decisions that bind later stages, e.g. "protocol frozen", "screening agreed", "hypothesis registered"); its quality regime (passes, agreement, audit, calibration); its checks (what
checkreports for it); and the methods text it contributes to the report. - Implementations. A module may have several implementations (strategies) behind the same contract, e.g. scoping by researcher interview, by probe search, or by an agent drafting from a seed set. The implementation and its version are recorded in provenance, so outputs from different strategies stay comparable.
- Gate policy. For each gate, the protocol states who may pass it:
human,agent + human audit (rate r), oragent. Rigor modes become preset gate policies (systematic: human at every binding gate; pilot: agent with audit; exploratory: agent). An autonomous factory is a gate policy, not separate code; a run states its policy in methods, and outputs carry the autonomy level under which they were produced. - Stages as modules (first cut): question scoping → search → screening (filters) → acquisition and conversion → mining (IDEA-37) → builders (evidence report, graphs, gap and contradiction finders) → hypothesis generation and registration (R-50) → validation (experiments, falsification on data; IDEA-17) → reporting. These are the production lines of
docs/02-production-lines.mdexpressed as compositions of modules. Why: the researcher wants each step abstracted well enough that humans running the factory get clear, reusable steps, and that the same steps can later be automated for agents, moving towards more autonomous factories without rewriting the pipeline. Rigour notes: autonomy is declared, never inferred: the gate policy is part of the hashed protocol and changes only by amendment; outputs produced under a weaker policy are labelled and never silently mixed with those produced under a stronger one; proposer ≠ evaluator holds at every gate (R-51), so an agent never passes a gate on its own proposal; the platform still never calls a model, so "agent" at a gate means an agent acting through MCP under its recorded identity. Open questions: how much of today's per-stage code (screening, extraction, references) can move behind the contract without changing event types; whether gate policies are per project or per run; what a scoping module's output is precisely (the slice-1 question and protocol records, or a richer scope artifact); how hypothesis and validation modules fit the event model before slice 5 specifies them. Plan: with IDEA-37, after the worked example: write the contract from the stages already built (scoping, search, screening, extraction, references), then spec new modules against it.
Status: triaged (draft slice 8); a first version exists only as the fixed tier plan on the integration branch tiers-base (factory/tiers/plans.py TierPlan: stages, caps, limits per tier; factory brief plan). It is typed data chosen by the tier, not a versioned study plan, not rf-plan, with no critic or objectives and KPIs; those parts stay open. (status refreshed 2026-11-21; was: triaged (draft slice 8)) · Added: 2026-11-06 · Slice: 8 (draft) · Depends on: rf-frame, rf-protocol, method profiles (decision 35), IDEA-38
What: a skill rf-plan that works with the researcher alongside framing to define the research plan: the aim and question type, a composition of methods with reasons, backward planning from the final claim, the analysis plan, risks, cost and stopping rules. A separate critic agent with no authoring context challenges the plan, and the researcher confirms it. The result is a recorded, versioned study plan with phases, each naming its method and handover, and each protocol points back to its phase. Sub-questions become a first-class part of the question.
Why: a protocol fixes the procedure of one method, not the argument from question to claim. A study may combine methods, for example Design Science Research as the frame, with a scoping review under a PRISMA-P protocol as its first phase. Today nothing records that, and method_profile holds one value, so scoping plus living cannot be declared.
Rigour notes: the plan is fixed before results and changes only by a recorded amendment with a reason. The method choice records the alternatives rejected. Only the researcher confirms a plan. A plan's phases must not weaken a phase's protocol requirements.
Objectives and KPIs (researcher, 2026-11-06): a study has one overarching goal, several objectives or sub-questions, and KPIs per objective, in the style of Goal-Question-Metric. Each is traced through the process: criteria, extraction fields and report sections name their objective, progress is computed from events, and an extraction field with no objective, or an objective with no field, is a gap. The stage must also develop the question before recording it: diagnose it, scan the literature, offer real alternatives, have it challenged.
To revisit (researcher, 2026-11-07): the research plan of the agentic-science pilot was accepted for now, to be developed further; come back to what a plan should contain.
Open questions: one project with phases or linked projects; whether a plan gates the probe; how factory status shows progress against the plan; which methods the router knows. Prototype by hand in the agentic-science pilot first (rf-plan draft kept outside the repo) and build only what proved useful.
Status: partly: the stage-alternatives research of the night of 2026-11-20 (prompt docs/plans/2026-11-20-tiers-and-autonomy/prompts/R-stage-alternatives.md, one read-only report per stage) is the first evidence-backed input to a design (slice 9); its reports are not in the repository (not verified). The practice of one exploratory review per design choice is not set up. (status refreshed 2026-11-21; was: new) · Added: 2026-11-06 · Slice: — (after the first agentic-science pass) · Depends on: exploratory mode, rapid-review profile, IDEA-39
What: each substantial design choice in the factory gets a small review run by the factory itself, for example "which methods are best for research planning?". Each is a separate exploratory project that ends in a short evidence note linked from the decision it informs.
Why: the researcher wants factory design to rest on literature, not on what an agent recalls; each run also exercises the factory on a small real question.
Rigour notes: the factory judging its own design is circular, so results are advisory and a human decides. Methods recalled by an agent are marked unverified until such a review checks them. Keep each run small and time-boxed.
Open questions: which choices merit a review; a fixed cost limit per review; how a decision row links to its evidence note.
Status: built as the brief tier on the integration branch tiers-base, not on main: factory/tiers/plans.py, factory brief new|plan|status|note (cli/brief.py), skill rf-brief, services/brief_note.py, services/tier_caps.py (caps enforced), conductor services/conductor.py, test tests/test_tiers_walking_skeleton.py. Gap: the stock brief plan does not reach extraction without a workaround (lane L15, prompt only, not built). Promotion is by import (proposed decision 168), not in place. Never run live (IDEA-129). (status refreshed 2026-11-21; was: new) · Added: 2026-11-06 · Slice: — (after the first agentic-science pass) · Depends on: exploratory mode, rapid-review profile, IDEA-40
What: a very quick version of the factory for a small question: one short command or skill that goes from a question to a cited evidence note in one sitting, with a light frame, one search, single-pass screening, a small paper limit and a fixed cost limit. It is the vehicle for the small reviews of IDEA-40.
Why: the researcher wants to run many very small research projects, and the full path of probe, protocol, PRESS, calibration and dual passes is too heavy for them.
Rigour notes: still event-sourced and traceable, with every claim citing its source. The output states plainly that it is a quick review and which steps were skipped. A quick project can be promoted to a fuller mode without losing its record.
Open questions: how much of exploratory already gives this; the default paper and cost limits; which steps can be skipped with no risk to traceability.
Status: built (services/ranking.py, ranking_model.py, ranked_queue.py (decision 116); status corrected 2026-11-11; was: triaged (researcher, 2026-11-07: build before the agentic-sc) · Added: 2026-11-07 · Slice: — · Depends on: screening, a decision on local models
What: order title and abstract screening by similarity to the positive seeds, computed locally (for example an embedding model or active learning as in ASReview), so agents screen the likeliest records first and stop by a stated rule, such as a run of consecutive excluded records. The ranking, the model and the stopping point are recorded as events.
Why: the agentic-science probe returns about 2,000 to 2,300 unique records for a rapid review; screening every record costs millions of tokens. The researcher asked for a cheaper local alternative.
Rigour notes: ranking never excludes; unscreened records after the stop are reported as such in PRISMA, with the rule, and the stop is disclosed as a rapid-review shortcut. Held-out seeds must not be used to rank (R-20); only development seeds. Deterministic given model version and inputs.
Open questions: whether a local embedding model is compatible with "the platform never calls a model" (precedent: docling, decision 49) — needs a decision entry; which model; which stopping rule; how recall of the stop is checked (held-out seeds, audit sample).
Status: built (snowball_round, snowball_core_list and snowball_compare exist; status corrected 2026-11-11; was: triaged (researcher, 2026-11-07: needed for the agentic-scie) · Added: 2026-11-07 · Slice: — · Depends on: IDEA-42 (ranker), snowballing (slice 3a)
What: a forward round starts only from core papers (the positive seeds plus papers the scientist marks core at full text), keeps only citing works that match a topic filter declared in the protocol, and takes at most N citing works per core paper, ordered by similarity to the development seeds. N, the filter and the core set are protocol fields, fixed before the round.
Why: forward snowballing is otherwise unbounded: in the pilot one seed (Co-Scientist) had 355 citing works in OpenAlex and another 119; a round from 200 to 500 included papers would add thousands.
Rigour notes: the cap and the filter are declared shortcuts, reported with the number of citing works not taken per core paper; marking a paper core is a human event; held-out seeds are never used to rank (R-20).
Open questions: whether citing works beyond N are listed for a later round; how "core" is recorded (a label or a screening field).
Status: built for slice 8 operations (ranking, search, probe, snowball, dedup, chase; services/progress.py); not extended to the feed run, the automatic steps or headless runs (parked, plan 2026-11-11-restart-and-costs.md) · Added: 2026-11-07 · Slice: 8 · Depends on: slice 8 phase I (live dashboard)
What: long operations (ranking embeddings, exhaustive search paging, snowball probes, deduplication) report progress while they run: done and total where known, rate, and an estimate of time left. Progress is ephemeral state (a small file or in-memory table read by the dashboard and a progress MCP read tool), never an event.
Why: in the agentic-science pilot the SPECTER2 ranking of 4,198 records ran for minutes inside an MCP call with no sign of life; the researcher asked for progress. The same holds for 20-page OpenAlex runs.
Rigour notes: progress is not provenance; nothing in it is recorded or counted. The final counts still come from the events.
Open questions: whether MCP progress notifications are shown by the client; how the dashboard reads progress without opening the write lock.
Status: built, reviewed (fixes in), partly tested, on main since the unification of 2026-11-12 (ae5f5b5); not tried live. Built on branch plan-restart-costs (plan 2026-11-11-restart-and-costs.md): run drivers persisted in projects/<slug>/runs/<id>/ (decision 119); interrupted() finder (a pure read), factory resume [--dry-run], the hub Resume button and Interrupted panel, factory runs adopt for pilot-style drivers; usage-limit stops recognised as their own kind limit and held until the reset time (5-hour estimate when the time does not parse). Numbered IDEA-44 in the main checkout until 2026-11-11 · Added: 2026-11-08 · Slice: — · Depends on: project status, task leases, pilot log
State at wrap-up (2026-11-12): Built: everything above; nothing more is planned for v1. Not built: the dashboard Interrupted line shows counts only (IDEA-63). Tests run (one file per process, all pass): test_resume*, test_runner, test_pipeline, test_cost_report, test_runs_adopt, test_usage_limit, plus the feed, inbox, hub, dashboard, trace, decisions, check and MCP files fixed on the branch (see IDEA-63). Not run: the full suite; about 400 test files on the unified line (IDEA-65). Index and events: this line raised PROJECTION_VERSION to 82 earlier (now 83 on main); the wrap-up changed nothing the index stores, so no bump. No new event type: runner.started gained the optional fields resumes and adopted (defaults keep old events valid); the pilot log contains no runner.* events. Next step needs: one live trial with the researcher on agentic-science (Process now once, then a deliberate interruption and factory resume), and a real usage-limit stop recorded as raw stream-json to confirm the detection rule (IDEA-63 item 1).
What: every long-running step (screening waves, searches, ranking, conversion) keeps its driver script, prompts and MCP configuration in a persistent project folder, never in a session scratchpad or /tmp. A factory resume <project> command reads the derived stage, releases expired leases, and prints (or runs) the recorded runbook command for the step in flight.
Why: on 2026-11-08 a power loss left the events and leases intact but destroyed the screening driver, prompt and live-log scripts, which lived in /tmp; they were rebuilt from a session transcript. The platform restarts cleanly, the orchestration around it does not.
Rigour notes: the runbook is a pointer, not a decision; resuming never edits events; the command, its arguments and the prompt version are recorded so the restarted run is traceable.
Open questions: where the runbook is stored (project folder or an event, e.g. step.runbook_recorded); whether the pilot log is replaced by derived events; how interrupted headless screeners are detected (expired leases, pass_joined without completion).
Status: built, reviewed (fixes in), partly tested, on main since the unification of 2026-11-12 (ae5f5b5); not tried live. Built on branch plan-restart-costs (plan 2026-11-11-restart-and-costs.md): run cost reader from recorded run logs (API-equivalent prices), MCP unit counter per run (units.json), factory costs, hub Run costs page; pilot baseline in experiments/run-costs/ ($235.84 over 763 runs, mining 92%). The cost-reduction experiments (batch size, criteria once per session, shorter skills) are not built · Added: 2026-11-08 · Slice: — · Depends on: IDEA-42, screening skill, CLI and MCP adapters
State at wrap-up (2026-11-12): Built: the measurement side. Not built: the reduction experiments. Tests run: test_cost_report, the cost reader and token-growth tests pass one file per process; the full suite was not run. Index and events: none added; costs are read from stored logs, not recorded as events. Next step needs: a decision on which reduction experiment to run first, and the costs of new runs once the hub's Process now is used live.
What: measure and report the cost of a screening run by component: per-screener process start (time, RAM per factory serve), tool-schema and ToolSearch overhead, tokens per turn as the transcript grows, cost per record against batches per session (for example 3 versus 10), batch size, skill length, criteria re-served with every batch. Compare an MCP screener with a CLI screener (Bash calls to factory), if the CLI can give each caller its own session identity for the independence guard.
Why: pass A of the agentic-science pilot cost about $0.25 per 100-record screener session (CLI estimate, Haiku); the transcript is re-read on every turn, so cost per record rises with session length. The researcher wants the costs understood and reduced in a later version.
Rigour notes: cost changes must not weaken independence (separate sessions per pass), the verbatim-quote check, the leases, or the calibration gate; any change to the prompt or skill length is re-checked against the calibration set.
Open questions: whether batch size is a protocol field or fixed; serving criteria once per session instead of per batch (a factory change); whether in-process subagents using the CLI can hold distinct session identities; per-run cost as a recorded figure (token counts are not events today).
Status: PRISMA line built 2026-11-14 (branch low-hanging-2, merged to main dbe3d01, reviewed (one Sonnet review, fixes 1ed65da to 2a5c4fb and 570d467); 9f19796: PrismaFlow.unscreened_tolerated and the works, markdown and SVG line, methods sentence; ruling "PRISMA line + methods"); earlier: partly built 2026-11-14 on branch results-consistency (protocol field screening.unscreened_tolerance, defaults fewer than 3 or 1%, alternatives; wired into screen_agreement, passes_settled, agreement_summary; Agreement.unscreened lists the works; not reviewed). Proposals, not built: PRISMA line for the tolerance and the works (lane G area); a per-work technical reason needs a new event (screening.unscreened_declared, with work, reason, actor) and a check that tolerated works carry one; pass B and full text excluded · Added: 2026-11-08 · Slice: — · Depends on: screening agreement (screen_agreement), PRISMA, protocol
What: a protocol field (for example unscreened_tolerance: fewer than 3 records or at most 1% of the pass A queue) under which screen_agreement and the pass-settled check proceed although some pass A works have no live decision, because the work could not be screened for a stated technical reason (could not be acquired, an unrecordable identifier). Each such work is listed with its reason; the tolerance, the works and the reason are reported in PRISMA.
Why: on 2026-11-08 one record (a Korean-name work id, decomposed Unicode in the store) could not be recorded; the agreement check refused until it had a decision, and a deviation cannot satisfy it. The researcher: always accept 1% errors for pass A.
Rigour notes: a declared shortcut, never silent; fixed in the protocol before screening (or amended with a recorded reason); the unscreened works are disclosed as unscreened, not counted as excluded; applies to pass A only as ruled by the researcher.
Open questions: whether "fewer than 3" and "1%" are alternatives or both must hold; whether it also applies to pass B and full text; how a deviation record relates to the tolerance.
Status: built 2026-11-14, steps 1–4 of the design (branch low-hanging-2, merged to main dbe3d01, reviewed (one Sonnet review, fixes 1ed65da to 2a5c4fb and 570d467); 157f97b; design approved by the researcher, decision 122 proposed); the EX02 amendment of the pilot protocol is the researcher's act, not done · Added: 2026-11-08 · Slice: — · Depends on: screening outcomes, snowballing (slice 3a), reference extraction
What: a work excluded under a "kept as background" criterion (EX02 in the agentic-science protocol: surveys and reviews of AI research systems) is recorded as background, not simply as an exclusion. Background works can be converted and have their reference lists extracted, so that a backward snowball round can take them as sources; they are not counted as included in PRISMA and carry no extraction.
Why: the agentic-science EX02 text says surveys are "recorded as background and snowball sources", but no mechanism does this: snowball rounds take only included works with an extraction. The 2026-11-08 audit also found two of 38 sampled agreed exclusions were surveys that the researcher labelled include (a wish for them to go on).
Rigour notes: background is a declared category in the protocol, reported separately in PRISMA; it never changes an inclusion count; a background work's references enter the corpus only through the protocol's snowball plan and screening.
Open questions: whether this is a screening verdict or a flag on an exclusion; whether background works need full-text acquisition; how it relates to the intuition layer's background concepts (slice 3c); whether the snowball plan names background sources explicitly.
Design, lane G overnight 2026-11-14 (proposed, not built; blocked on the protocol model change below): safest reversible reading: background is a derived flag on an exclusion, never a verdict (Outcome unchanged, so every identity in PrismaFlow still holds).
- Declaration (the blocking change).
model/protocol.py, classCriterion: addbackground: bool = False, valid only on an exclusion (a_priority_matches_kind-style validator: "an inclusion cannot be background"), and omit it from every dump while false (extend amodel_serializer(mode="wrap")onCriterion, asCriterionExamplesdoes for its cases), so protocols that predate it keep theirP@versions. A true value is a rule, so it is hashed; declaring it is a protocol amendment. Nothing in the protocol today declares it, so the derivation below has nothing to read; the EX02 text of the agentic-science protocol would gain"background": trueby amendment. - Derivation (no event, no projection change).
services/screening.py(next toexclusion_criteria):background_works(project) -> dict[str, str], work id to criterion id, for the works whosefinal_outcomesis excluded and whose deciding criterion (exclusion_criteria(project)[work]) is a criterion of the current protocol withbackgroundtrue. Computed on read from the existingscreen.recordedevents; a change of protocol re-derives it. - PRISMA.
PrismaFlowgetsbackground: dict[str, int](criterion id to count), a subset view ofexcluded: the identityexcluded_total + pending + included == screenedis untouched andincludednever counts them; the field is left out of the dump while empty.prisma_flowfills it frombackground_works; the text and site renderers print "of which kept as background: n (EX02)" under the exclusion row. Full-text excluded works under a background criterion withapplies_atfull-text are reported the same way inFullTextBoxes(a second field, same rule). - Snowball sources.
SnowballPlangetsbackground_sources: bool = False(omitted while false, as the forward options are): "a backward round also takes works kept as background as sources".snowball.py_scopethen addsbackground_works(project)that have a current extraction tosources(the extraction of a background work is a reference-list extraction only;references_extractalready works on any converted work).plan_roundlists background works with a document and no extraction underunextractedbut never under the blockingNOT_EXTRACTEDrefusal; the references they cite enter the corpus only as candidates screened by the usual passes. Forward rounds are unchanged (they start from included or core works). - Open questions, answered by the reading above, to confirm: flag on an exclusion, not a verdict; full text is acquired and converted for a background work only on request (
fulltext_fetch), never required, since its reference list needs a converted document; relation to the intuition layer: none in v1, since background concepts there are interpretations, not works (a later link could attach a background work to a concept); the snowball plan names background sources by the single boolean above, not by work. - Tests when built (fixtures only): criterion with
backgroundtrue on an inclusion refuses; protocol hash unchanged when the flag is absent or false;background_workson a fixture with EX01 and EX02 exclusions;prisma_flowidentities hold with background works andincludedexcludes them; snowballplan_roundwith the plan flag off takes no background source, on takes the ones with an extraction. Needs a screening fixture helper of its own (nottests/screening_helpers.py). Status of this design: no code written; the first step, theCriterionfield, is a change to the protocol model and was left for the researcher.
Status: built 2026-11-14 on branch test-baseline-2 (on main since merge 5dba7df), reviewed 2026-11-14 (one Sonnet review of f6d7a89 and 7ab8d6b, no major; minors in backlog-iterate.md): filter document/linenumbers.py (run of at least 5 adjacent 1 to 4 digit paragraphs counting up by one; page breaks do not end a run; numbers interleaved with text lines are not caught), docling converter version 1.2, coverage ignores bare-number tokens (conversion_coverage.content_words). A version bump adds a conversion and keeps the old one (tested); re-converting the pilot PDFs is the researcher's to start. Ruled (researcher, 2026-11-14) and built on branch low-hanging (2e0b939, 7cbb234; reviewed): a plain document convert skips a document whose latest conversion is another version of the same converter and reports it as outdated ("older converter version; use --upgrade"); --upgrade re-converts and keeps the old conversion; automatic callers (work_queue) stay plain. Any differing version counts as older (no version ordering) · Added: 2026-11-09 · Slice: — · Depends on: docling converter (decision 49), factory document convert
What: a post-filter after docling that drops paragraphs consisting only of 1 to 4 digits that sit in a run counting up by one (the margin line numbers of a review-format preprint), before anchors are assigned. The converter version is bumped and the affected PDFs re-converted. The automatic coverage check (factory document coverage) could also ignore bare-number tokens, so these PDFs stop appearing as low recall.
Why: on 2026-11-09 the lowest-recall PDFs of the agentic-science pilot (for example 607 to 914 bare-number paragraphs in each of the three worst) were line-numbered preprints: each line number became its own paragraph with its own anchor. The text is intact; the numbers inflate the paragraph count and break word 5-grams at every line, which lowers recall and precision. The researcher chose to leave the conversions as they are for now.
Rigour notes: a bare number can be a real paragraph (a table value, a page number), so the rule needs the run condition; dropping paragraphs renumbers the anchors, so it is a converter version change and must come before anything cites them; the filter is recorded in the converter version.
Open questions: whether to filter in the converter or at read time; whether the other converters (latexml, pandoc) need a counterpart; whether the coverage check should ignore bare numbers in any case.
Status: open question settled 2026-11-14: an unresolved full-text cannot-assess is awaiting classification (branch low-hanging-2, merged to main dbe3d01, reviewed (one Sonnet review, fixes 1ed65da to 2a5c4fb and 570d467); 6c1ca90, 9d7b448; decision 121 proposed); earlier: built 2026-11-12 on branch idea-49-nfc-resolve, merged into main 2026-11-12 (parts 1 and 2; not reviewed; part 3 not built, options below; follow-ups IDEA-66, IDEA-67) · Added: 2026-11-09 · Slice: — · Depends on: screen resolve, agreement outcomes (final_outcomes), screening NFC fix (_as_stored)
What: (1) screen resolve also accepts a cannot-assess single-pass or dual-pass work at full text, so the researcher can settle it to include or exclude. Today cannot-assess counts as promote and resolve refuses it ("not an unresolved disagreement or an unsure single-pass work"), so a work whose criterion the text could not settle, or whose document could not be read, goes to extraction as included. (2) document_read (and the batch membership check it uses) matches work ids after NFC normalisation, as screen_record now does.
Why: on 2026-11-09 three full-text pass A works were cannot-assess (a conference slide deck, a framework not shown to be LLM-based, and a Korean-ID work whose document the screener could not read: "not a record of a batch this session holds"). The researcher decided to exclude one of them; the platform could not record it.
Rigour notes: a resolution stays a human act with a reason and, for an exclusion, an EX criterion; a verdict recorded without a successful document_read should be refused at full text (the 2026-11-09 Korean-ID record got a cannot-assess verdict without reading the document).
Open questions: whether cannot-assess at full text should instead be a pending human item like unsure; how a language rule (non-English works dismissed) is expressed, as an EX criterion by amendment or a separate screening field.
Built (2026-11-12, branch idea-49-nfc-resolve): (1) document_read reads an id whose NFC form equals that of exactly one work as that work (the page carries the stored spelling), and the batch and miner membership checks (_held_pins, _held_selection, so selected= too) compare NFC forms. The cause: normalize_title applies NFKD, so a Hangul word in a work id (surname or title slug) is stored as jamo, while a model writes it composed. (2) At full text, screen resolve also accepts an unresolved cannot-assess work: single-pass (pass A cannot-assess) or dual-pass where the passes do not disagree and either is cannot-assess (cannot-assess against exclude was already a disagreement). Same rules as other resolutions: human only, a non-blank reason, an exclusion needs an EX criterion; no new event type and no index change. Unresolved, such a work still promotes (not PENDING; passes_settled unchanged), so the open question above stays open. agreement.cannot_assess_open(stage=) lists the works; factory screen disagreements --stage full-text prints them before the disagreements (it runs only once both passes have finished, as before). Title/abstract is unchanged. screen resolve also matches the work id after NFC normalisation against the resolvable works, so a Korean id typed or pasted composed is recorded under its stored (decomposed) spelling. Other CLI commands that take a work id still match exactly; the root cause (normalize_title applies NFKD, so Hangul is stored as jamo) cannot be changed without changing existing ids, so the remedy is NFC matching at each input.
Tests run (one file per process, 2026-11-12): new test_document_read_nfc.py (3; 2 fail on main with "not a record of a batch this session holds" and "not promoted at title/abstract"), new test_fulltext_resolve_cannot_assess.py (6, CLI and a decomposed id included), test_agreement.py (one new title/abstract test), test_document_read.py, test_document_read_gate.py, test_miner_select.py, test_cli_fulltext_screening.py, test_mcp_fulltext_screening.py, test_screening_model.py pass. test_fulltext_screen_record.py, test_screening_record.py, test_mcp_screening.py and test_screening_next.py have 34 failing tests, the same 34 on main 5bc9879 (compared file by file; e.g. _serve_calibration in tests/screening_helpers.py gets no batch: stale helpers, not this change). test_acceptance_*screening.py and test_extraction_agreement.py are deselected by the default markers (not run). Not run: the extraction-session path of the NFC fix with a decomposed id (shared code, covered only through the full-text screener path), the MCP surface with a decomposed id, the full suite.
Not built, part 3 (verdict only after a successful document_read): document_read writes nothing (module invariant), so the platform has no record that a session read a work. Options: (a) an in-memory set in the MCP server, per session, of works read; screen_record at full text refuses an item without one. No event, but lost on a server restart (a screener whose server restarted mid-batch would have to read again), and the CLI path (human screeners) would be exempt. (b) A new event (document.read) or index table recording reads, checked by screen_record. Durable and traceable, but it needs a new event type (breaks the CLI of every line that lacks it) and a projection bump, and every document read writes an event. (c) Require the item to carry the markdown_hash or conversion_id returned by document_read, checked against the pin. Cheap, no new state, but a pinned conversion id is already in the batch, so it proves little. (d) Leave it to the verified quote: a full-text verdict already needs an anchor that exists in the pinned conversion and, from an agent, a quote verbatim in that anchor. A verdict made without reading slips through only by quoting text known from the batch record (such as the title) at a guessed anchor; part 2 now lets the researcher settle such a cannot-assess work. (e) Tighten (d): refuse a full-text agent quote that is only the work's title. Cheap, no new state, but heuristic. Recommendation: (d) now, (b) if reads must become evidence; needs a ruling.
Ruling (researcher, 2026-11-14), part 3: option (d): no new check; a full-text verdict stays bound by the verified quote at an anchor of the pinned conversion. Option (b) is revisited only if reads must become evidence. Part 3 is closed as not built by ruling.
Next step: a review of the branch; the researcher resolves the 2026-11-09 cannot-assess works on the pilot once merged (the Korean-ID work can now be read and re-screened); a ruling on part 3 and on whether an unresolved full-text cannot-assess should be PENDING.
Status: merged in main and live in the runtime (2026-11-12, branch plan-taxonomies, decision 120 proposed; untested: mypy and ruff only; one Sonnet review, Important findings fixed, minors in the plan §11); design plan ruled by the researcher, Q1 registered object like miners, rest as recommended, Q11 miners automatic on core and adjacent, on demand per work or layer from the hub queue, layer moves by the researcher; plan 2026-11-12-taxonomies-as-versioned-objects, rulings Q1–Q13 in its §8) · Added: 2026-11-09 · Slice: — · Depends on: IDEA-37 (miners), the screening criteria and amendment machinery (stale rules), m-descriptors-style descriptor miners
What: a taxonomy is a declared, versioned, hashed specification, treated like a miner or a set of criteria: dimensions (technique, field, data, architecture, autonomy, human role, evaluation, stages), each with named categories (definition, inclusion cues, example quotes), whether a work takes one or several categories, and explicit other and not stated buckets. A classification miner is derived from it (fixed enums; every assignment carries a verbatim quote and anchor; a work with several categories gets one row per category). The loop: (1) descriptor miner quotes how papers describe each dimension; (2) frequency and keyword coverage lists are computed (counts, never judgements) with samples; (3) the researcher accepts, renames, merges or adds categories, creating taxonomy version N; (4) the classification miner runs; (5) the other bucket and the disagreements feed proposals for version N+1 (an agent proposes a split, merge or new category with the works behind it; the researcher decides); (6) only the works whose category rules changed are re-classified (as stale rules do for criteria). Reports show category counts, per-category agreement between passes, an audit sample per category, and the lineage of a category across versions (split from, merged into). Taxonomies are reusable across projects and comparable by diff.
Why: on 2026-11-09 the agentic-science pilot built its first taxonomy by hand: 14 quote fields mined for 368 works, keyword candidates with measured coverage (technique 74 and field 73 works matching nothing; autonomy 106 of 192, human role stated in only 136 works), and the researcher accepted 69 categories over eight dimensions as version 0. The process worked but lives in scripts (screeners/taxo_*.py), not in the platform; the categories and their patterns are not versioned events, and nothing tracks which works to re-classify when a category changes.
Rigour notes: the categories are the researcher's, never the agent's; keyword patterns only propose and count, they never classify; every assignment is quoted and verified like any miner row; counts are computed; a taxonomy version is part of the protocol hash when used as evidence; agent-proposed changes are marked as proposals.
Open questions: whether a taxonomy is a protocol section (like criteria) or a registered object (like a miner); how multi-label rows fit the miner row key; how not stated differs from other; how embeddings (SPECTER2) can suggest clusters without deciding them; lessons from the first spec: a required quote field must allow a "not stated" outcome for general-purpose papers (field_of_science blocked PaperClaw), and selector.max_units caps works, not paragraphs.
Status: part built, on main (53ddb54), reviewed 2026-11-14 (one Sonnet review: --check skipped the protocol checks, so a real run could register and then be refused, leaving an unlisted miner; fixed on branch low-hanging-4: a0e6a3e, 3d9acab, the protocol's own amendment_issues and review gate run under the same lock before registering; dropped or ignored use settings are printed; reviewed) (2026-11-14, branch calibration-guard: factory miner add FILE [--check] [--reason], services/miner_add.py; items (1), (3) in full, (4), (5) not built) · Added: 2026-11-09 · Slice: — · Depends on: IDEA-37 (miners), IDEA-50 (taxonomies), miner_register, protocol amend, dashboard (slice 7a)
What: make a new miner cheap to add and run. (1) factory mine run MINER --version N --pass A|B --model M [--waves W --parallel P] starts the headless sessions, the wave loop, the stop condition and the per-session log, replacing the copy-pasted prompt files and wave scripts of the pilot (screeners/mine_waves*.sh). (2) factory protocol add-miner NAME VERSION --dual-sample F lists a registered miner without the researcher re-writing the whole protocol spec as a file, and without the amendment having to be marked semantic when nothing but the miner list changes. (3) A pre-registration check (factory miner check SPEC) that explains the traps in plain words and a dry run of the selector on the real corpus: the passes rule (two), what max_units caps (works, not paragraphs), a required quote field that a general-purpose paper cannot satisfy, the procedure skill (rf-mine), enum values and units taken from a declared taxonomy. (4) A dashboard tab for miners (units, closed, open, rows, agreement, cost per work, the blocking unit when agreement waits). (5) A cheap way to close an unreadable unit with a stated reason.
Why: on 2026-11-09 adding m-descriptors took three versions and four protocol amendments (a selector cap misread, a procedure name, a required field), about $6 of wasted mining, and hand-copied driver scripts; adding m-design-approach was faster but repeated the file-based amendment. The researcher wants new miners to be easy to add later.
Rigour notes: adding a miner is a recorded protocol change with a reason; the check never judges a miner's content; the cost figures come from the sessions' own cost lines and are estimates, not events.
Built (2026-11-14, not reviewed): one command, factory miner add FILE, takes a declarative JSON file {spec, use, reason} (or a bare miner spec) and validates (spec shape and meaning, taxonomy derivation, use settings, actor, protocol ready), registers, lists it in the protocol by one semantic amendment, and prints the hub page (miners/<name>.html, main hub /p/<slug>/miners/<name>.html). --check validates and reports what it would do, writing nothing. Adding again writes nothing; a registered but unlisted version is listed; a use of the same name at another version is replaced. use.evidence is refused (admission stays a separate human act); dual_extract_sample defaults to 1.0. The existing miner register and protocol amendment paths are unchanged. Not built: (1) mine run (it starts model sessions), (2) a separate protocol add-miner (the listing is inside miner add; the amendment stays semantic, that open question is untouched), the dry run of the selector on the corpus and plain-words trap explanations of (3), the dashboard tab of (4) and the cheap close of (5). If the listing amendment is refused after the registration, the registration stays and a second call lists it (no event is rolled back). No new event type. Tests: test_miner_add.py (9), test_cli_miner_add.py (2).
Open questions: whether a listing that changes only the miner list should be non-semantic; whether the run command belongs in the CLI (it starts model sessions, which the platform never does itself) or stays a documented runbook script; whether a dry run needs the documents converted.
Ruling (researcher, 2026-11-14): a protocol amendment that only adds a miner to the miner list stays semantic, as now. The other two open questions stand.
Status: comparison built as an option, on main (2e6511a), reviewed 2026-11-14 (one Sonnet review: containment matched substrings, "ion" in "ionization"; fixed on branch low-hanging-4: 314a54a, d10c72c, containment on word tokens with punctuation and hyphens ignored in both paths, threshold refused outside (0, 1]; reviewed) (2026-11-14, branch calibration-guard); row alignment not built · Added: 2026-11-09 · Slice: — · Depends on: miner agreement (mine agreement), IDEA-50, IDEA-51
What: the agreement of two passes of a miner whose fields are verbatim quotes is computed on the exact value, and rows are aligned by a row key that is itself a quote. Replace this for quote fields by comparing the cited evidence (same paragraph or cell, or the quoted spans overlapping by a stated fraction), and let a per-work miner key its row on the work, not on a quoted system_name. Keep exact comparison for enum and number fields, where one correct value exists.
Why: m-descriptors v3 (Sonnet pass A, Haiku pass B on 28 works) reported agreement 0.347 with only 10 rows aligned and 37 unmatched. Recomputed by hand on the 199 fields both passes filled: exact same value 28%, same paragraph 57%, spans overlapping by at least 60% 54%; about 30% of fields were filled by only one pass. The same sentence cited with a different span boundary counted as a disagreement, and the row key (a sentence for one pass, "AI-Mandel" for the other) made whole rows unmatched.
Rigour notes: a laxer comparison must be declared in the miner's regime, not chosen after seeing the result; the calibration gate and the audit sample still use human labels; enum and number fields keep exact comparison.
Built (2026-11-14, not reviewed): evidence_overlaps(fa, fb, threshold) and same_field(..., evidence_overlap=) in services/extraction_agreement.py; two free-quote fields (text checked against its quote, no fixed values) rest on the same evidence when they cite the same anchor, or one normalised quote contains the other, or their normalised token sets overlap (intersection over union) by at least the threshold. The option is off by default (None: exact) and a parameter of extraction_agreement, agreement_overall and mining.score.score; the threshold is recorded in the result (ExtractionAgreement.evidence_overlap, AgreementOverall.evidence_overlap, CalibrationScore.evidence_overlap). Enum, number, anchor and work-reference fields stay exact; reported_in and reproduced must still match. The disagreement list stays the exact one. Not built: a regime or spec field that declares the threshold before the run (the rigour note asks for it; it would change the miner spec format and digest, so it is a parameter only), CLI and MCP flags, the hub display. Caveats: the platform stores no character offsets, so span overlap is quote containment; one anchor is a paragraph or table cell, so two different statements of one paragraph agree under the same-anchor rule. Alignment of rows by key is untouched (IDEA-53). Tests: test_agreement_evidence_overlap.py (11; six quote pairs on which exact and overlap agreement differ: 1 of 6 agree exactly, 4 of 6 under overlap at 0.5).
Open questions: the overlap threshold; whether "filled by only one pass" is a disagreement or a completeness statistic; whether the regime's field_agreement_min applies per kind.
IDEA-53 — Semantic agreement for miners: stable row alignment, secondary labels as sets, an equivalence judge
Status: new · Added: 2026-11-10 · Slice: — · Depends on: IDEA-52, miner agreement (mine agreement), IDEA-50 (taxonomies), IDEA-51
What: (1) A per-work miner aligns its two passes on the work (one row per work), and a multi-row miner aligns on an enum key (stage, system plus metric), never on a quote's location. (2) Optional *_secondary enum fields are compared as sets with the primary: a secondary label equal to the other pass's primary or secondary agrees, and a label present in only one pass is reported as completeness, not as a disagreement. (3) Free-text and quote fields are judged by an agent equivalence judge: a session outside both passes reads each A/B pair of a dual work and records same, partial or different with a reason as an event; the platform counts the verdicts. (4) The report shows agreement per kind (enum, number, text) and per field, with the disagreement list, and the miner regime declares which rule applies before a run. (5) A disagreement review feeds new miner versions with tighter enum definitions.
Why: on 2026-11-10 the pilot's second-pass agreement was 0.576 (classification), 0.427 (mapping), 0.347 (descriptors), 0.800 (design-approach). Recomputed per work on enum values only: classification 0.59 (primary categories only 0.71; field 0.94, technique 0.77, evaluation 0.53, architecture 0.65), mapping 0.51 (human_vs_automated 1/8, human_adds 0/7, idea_assessment_method 10/29). Secondary fields were mostly filled by one pass only (data_secondary 0/5, field_secondary 0/6). The researcher judged the measure too strict about quoting the same evidence when the target is meaning, not syntax.
Rigour notes: quotes stay mandatory as evidence for every value, they are never compared as the measure of meaning; the judge's verdicts are events with provenance and are audited by the researcher on a sample; the rule is declared in the miner spec before the run; no model is called by the platform.
Open questions: how the judge is served (a mine_judge_next task like mine_next); whether partial counts as half; the sample size for the researcher's check of the judge; gold labels per miner (about 15 works) as the arbiter of which pass is right.
Status: built 2026-11-10 in the plan-8 worktree (plan 2026-11-10-site-hub; untested) · Added: 2026-11-10 · Slice: — · Depends on: miners (IDEA-37), evidence admission, writing and verification (slice 7b), factory check, references and lineage (slices 3a, 3b)
What: adapt Karpathy's LLM wiki pattern (raw sources, an LLM-maintained wiki, a schema; ingest, query, lint; index.md and log.md) to the factory. Layers: the library and converted Markdown are the immutable sources; the skills, protocol and miner specs are the schema; the wiki is a projection rebuilt from events, never edited by hand. Mechanical pages (one per work, one per category, an index, a log generated from events) need no model. Synthesis pages (a technique, a stage, a field, an overview) are written by Claude from quoted rows, every claim citing a work and every quotation or number checked against the recorded rows; through admitted evidence and the rf-write draft and verify path once miner rows can be admitted. Lint is a platform check: a page whose underlying rows changed is stale, an unquoted claim, an orphan category, a pass disagreement shown as a contradiction. Query answers can be filed back as pages. The explorer (list, timeline, graph, filters, link to the original on disk) and the Obsidian vault are two views of the same data.
Why: on 2026-11-10 the pilot built a prototype (screeners/explorer.py, synth.py): 370 works, a timeline, a graph, 64 category notes and three synthesis pages. The checker passed every quote and number and flagged only vague generalisations without a number or citation. Miner rows are not admitted as evidence, so the proper verification path is not available yet.
Rigour notes: synthesis is an interpretation layer, labelled as written by a model; nothing in it enters a result unless admitted; the mechanical check is no substitute for human review; the page records its input digest and model.
Open questions: how a synthesis page is versioned and invalidated when rows change; whether pages are stored as events or regenerated; how the lint check is run by factory check; scale beyond a few hundred works (search, embeddings); the graph layout for many-link works.
Status: done (2026-11-12): the pilot was copied into data/ (scripts/migrate_pilot_to_data.sh --run, verified: 40,340 events, 0 files differ; catalog-copy-2026-11-12 not carried); FACTORY_ROOT repointed in .claude/settings.local.json, the pilot's hub.sh, screeners/*.json and every wave script (originals in research-factory-pilot/screeners/_config-backup-2026-11-12-data/); runtime moved to main (e084632, projection 84); hub rebuilt on data/; the old pilot folder is kept as a fallback at projection 83 · Added: 2026-11-10 · Slice: — · Depends on: the site hub (plan 2026-11-10-site-hub, factory site build), IDEA-50, IDEA-51, IDEA-54
What: the researcher wants the factory and everything it produces under one folder. All research products of every project (the hub, dashboard snapshot, PRISMA, bibliography, explorer, wiki vault, results, miner agreement, taxonomy, synthesis pages, conversion and coverage reports) live under data/products/ inside the factory folder, one subfolder per project (data/products/<project>/<product>/), with the hub page at data/products/<project>/index.html. The hub populated with every product (not only the three integrated so far) is the single entry point; nothing is produced by a script that lives outside the platform. The researcher's own documents (research plan, protocol, goal definition, demo log) and the project's source data (events, blobs, library) are decided separately.
Why: on 2026-11-10 the pilot's products were split between the repo, the pilot folder (research-factory-pilot: scripts, explorer, validation reports, staging PDFs, notes) and the data root (root/projects/<slug>/site). The researcher could not tell where things live, and a new project would get none of the pilot-only products. The layout of the first hub (sidebar of grouped products, product opened inside the hub, the dashboard theme) was approved; most of its entries are still "not yet integrated".
Rigour notes: products stay rebuildable projections of the events, never the source of truth; the platform never calls a model, so model-written pages (synthesis) are recorded documents the hub renders; the large source data (events, PDFs) is not tracked in git.
Open questions: whether data/products replaces the per-project site/ folder or the project's folder links to it; whether data/ also holds the project roots (events, blobs, library) or only products; what is git-ignored; where the researcher's documents and the demo log go (docs/pilot/ is the current candidate); how an existing pilot is migrated without losing the event history (nothing is moved until the researcher says so).
Status: accepted (plan docs/plans/2026-11-11-version-pairs.md, decision 117; built 2026-11-11 on plan-8-suggest-select, untested) · Added: 2026-11-10 · Slice: — · Depends on: dedup (dedup run), fulltext import, works without DOI or arXiv id
What: (1) Dedup should recognise a preprint and its journal version (same normalised title and authors, different year and DOI or none) as one work, or offer them to the researcher as a proposed merge, reversible like any merge. (2) fulltext import should match a file with no DOI or arXiv id by its first-page title, listing it as identity_unchecked for the researcher to accept, instead of unmatched. (3) An ambiguous match (one DOI on two promoted works) should name the candidate works so the researcher can choose which one takes the file.
Why: on 2026-11-10 seven promoted works with a PDF on disk could not be attached: three are a 2025 preprint and a 2026 journal article sharing one DOI (ambiguous; neither record has a document), two PDFs belong to an arXiv record that was not promoted while the promoted record of the same paper carries no identifier (not promoted), and two PDFs carry no identifier at all (unmatched). The full-text acquisition page lists them.
Rigour notes: a merge is a recorded, reversible act; a title match never imports without the researcher's acceptance; counts (PRISMA) must not change silently when records are merged.
Open questions: whether a version pair counts once or twice in the flow; which record keeps the identifiers; how the miners treat the merged work.
Status: explorer filter built 2026-11-14 (branch low-hanging-2, merged to main dbe3d01, reviewed (one Sonnet review, fixes 1ed65da to 2a5c4fb and 570d467); 23073ea: cited_in_corpus per work, None when unknown, cited-by-N filter); earlier: triaged — first part (reference layers) built and merged in main (ae5f5b5), untested; the citations product itself is not built. Plan 2026-11-11-reference-layers, last section "State at the hand-over to unification" · Added: 2026-11-11 · Slice: — · Depends on: reference extraction and links (slice 3a, reference_links), OpenAlex enrichment, the site hub (IDEA-54), snowballing (IDEA-43)
What: (1) For each work, store two separate numbers: the in-corpus citation count (works of this project whose extracted reference list resolves to it, computed from reference_links, never typed) and an external citation count from a named source with the date it was read (OpenAlex cited_by_count today; Semantic Scholar or Crossref as a second source, recorded per source so the two are never merged). (2) The hub gets a "citations" product: most cited inside the corpus, most cited overall, the gap between the two (influential outside the topic versus the corpus's own foundations), citations per year since publication, and works cited by the corpus but not in it (snowball candidates). (3) The explorer shows both counts per work, sorts by either, and filters on "cited by N or more corpus works".
Why: on 2026-11-11 the researcher asked which papers are the most cited. Inside the corpus (497 resolved links among 370 works) Co-Scientist is cited by 72 works and AI Scientist-v2 by 71; by the OpenAlex count Co-Scientist leads with 355, but the count exists for only 171 of the 370 works because the daily OpenAlex budget ran out. The two measures answer different questions and neither is complete.
Rigour notes: counts are read from a source at a date and stored as events with that source and date (an external count changes over time); the in-corpus count depends on how many reference lists were extracted and how many references resolved, so the report states both denominators (371 extracted, 497 resolved links); no source is called by a model.
Open questions: which second source is free and reliable enough (Semantic Scholar has a key-less tier); how often counts are refreshed; whether a work with no count is shown as unknown (never zero); whether self-citation inside the corpus is flagged.
State at wrap-up (2026-11-12, branch plan-reference-layers = main ae5f5b5):
- Built: T1–T5 (layer scheme, assignments, labels, calibration κ gate, MCP tools
reference_layer_next/record/status, CLIfactory references layers …), scheme v2 as earth rings, T8 (cited items rules v4: identifier wins, union of shared IDs, stripped and fuzzy titles,aliases), T9 (inner stratum of the calibration sample),seed_version(a revised scheme reuses an earlier draw), R3.7 andre-resolve --only-identifiers. Events:reference.layer_scheme_recorded,reference.layer_assigned,reference.layer_labelled; all three already occur in the pilot log. Index: the layer tables (projection 79 on the branch;mainis 83 and includes them); no further index change at wrap-up. - Reviewed: T1–T5 one Sonnet review (fixes in); T8, T9, T10 ruling,
seed_versionnot reviewed. - Tests: mypy and ruff pass (only the existing
ranking_modeltransformers/torch errors). No pytest run (testing paused). No test file exists forservices/reference_layers.pyorservices/reference_items.py; onlytest_mcp_server.pylists the tools. Write them (TDD debt) before relying on the κ gate or the merge rules. - Not built: T6 (layer view in the hub), T7 (promotion: skill, default scheme template, docs), T10 (targeted, batched identifier lookups; ruling recorded in the plan), P2, P4 audit, P5, the citations product with the earth view.
- Pilot state (agentic-science): schemes v1–v3 recorded (v3 current: rings core, benchmark, applied, adjacent, background, off-topic; snowball core only;
seed_version2); 528 v1 title assignments; 30 v1 labels (Haiku κ 0.84); 9 of 50 v3 labels recorded, 41 pending inresearch-factory-pilot/reference-layers-calibration-labels-v2.tsv(rows 10–50, keys in…-sample-v2.tsv; not in git, keep the file). About 4,671 assessable cited items under rules v4. One lookup run (run_01M77CT2GZHY9BK98GNJ1YA7AW) left open by the stopped re-resolve. - Next step needs: (1) MCP configs repointed at one worktree built from
main(IDEA-62); (2) record the 41 labels as the human actor, scheme 3; (3) Haiku calibration on the 50 items, report κ overall and per ring (gate 0.70); (4) title pass under v3 in batches of 100, one Haiku agent at a time; (5) settle the 8 pending screenings before the core-only snowball round; (6) a decision number for the layer scheme (unnumbered so far; next free is 120); (7) close the open lookup run.
Overnight build, 2026-11-14 (branch citations-product, built, not reviewed):
- Built:
services/citations.py(citation_report: per work the distinct live-extracted citing works over resolved links, self-citations as a separate figure, per-year rate, denominators = works with an extracted list, entries, resolved links;None(unknown) for every work when no list exists; snowball candidates = cited items with no resolved entry and a year or identifier),services/site_citations.pyand the hub productcitations(group Corpus; entry insite.pyproducts()). Tests:tests/test_citations.py(5, offline, rows written straight into the projection). No event type and no projection change. - Check on a copy of the pilot's events: 7,755 works, 371 extractions, 12,983 entries, 3,852 resolved links; Co-Scientist 72, AI Scientist 72, AI Scientist-v2 71, as in the entry; OpenAlex count shown beside it (355 for Co-Scientist, unknown where absent). Without the year-or-identifier rule the snowball list held converter boilerplate ("Generated by LaTeXML").
- Not built: the explorer filter "cited by N or more corpus works": the explorer payload and page are
site_corpus.pyandsite_explorer_page.py, owned by the hub lane that night. The change: addcited_in_corpusto each work incorpus_payloadfromcitation_reportand one numeric filter in the page. The external count (below). - External count, options: (a) OpenAlex
cited_by_countstored in the work record at enrichment (exists; read date is not recorded per work, budget-limited, 171 of 370 at the time); (b) Semantic ScholarcitationCount, key-less tier, rate limited, a second count recorded per source; (c) Crossrefis-referenced-by-count, DOIs only. Recommendation: keep OpenAlex as source one and add Semantic Scholar as source two, each stored in an event with source and read date (a newcitation.count_readevent type, so it needs the researcher's go-ahead and a projection change) and never merged; refresh when older than 90 days; show unknown, never zero. - Ruling (researcher, 2026-11-14): OpenAlex stays source one and Semantic Scholar (key-less tier) is source two; each count is stored in a new
citation.count_readevent with its source and read date, and the two are never merged. Not built; it needs a projection change.
IDEA-62 — One code version per pilot index: a projection-version guard and a shared runtime worktree
Status: built, reviewed (one Sonnet review, fixes 11cbf07), tested on its own files and the CLI files, merged into main (2026-11-12, branch index-rebuild-guard; main 11c3685 merged into the branch first, then fast-forward); the runtime is not yet moved and the pilot configs are not yet repointed · Added: 2026-11-12 · Slice: — · Depends on: the index projection (PROJECTION_VERSION), MCP configs of the pilot
What: (1) The index records which code version last rebuilt it and since when; a process whose PROJECTION_VERSION differs from a version written in the last N minutes refuses to rebuild and names the other version and process, instead of silently rebuilding. (2) The pilot runs from one shared runtime worktree (one branch) that every session and wave script points at; feature branches merge into it before they touch the pilot. (3) factory check reports when MCP configs of a project point at different code.
Why: on 2026-11-11 and 2026-11-12 the pilot index was rebuilt back and forth between versions 75, 77 and 79 by sessions and miner waves on different worktrees (plan-8, plan-reference-layers, scratch-combined); each call paid a full rebuild (about a minute), a gold-label script slowed to minutes per call, and label recording stalled twice. Nothing was corrupted, but the cost and the risk were invisible until processes were inspected by hand.
Rigour notes: the guard only refuses and reports; the index stays a rebuildable projection and events are never touched.
Open questions (decided 2026-11-12, in holder_blocks, platform/src/factory/index/index.py): window 10 minutes after the holder's last build or sync, configurable with FACTORY_INDEX_HOLD_MINUTES (0 turns it off). Inside the window an older version never rebuilds over a newer one; a newer version may (the newer code is where the line is heading; the older process is the stray). Versions that are not both integers have no order and refuse each other.
Wrap-up (2026-11-12, branch index-rebuild-guard from main 5bc9879):
- Built: the holder marker in the index
metatable (holder_pid,holder_host,holder_code,held_at, besideprojection_version), written on every build and renewed by syncs (at most once a minute);Index._buildrefuses withIndexHeldErrornaming version, process, host, code path and the time the hold ends. Exempt: same version, unmarked index, this process, a dead holder on this host, a hold past the window or more than a window in the future. A second process of the holder's version renews the time but keeps the live holder named. The refusal is a structured MCPfail(fieldindex) inguardedand an error line in the CLI's_reporting_errors.factory checkadds the warningsmcp-code-lines-differandmcp-config-unresolved(services/mcp_lines.py, core module), reading configs fromFACTORY_MCP_CONFIGSand<root>/mcp-configs.txt. Runbook section "One code line per pilot: the shared runtime" indocs/runbook-living.md. - Index and events: no new event type; no table or column change (the marker is rows in
meta, which is outside the state hash), so this branch bumps nothing (PROJECTION_VERSION was 83 when built;mainis now at 84 for its own reasons) and the marker triggers no rebuild. - Not built:
<root>/mcp-configs.txtfor the pilot (the pilot root was not written; the pilot's configs were not edited); repointing.mcp.jsonat the runtime; CLI commands outside_reporting_errorsand MCP tools outsideguardedshow the refusal as a traceback or a raw tool error; the marker names one live holder, so when it exits and only a short-lived same-version process renews afterwards, an older version may rebuild once that process has exited too. - Limits: code from before this branch writes no marker and is not held back; the guard works only between lines that carry it. Two processes on different hosts are judged by the window alone.
- Tests run (one file per process, shared venv):
test_index_hold.py21 passed;test_mcp_lines.py10 passed;test_index.py11,test_index_concurrency.py5,test_index_snapshot.py3,test_mcp_conventions.py16 passed;test_check.py84 passed (before the review fixes, which did not touchcheck);test_hosting.py1 failed andtest_config.py1 failed, both identical onmain5bc9879 (the hosting fixture hash;test_configfails only because the shell setsFACTORY_PLUGIN_DIR, and passes 6/6 without it). Mutation check: with the guard call removed, 5 of the 21 hold tests fail (refusal, configured window, unordered versions, short-lived visitor, MCP error). ruff, ruff format and mypy --strict pass on the 9 touched source files and the 2 test files. Not run: the full suite; any CLI test file; a live run against a pilot copy. - To do, in order:
Merge intodone 2026-11-12 (after mergingmainmain11c3685 into the branch: ruff, mypy and the guard, index, conventions and config test files pass on the merged code; the CLI files were not rerun after that merge). Before it, the 32 CLI test files ran one by one withFACTORY_ROOTandFACTORY_PLUGIN_DIRunset: 27 pass (one,test_cli_extraction, is all slow-marked and was deselected); 16 tests fail intest_cli(3),test_cli_evidence(5),test_cli_gates(1),test_drafts_b_cli_mcp(4) andtest_drafts_cli_mcp(3), the same tests failing onmain5bc9879, so none is from this branch. They are pre-existing and open.- Open, blocked on live sessions (2026-11-12): move
.claude/worktrees/runtimeto the merged commit. Not done: sixfactory serveprocesses were live (five from the runtime, one stray fromplan-reference-layers, started about 6 hours earlier), all at PROJECTION_VERSION 83 without the guard; moving the runtime under them, or any version-84 process touching the pilot index, would set off the rebuild back-and-forth this idea is about. Close those sessions first, then move it when no session or wave is running (git -C .claude/worktrees/runtime checkout --detach <commit>). Restart every open MCP server so it loads the new code; until then the guard does not act. Write the config listdone 2026-11-12:$HOME/Documents/research-factory-pilot/root/mcp-configs.txtlisting$HOME/Documents/Projects/research-factory/.mcp.jsonand$HOME/Documents/research-factory-pilot/screeners/factory-mcp.json(researcher's approval: it is in the pilot root).Repointalready done by an uncommitted local edit in the main checkout (.mcp.jsonPYTHONPATHandFACTORY_PLUGIN_DIRon the runtime). The config part of the check, run read-only (mcp_line_hits, not a fullfactory check, which would sync the pilot index with version 84 code), resolves both configs to the runtime: no finding. Still to do once the runtime is moved: a fullfactory checkon the pilot. Original step: repoint.mcp.jsonat the runtime (an absolute--project .claude/worktrees/runtime/platform, or the samePYTHONPATHform as the screener config), then runfactory checkon the pilot and confirm nomcp-code-lines-differormcp-config-unresolvedfinding.Scriptschecked 2026-11-12: every live script inresearch-factory-pilot/points at the runtime; only the copies inscreeners/_config-backup-2026-11-12/nameplan-8,plan-reference-layersorscratch-combined. Original step: point every wave and miner script at the runtime (PYTHONPATH,FACTORY_PLUGIN_DIR); grep the scripts for other worktree paths.Regeneratedone 2026-11-12 at 2327d1d. Original step: regeneratedocs/MAP.mddocs/MAP.md(uv run --project platform python scripts/gen_map.py).- Open: after the restart, in this order (researcher restarts every session once the running ones finish):
a.
ps -eo pid,args | grep "factory serve": no server left from before the restart, none from a worktree other than the runtime. b.git -C .claude/worktrees/runtime checkout --detach main(main includes IDEA-62), then start sessions; the first call rebuilds the pilot index once at version 84. c. Fullfactory checkon the pilot: nomcp-code-lines-differormcp-config-unresolved. d. Live check of the guard on a copy of the pilot root (reflink copy on /home; setFACTORY_ROOTto the copy, never the pilot): (1) start a runtime process on the copy that syncs and stays open (for examplefactory serve, or a Python loop callingsync()); (2) from a temporary worktree at 11cbf07 (the guard with its review fixes, still version 83:git worktree add --detach <dir> 11cbf07), run a command on the copy and confirm it stops withIndexHeldErrornaming the runtime's version, pid and code path, and that the copy's event files are byte-identical before and after; (3) stop the runtime process and confirm the older line then rebuilds at once (dead holder on this host); (4) record the outcome here.
- Later (not blocking): route the refusal through every CLI command and MCP tool that bypasses
_reporting_errorsorguarded; close the gap where the named holder exits and only a short-lived same-version process renews afterwards (for example, keep a small set of live pids); decide whether code lines older than this branch should be retired from any config. - Later, gap closed (2026-11-20): the case where a short-lived newer holder exits and the older line rebuilds the index back is closed by decision 157 (an older integer version never rebuilds over a newer one, whatever the holder's age, liveness or marker; a zero window is the escape hatch), on branch
index-no-backward-rebuild: built, not reviewed.
IDEA-58 — Port of arXiv Miner: a learned daily feed per project (preference ranker, topics, feed product)
Status: factory feed built (2026-11-23), reviewed, merged to main (PR #35); plan 2026-11-23-factory-feed, decision 169 decided · earlier: built, partly reviewed, untested (2026-11-11). Feed engine v1: slice 4c, branch plan-feed, decision 118: built, reviewed (fixes in), untested. Hub page, one-click add, work queue, Process now: branch plan-feed-hub, decision 119, H1–H7: built, reviewed (fixes in), untested. Full ingestion pipeline Process all (every applicable stage incl. each project miner) and the hard unit cap, H8: built, reviewed (fixes in), untested. Dashboard feed and queue panel: built, not reviewed. 2026-11-12: the feed, inbox, hub and dashboard test files pass one by one; nothing tried live. Not built (Later): a learned ranker per project (the factory-scope general ranker is built, see above), named topics, other sources. See docs/build-status.md · sweep 2026-11-16: test_feed_* (15 files), test_site_feed, test_site_hub_feed, test_site_portal_feed passed · Added: 2026-11-11 · Slice: 4c · Depends on: watch cycles (slice 4b, watch_run), the screening ranker (decision 116, IDEA-42), IDEA-02, IDEA-03, IDEA-57, the site hub (IDEA-54)
What: port the researcher's own tool (github.com/xserban/arxiv-miner: daily arXiv fetch, local embeddings, a ranker trained from likes and dislikes, topics defined by folders of reference PDFs, a reading list, export) into the factory as projections and events, not as a second application. Mapping: (1) arXiv client and throttle (core/arxiv_fetcher.py, arxiv_throttle.py) are already covered by the arXiv search source and watch_run; only the daily category feed (new papers of chosen categories, not a query) is new, as a watch plan kind. (2) Embeddings and the topic ranker (embeddings.py, topic_ranker.py) are already covered by the SPECTER2 ranker (ranking_model.py, ranking.py); a "topic" becomes a named reference set: a project's included works, a seed list or a folder of PDFs. (3) The learned preference ranker (ranker.py: running-average profile, logistic regression on cosine, metadata and novelty features, trained on likes and shown-but-not-selected) is new: likes, dislikes and reading-list marks become events (feed.reacted), the ranker is a recorded, versioned artefact with its training set and rank shown, never silent. (4) Diversification (exploration budget, novelty bonus, surprise picks) is new and must be disclosed in the feed. (5) Enrichment (author h-index, citation count) joins IDEA-57. (6) The feed is a hub product (a ranked, filterable list with like, dislike and save as commands that record events), and a liked paper can be sent to the project's link inbox (slice 4a) to enter a review. (7) Export (BibTeX, CSV, JSON) is already in the bibliography product.
Why: the researcher built this tool to track arXiv daily against a corpus; the factory now has the corpus (370 works with miner rows), the ranker and the hub, so the feed can rank against the whole project, not a hand-picked folder, and its picks can become review candidates. The tool's own limits (single user, Windows packaging, no export button, loose matches for topics of one or two PDFs) do not carry over.
Rigour notes: a ranking orders and judges nothing; reactions are the researcher's events (actor, time, rank shown, score shown, as in the tool's selections table); a ranker trained on reactions is not used to include or exclude in a review (R-20: it never touches held-out seeds); the daily feed is discovery, recorded as such (IDEA-35), not a search with a protocol; embeddings run offline from supplied weights like docling and SPECTER2 (decision 49, 116); the platform calls no model.
Open questions: whether the feed lives in one project or across projects (IDEA-04); whether the MiniLM or SPECTER2 encoder is used (one encoder per factory is simpler); how reactions are collected in a static hub (the dashboard server is GET-only; a small POST endpoint with a project token, or a CLI factory feed react); which of the tool's tests port.
Researcher's ruling (2026-11-14): react and add also work on ranked entries outside the shown list (further cards on /feed/); the event records the entry's real rank and score from the ranking's order blob and beyond_shown: true (optional field of feed.reacted and feed.sent, default false); an entry in no ranking's order is refused (not-ranked).
Status: built, reviewed (Sonnet review, fixes 714d31b), not tested: 11 tests written, none run; built once on a copy of agentic-science; merged into main with the unified line (ae5f5b5, 2026-11-12; branch plan-catalog, plan docs/plans/2026-11-12-catalog.md) · Added: 2026-11-12 · Slice: — · Depends on: site hub (IDEA-55), skill frontmatter
What: a project-hub product catalog (factory site build --only catalog) that lists every registered MCP tool once, under a nine-stage research-development lifecycle (Frame to Maintain, plus Cross-cutting). Each skill declares stage: in its SKILL.md; a tool takes the earliest stage of the skills that name it. Prompts are the skills' "when to use" lines; examples are numbered skill steps that call a tool. A count check compares the @server.tool() decorators with the built server's tool list.
Why: the researcher cannot see what the factory can do at each stage; 173 tools and 27 skills had no single view.
Rigour notes: nothing on the page is typed except stage labels and layout; flags (skill vs tool, skill vs skill, skill vs decisions, orphans, missing stage) are mechanical and never ruled on. First build: 46 orphan tools, 4 clash and 3 unknown-input flags, all 7 judged false positives by hand.
Open questions: tighten the clash rule (context of "do not read") and the "tool with a" rule (values vs inputs); move to the factory hub when it exists; skills for the 46 orphan tools.
Wrap-up (2026-11-12, at main ae5f5b5):
- Built:
services/site_catalog.py(derivation, count check, flags),services/site_catalog_page.py, productcataloginservices/site.pywith an optionalProduct.stamp(hash of the SKILL.md files anddocs/decisions.md, part of the catalog's fingerprint only);stage:frontmatter in all 27plugin/skills/rf-*/SKILL.md. - Not built: the factory-hub placement; MCP prompts (none registered); the IDEA-61 follow-ups.
- Run: ruff (clean), ruff format (clean), mypy --strict on the touched files (clean; the whole tree has 2 pre-existing errors in
services/ranking_model.py, optionaltransformers),factory site build --only catalogon a copy ofagentic-science(built; 173 tools registered and listed, 27 skills, 0 prompts, 96 examples, 54 flags: 46 orphan-tool, 4 clash, 3 unknown-input, 1 orphan-skill). - Not run:
platform/tests/test_site_catalog.py(11 tests); no live check in a browser. - Index and events: none changed. PROJECTION_VERSION unchanged (83); no new event type (the catalog reads code and skill files, not the log).
- Side effect: the
stage:lines change every skill'sname@sha8; a session pinned to an old hash is refused after the plugin is reinstalled. - Next step needs: a test run of
test_site_catalog.py; one look at the page with the researcher; rulings on IDEA-61 (which of the 46 orphan tools get a skill or are marked researcher- or CLI-facing). No other branch is needed.
Status: items 1–3 and the cheap minors built on branch idea-61-catalog; group C and mismatch rulings applied; reviewed (Sonnet, 8 findings, all fixed); catalog tests pass (27) (2026-11-12) · Added: 2026-11-12 · Slice: — · Depends on: IDEA-60
What:
- Clash rule: pair sentences only when both govern the same act. "Do not read …
check" (pass independence in rf-appraise, rf-contributions, rf-extract) and "Never act on acheckfinding to clear it" (rf-run) are not opposites of "callcheckand report every finding" (rf-search). These 4 flags are false positives. - Unknown-input rule: in "
mine_resolvewitha,borneither" (rf-mine line 46) the backticked words are values, not inputs. Check them against the schema's enum values before flagging. These 3 flags are false positives. - Orphan tools: 46 registered tools are named by no skill. Decide per tool whether it gets a skill, gets a mention in an existing skill, or is marked as researcher- or CLI-facing so it is no longer counted as an orphan.
Researcher's ruling (2026-11-12, on the catalog page built from
mainbff8848 on a pilot copy: 173 tools, 27 skills, 96 prompts, 54 flags, count check passes): accept three groups for the 46 orphans. (A) read-only status, list and view tools need no skill:benchmark_ledger_view,briefing_get,budget_status,card_view,conclusion_status,gate_status,inbox_list,ledger_view,progress_status,registry_query,whoami,xrun_list,feed_list,feed_status,watch_status,import_status,import_coverage,notice_list,review_list,reference_layer_status,snowball_core_list,grey_search_report,export_bibliography,graph_export; mark them so they are not counted as orphans. (B) human-only acts stay deliberately unnamed in agent skills and are marked human-only:calibration_label,miner_calibration_label,review_decide,lead_decide,audit_record,audit_sample,extract_audit_record,extract_audit_sample,extract_agreement. (C) agent actions with no skill are follow-ups, each to get a skill mention or a recorded decision to leave it unused:draft_release,draft_reorder,draft_repin,contradiction_propose,hypothesis_register,mine_import,library_adopt,library_adoptable,review_request,watch_run,feed_run,notice_assess,reference_layer_record.reference_layer_recordis probably named byrf-reference-layersin a form the rule does not match: check it with the sharper flag rules first. The marker for A and B (a researcher- or CLI-facing flag the catalog reads) is not built. The classification is from the tool names; each tool's docstring was not read. - Review minors (plan-catalog review, 2026-11-12):
- make "also used in" links to the stage sections;
- stop a tool named only in a negative sentence ("never call X") from taking that skill's stage;
- render a skill whose stages are all invalid under Unassigned as well as flagging it;
- de-duplicate
catalog.toolswhen the server lists a name twice; - check that
site_widgets.tableescapes its cells; - check whether
build_servercreates directories during a catalog build. Built (2026-11-12, branchidea-61-catalog, not reviewed):
- Marker: a declared table
MARKERSinservices/site_catalog.py(as first built:read-only, group A, 24 tools;human-only, group B, 9 tools; after the rulings below: 24 read-only, 11 human-only, 2scheduled), each kind with its reason (MARKER_KINDS). Never derived from a name. A marked tool no skill names is not an orphan. Each marker is cross-checked against the tool's access row (access.TOOL_PERMISSIONS,HUMAN_ONLY,GATED_AGENT_ACTS): a disagreement is flagmarker-access-mismatch; a skill that names a human-only tool is flagskill-names-human-only; a marked name that is not a listed tool is flagmarker-unknown-tool. The page has a "Marked tools" table (tool, marker, why, access row, skills naming it) and a badge on each marked tool; the header counts marked and orphan tools. - Clash rule: two sentences clash only when they govern the same act: the verb after the negation (
do not read,never act) against the verb afteralways/must, orcall. A sentence whose act cannot be read still pairs with any. - Unknown-input rule: a backticked word after "
toolwith" is a value, not an input, when it is a stringenum/constof the tool's schema or a backticked word of the tool's own description that is not an input name (mine_resolvetakeschoice: str; its docstring declaresa,b,neither). Cleaner later: typechoiceas aLiteralinmcp/server.py(outside this branch's scope). reference_layer_record: a false positive, confirmed. The call in rf-reference-layers step 4 wraps over two lines and the backtick pattern stopped at a line break. A backticked span may now wrap onto the next line (never across a blank line).- Minors:
catalog.toolsde-duplicated (the count check still reports the duplicate); a skill with no valid stage is rendered under Unassigned;site_widgets.tablealready escapes headers and cells (test added). Not done: "also used in" links, the negative-sentence stage rule, thebuild_serverdirectory check. - Run:
tests/test_site_catalog.py21 passed (11 earlier, 10 new; each new rule checked by a mutation that makes its test fail); ruff and mypy --strict clean on the touched files. Built on a reflink copy ofagentic-science(research-factory-pilot/catalog-copy-2026-11-12, not the real root): before (main fb9b27d) 173 tools, 27 skills, 96 examples, 54 flags (46 orphan-tool, 4 clash, 3 unknown-input, 1 orphan-skill); after 173 tools, 33 marked, 54 → 16 flags (12 orphan-tool, 3 marker-access-mismatch, 1 orphan-skill). Count check passes. No index or event change. - Note: the shell exports
FACTORY_PLUGIN_DIRto the bare checkout's oldplugin/(21 skills, nostage:); a catalog built with it shows 21 skills and 21skill-no-stageflags. Set it to the worktree'splugin/when building.
Marker mismatches for a ruling (the ruling was made from names; the access rows say otherwise):
grey_search_report(group A) is an agent write: "Report a web search you ran yourself", accesswork:run. Proposed: move to group C and name it in rf-search (grey sources).lead_decide(group B) is a gated agent act (GATED_AGENT_ACTS). Proposed: keep human-only for the catalog; an agent acts only where the gate allows, which no skill yet covers.extract_agreement(group B) is read-only (project:read), refused to pass sessions. Proposed: move to group A.
Group C proposals (12 tools; no skill edited without a ruling):
| Tool | Access row | Proposal |
|---|---|---|
draft_release |
work:run | Mention in rf-write, last step: call it when draft_status shows no stale sentence; refused in systematic mode. |
draft_reorder |
work:run | Mention in rf-write: reorder a section's live sentences after writing. |
draft_repin |
work:run | Mention in rf-write: repin when writing_outline changes, then ask draft_next again. |
contradiction_propose |
work:run | Mention in rf-ideate after finder_contradictions: propose a contradiction between two claims, which stays inferred until the researcher confirms. |
hypothesis_register |
human:confirm, gated | Mention in rf-critic for a register recommendation, only when gate_status lets an agent pass hypotheses.register; else leave to the researcher. |
mine_import |
human:confirm | Docstring: "The human's import". Proposed: mark human-only (group B), no skill. |
notice_assess |
human:confirm | Docstring: "The human's assessment … relayed". Proposed: mark human-only (group B), no skill. |
library_adoptable |
project:read | Read-only; mark read-only (group A), or name it with library_adopt. |
library_adopt |
work:run | Mention in rf-run's acquisition stage: before fulltext_fetch, check library_adoptable and adopt a lab copy. |
review_request |
work:run | Mention in rf-protocol step 8: on a hosted project an agent's amendment, record or deviation is filed as a review request. |
watch_run |
work:run | Recorded decision to leave it unnamed: rf-living runs factory watch run (CLI) in scheduled sessions; a new marker kind cli-equivalent would cover it. |
feed_run |
work:run | Recorded decision to leave it unnamed: the feed runs from the hub's "Process now" and its cadence; or name it in rf-living beside the watch cycle. |
reference_layer_record |
— | Resolved: false positive of the backtick rule (above); named by rf-reference-layers. |
Rulings applied (2026-11-12, researcher accepted the recommendations):
- Mismatches:
grey_search_reportunmarked and named in rf-search (new section "Grey literature");extract_agreementmoved to read-only;lead_decidekept human-only, its access-row difference declared inACCEPTED_MISMATCH. - Group C, skill mentions:
draft_reorder,draft_repin(rf-write steps 10–11);draft_releasenamed in rf-write's "Stopping and human steps" as another session's step, since rf-write already says releasing is not the writer's;contradiction_propose(rf-ideate step 1);library_adoptable,library_adopt(rf-run, stagefull-text);review_request(rf-protocol step 8). - Group C, markers:
mine_import,notice_assesshuman-only;watch_run,feed_runa new kindscheduled(run by a schedule, the CLI or the hub). hypothesis_register: changed from the proposal. Naming it in rf-critic would contradict rf-critic ("whether a hypothesis is registered is not yours to decide") and rf-ideate ("never register"); marked human-only likelead_decide, with its gate difference declared inACCEPTED_MISMATCH.- Result on the pilot copy: 173 tools, 27 skills, 98 examples, 37 marked, 0 orphan tools, 1 flag (orphan skill
rf-portfolio-page). The skill edits change thename@sha8of rf-write, rf-ideate, rf-run, rf-protocol and rf-search.
Review fixes (2026-11-12, Sonnet review of the branch): the wrapped backtick span is limited to a call form tool( (a code fence or a stray backtick no longer opens one); _act skips fillers (first, also, be) and maps synonyms to one act (call/run/use; read/open/view; …), and a verb not listed reads as unknown, which pairs with any act; description values count only from a backticked list ("a, b or neither") and never a tool name; a marked tool without an access row is flagged; marker flags point at the marker's line; rf-search, rf-protocol and rf-run wording matched to the docstrings. 27 catalog tests pass.
After merging main (2026-11-12, taxonomies and IDEA-62 in): 180 tools, 28 skills, 6 flags: 1 orphan skill (rf-portfolio-page) and 5 new orphan tools from the taxonomy work, which rf-taxonomy does not name: taxonomy_agreement, taxonomy_diff, taxonomy_list, taxonomy_proposals, taxonomy_view. Proposed (needs a ruling): mark the read-only ones (taxonomy_list, taxonomy_view, taxonomy_diff, taxonomy_proposals) read-only after checking their access rows, and name taxonomy_agreement in rf-taxonomy or mark it like extract_agreement.
Why: the first build's 7 conflict flags were all false positives, which teaches the researcher to ignore the flags table. The orphan count hides which tools have no instructions.
Rigour notes: the rules stay mechanical; the platform still never rules on a clash.
Open questions: whether orphan status needs a declared audience (agent, researcher, CLI) on each tool.
Status: item (1) checked 2026-11-14 (branch low-hanging-2, merged to main dbe3d01, reviewed (one Sonnet review, fixes 1ed65da to 2a5c4fb and 570d467); 9161a69): detection missed all 64 real limit stops in the pilot logs (plain text, not JSON); fixed, 64 of 64 detected with the reset time, 0 false positives in 100 normal logs; the stream-json path has no real sample. Earlier: partly done (2026-11-12; item (2) built 2026-11-14 on branch test-baseline-2, on main since 5dba7df, not reviewed: the dashboard Interrupted panel also lists each run, pipeline, expired-lease kind and stale pass, details in services/dashboard.py). Done: (3) the deadlock cause was confirmed and fixed in the test harness, not the product: tests/world_cache.py built a second Index on the same lock file while the writer's host check kept the first; Index.reopen() refreshes in place (6935a07; a new test fails without the fix); no second Index on one project was found in product code, and the hub server was not reproduced as affected, so the GC hypothesis below is withdrawn. (4) and (5) all diagnosed and fixed: product bugs feed arXiv version always None (e5d7423), check false broken-link on cited decision suggestions (6858d22), trace kind order with appraisal moved before claim by the researcher's ruling (383aa8e); the rest were stale or wrong tests, fixed without weakening (8b89977, 0dfd2ff, f697e41, 8d84a33, 69e379e, c0c305a, 50760df, eb79e47, b9b601f, 5832221). (6) reconciled at the unification. Open: (1) and (2) · Added: 2026-11-11 · Slice: — · Depends on: IDEA-59 (restart), IDEA-45 (costs)
What: open items left when plan-restart-costs was reviewed, to be taken as one round. (1) Usage-limit stops: detection is built (rule 1 on the CLI message, rule 2 on an errored final line with no units closed, 5-hour fallback expiry when the reset time does not parse); verify against a raw stream-json log of a real stop, and whether claude -p marks such a stop as an error (assumption). The real wording is You've hit your 5-hour limit · resets 1pm (Europe/Bucharest) (pilot logs 2026-11-11, plain text through live.py). (2) The dashboard Interrupted line lists counts only. (3) Index self-deadlock: the event writer's host check (hosted_by) waited on an exclusive lock the same process already held; fixed on the branch for restored test worlds (commit 6935a07), but the cause (a lock holder released by garbage collection clearing the "already holding" flag) is a hypothesis; confirm in the product code, and whether a long-running process (hub server) can freeze the same way. (4) Failures on the branch that are not diagnosed: test_world_cache::test_second_build_is_restored_identically (unclear whether it predates the fix), test_inbox_reports::test_trace_reaches_inbox_item, one test_feed_service failure (missing arXiv version, a code bug), and 12 that fail without the fix (test_dedup_held_matches 6; one each in test_feed_add, test_feed_read, test_feed_mcp, test_inbox_screening; two in test_feed_cli). (5) The four branch test files test_runner, test_pipeline, test_cost_report, test_runs_adopt were failing for fixture reasons at the last report. (6) Numbering: restart is IDEA-59 and IDEA-44 is "Progress for long operations" (renumbered 2026-11-11); the main checkout's copy of the backlog still called the restart idea IDEA-44 until this merge.
Checked on main (2026-11-14): the files named in (4) and (5) all pass on main (test_world_cache 7, test_inbox_reports 9, test_feed_service 25, test_dedup_held_matches 6, test_feed_add 8, test_feed_read 9, test_feed_mcp 2, test_inbox_screening 6, test_feed_cli 13, test_cost_report 15, test_runs_adopt 16; test_runner and test_pipeline pass too), so (4) and (5) are closed. Remaining failures in the files run: test_screening_ranked (3: a fixture amendment not marked semantic) and test_import_prisma (1: expected PRISMA keys predate version_pair_merges and provisional).
Why: a limit stop exits 0 and was recorded as a complete run, hiding earlier interruptions; a silent self-deadlock in a critical module is the worst kind of failure.
Rigour notes: detection stays a read-time projection of the stored log (no event field, interrupted() stays a pure read); no test is weakened to pass; the deadlock fix is a critical-module change merged with its review and a revert check.
Open questions: whether to hold a stage forever when the reset text does not parse (decided: 5-hour estimate); merge order of plan-feed-hub and plan-restart-costs.
Status: new · Added: 2026-11-12 · Slice: — · Depends on: IDEA-37 (miners), IDEA-50 (versioned objects), IDEA-53 (semantic agreement)
What: when a miner is defined, the choices that shape what it can find are put to the researcher one by one and recorded in the spec's rationale: (1) paragraph selection: a heading list, suggest-then-select (candidates per field from cues, recorded with the selected anchor), or the whole text minus tables and references; (2) per field, whether the fact can sit anywhere in the paper; (3) what an absence value means and what it must quote (not "the nearest sentence"); (4) rows per work; (5) works per session and which model reads which pass; (6) whether a field is a quote-level fact or a paper-wide judgement (then it needs a semantic or citation-based method, e.g. builds_on_relation). Platform pieces: selector patterns per field instead of per miner, a whole-text mode, a way to run a miner on a named set of works (today mine_next serves the next unit and calibration draws its own sample), and the suggested anchors recorded on the row.
Hub and traceability: (1) a field view: pick any miner field (code_status, data_status, release_statement, a taxonomy field) and list every paper with the value, quote, anchor, miner and version, pass and model, filterable by value, each row linked to the paper's text at that anchor; a URL inside a quote becomes a clickable link (a pattern match on the stored quote, no judgement). (2) an all-miners paper page: for one paper every miner's rows side by side, all passes and versions (today the explorer reads only pass-A rows of the miners a profile maps to a role, site_corpus.py), disagreements marked, the gold label when the paper is in a calibration. (3) a calibration page per miner version: the drawn works, the gold labels, what each pass recorded, field agreement, links to the quotes. (4) rejected mine_record attempts recorded as events with the reason (today they exist only in session logs), and a session record for each run (model, times, reads, attempts, cost; factory runs adopt for script-run sessions). Found 2026-11-12: a calibration run showed document_read 60,000 characters per page is too large for one reply; the first read comes about a minute after mine_next.
Why: miners v2 field study (2026-11-12): code_status 42% and data_status 58% absence with real release statements missed (keyword check: up to 37 and 88 works), a heading selector that omits reproducibility, appendix and data sections, 34% of quotes taken from the first paragraph of a section, and a platform instruction ("leave out a field the document does not state", MINE_INSTRUCTIONS) that contradicts the v2 absence rule in the session prompt. The agreement per field is a weak signal for these because both passes see the same paragraphs.
Rigour notes: the platform proposes nothing it judges; a suggestion is a candidate, never a value; quote checks stay; the choice of mode is part of the miner version.
Open questions: cost of whole-text reading with Haiku at about 10,800 tokens per paper (median; 22,200 at the 90th percentile) and a transcript re-read each turn; whether one paper per session is needed; a sample drawn from known misses needs a work filter on the pass.
Validation record, m-release (2026-11-12; whole-text prototype miner for code_status and data_status, Haiku, one paper per session): two samples of 10 works labelled by the researcher (seed 12 and seed 13; one calibration per version, so each run is its own version). Runs: v1 original wording 17/20 values and 0.50 recall (the row key held the quote anchor; fixed in v3); v3 Sonnet 16/20; v4 widened (implied statements, supplementary information, a tie rule) 19/20 on the tuned sample, 0.95, passed; v5 same wording on the fresh sample 16/20 and failed at 0.80, of which two misses were wrong labels from the researcher's table built from a keyword search that missed a sentence (yang code, huang code); v6 adds partial and restricted-access and drops the tie rule: 20/20, 1.00, passed; v7 same wording on the fresh sample: 19/20 values (0.95), platform 0.85 because the model wrote the text none into unit of two enum fields in one row and same_field compares unit (one real boundary miss: partial against released). Cost and time per paper: Haiku 3 to 4 cents and 45 to 65 s; Sonnet 27 cents and 58 s median, with a slow tail; whole text with document_read pages of 30,000 characters (60,000 was too large for one reply). Verdict (researcher): validated on substance; final wording is v6/v7. Lessons: a keyword reading aid misses sentences (the researcher confirms the weak cases before labels are recorded); mixed statuses need explicit values, not a tie rule; a wording tuned on a sample is tested on a fresh one; the production run follows the layer policy (core and adjacent automatic, the rest on demand; IDEA-50 Q11) and the prompt says to leave unit empty for enum fields. Files in the pilot folder: screeners/m-release-v*-spec.json, gold-release*, gold-fresh*, calibration-report-m-release-v*.txt.
Status: built, not reviewed, tested (branch test-baseline, 2026-11-12; on main since merge 5dba7df); sweep 2026-11-16 (all 542 test files on main 4775a7e2, one per process): 27 files fail (44 tests), see docs/test-baseline-2026-11-16.md (7 are new since 2026-11-14; the state-hash regression of test_hosting and test_old_log_replay is back); 2026-11-17 (fix-baseline, on main): (b) the registered_files state-hash regression and (d) the passes structural rule fixed, stale tests updated (test_miner_kinds, test_watch_config, test_window_baseline, test_site_main_hub_pages, test_http, test_plugin, test_ranking, test_progress, test_portfolio, test_cli_evidence, test_evidence_check_methods); (c) untouched; still failing: test_views_b_merges (product question), test_acceptance_regions, test_region_evaluate, test_forged_events, test_hypotheses, test_hypothesis_review, test_slice6_surfaces, test_commit · Added: 2026-11-12 · Slice: — · Depends on: the unify merge (main fast-forwarded from 8e68849)
State at wrap-up (2026-11-12, branch test-baseline from 5bc9879, last commit 1cb71eb): Built: a per-file baseline of all 482 test files on main and on the branch (docs/test-baseline-2026-11.md: results table, class and cause per failing file, every file's result). On main 78 files fail (183 tests); on the branch 22 (38 tests). Product bugs fixed, each with the test that shows it: the snowball regex (092254f; the regex was wrong, decided from its own docstring and its only producer, services/snowball.py, which never adds a filter to an openalex: text; the reference-layers plan is silent), the reference-layer tables in the state hash (917e9eb), runner and pipeline events minted outside the write lock (bcd8dfc). Stale tests fixed (46 files, plus 3 by judgement): the largest cause was the dedup gate (69528b3) meeting fixture works 'Random 1'/'Random 10' that fuzzy-merge (ecc2662, about 40 tests); then tool lists (each new tool checked in services/access.py), enum pins, merge-id fixtures, the selected-decision gate (bind_ids), the 12-character span minimum. The addendum on main (IDEA-49 work) attributes the four screening files to _serve_calibration; the cause is the dedup-gate fixture collision, and those files pass on the branch. Not fixed: 19 files in features the researcher ruled not finished (ranking, hypotheses, regions and others; listed in the document), recorded only; test_mcp_decisions is flaky (two writers share a FixedClock; test design); questions (a) to (d) below. Environment: test_config and test_plugin fail only when the shell exports FACTORY_ROOT/FACTORY_PLUGIN_DIR; run tests without them. One ranking test needs the tokenizer model, not installed. Tests run: every file, one per process, two at a time, -m 'not network'; network tests not run. ruff and mypy --strict on the touched product files. Index and events: none changed (PROJECTION_VERSION 83). Next step needs: merge review of test-baseline (it is based on 5bc9879; main has since moved to fb9b27d, with a conflicting IDEA-65 addendum in this file); the feature owners take the 19 not-finished files; rulings on (a) to (d).
What: failures that were already present on plan-feed-hub (and for the snowball test on plan-reference-layers) before the merge, found when the lines were unified; none is caused by the merge. (1) Ten MCP test files fail with the same counts on plan-feed-hub and on the unified line: test_mcp_concepts 1, test_mcp_document 1, test_mcp_experiments 1, test_mcp_fulltext 1, test_mcp_hypotheses 1, test_mcp_living 1, test_mcp_protocol 4, test_mcp_references 8, test_mcp_screening 6, test_mcp_server 1 (25 tests). The three read cases point at expected per-role tool lists that were not updated when tools were added (reference_layer_next, intuition_next) and a changed parameter (work_id for session); six files were not read. (2) test_snowball_forward: FORWARD_ROUND_RE in model/references.py now matches openalex:W1,title_and_abstract.search:a, which the test expects not to match (the test is unchanged since plan-8-suggest-select, the regex changed on plan-reference-layers). (3) About 400 of the 472 test files were not run on the unified line; 61 files in the areas both lines changed were run and pass, and twelve index tests that pinned PROJECTION_VERSION at "67" were updated to 83.
Why: a green baseline on main before further work; the owners of the tool lists (reference layers, feed, intuition) know whether each new tool in a role is intended.
Rigour notes: no test is weakened to pass; a changed expected list needs a check that the new tool belongs in that role (services/access.py).
Open questions: (a) whether the PRISMA flow should leave out version_pair_merges and identical_title_merges when zero, as it leaves out stop_rule and not_screened_stop, or test_import_prisma is stale; (b) whether briefing, pipeline and trace may import the intuition layer and the writing services (allowlisted on the branch as not evidence outputs; the slice 3c and 7b owners should confirm or revert c78518d); (c) test_commit::test_a_deleted_event_file_refuses_the_job: deleting a hosted project's only event file deletes its hosting event, so the job skips the project instead of refusing (passed at e696e33; bisect not finished); (d) screening._is_human_session should move to services/passes.py (test_passes).
Addendum (2026-11-12, IDEA-49 work): four screening files fail on main 5bc9879 with 34 tests in all, the same before and after the IDEA-49 branch: test_screening_next.py 15, test_screening_record.py 11 of 12, test_mcp_screening.py 6 (already counted in (1)), test_fulltext_screen_record.py 2. One cause traced: _serve_calibration in tests/screening_helpers.py asserts a calibration batch that screen_next no longer serves, so the helpers are stale against the calibration gate. The list is reproducible by running each file alone and collecting the FAILED lines.
Status: built 2026-11-13 on branch idea-66-67 (on main: 53f1771, d7c22bd); reviewed 2026-11-14 (one Sonnet review): about ten inputs still took the raw id (core mark/unmark, mine resolve, miner calibration label, extraction audit record, library adopt, relation propose, list filters); wired on branch low-hanging-4 (8b1b87a, b3a9c62: 21 inputs resolve in their services; guard test test_mcp_work_params_guard.py; reviewed); 2026-11-17: flow_trail resolves the work id and is in the guard map (fix-baseline, on main) · Added: 2026-11-12 · Slice: — · Depends on: IDEA-49 (document_read, screen resolve), screening NFC fix (_as_stored)
What: every CLI command and MCP tool that takes a work id matches it after NFC normalisation, as screen_record, document_read and screen resolve now do: an id whose NFC form equals that of exactly one stored work names that work, and events store the stored spelling. Candidates: calibrate label, audit label, document convert/fetch by work, extract_record, mine_record, appraisal_record, contribution_record, trace, lead_record, label_apply, and the hub's write path. Preferably one shared helper (a work-id resolver in services/) instead of a copy per module.
Why: normalize_title applies NFKD, so a Hangul word in a work id (surname or title slug) is stored as jamo, while a model or a person writes it composed; the two look identical and differ as strings. Changing the id scheme would change existing identities, which an id may never do, so the remedy is matching at the boundary. On 2026-11-09 the pilot's Korean-ID work was refused by document_read.
Rigour notes: matching never merges two works: an id that matches several stored ids by NFC form is refused; events always carry the stored spelling, so the log stays consistent; no stored id is rewritten.
Open questions: whether to also normalise new ids to NFC at creation (it would change the id of a work first seen after the change only if its basis contains Hangul or other non-composing scripts, but two spellings would then coexist in one project); whether the helper belongs in model/work_ids.py or services/.
Built (2026-11-13, branch idea-66-67): the matching rule is pure and lives in model/work_ids.py (nfc_matches: the id itself when stored as given, else every stored id with the same NFC form); the lookup and the refusal live in a new services/work_ref.py (stored_spelling over a given set, resolve_work_id(s) over the index's works table). The split follows the layering: model/ stays free of the index and of FactoryValidationError. An id matching several stored ids is refused on the caller's field ("matches several works by NFC form"); an id matching none is returned unchanged, so each caller refuses it as before. Wired into calibrate label (label_calibration), audit label (audit_record), the extraction row path shared by extract_record, mine_record and contribution_record (each field's cited_work, _cited_as_stored in services/extraction.py), lead_record (work triggers), label_apply (a work target and the quote's work), trace (a ref of work-id form), document convert and fulltext fetch by work, and the hub's layer acts (work_layers.move_layer, work_layers.request_mining, which site_server calls; no site*.py file changed). appraisal_record takes no work id (the work comes from the held task), so nothing changed there. document_read, screen resolve (agreement._as_stored) and screen_record (screening._as_stored) now use the shared rule; document_read refuses an ambiguous id instead of passing it on. No event type, no index change, no stored id rewritten; events carry the stored spelling. New ids are not normalised at creation (open question 1 stays open).
Tests run (one file per process, 2026-11-13): new test_work_ref.py (8) and test_work_ids_nfc_inputs.py (13: a Hangul work written composed at each entry point; 11 fail without the service changes, the 2 refusal tests pass either way). Regression, all pass: test_work_ids, test_agreement, test_audit, test_calibration, test_contribution_record, test_document_convert, test_document_read_nfc, test_document_read, test_extraction_record, test_extraction_verify, test_fulltext_resolve_cannot_assess, test_labels, test_leads, test_mine_path, test_trace, test_screening_model, test_fulltext_screen_record, test_miner_select. Two entry points are tested below the full path: the audit test narrows the sample check (the Korean work is in the test world's title/abstract calibration set, so no audit can sample it), and cited_work is tested on _cited_as_stored (no extraction schema with a cited field in the test world). work_layers had no tests before; move_layer is tested through its refusal order and request_mining with the on-demand miner list patched. Not run: the MCP surfaces with a composed id, the full suite.
Status: built 2026-11-13 on branch idea-66-67 (on main: 99c984b); reviewed 2026-11-14: the queue reads the same set as the IDEA-49 pending outcome (_cannot_assess_open), so they cannot drift. Since decision 121 an unresolved work is awaiting classification, so the queue now blocks the full-text outcome; text below that says it blocks nothing predates that · Added: 2026-11-12 · Slice: — · Depends on: IDEA-49 (cannot_assess_open, screen resolve), the site hub and dashboard, factory status
What: show the unresolved full-text cannot-assess works where the researcher looks: factory status (a count per stage), the dashboard and the hub's screening page (the works, each pass's criterion, quote and anchor, a link to read the document, and the resolve command), and screen disagreements --stage full-text before both passes finish (today it needs screen_agreement, which waits for the passes). Optionally a factory screen cannot-assess --stage full-text listing.
Why: IDEA-49 lets the researcher settle these works, but they are listed only once both passes finish, so a work whose document could not be read can reach extraction unnoticed.
Rigour notes: listing is read-only and computed from events; the resolution stays a human act with a reason; whether an unresolved cannot-assess blocks extraction is the ruling still open in IDEA-49.
Open questions: whether the queue should block extraction (the IDEA-49 ruling); whether title/abstract cannot-assess rates deserve the same view.
Built (2026-11-13, branch idea-66-67): agreement.cannot_assess_queue(stage=) lists the unresolved cannot-assess works with each pass's decision (verdict, criterion, quote, anchor, pinned conversion), the factory document read command and the factory screen resolve command; agreement.cannot_assess_counts gives a count per stage (title/abstract is always 0: such a work goes on to be read in full). Both are read-only and computed from events, and available once the passes are opened (a single-pass work needs only pass A). factory status prints cannot-assess to resolve: title-abstract 0, full-text N (new ScreeningStatus.cannot_assess_open, a count only, so the agent view carries no work id). factory screen disagreements --stage full-text lists the queue with each pass's decision and the two commands, and no longer fails before both passes finish: it says "disagreements: not available until both passes finish ()" (title/abstract unchanged). The dashboard's screening section (dashboard_state()["screening"]["cannot_assess"]) shows a table with each pass's decision, a link to the work's conversion inspector in the hub (/conversion/doc/<slug>.html, the link the conversion section already uses) and the resolve command; the hub shows it through its dashboard snapshot. No site*.py file changed, no event type, no index change. Not built: a separate factory screen cannot-assess command (the disagreements listing covers it).
Tests run (one file per process, 2026-11-13): new test_cannot_assess_queue.py (8: queue before pass B, both passes of a dual-coded work, a resolved work leaves it, title/abstract empty, status count, dashboard state, CLI disagreements before the passes finish, CLI status). Regression, all pass: test_agreement, test_fulltext_resolve_cannot_assess, test_cli_fulltext_screening, test_mcp_fulltext_screening, test_dashboard, test_dashboard_feed, test_project_status, test_project_service, test_status_purpose, test_fulltext_status. Not run: the dashboard page in a browser (the JavaScript table is untested), the full suite.
Options for the researcher (whether the queue blocks extraction; the IDEA-49 ruling, not decided here): (a) no block (as built): an unresolved cannot-assess work promotes and is extracted; the queue makes it visible. (b) A warning only: extract_next and extraction status name the unresolved works, extraction proceeds. (c) Block per work: an unresolved full-text cannot-assess work is PENDING (not promoted) until resolved, as unsure is; changes final_outcomes, PRISMA counts and passes_settled, so it needs a decision entry and a check of every reader. (d) Block the stage: extraction refuses to serve while any such work is open. Recommendation: (c), since a work whose criterion the text could not settle is not yet an inclusion, with (b) as the cheaper interim step.
Ruling (researcher, 2026-11-13): (c), an unresolved full-text cannot-assess work is pending until resolved. Not built: it needs a decision entry and a check of every reader of final_outcomes, PRISMA counts and passes_settled; (b) is not taken as an interim step.
Status: built, on main (163d6c4), reviewed 2026-11-14 (one Sonnet review, no major: the 0.90 gate still reads the aligned rate; the hub's "platform measure" column showed the all-rows rate under the aligned description, fixed on branch low-hanging-4 (0e19ef6: both rates, labelled); minors in backlog-iterate.md) (2026-11-13, branch miner-agreement-rate: carries_unit in services/extraction_agreement.py; FieldDef.unitless for anchor and work-reference-by-entry kinds; an absent unit equals none for every kind) · Added: 2026-11-12 · Slice: — · Depends on: miner calibration scoring (mining/score.py, same_field), IDEA-52 and 53 (agreement for miners)
What: same_field compares normalised value, unit, reported_in and reproduced. For a field whose kind carries no unit (enum, quote, citation, anchor, work reference) the unit is not part of the answer and should be ignored, or normalised so that an absent unit and the text none are equal.
Why: in the m-release v7 calibration (2026-11-12) a model wrote none into unit of two enum fields in one row; the score counted two disagreements although the values were identical, turning 19 of 20 matching values (0.95) into a platform result of 0.85 and a failed gate.
Rigour notes: the rule only widens what counts as equal where the field kind cannot hold a unit; number fields keep comparing units; the score is computed, never typed.
Open questions: whether a stray unit on a non-number field should also be refused at mine_record; whether reported_in and reproduced need the same treatment for enum fields.
IDEA-69 — Layer pass lessons: single-dimension row key, unmatched rows in the score, calibration before production
Status: (1) to (4) built and on main (163d6c4; 9f85548, cc9e675 rule B; (3) the guard; 31d93e4), review of (1), (3), (4) 2026-11-14 on branch low-hanging-3; (2) not reviewed. Status corrected 2026-11-14: earlier text said (3) not built · Added: 2026-11-13 · Slice: — · Depends on: IDEA-50 (derived miners, mining/derive.py), IDEA-52, 53 and 68 (agreement for miners), mine agreement, miner calibrate draw
What: (1) A derived miner for a single dimension keys its row on the work (a fixed key), not on the category, so two passes that choose different categories align as one row and count as a disagreement. Multi dimensions keep the category key. (2) mine agreement and the calibration score count unmatched rows against the rate (a row only one pass wrote is not "agreement 1.000"); the report states aligned, unmatched and the rate over all. (3) A production pass of a miner version that has no passed calibration is refused unless the protocol declares it exploratory, or the platform warns in mine_next and in mine status; a calibration can only be drawn from works no production pass has started, so mining first makes the calibration impossible (as for m-layer v1: "no unit is left to calibrate on").
Why: the layer pass (m-layer v1, 2026-11-13, 371 works, Haiku pass A, Sonnet pass B on 40) reported agreement 1.000 with 34 aligned rows and 12 unmatched, from 6 works on which the passes chose different layers; the true agreement is 34/40 = 0.85, under the 0.90 gate. Calibration could not be drawn afterwards, so the layers were validated by a hand-labelled sample outside the platform. The same row-key pattern probably flatters the agreement of the other derived miners.
Rigour notes: the score is computed from events, never typed; a stricter count is declared in the miner's regime before the run; a refused production pass writes nothing; an exploratory declaration is a protocol amendment with a reason.
Open questions: whether (3) refuses or warns; whether the agreement of the existing derived miners (m-classification, m-descriptors, m-mapping, m-summary) is recomputed and its stored value superseded; whether the 0.90 gate applies to the rate over all rows or only to aligned rows.
Addendum (2026-11-13, lifecycle work): (4) miner calibrate draw draws from the whole base population (371 works), not from the works the protocol's layers select: the m-lifecycle v2 draw (seed 15, 2026-11-13, listed for core only) holds 2 core, 6 applied and 2 benchmark works. The draw should use miner_population so a layer-filtered miner is calibrated on its own works. Also: an integer field's value must occur in its quote (number-not-in-text), so an order or a count that is not printed in the text must be an enum with a quote (m-lifecycle v1 was refused for this; v2 uses enums).
Built (2026-11-13, not reviewed): (2) the agreement adds unmatched_slots and overall_all_rows (ExtractionAgreement, AgreementOverall): per dual work, the non-aligned row keys of the larger pass are slots, and the compared values of the larger side's unmatched rows join the denominator and never agree (two passes that chose different categories are one slot, not two). mine agreement prints the rate over aligned rows and over all rows with the aligned and unmatched counts; mine status (and the hub's miner agreement) now reports the rate over all rows, the aligned rate kept as agreement_aligned. The calibration score adds unmatched and field_agreement_all, shown by miner calibrate report. The calibration gate is unchanged (recall and aligned field agreement): recall already counts unmatched gold rows. Test: the layer case (34 aligned, 6 works with different values) reads 1.000 aligned and 0.850 over all rows. (1) derive_miner declares no row key fields for one chosen dimension of single cardinality; compile_miner sets Pack.row_per_work for a derived spec without key fields and pack_row_key keys its rows on the conversion alone; a second row for the same work is refused as a duplicate at record time. The layer case then aligns 40 rows and reads 0.850. Multi dimensions and hand-written miners keep their keys (validate_miner still asks a hand-written miner for key fields).
Existing registered versions under (1) (proposal, not applied): the derivation check (_taxonomy_issues) runs only in register_miner; mining, agreement and calibration read the registered spec blob, so registered versions keep their category key and recorded rows keep their keys. What now fails: registering an existing single-dimension derived spec again (the derivation check runs before the same-digest return) and mine import of such a spec into another project (it registers). Options: (A) return an existing registration with the same digest before the derivation check (grandfathered by registration; imports still refused); (B) derive_miner takes the key rule (work or category, default work for one single dimension) and register derives with the rule the spec's own row_key_fields declares, accepting only these two; no spec format change, old digests intact, imports work, the rule stays declared in the spec before the run; (C) a new TaxonomyRef field naming the rule, omitted when category so old digests hold; explicit, but a spec format change that (B) does not need. Recommendation: (B).
Ruling (researcher, 2026-11-13): option (B). derive_miner takes the key rule and register accepts the rule the spec's own row_key_fields declares. Not built yet.
Options for (3) (not built): (a) refuse a production mine_next for a version with no passed calibration unless the protocol declares the version exploratory (an amendment with a reason); (b) only warn in mine_next and mine status; (c) reserve the calibration units when the version is listed, so production never consumes them. A warning does not prevent the loss it is about (the layer pass consumed every unit before a calibration was drawn), so (b) alone is too weak. Recommendation: (a), with (c) as the follow-up that makes calibrating after a first exploratory run possible.
Ruling (researcher, 2026-11-13): (a), refuse a production mine_next for a version with no passed calibration unless the protocol declares it exploratory (an amendment with a reason); (c) stays a follow-up. Not built yet.
Recomputed on a copy of the pilot events (2026-11-13, no events written): aligned rate (as reported) → rate over all rows → rate if the passes were aligned by work (simulated): m-classification v1 0.576 (14 aligned, 21 slots) → 0.248 → 0.588; m-descriptors v3 0.347 (10, 19) → 0.121 → 0.198; m-mapping v2 0.636 (16, 27) → 0.239 → 0.614; m-summary v2 0.639 (17, 23) → 0.271 → 0.707; m-layer v1 1.000 (34, 6) → 0.850 → 0.850. Only m-layer is derived; the other four are hand-written with an enum row key and hold one row per work, so (1) does not reach them: the work alignment of IDEA-53 (1) would. IDEA-68 changed none of these values.
Built (2026-11-14, branch calibration-guard, not reviewed): (3) mine_next(..., exploratory=False) refuses a production pass (not calibration) of a version whose calibration has not passed (state other than calibrated: registered, calibrating, failed) on field calibration, naming the version and the exploratory way; exploratory=True runs it, and the task content (MineBatchContent.exploratory, a blob field, no event type or event field) carries the mark. The MCP tool mine_next takes exploratory; there is no mine next CLI command, so none was added. A calibration pass with exploratory is refused on field exploratory. Not built: the ruling's wording "the protocol declares the version exploratory (an amendment with a reason)"; the explicit parameter stands in for it, a protocol-level declaration (MinerUse field, so a protocol schema change) remains open; the runner (services/runner.py, another lane's area) and the rf-mine skill still call mine_next without the parameter and now meet the refusal for an uncalibrated version. Also not built: (c), reserving calibration units. (1) key rule B: derive_miner(..., row_key="work"|"category") (default work for one single dimension, else category; work is refused for any other choice), row_key_rule(spec), and register derives with the rule the spec's row_key_fields declares (empty or ("category",); any other key is refused on row_key_fields), so existing category-keyed registrations, re-registration and mine import stay valid. (4) draw_miner_calibration draws over miner_population (the protocol use's layers and on-demand requests) less works a production pass started. Test helper fix: vision_result listed its key field as its anchor too, which validate_miner refuses; 19 baseline failures in test_miner_score (7), test_cli_miner (2), test_mcp_mine (4), test_miner_lifecycle (6) were that helper alone.
Runner follow-up (researcher ruling 2026-11-14: refuse early with an opt-in; branch low-hanging, 5a6c7a3, 2c27b32 and 7286252; reviewed; merged to main 637868a): the runner refuses a mine:<id> stage whose listed version has no passed calibration before a session starts (field stage); exploratory on the run (factory queue process --exploratory, hub queue POST, recorded on runner.started as an optional field) passes the flag through the prompt; a resume keeps the flag of the run it resumes. The pipeline (Process all) treats such a miner as not applicable, with the reason, and goes on; the hub queue lists it with its pending count and a Process exploratory button (PipelineStage.exploratory_only). exploratory is omitted from the runner.started payload when false.
Review (2026-11-14, one Sonnet review of (1), (3), (4) on main d63caff): (1) correct, old digests unchanged. (4) defect: the calibration draw also took on-demand requested works (fix on branch low-hanging-3). (3) defect: the refused agent could pass exploratory=true itself, against the 2026-11-13 ruling, and nothing recorded it. Ruling (researcher, 2026-11-14): only a protocol amendment with a reason unlocks an uncalibrated production pass; the agent's flag and queue process --exploratory go, and mine_next, the runner and the pipeline read the protocol's declaration (built on low-hanging-3, 26d6e5f: MinerUse.exploratory, omitted when false, refused with evidence; declared by factory protocol amend --file; shown in mine status and the hub miner page). The (4) fix: 59121fd, miner_population(include_requested=False) for the draw. Reviewed (one Sonnet review, no major; minors in backlog-iterate.md).
Gate (open question): recommendation: the 0.90 miner gate applies to the rate over all rows; not applied, since it changes past pass results computed from events.
Ruling (researcher, 2026-11-13): the stored agreement values of existing miners are kept, not superseded; mine status shows the rate over all rows with the aligned rate beside it. The 0.90 gate is not changed by this ruling.
Status: checked 2026-11-15 on fix-82-70: nothing left to build, the one-snapshot, one-memo-scope and one-ledger-per-scope reads are on main (test_mine_status_cost.py rerun); remaining cost built 2026-11-14 (branch low-hanging-2, merged to main dbe3d01, reviewed (one Sonnet review, fixes 1ed65da to 2a5c4fb and 570d467); 8f4b6b1: one ledger per miner scope passed to the readers; not timed on the pilot); earlier: built, not reviewed (branch mine-status-perf) · Added: 2026-11-13 · Slice: — · Depends on: services/call_memo.py, Index.snapshot()
What: mining.mine_status runs under one Index.snapshot() and one memo scope (call_memo.entering), so the per-miner reads (unit_states, stale_extractions, live_rows, agreement_overall, the population) neither sync the index again nor refold the screening outcomes. The CLI, MCP tool, dashboard and site pages all call this one function.
Why: on a copy of the pilot (43,642 events, 2,258 event files, 8 miners) one factory mine status took 134 s wall clock: 1,754 incremental syncs (each stats every event file; no rebuild, the index was at projection 84) and 78 folds of final_outcomes (one per population lookup). After: 39 s, 1 sync inside the call, 2 folds (one per stage), identical output.
Rigour notes: read-only; nothing is cached across calls (the memo exists only inside the call). Trade-off: writers wait on the shared lock for the length of the call (about 40 s on the pilot), as for the dashboard, instead of interleaving with its reads.
Remaining cost (not built): extraction._ledger is read 4 times per miner (32 calls, about 27 s of the 39 s, mostly _kind_tasks decoding 165,000 task blobs). Memoising it is not done here: _ledger is also read inside write paths that open a memo scope (entering() under exclusive()), where a cached ledger would go stale after a write, and _Ledger is a mutable dataclass that _fresh does not copy. A safe version either memoises a read-only _kind_tasks keyed by scope with an explicit invalidation on extraction writes, or passes one ledger from mine_status into the per-scope readers. No projection change needed for either.
Branch archive/plan-scale-hygiene (2f72145b; the original 5a714a3 was recreated with a cleaned commit message, same tree; the local plan branch is deleted), reviewed: its changes (memoised screen_agreement, audit_report, gates_status and one-query relations for project_status and check) are not on the mine status path; nothing taken. They still apply to project status and check and remain to be landed on their own.
Open questions: whether the hub should cache mine status between event-log changes (keyed by the index's last event id) rather than recompute it each refresh.
IDEA-C1 — Hub feed page, project Settings, authentication seam, create-project form (lane C, overnight 2026-11-14; number to be fixed at merge)
Status: built, not reviewed; tests green (test_site_hub_feed 21, test_site_auth 14, test_site_create 19, plus test_site_main_hub, test_site_server_writes, test_site_feed, test_resume_surfaces, test_runner); mypy --strict and ruff clean on the changed files; live look on a copy of the pilot (no fetch) · Branch: hub-feed-page · Plan: docs/plans/2026-11-13-hub-feed.md (parts 4 to 6), 2026-11-13-main-hub.md (parts 2 and setup)
What: (1) the main hub serves /feed/ (a tab per project, cards, status line, Fetch now and Refetch through FeedRunner) and /p/<slug>/settings/ (feed configuration, category proposal, Accept as the local human); the per-project feed product is a pointer to /feed/. (2) services/site_auth.py: one Authenticator.check decides actor and permission for every request; site_server holds no token, host or origin test. (3) services/site_create.py and a form on the portal create a project as the human (slug, title, profile = rigor mode), title in registry.json. Decision 156 (formerly C-1; decided 2026-11-20) covers the hub timer and the hub acts.
Not built / open: an in-browser look (HTML read over HTTP only); the run buttons were tested with a scripted runner, never against arXiv; build_feed (cards) in site_feed.py is dead as a product, kept for its tests and entry helpers; the seam has one implementation and no per-project permission yet; the other setup forms (question, seeds, protocol) are not built.
Status: built, reviewed (one Sonnet review; fixes bbf9821, 9ad08e1, f20f2c0) and tested (its ten test files pass, targeted run 2026-11-14, fixes 40d3b10); not merged (researcher: leave on the branch); mypy --strict and ruff clean; verified read-only on a reflink copy of the pilot (ledger reconciles with PRISMA; flow product builds in about 28 s) · Branch: flow-transparency · Plan: docs/plans/2026-11-14-flow-transparency.md (branch 1; branch 2 hub-records not started)
What: PRISMA full-text boxes separate "not yet sought" from "sought, not retrieved"; the full-text queue holds canonical works only and a canonical work uses documents and attempts of works merged into it; a work ledger (one row per identified record) grouped by source (arXiv only, OpenAlex only, both) that reconciles with every PRISMA box; skipped raw records and per-query gaps; the hub product "Flow explorer" (by-source table, filterable work list with CSV, per-work trail); MCP report_prisma(by_source), flow_works, flow_skipped, flow_trail; CLI report flow --by-source, flow-works, flow-skipped, flow-trail.
Open: five merged pairs with opposite title/abstract outcomes (dedup.merged_after_screening; researcher: not now, the canonical outcome stands); flow_works rebuilds the ledger per page (about 20 s on the pilot); flow_skipped imports private adapter helpers.
IDEA-F2 — Hub records: search and deduplication page, study documents (file.registered), unreferenced-files check, runs page (number to be fixed at merge)
Status: built and reviewed (one Sonnet review; fixes d08abf0, 0dea248), untested (tests written, not run: testing pause kept by the researcher 2026-11-15); mypy --strict and ruff clean on the new code; pilot builds checked on reflink copies (search 4.4 s, check rule 2 s, runs 0.5 s) · sweep 2026-11-16: test_study_files and test_unreferenced_files passed · Branch: hub-records (cut from flow-transparency) · Plan: docs/plans/2026-11-14-flow-transparency.md, "Branch 2 tasks" · Decision 125 (proposed)
What: hub product "Search and deduplication" (per query its runs, archived pages, gaps and skipped records; every merge with titles, rule, revert reason and time; merged-after-screening conflicts); event file.registered with projection registered_files, factory files register | list | status (human only, file stored as a blob, new version on a content, kind or title change) and the "Study documents" product; factory check warning unreferenced-files; the "Runs" product over ops/.
Open: no file of the pilot is registered yet (the researcher decides which: docs/, validation/); on the pilot 7237 of 7368 files are unreferenced (archive 3560, ops 3596, validation 57, docs 16, inputs 7); no ops/ file name carries a run or task id, so the Runs page links none; the hub Markdown renderer shows no tables, code or links.
Naming ruling (researcher, 2026-11-14): the factory's top levels are Programme > Study. A programme is a long-lived line of inquiry in the sense of Lakatos (a hard core of commitments, a protective belt of revisable auxiliary hypotheses and methods, a positive heuristic for what to try next); a study is one piece of work inside it (a review, an experiment series), which is what the interface calls a project today. The interface can take the words first (a grouping field in registry.json, no new event); everything below needs a design and, where it says so, new events.
Status: new · Added: 2026-11-14 · Slice: — · Depends on: main hub (docs/plans/2026-11-13-main-hub.md), IDEA-72, IDEA-74
What: a programme has a title, a question or thesis (its hard core), the studies that belong to it, and what the studies share: protocol template, taxonomy, miners, feed categories. Step 1 is only a programme key per project in registry.json and a portal that groups studies by it; the Lakatos structure (core, belt, evidence, anomalies, heuristics, standing) then becomes the study sidebar. A programme-level event stream is a later step and needs its own note (new event types).
Why: several studies will serve one inquiry (a review, then experiments, then a replication); today each is an island, so nothing says why a study exists or what it shares with the others.
Rigour notes: studies stay separate event logs and keep their own protocols; a programme never edits a study's events or its corpus counts and PRISMA flow. A change to the hard core is a recorded, human-only act, never an agent's.
Open questions: whether a study may belong to more than one programme; where the hard core is recorded (registry, or a programme event stream); whether the shared protocol is a template copied into each study or a reference.
Status: new · Added: 2026-11-14 · Slice: — · Depends on: IDEA-71, slice 3b (graph), IDEA-57 (citations), reference layers What: a read-only view over the union of the works of a programme's studies: one record per work (identity by DOI, arXiv id or the dedup key), which studies hold it and in which layer, and one graph over all of them (citations inside the union, lineage across studies). A paper that two studies both include is shown once, with both screenings side by side. Why: studies in one programme overlap; the same paper is screened twice and may be screened differently, and the graph of one study cannot show how its field connects to a neighbouring study's. Rigour notes: a projection, rebuildable from the studies' events (R-05); no study's included set changes by being in the union; a disagreement between two studies' screening of one work is shown, never resolved by the view; every count is computed. Open questions: identity across studies when a work has no DOI; whether layers are comparable between studies with different schemes; cost of reading several event logs at build time (build per study, merge cached indexes).
Status: new · Added: 2026-11-14 · Slice: — · Depends on: IDEA-72, the step miner m-stage-steps, m-stages, m-mapping, IDEA-53 (semantic agreement)
What: compare what the miners found across the studies of a programme (and across programmes in different domains): which techniques, methods or steps appear in one domain's papers and not in another's, with the papers and quotes behind each. The output is a table of "technique X is used for stage S in domain A; in domain B no paper reports it" with the evidence, as a lead for the researcher, never a conclusion.
Why: the factory's aim is to let rigorous literature work seed new hypotheses; transfer between domains is where a corpus beats a single study.
Rigour notes: exploratory until the miners involved are calibrated; absence in a corpus is absence in that corpus only (no claim about the field); a technique's identity across domains needs a taxonomy that both studies share, so equivalence is the researcher's or an audited judge's (IDEA-53), not string equality; the page labels it as leads.
Open questions: which taxonomy level compares across domains; whether the comparison feeds the hypotheses engine (docs/plans/2026-11-14-hypotheses-engine.md) directly as candidate hypotheses.
Status: new · Added: 2026-11-14 · Slice: — · Depends on: IDEA-71, the hypotheses registry (slice 8), the finder tools (finder_gaps, finder_contradictions)
What: a page per programme with Lakatos's two questions, answered from recorded things: how many hypotheses were registered, how many made a novel prediction, how many survived their test, and how many belt changes were made after a failed test without a new prediction (ad hoc patches). Anomalies (Kuhn's word) are the contradictions and unexplained disagreements the finders list, shown next to the heuristic's next candidates (gaps, open hypotheses).
Why: the programme view should say whether the line of inquiry is still producing, not only what it contains.
Rigour notes: no verdict is typed: every number is a count of recorded events; "progressive" and "degenerating" are labels the researcher applies to the counts, not computed; the ledger shows a change of the belt together with the test that provoked it.
Open questions: how a belt change is recorded (a hypothesis amendment with a reason, or a new event); what counts as a novel prediction (registered before the test, with the date); whether a study's protocol amendments count as belt changes.
Status: built, on main since 2026-11-17 (branches pubmed-rest, europepmc, landed via pubmed-land) (services/pubmed_slices.py, MCP search_slice, CLI search slice; tests offline, run one file at a time; review: one Sonnet review, 1 Important fixed in 89a128b1; merged 2026-11-17; decision 133 proposed) · Added: 2026-11-14 · Slice: — · Depends on: IDEA-22
What: the adapter splits a PubMed query whose count exceeds 9,999 into [dp] windows and retrieves each, so the run is complete rather than partial.
Why: broad biomedical queries routinely exceed the E-utilities ceiling.
Rigour notes: each window is archived and counted; the sum of window counts is reported against the unsplit count, and a difference is noted (R-23).
Open questions: fixed windows or recursive halving.
Rulings (agent, 2026-11-15, branch pubmed-rest; decision 124 item 2 stands, the split is now arithmetic the agent calls):
- Not the adapter: a service (
services/pubmed_slices.py) plans and runs; the adapter still records a capped query partial withesearch-cap. - Recursive by calendar unit, not halving: a window over the cap is cut into years, a year into months, a month into days; a day over the cap stays a slice, runs partial with the cap note and is flagged
over_cap. Only oversized windows are cut. - First cut: before
first_year(default 1900, one range), one slice per year to the clock's year, after that year (one range, to 3000). The two open ends are never cut. Date windows do not overlap, but[dp]matches the print or the electronic date, so a record can fall in two slices; the sum is a sanity check, not proof of coverage (month-only and year-only[dp]at day level: unverified). - Counts come from one
esearchcount per candidate slice (PubMed's own number); planning writes no event, its pages are archived as blobs. The authoritative counts are those of the recorded slice runs (R-03, R-23). - Each non-empty slice is a registered and run
searchwith the term(<parent text>) AND ("YYYY/MM/DD"[dp] : "YYYY/MM/DD"[dp]), verbatim. Empty slices are counted, not run. - The parent/children relation is derived from the texts (
slice_report); no new event type. The report states slice total against the unsplit count and any difference. - A slice is not a planned query: pilot and systematic projects need
deviation_id(the ordinary gate is unchanged). Re-running continues: completed slices are left, partial runs resume, capped runs (esearch-cap, no resume token) are not repeated and are reported capped. A rerun that cuts a window finer leaves the old coarse slice registered; the report counts the finest slices only and lists the overlap. - Parent must be a pubmed keyword
searchwithout filters, with an unsplit count over the cap; otherwise refused.
Status: seeds by PMID and PubMed/PMC inbox links built, reviewed and tested; merged into main (see IDEA-79); watch window (listed_since as [edat]) and import admission by PMID built, tested offline, review: one Sonnet review, 1 Important fixed in 89a128b1; merged into main 2026-11-17 · Added: 2026-11-14 · Slice: — · Depends on: IDEA-22
What: a listed_since window for PubMed ([edat]), PubMed and PMC links in the inbox parser, seeds and import admission by PMID.
Why: a biomedical project lives in PMIDs; today a seed or link needs a DOI, arXiv or OpenAlex id.
Rigour notes: a PMID seed is resolved and recorded like the other kinds; held-out withholding covers the PMID.
Open questions: whether the seed model takes pmid as a fourth key or resolves through OpenAlex.
Rulings, rest (agent, 2026-11-15, branch pubmed-rest):
- Watch window:
PubmedSource.window_filteris true;filters["listed_since"](YYYY-MM-DD) is sent as(<text>) AND ("YYYY/MM/DD"[edat] : "3000"[edat]), PubMed's entry date, a listing date and never a publication date (R-21). Keyword queries only; the recordedquery_sentis the clause as sent. Count, match and sample probes use the same term. No other filter is accepted (register_queryrefuses it, an id_list with any filter too). - Import admission: a record whose resolved work has a PMID and no OpenAlex id is named by a PubMed
id_list(own familypmid, comma separator). Precedence: OpenAlex id, PMID, arXiv id, DOI; the PMID is skipped whenpubmedis not a registered source. Records resolved only through DOI keep the DOI route.
Status: built, merged into main 2026-11-17 (branch europepmc): route europepmc-jats (sources/fulltext/europepmc.py) and mesh_suggestions in the probe report (services/mesh_suggestions.py); tests offline, run one file at a time; review: one Sonnet review, 1 Important fixed in 93b147d8; decision 134 proposed · Added: 2026-11-14 · Slice: — · Depends on: IDEA-22
What: (a) Europe PMC full-text XML for articles NCBI's bucket does not serve; (b) the probe suggests MeSH descriptors harvested from the seeds' PubMed records as tick items.
Why: (a) widens open full text; (b) controlled vocabulary is the best input to term harvesting.
Rigour notes: (a) licence recorded per attempt; (b) suggestions only, the researcher selects.
Open questions: none open; see the rulings.
Rulings (agent, 2026-11-15, branch europepmc): (a) Route europepmc-jats, quality structured-xml, tried after pmc-jats and before oa-pdf (an added enum member and a longer ROUTE_ORDER; no new event type). It asks Europe PMC's search once (PMCID:, else EXT_ID: AND SRC:MED, else DOI:; resultType=core) for the PMCID, isOpenAccess and license, then GETs PMC<n>/fullTextXML; the XML is stored as received with application/jats+xml, so the pandoc JATS converter applies unchanged. Fetched only when isOpenAccess is Y; the licence is recorded also when refused. Europe PMC has no article versions, so source_version is EPMC:PMC<n> and a changed body reads as a changed source (decision 46). Same polite client, no key, no contact address. (b) PubMed sample records now carry their MeSH descriptors (author keywords excluded); the probe report gains mesh_suggestions (descriptor, records, sampled), counted from the sample, ordered by count then name, with check tags and descriptors already in the query text left out. It is report-only: not applied to a query, not stored in probe.measured (no event change), and the sample is the top by relevance, so the counts favour the query's own matches. Seeds' PubMed records are not fetched for this: the suggestions come from the probe sample only.
Status: first slice built and merged into main 2026-11-18/19 (plan 2026-11-18-technique-graph; decision 136 proposed). Service: derived, read-only, exploratory landscape from the pass-A rows of the 8 m-tech-* miners (co-used-with, candidate derives-from, earliest-in-corpus date rule, neighbors, ranked gap / combination / challenge candidates with score components, lookalike and shared-works flags; no new event or table); MCP technique_* (6 tools), CLI factory technique, skill rf-technique-bounce, factory check warnings; review fixes applied (no index lock across the scan, thread-safe memo, year-precision date rule, isolation test); ranking rulings 2026-11-18 (log-scale bridge via log(1+links)/log(1+works_a*works_b), lookalike flag at 2 shared tokens and Jaccard 0.4); reviewed twice (service and ranking, one Sonnet review each; findings fixed). Hub: the Landscape is a page of hub UI v2 (/p/<slug>/ui/landscape.html, payloads landscape and landscape_uses, own narrow cache key and prewarm slot, one review and its fix rounds); the classic-hub version is archived under tags archive/technique-hub-classic*. Tests run and pass (gates 2026-11-18/19). Not built: finder grid source (finder_gaps cannot read miner rows), problem nodes and a problem miner (needed for transfer hypotheses), recorded links (technique_link.*, problem.recorded: new events and a decision), a per-row 'Why this number?' trace figure kind, a hands-on bounce session on the core layer to judge the ranking · Added: 2026-11-14 · Slice: — · Depends on: IDEA-37, IDEA-50, slice 3b/3c, plan 2026-11-14-technique-comprehension
What: pilot: a map miner, a contribution miner, stage codebooks seeded from contributions, stage miners that record variants against the codebooks, versioned codebook growth, and a graph of techniques, systems, origins, problems and evidence with lenses. Factory: chained miners (selector over upstream miner rows), codebook-guided miners with open-set proposals, description fields, a teach-back quality regime, shared vocabularies (use status, evidence levels, claimed/observed problems); generic miner templates that every project adapts through a recorded adaptation process (slot axis declared per project: stages here, model components for e.g. chest CT report generation; dry run; per-project checker calibration; lessons proposed back to the templates).
Why: the step miner records sentences, not understanding, and cannot compare variants without a reference; the hypotheses engine needs techniques, origins and problems to combine and transfer.
Rigour notes: interpretation layer, never evidence; automatic teach-back with separated roles, checker calibrated by the researcher; codebook versions accepted by the researcher; departs from decision 82 ruling 1, so a new decision entry is required; factory capabilities built only where the pilot needs them, tests first.
Open questions: trial works; slice 3c storage or new events; grader model; templates extracted after the first adaptation; a second pilot as the second adaptation.
Status: open (2026-11-17: IDEA-75, IDEA-76 rest and two code minors built and merged into main; remaining code items each need a choice: PMID-keyed in-run dedup, POST for long terms, PubmedBookArticle, a shared PMCID converter, the OA PDF reason, actor-first gate coverage; decision 124 confirmation remains) · Added: 2026-11-14 · Slice: before pilot 2 (biomedical) · Depends on: IDEA-22 (merged cb447f2), IDEA-76, decision 124 (proposed), lifting of the testing pause (lifted for this line, 2026-11-15)
Tests run 2026-11-15 (branch pubmed-tests, one file at a time): all PubMed files pass after two test fixes (retmax is the remaining count; DOI normalised lower-case) and one product fix (id_list tokens normalised: leading zeros and pmid: prefixes stripped, non-PMID tokens rejected before any request). New offline file platform/tests/test_pubmed_edges.py (18 tests: id normalisation, date-sliced terms, cap boundary, last-page retmax, efetch XML shapes, 429 Retry-After, 5xx). Remaining from step 3: merge, MAP regeneration.
What: finish the PubMed work started 2026-11-14 so pilot 2 can run on a biomedical topic.
State:
- Merged on main (cb447f2, 9be7ad5): PubMed source (search, probe), PMC JATS route from the
pmc-oa-opendatabucket, JATS to Markdown with references kept, OA PDF fallback through every OpenAlex OA location. Reviewed (Sonnet), review fixes in; live smoke passed (NCBI search, probe, one PMC article to Markdown with 18 references). Unit tests never run. Plandocs/plans/2026-11-14-pubmed.md. - Held, unmerged (researcher's ruling: merge only after their tests pass; the agent merges, not the merge agent):
- branch
pmid-seeds(worktree.claude/worktrees/pmid-seeds, head 3d8e1a2, cut from c8738ed): seeds by PMID, held-out PMID withheld only in context (pmid:<n>), PubMed/PMC links in the inbox. Reviewed, fixes c6c8b8c. Plandocs/plans/2026-11-14-pmid-seeds.md. - branch
gate-tests(worktree.claude/worktrees/gate-tests, head 5a02344, cut from c8738ed):test_gate_acts_refuse_non_humans.py(41 gates, agent and system refused, event files byte-identical),test_gate_floor_table.py(slice-M table literal), and the slice-M amendment listing six gates missing from the spec (researcher's ruling). Plandocs/plans/2026-11-14-gate-tests.md. Expect first-run fixes (assertions not all traced). Next steps, in order:
- branch
- Researcher's merge agent lands the other open branches and restarts the MCP server and hub on main (until then the pilot cannot use PubMed); record the commit used for pilot 2 (pilot-2 plan §6.8).
- When the researcher lifts the testing pause: rebase
pmid-seedsandgate-testson main; run in batches, one at a time (/tmp is small):test_pubmed.py,test_registry_pubmed.py,test_source_base.py,test_fulltext_routes_pmc.py,test_fulltext_routes_oa.py,test_fulltext_model.py,test_mcp_fulltext.py,tests/document/test_optional_converters.py(main);test_seeds.py,test_withholding_resolved_openalex.py,test_inbox_links.py,test_inbox_service.py,test_mcp_protocol.py,test_protocol_rules.py(pmid-seeds); the two gate test files (gate-tests). Compare failures against main (baseline-against-main rule). - Fix failures; merge
pmid-seedsandgate-tests; regeneratedocs/MAP.md; update IDEA-22, IDEA-76 and this entry (IDEA-79). - Researcher confirms decision 124 (source, route order before OA PDF, TDM manuscripts fetched).
Parked (not needed for pilot start): IDEA-75 (date slicing above 9,999), IDEA-76 rest (PubMed watch window, import admission by PMID), IDEA-77 (Europe PMC route, MeSH suggestions in the probe), the review minors under IDEA-22, actor-first coverage for 9 gates whose prerequisite check runs before the actor check (screening/extraction/mine resolve, miner calibration label, hypotheses register and lead decide, experiments freeze-unlock and accept-baseline: needs built worlds), a shared PMCID converter (inbox and PMC route each have one).
Rulings, code items (agent, 2026-11-15, branch
pubmed-rest): done: non-numericresume_fromgives a clearValueErrorbefore any request (IDEA-22 minor). Not done, each needs a choice: keying in-run dedup on PMID (the work id is derived from DOI, arXiv id or title/authors/year, so a PMID key would need a change towork_id); long terms by POST (PoliteClienthas GET only);PubmedBookArticleparsing (new work type mapping); shared PMCID converter (touches the inbox and the PMC route); OA PDF reason (cosmetic); actor-first gate coverage (needs built worlds). Rigour notes: pmid-seeds touches held-out handling (decision 37.9, 123): review the withholding tests before merge.
Status: new · Added: 2026-11-14 · Slice: — · Depends on: docs/naming-glossary.md, a decision entry per adopted name
What: adopt the display names proposed in docs/naming-glossary.md (exemplars, anomalies, hard core and protective belt, conjectures, severe tests, assay, …) in the hub, skills and documentation. Objects only; role names (miner, screener, builder) stay plain.
Why: a shared vocabulary that states what each object is for in the logic of inquiry, not only in the pipeline.
Rigour notes: event types, tables and MCP tool names keep their identifiers (the event log is append-only; renaming would need permanent projector aliases); names used in Decided entries change only through a new decision.
Open questions: whether programmes fits regions; whether Bacon's Idols become an audit finding field (a schema change, not a rename).
Status: new; researcher ruling 2026-11-15: build all three parts before pilot 2 · Added: 2026-11-15 · Slice: 4a/4c · Depends on: the link inbox (slice 4a), the daily feed (slice 4c), m-layer and taxonomy t-agentic-layer, the reference-layer scheme v3
What: (1) inbox_add (and one-click add from the feed) takes optional structured hints from the human: a layer or ring from the current scheme (e.g. benchmark), a taxonomy category, and notes addressed to the miners. (2) Every work that entered through the inbox or the feed carries a computed origin tag (inbox, feed, with the channel), filterable in the hub explorer and in miner selectors. (3) Miners receive the human's hint as context after screening, and m-layer reports its agreement with the hints as a free calibration signal.
Why: the researcher often knows at capture what a paper is (2026-11-15: a benchmark that clearly fits a layer); typing it once saves a miner pass and gives gold labels for m-layer.
Rigour notes: screeners never see the origin or the hints (blinding, slice 4a); the origin tag is derived from events, never typed; a hint is the researcher's label with actor and time, not a miner row, and a miner given the hint must not be scored against that same hint.
Open questions: whether miners see hints at all (anchoring) or only the agreement report uses them; whether a hint naming a scheme version goes stale when the scheme changes.
Status: built, merged into main 2026-11-17, reviewed (one Sonnet review, no Important findings; minors parked: a work merged after an import is not re-judged; no test that an accepted item carries the primary id), tests run (branch fix-82-70: _Importer.canonical maps an absorbed owner to its primary before the mined and calibration checks and for the imported item's work; test_shared_mining_merged.py, stubbed conversion, no full import fixture exists) · Added: 2026-11-15 · Slice: — · Depends on: branch fix-docread-merge (document_owners)
What: services/shared_mining.py _unit_items takes work = conversion.work_id, the absorbed owner when the conversion belongs to a work merged into another, and checks it against the importer's mined and calibration sets; if those hold canonical ids, an already-mined or calibration work can be imported again. Map the owner to its canonical work before the checks.
Why: found by the review of the document_read merge fix (2026-11-15); same canonical-versus-absorbed mismatch.
Rigour notes: calibration works must never be imported (the exclusion protects the calibration set).
Open questions: which ids importer.mined and importer.calibration hold (not traced).
Status: built, reviewed (Sonnet), merged 2026-11-15 (plan 2026-11-14-technique-comprehension part C; decision 127 proposed; (c) as blind miner + computed comparison, (d) deferred) · Added: 2026-11-15 · Slice: — · Depends on: IDEA-78, decision 125 (file.registered), decision 82 (departure needs a new entry)
What: step 2 after the exploratory technique notes (93 v3 notes) and the 8 stage codebooks with their CSV export (ops/technique-trial-2026-11-14/v3). (a) The technique codebook becomes its own taxonomy (own id, e.g. techniques, own versions), separate from the pilot's existing classification and never mixed with its labels; the hub shows it as a separate product. (b) The notes, codebooks and CSVs are registered once as files (file.registered, with hashes, marked exploratory and unverified) and become the miner's declared prior. (c) A technique miner reads each paper and records, per technique × paper row of the prior, one of: confirmed (anchored quote), changed (what and why, anchored), not found in the paper; rows the notes missed are recorded as new. (d) Relations between works (corrects, reuses, re-invents without citation) are recorded and checked against the cites edges.
Why: the notes and codebooks are untraceable agent text; recording them makes every technique claim trace to a paragraph, puts techniques on the hub and in graph query, lets the living loop label new papers, and measures how reliable the exploratory step was (share of prior rows confirmed, changed, rejected).
Rigour notes: prior rows are never imported as mined records (no anchors, no second pass); every confirmation or change carries an anchored quote; usual miner regime (calibration, pass B agreement, disagreements, audit); codebook versions accepted by the researcher; miner design choices (selection, scope, absence policy, passes) put to the researcher as decisions.
Open questions: does the platform hold two taxonomies cleanly (not checked); start agents from the notes or from the papers alone (cost about the notes' 7M tokens either way, anchors must be verified); technique-level relations versus work-level relations; whether the other stage codebook (cross-references to the core stages) is a taxonomy level or a view.
Status: new · Added: 2026-11-15 · Slice: 5 · Depends on: decisions 106 to 112, IDEA-12, IDEA-13
What: the teams and deployment code (lab registry, personal access tokens, project roles, the permission table, the access log, hosted projects with a single writer, the server commit job, human and mixed screening teams, ledger and budget rules) was built unattended on 2026-11-05 and landed on main as teams-A to teams-D and deploy-B/C. It has never been used by more than one person. Review it as a whole and test it with two real people before any multi-person use.
Why: the code is on main and passes its own tests, but nobody has run a team through it; decisions 106 to 112 are still Proposed. Pilot 2 has one human and does not exercise it (the pilot plan records that independence rules needing two humans are flagged self-reviewed).
State: the old branch plan-teams-a held nothing main lacks (compared 2026-11-15: every added file is on main, ten identical, the rest in later corrected versions); tagged archive/plan-teams-a and deleted; the agent's scratch scripts are in ~/.cache/rf-overnight-tmp/plan-teams-a-scratchpad.tgz.
Open questions: who the first second person is and which role they hold; whether the server and hosting side (single writer, signed commits) is wanted before teams of scientists work in one project.
Status: reviewed: one Sonnet review, no Important findings; minors addressed in 800feda0; merged into main 2026-11-17 (branch fix-85-86; quote_in_element removes a backslash before ASCII punctuation on the quote and on each block text, nothing else; tests in test_document_quotes; past-rejection count not done) · Added: 2026-11-15 · Slice: — · Depends on: —
What: document_read serves segment text with Markdown escapes as stored (team\_size), while quote_in_element (document/quotes.py:51) compares the quote with the parsed block text, where markdown-it has removed the escape (team_size). A quote copied verbatim from what the agent read fails as quote-not-in-anchor. Found in the technique-miner dry run (EvoSci, 2026-11-15); the agent had to choose a quote without the token. Fix: apply the same unescaping to the needle in normalise_quote (backslash before ASCII punctuation), or serve unescaped text; either way one rule on both sides.
Why: verbatim quoting is the core evidence rule; agents should never have to avoid a span because of rendering.
Rigour notes: quote verification is shared by every extraction and miner; change with tests first (a quote with \_, \*, \[), and confirm no previously verified quote is invalidated (both sides normalised the same way can only accept more).
Open questions: how many past rejections had this cause (count quote-not-in-anchor rejections whose quote contains a backslash).
Status: reviewed: one Sonnet review, no Important findings; minors addressed in 800feda0; merged into main 2026-11-17 (branch fix-85-86; not timed on the pilot) · Added: 2026-11-15 · Slice: — · Depends on: decision 127, IDEA-70
What: updates_view now runs under one Index.snapshot() (one sync) and _mined reads one scope_ledger per miner and passes it to final_rows_restricted (new ledger= argument), instead of each reader inside _read_state building its own ledger (about 3 per miner) and syncing the index again. Output is unchanged. Tests: test_mine_status_cost (one ledger per miner, one sync per call).
Why: a weekly update of tens of works would make the page take minutes to build.
Rigour notes: read-only; nothing cached across calls. As for mine status, writers wait on the shared lock for the length of the call.
Remaining: flow_ledger still folds the whole corpus once per call when additions exist; no timing taken.
Open questions: whether the hub should cache the page per snapshot.
Status: built (file export, CLI and explorer button; Open Notebook push not built), not reviewed, tests run; lands on main 2026-11-17 with contact-guard and hub-portal-speed (branch export-selection, a6b6e8cb: factory export works, explorer select-and-export button, hub route POST /api/export/works; the button was not clicked in a browser; four open choices in the night report data/projects/agentic-science/ops/night-2026-11-15/MORNING.md) · Added: 2026-11-15 (researcher) · Slice: — · Depends on: —
What: a command that writes the current converted Markdown of a chosen set of works (a layer, a list of work ids, the works of a taxonomy category) as files for upload to NotebookLM, or pushes them through the REST API of a self-hosted Open Notebook (lfnovo/open-notebook, MIT). One file per work, header with work id, title and conversion id, so an answer read there can be traced back by hand.
Why: the researcher wants to chat with the papers now; a one-way export costs little. NotebookLM (consumer subscription) has no public API as far as known (unverified; the Enterprise API runs through Google Cloud).
Rigour notes: exploratory only: answers given in those tools are not records, their citations point to the tool's copy, not to factory anchors. Papers leave the machine (NotebookLM); the export lists what was sent. Open Notebook calls models itself, so it runs beside the factory, never inside it.
Open questions: NotebookLM source limits per notebook (plan-dependent); whether to include appendices; Open Notebook API version.
Rulings (2026-11-17, built with the researcher's request): smallest form: factory export works --layer L | --ids a,b | --from-file f [--pdfs] --out DIR|file.zip and an explorer selection (row checkboxes, "Select all in filter", "Export selected (N)", zip download via POST /api/export/works). Markdown goes to markdown/, optional PDFs to pdf/, with MANIFEST.md and manifest.json (works, hashes, date, selection, skipped with reasons, works without PDF). Each file starts with a header (work id, title, authors, year, DOI, conversion id, Markdown hash, layer). (Superseded by the review rulings below: nothing is withheld.) Caps: 200 works and 500 MB, configurable. Read-only, no event, no new event type; the CLI leaves its usual access-log line, the hub route does not. Answers in the other tool are not records.
Rulings (2026-11-17, review): (1) exports are complete: no held-out withholding and no count in the CLI line, manifest.json or MANIFEST.md (decisions 43 and 81; a withheld count would be an oracle; decision 123 applies to agent tools that name works, not to the researcher's own files; R-20 covers the probe, criteria and worked examples, not file exports). (2) cli:export works has a permission row (project:read, a person only); an export with --pdfs (licensed files) needs human-act:confirm and an explicit confirmation (--confirm at the command line, confirm: true on the hub route, asked for in the explorer), and any non-human actor is refused for both. Also: the PDF is verified by sha256 as the Markdown is, file stems are unique ignoring case, the hub's temporary zip lives under the project's ops/export-tmp, and the explorer disables the export with a message when more than 200 works are selected.
Status: spar-night features merged into main 2026-11-20 (Ask, chat requests and runner stages, balance and lead guard, hub chat page, agentic v2, living sheets, export, precision panel, contradiction map; decisions 141–147 decided 2026-11-20; targeted tests only); merged into main 2026-11-19 (v1: passages and corpus search, claims digest, candidates, argument sheets with researcher ratings, rf-chat skill; plan 2026-11-17-chat-with-a-layer.md T1–T7, T9; T8 hub page parked for IDEA-101; reviewed and fixed, rf-chat skill tried once, not reviewed; decision 139 proposed; targeted tests only) · Added: 2026-11-15 (researcher) · Depends on: decision 116 (local embedding model), IDEA-85 (quote escapes)
What: Claude answers questions over the corpus through MCP tools: (1) first the mined rows (taxonomies, miners: a checked semantic index with quotes), (2) then search over anchored paragraphs, keyword (SQLite FTS5, no model) and by meaning (local embeddings, one vector per anchored paragraph, a rebuildable projection keyed by the weights' tree hash, as decision 116), (3) Claude reads the paragraphs found and answers with anchors and verbatim quotes checked by quote_in_element. Optional: a chat saved as notes (events) that can become ideas or graph material. Ideas taken from Open Notebook: per-source context choice (full, summary, excluded), saved notes, hybrid search.
Why: NotebookLM-like use without losing traceability; search only proposes candidates, Claude reads and decides (search ranks, never judges).
Rigour notes: embedding model chosen by evaluation, not by name. Free test set from the technique miners (2026-11-16 run): each category definition is a query, the anchored quotes mined for it are the paragraphs a good search finds. Candidates: EmbeddingGemma (300M, 2k tokens, Gemma licence) or EmbeddingGemma 2 (Apache 2.0, 8k tokens; details to verify on the model card), SPECTER2 (already in decision 116, but trained on title and abstract, likely weak for paragraphs), keyword only as baseline.
Open questions: is FTS5 plus Claude's own synonyms enough to start; recorded chats or not; interface (hub page with Claude, or MCP only); how answers enter the idea graph.
Ask mode (2026-11-19): Ask mode merged into main 2026-11-20 (branch spar-n2-ask; reviewed (Sonnet), fixed; targeted tests only) (chat.answer_recorded, chat.answer_rated, MCP answer_record|view|list, CLI factory answers, rf-chat Ask section; decision 141 proposed).
Contradiction map (2026-11-19, N10): merged into main 2026-11-20 (branch spar-n10-contradictions; reviewed (Sonnet), fixed; targeted tests only) (targeted tests only): contradiction_propose accepts m-claims rows as refs row:<work_id>#<row_key> (quote verified against its anchor), rf-chat Contradictions mode, hub page contradictions (pairs by topic, states proposed / accepted / rejected, both quotes with full paragraphs, spar seed fields, decide commands); proposed decision 147.
Sheet export (2026-11-19, N8): merged into main 2026-11-20 (branch spar-n8-export; reviewed (Sonnet), fixed; targeted tests only) (targeted tests only): services/sheet_export.py writes a sheet or an answer as a Markdown brief (the researcher's balance first, or the line "No balance written by the researcher yet."; case against, case for; verified quote, source paragraph, rating or unrated; numbered references; provenance and staleness footer), CLI factory sheets export and factory answers export (--out). No new event, no MCP tool, no PDF (no Markdown-to-PDF path in the platform), no hub button: for N5 a download route can call export_sheet and export_answer.
Living sheets (2026-11-19, N7): merged into main 2026-11-20 (branch spar-n7-living; reviewed (Sonnet), fixed; targeted tests only) (targeted tests only; decision 146 proposed): a sheet is stale (computed, no event) when the selection digest or the served claims rows of its papers differ from opening (sheet.opened records an optional claims fingerprint); a re-spar request (factory chat request spar --respar, hub button "Re-spar with today's papers") opens a new sheet that records respar_of; factory sheets diff and a hub panel show arguments added, dropped and kept, with the old rating only as a suggestion the researcher accepts one argument at a time; PROJECTION_VERSION 93.
Hub chat page (2026-11-19, N5): merged into main 2026-11-20 (branch spar-n5-hub-chat; reviewed (Sonnet), fixed; targeted tests only) (targeted tests only; decision 144 proposed): hub page chat (basket in the address hash, Spar or Ask form, progress, result with full paragraphs, rating, the researcher's balance, earlier sheets and answers), four allow-listed write routes, entry-point links from the corpus, the paper detail and the contradictions pair. There is no search-results page in the hub; "Chat with these" is on the corpus list, whose search box filters the list.
Design note: docs/design-note-corpus-search-2026-11-17.md (2026-11-17, researcher rulings): a candidate funnel (miners, graph, keyword search, claims) with reading tiers instead of retrieval alone; Spar argument sheets (against first), Explore and Prepare modes, Ask as the light form; evaluation on a researcher test set.
Precision panel (2026-11-19, N9): merged into main 2026-11-20 (branch spar-n9-precision; reviewed (Sonnet), fixed; targeted tests only) (targeted tests only; no events, no projection change): services/spar_metrics.py summarises the researcher's ratings (sound, weak, wrong, unrated) by stance, candidate source (an argument counts under each source of its paper), strength, model, engine and v2 role, with precision = sound / rated shown only from 3 rated and always with n; critic verdict against researcher rating (holds=sound, overreaches=weak, misread=wrong as a convention) with raw agreement and Cohen's kappa from 10 compared; answer sentences by model. CLI factory chat precision [--sheet ID] [--since DATE]; a Precision section on the hub chat page. Agent verdicts stay proposals; every count is computed.
Status: built, reviewed (Sonnet), merged 2026-11-16 · Added: 2026-11-16 (researcher) · Slice: 3a · Depends on: decision 130
What: reference resolution looks up DOIs and titles in Crossref by default; OpenAlex is an explicit option; flagged titles are never searched; re-resolve can be limited to layers (plan 2026-11-16-reference-lookup-crossref.md).
Why: the bulk re-resolve exhausted the OpenAlex key's daily quota; about 21,500 links remain source-error.
Rigour notes: MATCHER_VERSION unchanged; probe lookups stay outside the corpus; each Crossref response is archived like any source page.
Follow-up (2026-11-17): parser v2 (initials-first author blocks) and a Crossref title query with author and paper-type filter, decision 131; built, not reviewed (branch refparse-v2).
Follow-up (2026-11-17/18): parser v3 merged (adca6ff9); index thread race fixed (271bc214). Full Crossref re-resolve on the pilot: resolved 1,446 -> 11,016 of 18,384 (60%), not-found 3,826, no-identifier-no-title 2,256, ambiguous 809, unconfirmed 441, source-error 36 (arXiv DataCite DOIs 10.48550/arxiv…, not in Crossref). Gaps seen in a not-found sample: arXiv ids in venue text not parsed (abs/…, External Links: …), truncated arXiv DOIs, ICLR/NeurIPS/arXiv papers absent from Crossref (an arXiv title lookup would cover them), leftover author-list titles and Generated by LaTeXML not flagged. Not built.
Follow-up (2026-11-18): selected backward rounds from the stored records (window, cited-by floor, SPECTER2 similarity), decision 135; built, reviewed (Sonnet), merged 2026-11-18.
Open questions: whether import resolution should also move to Crossref; whether Crossref's title ranking (query.bibliographic) needs a larger rows than 10 for noisy titles.
Status: new · Added: 2026-11-16 · Slice: — · Depends on: IDEA-37 (miners), IDEA-53 (agreement), decision 37 (independence, calibration), screening calibration and audit
What: a measured trial of the researcher's Antigravity model (Google; "Gemini 3.8 flash", identifier to be read from the tool) on four side jobs: quote-verification triage, second reader on a calibrated miner, long-context pass A screening re-check, whole-corpus or long-PDF lookup. It runs as an external session handed task files and returning result files, imported into a throwaway project copy with its own model name recorded. Plan: docs/plans/2026-11-16-side-model-trial.md.
Why: a second model family could cheapen long-context reading and give an independent reader for cross-checks, if it measures up against labels we already hold.
Rigour notes: the platform calls no model; held-out handling, blinding, calibration before production and the rule never to write pilot data are unchanged; thresholds and the stop rule are written before the first run; figures are computed from files and events; a promotion is scoped to job, miner, version and model identifier and lapses on a model change. Unpublished or non-open material is not sent until the tool's data-retention terms are known.
Open questions: whether the tool can be an MCP client or read and write files; context window and quota units; which gold sets are large enough (the m-layer and m-lifecycle gold labels were pending on 2026-11-13); whether an importer for external result files is needed (not specified here).
Set up 2026-11-16/17 on main (repository public, MIT): SonarQube Cloud (sonar.yml, project xserban_research-factory, CI-based analysis), weekly report-only job (weekly-quality.yml: ruff, mypy, radon, xenon, vulture, pip-audit, scc), import-linter contracts (architecture.yml, [tool.importlinter] in platform/pyproject.toml). The items below were offered and deferred.
Status: new · Added: 2026-11-17 · Slice: — · Depends on: —
What: sort the first scan's 21 bugs and 26 vulnerabilities (reliability and security rated C; maintainability A) into real, accepted and false positive, and fix the real ones; move the names that services/site_catalog.py and services/run_costs.py import from mcp/ below mcp, then drop the two ignore_imports exceptions.
Why: the ratings are only useful once known false alarms are marked; the exceptions weaken the rule that the core never imports the interfaces.
Rigour notes: each "accepted" or "false positive" mark carries a one-line reason in Sonar; fixes follow TDD once testing resumes.
Open questions: whether to adopt a Sonar quality gate that fails pushes on new issues.
Status: new · Added: 2026-11-17 · Slice: — · Depends on: —
What: Dependabot for GitHub Actions and the uv dependencies; CodeQL security analysis; secret scanning with push protection (repository settings); bump the actions that still target Node 20.
Why: the repository is public; leaked keys and vulnerable dependencies are now visible to anyone.
Rigour notes: Dependabot pull requests are reviewed like any change; none merges automatically.
Open questions: weekly or monthly Dependabot cadence; whether optional extras (docling, ranker) are included.
Status: new · Added: 2026-11-17 · Slice: — · Depends on: lifting of the test pause (2026-11-05)
What: run the offline suite (not network and not slow) on GitHub's runners, split across parallel jobs, and send the coverage report to SonarQube Cloud.
Why: the full suite does not fit this machine's memory; CI checks the coverage bar (≥ 90 % for services/ and model/) automatically.
Rigour notes: network tests stay excluded; the untested work built during the pause runs first.
Open questions: how to split the suite; whether the slow suites run on a schedule.
Status: new · Added: 2026-11-17 · Slice: — · Depends on: —
What: the weekly job appends one line of metrics (date, lines of code split into source and tests, complexity, COCOMO, mypy and xenon counts) to a history file and charts it; a CI job regenerates docs/MAP.md with scripts/gen_map.py and fails if it differs. Also silence the two CI-only mypy errors (optional torch, transformers).
Why: run reports expire after 90 days; MAP.md must be regenerated after every merge and is easy to forget.
Rigour notes: COCOMO is "equivalent conventional effort", not real effort, and is labelled so wherever shown.
Open questions: where the history file lives (repository, a data branch, or a hub page).
Status: built and merged into main 2026-11-17 (commits 85fcf6ec and merge 73378ee9; reviewed once after landing: no live leak, guard coverage gaps); stronger guard tests on branch contact-guard (bf2e5913), not merged · Added: 2026-11-17 (researcher) · Slice: — · Depends on: IDEA-22, IDEA-77
What: settings.mailto is never sent to an outside host. Every request uses the generic client User-Agent; no mailto, email or tool query parameters (OpenAlex, Crossref, NCBI PubMed and PMC, OA-PDF, Europe PMC). The setting stays readable for old config files and is used only to redact the address from notes and URLs. Guard: test_no_contact_address.py; on contact-guard also nine hosts, the generic and CLI clients and a source-level AST guard with mutation proof.
Why: the address is the researcher's private contact detail; outside services did not ask for it. Consequence: no polite-pool rate limits and no workaround planned.
Rigour notes: read-only change to outbound requests; redaction kept; throttle, retry and the outbound guard unchanged.
Open questions: reword docs/specs/slice-5-teams-deployment.md:126 (binding spec), docs/runbook-pdf-pilot.md:12 and about eight older plans that still mention the address; a decision-log entry for the ruling; whether to rename the constructors' mailto parameters (redaction only) and drop the unused settings argument of default_http.
Status: merged into main 2026-11-18 (6bc3e975; untested, test pause; first serve rebuilds every product once; taxonomy over 30 min to 106 s, queue 712 s less 88 s, dashboard 377 s to 86 s); built, reviewed once (Sonnet, 2026-11-18: 4 Important fixed: child-build timeout, nice instead of preexec_fn, manifest merge on write, item render vs rebuild answers 503; per-product failure text fixed; parked minors: stale/failed badges do not poll, a redundant child spawn in --dev, a 404 under a fully built item folder still asks the renderer, a transient failure needs a restart to retry) (branch hub-on-demand, plan 2026-11-18-hub-on-demand: on-open builds, per-product code hash, child-process builds, 'as of' badge, settle window, --dev, lazy conversion items, call memo per build (dashboard 377 s to 86 s); build progress on the building page, the page badge and the hub sidebar (real steps for dashboard, conversion, miners, results; elapsed against the last build otherwise); versions: page build time, events and code on every served page, last event and code version in the hub bar); summary tables and published snapshot planned (2026-11-18-hub-summary-tables); untested (test pause) · Added: 2026-11-18 (researcher) · Slice: — · Depends on: the site hub (plan 2026-11-10-site-hub), IDEA-55
What: factory site serve builds a product when it is opened and its fingerprint changed, one at a time, and keeps it until its inputs change; the eager loop (every stale product, every --every seconds) stays behind --eager. Each product's fingerprint hashes only the code its build reaches, not every hub module; the hub page moves to its own module so editing it rebuilds no product.
Why: the server rebuilt about 25 products at every start (one code hash for all hub code; miner and feed events touch most products), and the hub froze or ran slow while it did.
Rigour notes: products stay rebuildable projections; a product is never served as current when its fingerprint differs (an "updating" page stands in while it builds); a failed build is shown, not retried in a loop; factory site build still builds everything for a static copy.
Open questions: whether a product whose build takes minutes (dashboard snapshot) should show the old page with a banner instead of the updating page.
Status: merged into main 2026-11-18 (branch hub-ui-v2; built and reviewed twice by Sonnet, fix rounds A–C, with guard mutation on sets, screening, trace and XSS; targeted tests only, no full suite; static build factory hub build <slug> --out DIR; routes /p/<slug>/ui/ with payload cache, trace, snowball act (inbox) and corpus acts merged 2026-11-18 (hub-ui-routes; reviewed with guard mutation, fixed); polish merged (hub-ui-polish); the running server needs a restart to serve them; switch-over and researcher's live check pending; fix list docs/plans/2026-11-18-hub-ui-fixlist.md) · Added: 2026-11-18 (researcher) · Slice: — · Depends on: IDEA-54, IDEA-55, IDEA-96 (route hook after its merge) · 2026-11-19: every old-hub page ported (seven new pages Protocol, Pipeline, Sources, Method, Costs & runs, Write & export, Platform; Living and gap fixes; shared routes; prewarm speed-ups), merged into main 90dd65a2 (parity 342/347 closed, see docs/plans/2026-11-18-hub-ui-parity.md; acts reviewed with guard mutation, fixed; gate 30 files green); not browser-checked; switch-over pending · 2026-11-20: responsiveness stack merged (435fa04d): builds out of process, per-payload fingerprints, caching + gzip, faster builders, last parity items (347/347 ported or ruled), click tests on every page; gated; not browser-checked by the researcher
What: replace the cluttered hub shell with one calm design system (tokens, eight colour themes, rail, Ctrl-K, paper drawer with evidence quotes, ⓘ panels, glossary terms, "Why this number?" traces) and eleven pages: Overview, Flow (+ screening views), Corpus (explorer port), Lenses, Explore, Graph (landscape, foundations, schools, main path, river, reference health), Miners, Data, Findings, Living (feed river, horizon, heartbeat), Kit. Pages load JSON payloads built by services instead of inlined data.
Why: the researcher found the hub cluttered and wants innovative, question-led ways to read and explore the corpus; design note docs/design-note-hub-ui-2026-11-18.md.
Rigour notes: every number computed from a payload and pinned by a test; included (PRISMA) and mined (miner rows) sets named and reconciled; one citation count; quotes shown with every classified value; held-out works never hidden; no model call (similarity is a stated formula); offline (vendored OFL fonts); WCAG AA on token pairs.
Open questions: rulings R1–R7 in the plan.
Status: merged into main 2026-11-18 (reviewed, fixed; targeted tests only, no full suite; services/activity.py, site_activity.py, GET /api/activity, factory activity; 2026-11-18) · Added: 2026-11-18 (researcher) · Slice: — · Depends on: IDEA-55 (hub); to be carried into IDEA-97's shell when that is built
What: a hub product "Activity" that shows, live, (1) one row per session holding a task: task kind and scope (miner, version, pass, calibration or production), the paper, minutes on it, rows recorded so far, last event time, stale flag; (2) one row per open pass or task kind: done of total, rate over the last 30 minutes, estimated finish, released and refused counts; (3) the platform's long operations from progress_status; (4) the headless workers' trace files under ops/ (*.live: last tool call and its time). The page polls GET /api/activity when served by the hub; opened as a file it shows the build-time snapshot.
Why: several agents and claude -p workers run at once (e.g. the m-claims pass A, 2026-11-18); Claude Code shows agents, not research progress, and the external claude -p workers are invisible to it. Everything needed is already in the event log and the progress files.
Rigour notes: read-only, nothing recorded, no new event; every count from the index or an existing service (mine_status totals are not re-derived); rate and estimate are labelled as estimates; held-out works shown as in the other hub pages (decision 37.9).
Open questions: stale threshold (now 10 min, shorter than the 30-min lease so that a held task can be stale while its lease is live; the lease time left is shown beside it); whether the trace panel should link a .live file to the session it belongs to (not derivable today).
Status: merged into main 2026-11-18 (reviewed, fixed; decision 137 proposed; targeted tests only, no full suite; researcher ruled "platform fallback + re-mine", 2026-11-18; branch selector-fallback, not merged; re-mining built as guarded mine.reopened, decision 137, not reviewed) · Added: 2026-11-18 (researcher) · Slice: — · Depends on: —
What: when a miner's heading selector serves less than a set share of a paper's paragraph words (proposed 10 %), serve every section instead (bibliography never), and record on the task that the fallback applied and the share that was matched. Applies to tasks created after the change; earlier tasks keep their selection. Then re-mine the works that were under-served (first: rf:gottweis2026-accelerating-scientific-discovery-71fbb6f8 for m-claims v2).
Why: a Nature accelerated preview holds its whole main text under the heading "Summary"; the m-claims selector served 213 of 14,633 words (a reporting checklist) and the miner recorded a false no-limitation-stated. Coverage over the 92 core papers: one such miss, one garbled conversion, the rest 12–100 % by design.
Rigour notes: deterministic (a function of the manifest and the selector), recorded on the task, visible in the miner's coverage; the threshold is a constant named in the docs; no previously served task changes.
Open questions: whether a miner can opt out (fallback: false) when its narrow selection is the point (still open). Settled in decision 136: the threshold (10 %, a constant), re-mining under the same version (guarded mine.reopened), the fallback applying only to selectors whose element kinds are empty or include paragraphs, and pass agreement after reopening one pass (reopen both when it matters).
Status: round 2 built, light review, merged into main 2026-11-19 (35406462; gate: 232 tests on a merged tree, MCP tests again after plan-chat, mypy, ruff), branch pending-tolerance-2 (screen_agreement pass B, extraction audit, extraction agreement); round 1: built, light review (diff read by the coordinator), merged into main 2026-11-18 (2b14fdfe; gate: mypy, ruff, 133 tests on the merged tree); pilot protocol amended to fewer_than 3 / 3% (P@6e54cd61) (decision 138, branch pending-tolerance) · Added: 2026-11-18 · Slice: — · Depends on: IDEA-46, decision 138
What: a protocol pending_tolerance (fewer_than, fraction) lets a snowball or chase round go ahead while a few ordinary works are still pending or unextracted; the tolerated works are recorded in the round's event. Done for the backward and forward snowball gates and the chase round. Round 2 did these (the event field records the tolerated works), each needing an event field that records the tolerated works: screen_agreement pass B and open screening tasks (services/agreement.py:223-241), the extraction audit refusing on unresolved disagreements (services/extraction_audit.py:206-213), extraction agreement waiting on open units (services/extraction_agreement.py:997-1001).
Why: one non-English paper that stays unsure must not stop a whole round; a few percent of leftovers is an accepted error.
Rigour notes: never silent: every tolerated work is listed in the event and the plan render; the tolerance is a hashed protocol section, so it is amended and versioned like any other rule.
Open questions: whether the size should be the full-text promoted set rather than all ordinary works at full-text stages; whether tolerated works should appear in the PRISMA flow as "not completed".
Status: merged into main 2026-11-19 (cac3e1f3), live core embedded (6,485 passages); reviewed, fixed (targeted tests only; decision 140 proposed; branch embeddings-search; the chat uses keyword and vector side by side, hybrid stays available; no real-weights run yet) · Added: 2026-11-19 (researcher: "implement embeddings search along keyword search, on the core papers") · Slice: — · Depends on: decision 116 (ranker model), IDEA-88 (corpus search)
What: passage vectors (SPECTER2, local) in the passage sidecar, exact cosine search, and corpus_search(method=keyword|vector|hybrid) with reciprocal rank fusion; factory passages embed|status; the rf-chat skill runs keyword and vector side by side (candidate source vector).
Why: keyword search found the contradicting paper in 8 of 12 matching tests; a search by meaning should find passages that use other words (design note corpus search, section 5.5).
Rigour notes: ranks and never drops a work; the model and weights hash are part of the vector key; the platform calls no remote model; every hit records both ranks.
Open questions: quality of SPECTER2 for passages (it was trained on titles and abstracts); a passage-trained model; whether vector alone is ever better than hybrid.
Status: merged into main 2026-11-20 as engine v2 (spar night N6; reviewed (Sonnet), fixed; decision 145 decided; targeted tests only, never run with a real claude); proposed by the researcher 2026-11-18 after the first spar (v1 kept) · B
What: replace the single-session spar of the rf-chat skill (read the claims digest, propose candidates, read the cited sections, write against then for) with a more agentic orchestration. For example, separate agents for searching, reading whole papers, arguing against and arguing for, a critic that checks each argument against its full paragraph, and a pass over papers no source proposed.
Why: in the first spar (core layer, hypothesis "fully automated AI-scientist papers pass peer review at a top venue on their merits"), the researcher rated 14 of 21 arguments with the full paragraph and judged 13 sound and 1 weak. v1 is good enough to keep. Its limits were: one session wrote both sides; full texts were read only at the cited sections; 81 of 92 papers were never proposed; arguments were not linked to m-claims rows (the digest does not expose row keys); and the quote alone hid context until the paragraph was shown.
Rigour notes: agent roles must stay independent where a result can feed a lead (the Prepare split); every argument keeps a verified quote and its paragraph; ratings remain human; coverage over unproposed papers is computed.
Open questions: the orchestration (workflow vs skill with subagents); cost per spar; whether the critic's verdict is recorded as an event or kept as a note.
Agentic spar v2 (2026-11-19): merged into main 2026-11-20 (branch spar-n6-agentic; reviewed (Sonnet), fixed; targeted tests only) (engine v2 on chat.requested; services/spar_v2.py sequences role runs through the runner: searcher, one reader per tier-1 paper, separate writers against and for, critic, coverage sweep; events spar.role_started, spar.reading_recorded, sheet.argument_checked, spar.coverage_recorded; skill rf-spar-v2; factory chat request spar --engine v2, factory chat advance; decision 145 proposed; answers the open question: the critic's verdict is an event). Not yet: parallel readers, a hub engine selector (N5), role precision (N9).
Chat requests and runner stages (2026-11-19): merged into main 2026-11-20 (branch spar-n3-runner; reviewed (Sonnet), fixed; targeted tests only) (chat.requested, chat.request_taken, MCP chat_request_next|view, stages spar and ask, CLI factory chat request|requests, rf-chat Unattended run; decision 142 proposed).
Status: engine v1 built on branches hypothesis-engine-services and hypothesis-engine-fixes (two Sonnet review rounds, fixed; acceptance run on a pilot copy; merged into main 2026-11-20); services lead_candidates, lead_queue (balanced across sources by default), lead_stats, MCP tools and factory leads candidates|queue|stats, skill rf-hypothesis-engine · Added: 2026-11-19 (night run) · Slice: — · Depends on: IDEA-78, IDEA-88
What: read-only candidates (technique challenges, combinations, gaps, m-claims limitation rows) with the exact triggers a lead cites, a queue ordered by computed, printed measures (support, independence, verification, supportive share, overlap, diversity, prior hits, score, basis) with the top shared across the sources, and lead statistics; the agent records leads, the human promotes and registers.
Why: the guided run of the skill assembled candidates and the order by hand; the platform now computes them.
Rigour notes: exploratory label on every reply; no new event type or trigger kind; no model call; the order is a rule, not a verdict; held-out scrubbing in the MCP layer only (decision 37 item 9).
Open questions: combination volume (9,506 on the pilot before the cap); one row per claims candidate; proposed decision 148.
Status: new · Added: 2026-11-20 · Slice: — · Depends on: review 2026-11-20 (docs/review-2026-11-20-summary.md) What: docs/pilot/heldout-seeds.md is tracked in git although the repository has been public since 2026-11-16; untrack it and ignore it, rewrite history, or declare the pilot contaminated in docs/pilot/log.md. Why: The pilot hold-out (decision 37) is void if the seeds can be read. Rigour notes: The researcher decides; history keeps the file even after removal. Also check docs/pilot/seeds.md, log.md and docs/thesis-proposal.pdf for what may be public. Open questions: which of the three options; whether to rewrite history.
Status: new · Added: 2026-11-20 · Slice: — · Depends on: review 2026-11-20 (docs/review-2026-11-20-summary.md) What: About 55 rows of docs/decisions.md are Proposed although the code is built and relied on (54, 76-79, 81-102, 104-117, 120, 126, 128, 130-131, 133-140, 148), and the foundation rows 10-14, 27, 28, 30, 31, 33-35. Why: The log's status column no longer says what binds; CLAUDE.md itself says 'decision 82 proposed'. Rigour notes: Only the researcher's standing approval promotes a row; rows that are not built stay Proposed; no text of a Decided row changes. Open questions: whether to promote per slice or all at once.
Status: new · Added: 2026-11-20 · Slice: — · Depends on: review 2026-11-20 (docs/review-2026-11-20-summary.md) What: mcp/server.py (7,363 lines, build_server is one 6,519-line closure of about 216 tools) and cli/main.py (8,135 lines) become mcp/tools/.py with register(server, ctx) and typer sub-apps; set allow_indirect_imports=false in the import-linter contract if feasible. Why: With indirect imports allowed, mcp and cli can reach the writer through any service and nothing checks that they hold no logic; the closure cannot be tested per tool. Rigour notes: Tool names, parameters and replies unchanged (a golden test of the tool list); no logic moves into the interfaces. Open questions: whether a size check for interface functions is worth adding.
Status: new · Added: 2026-11-20 · Slice: — · Depends on: review 2026-11-20 (docs/review-2026-11-20-summary.md) What: Split services/check.py (2,952 lines) by stage module, site_server._handler_class (551 lines) per route group, site_catalog.derive_catalog, site.products, events/catalog.default_catalog (per module) and extraction._record; 22 functions exceed 150 lines. Why: Review and testing cost grows with file size. Rigour notes: Behaviour identical; the check codes and their order stay as they are. Open questions: order of splitting.
Status: new · Added: 2026-11-20 · Slice: — · Depends on: review 2026-11-20 (docs/review-2026-11-20-summary.md) What: rf-frame says the rigor mode is reversible by promotion and that the human sets it, but no event or command changes it (project.created only; check --promote-to only reports a gap). Why: A researcher who starts exploratory and wants the pilot mode must start a new project. Rigour notes: A promotion is a human act, an event that supersedes (never edits) the mode, and every gate re-evaluates from the new mode; demotion stays refused. Open questions: event name and whether past exploratory work is relabelled.
Status: new · Added: 2026-11-20 · Slice: — · Depends on: review 2026-11-20 (docs/review-2026-11-20-summary.md) What: The runtime check scans only for organisation-layer ids (check.py:1340); technique graph, lead queue and miner rows are kept out of counts by code structure and tests, not by a check. Why: A new service that wires a technique count into a report would not trip check, against the claim that they never enter counts. Rigour notes: The check reads the registry of count sources and flags any that include a derived layer. Open questions: how to declare a count source.
Status: new · Added: 2026-11-20 · Slice: — · Depends on: review 2026-11-20 (docs/review-2026-11-20-summary.md) What: Hypothesis gates are policy-based and agent-passable (mcp/server.py hypothesis tools, hypothesis_gates.py); MCP miner_register is open to an agent while the CLI text calls it the researcher's act; snowball_round's go-ahead exists only in its docstring (the hard control is the protocol snowball_plan, R-82). Why: Specs R-37, R-46, R-84 and R-88 speak of human gates; the real protection depends on the rigor preset and gate_policies. Rigour notes: State per tool who may pass the gate and say so in tool docs and skills, or make the gate human; no change to Decided rows. Open questions: which gates the researcher wants human in exploratory mode.
Status: new · Added: 2026-11-20 · Slice: — · Depends on: review 2026-11-20 (docs/review-2026-11-20-summary.md) What: No hub page or MCP prompt directs the researcher to rate arguments or write the balance (factory sheets rate); the agent can only say 'run the command'. Why: A researcher who only uses Claude meets a dead end, while researcher ratings are first-class (memory: spar human in the loop). Rigour notes: Ratings stay human acts (R-37 line); the hub chat page may already offer it: verify first. Open questions: hub control versus MCP prompt.
Status: new · Added: 2026-11-20 · Slice: — · Depends on: review 2026-11-20 (docs/review-2026-11-20-summary.md) What: calibrate, screen-check, audit and gate audit; check as verb and as the check_* draws; pass A/B for screening, extraction and miners; lead, hypothesis, idea, contradiction and finder; sheet, answer, spar and chat. Why: Three vocabularies for argued results confuse a new user and the skills. Rigour notes: Renames need a decision and a migration of events; start with a glossary page. Open questions: glossary first or renames.
Status: new · Added: 2026-11-20 · Slice: — · Depends on: review 2026-11-20 (docs/review-2026-11-20-summary.md) What: Held-out recall appears only in the CLI and report (hub_protocol.py:71 withholds it); the link inbox has no hub page; pipeline.js stations may not cover miners, engine and output; no hub-wide banner marks exploratory mode. Why: The researcher's own view is text-only for these. Rigour notes: Held-out seed results are not shown where they would unblind the screening agents (decision 37.9 stands). Open questions: which of the four first.
Status: new · Added: 2026-11-20 · Slice: — · Depends on: review 2026-11-20 (docs/review-2026-11-20-summary.md) What: R-33 says two independent passes with exclusions tested in reverse criterion order; passes.py and rf-screen say pass B tests a sample against exclusions, so it is a second pass only for the sample unless ScreeningPlan says otherwise. Why: Spec and skill disagree on what pass B is. Rigour notes: Align the text, or the code, by decision; do not change R-33 silently. Open questions: which side is right.
Status: new · Added: 2026-11-20 · Slice: — · Depends on: review 2026-11-20 (docs/review-2026-11-20-summary.md) What: Replace the 12 mid-test monkeypatch.undo() calls with monkeypatch.context(); the module-level _CACHE in test_hub_ui_clicks.py is shared state; check that CI runs the slow acceptance files; decide whether services/background.py is dead; add a CI script that checks every tool name in the 32 skills against the registered tools and clarifies evaluate_hypothesis and group_claims_by_work in rf-hypothesis-engine (CLI names, not MCP tools). Why: Order-dependent tests and unlisted skill drift. Rigour notes: Test changes only; no product behaviour. Open questions: none.
Status: new · Added: 2026-11-20 · Slice: — · Depends on: review 2026-11-20 (docs/review-2026-11-20-summary.md) What: protocol_app help omits the amend path (cli/main.py:275 versus record, amend and deviation); with protocol.ready off a search needs no protocol, which rf-run and rf-protocol do not say; status does not say 'calibration not required in this mode'; pass-session refusals are not explained in the non-pass tool docs. Why: A new user learns the real flow only from refusals. Rigour notes: Text only. Open questions: none.
Status: not built (job G1 of 2026-11-20 stopped after the five smaller items).
What: thin CLI wrappers so a human can work without Claude: factory question record, factory seeds add|list, factory probe run, factory search run (question show and search slice already exist).
Why: the framing, seed, probe and search steps run only as MCP tools today (flow review, ops/review-2026-11-20/stages-0-4.md, gap 5).
Rigour notes: human-attributed acts like the existing ones; read-only ones in CLI_READS; no logic outside services; mock-source tests for search.
Open questions: JSON spec parsing for the question and the seed lists; source adapters for search run; the actor and decision-id handling.
Status: open question (job C1 of 2026-11-20; decision 159 proposed).
What: after a dedup merge made after full-text screening, audit and agreement draws still count the absorbed work's existing rows, and the Discovery FT_INCLUDED totals may count a record against its primary (an attempted fix changed totals from 12 to 10 and was reverted because the cause was not understood). Decide whether these denominators count the primary once or each record.
Why: one paper can contribute rows twice to an agreement or audit sample, and a total can double count.
Rigour notes: reading (views, report) keeps the rows per decision 92 item 9; sampling and totals are denominators and should be canonical; no change to the PRISMA/flow numbers.
Open questions: which denominators are recorded populations and which are work to do; whether Discovery counts records or works.
Status: not built (decision 158 binds to direction and round number only). What: the dry run produces a digest of the planned round (direction, seed works, queries); the decision's items must contain it, so a selection authorises exactly that plan and the check compares them. Why: today the selection is a recorded human go-ahead, not a review of the plan; an agent can write vague items. Rigour notes: no new event type; the digest is computed by the platform (no model); a stale digest (plan changed since) is refused. Open questions: what the digest covers; how the human sees the plan when selecting (the decision items carry it).
Status: open question (decision 162 proposed; found by job G4).
What: the pilot preset's policy for manuscript.citation_confirm is agent_audit, but decide_citation refuses every non-human actor in every mode. Accept human-only and change the preset, or let a second session confirm in pilot like the reference-link and import gates.
Why: the preset and the code disagree; the tests pin the code.
Rigour notes: a citation is checked against its source; human-only is the safer side.
Open questions: none besides the choice.
Tiers and autonomy follow-ups (added 2026-11-21; from the lanes of plan 2026-11-20-tiers-and-autonomy)
Numbers 121 to 129 are the next free after IDEA-120 on tiers-docs; renumber at merge if another line has used them.
Status: new · Added: 2026-11-21 · Slice: 9 · Depends on: slice 2 conversion, decision 160
What: services/document_convert.py (lines 695 and 725 on tiers-base) writes document.converted and document.conversion_failed with project.human_actor(), so a conversion run inside an agent session looks like a human act in the log and in the level statement's human counts.
Why: the conductor's "no human act" invariant and the "not human-confirmed" label (R-153, proposed) would otherwise be misread for conversion events.
Rigour notes: a conversion is a mechanical platform act, not a judgement; the right actor is the system or the calling agent, chosen once. Changing it must not move any old log's state hash (the actor is not in the hashed tables, not verified).
Open questions: system actor or the caller's actor; which callers and tests depend on the attribution (lane L15 was asked to list them; report not in the repository); proposed as decision row D-ATTR in docs/decision-sheet-2026-11-21.md.
Status: new · Added: 2026-11-21 · Slice: 9 · Depends on: plan 2D (extraction), tier plans
What: a work is final for extraction only after extraction pass B has been opened (services/extraction_agreement.py, about line 628), even when dual_extract_sample is 0.01 and in practice one pass runs. The brief and deep plans say "extract: 1 pass". Either an explicit single-pass mode for exploratory tiers, or the plan carries the pass-B open as data and the conductor starts it as a separate run (lane L15, not built).
Why: without it the stock brief plan cannot reach extraction without a workaround in the walking-skeleton test.
Rigour notes: a single pass must be labelled as such in the level statement and the evidence report; no agreement figure may be reported for it.
Open questions: decision row D-X1 in docs/decision-sheet-2026-11-21.md.
Status: new · Added: 2026-11-21 · Slice: 9 · Depends on: services/miner_proposal.py, skill rf-miner-suggest
What: check_proposal(spec, question, max_fields) is a pure service and nothing calls it; add factory miner check <spec.json> [--question], an MCP read tool, and optionally a call inside register_miner for an agent actor under a tier.
Why: until then the independent reviewer applies the checklist by hand (on-the-fly-miners.md section 6).
Rigour notes: a lexical screen only; a reviewer still reads the schema. It changes no admission or evidence count.
Open questions: refuse in register_miner or only advise.
Status: new · Added: 2026-11-21 · Slice: 9 · Depends on: services/tier_caps.py, services/screening.py
What: the cap on works served to title and abstract screening is checked before a batch is claimed and a batch is served whole, so the last batch may pass the cap by less than SCREEN_BATCH (docstring of _require_under_tier_cap).
Why: the cap is stated as a number in the plan and the level statement; an overshoot makes it inexact.
Rigour notes: either trim the final batch so the cap is exact, or state the overshoot bound in the level statement; never leave it silent.
Open questions: decision row D-X2.
Status: new · Added: 2026-11-21 · Slice: 9 · Depends on: decisions 165 and 166 (proposed), modules/autonomy.py
What: AUTONOMOUS_FLOOR ships empty, so autonomous changes no gate policy yet; fill it per decision 165 once ruled. The agent selection of a decision (decision 166) needs a representation (a field on decision.selected or a new event) and a fold change (index/decisions.py:126 drops non-human selections).
Why: pilot and systematic projects at autonomous cannot record question, seed, probe or protocol without it.
Rigour notes: no floor is lowered; an agent selection never satisfies a rule that names a human (decision 158); needs the amendment of 84.6.
Open questions: decision sheet 2026-11-21, batches 1 and 2.
IDEA-126 — Conductor: autonomy for understand and maintain, and the develop drafter without promoted leads
Status: new · Added: 2026-11-21 · Slice: 9 · Depends on: services/conductor.py (lane L10)
What: the conductor starts steps for understand, develop and maintain without recording a human act, but verifier and auditor roles for the first and last, and the drafter run of develop when no lead has been promoted, are not covered (as reported by the lane; not re-verified here).
Why: the pilot and systematic plans list these stages; only brief runs end to end.
Rigour notes: no human-only gate is closed by the conductor; the step waits and escalates.
Open questions: what a develop step does when the lead queue is empty (wait or stop).
Status: new · Added: 2026-11-21 · Slice: 9 · Depends on: services/gates.py (agent audit label), R-154 (proposed)
What: gate_audit_record_agent (services/gates.py, about line 565) already refuses a label from the session that closed the act. Not enforced: that the verifier session of a closure, and the auditor of a sample, differ from the session that PROPOSED the act, and (for the validation profile) the model; today only conductor role runs are distinct by construction. The PRESS reviewer is enforced separately (tests/test_press_session.py).
Why: R-154 (proposed) requires an independent closer; a hand-driven agent could reuse a session.
Rigour notes: session ids are attribution, not authentication (decision 160); the check refuses, writes nothing.
Open questions: which events carry the proposer's session for each gate.
Status: new · Added: 2026-11-21 · Slice: 9 · Depends on: tiers/validation.py (miners_allowed = "claims-only"), services/validation_profile.py
What: the brief profile allows only "claims-only" miners but the term is operational only as "a use admitted as evidence" in validation_profile.py; define it in the spec (which miner kinds, which fields) and test it.
Why: a brief's extraction then has one named meaning.
Rigour notes: exploratory output never enters evidence counts (R-87) whatever the definition.
Open questions: decision row D-V4.
Status: new · Added: 2026-11-21 · Slice: 9 · Depends on: IDEA-122, lane L15
What: run one real brief through factory brief new and the conductor with real claude -p steps on a small question, and record time, tokens and what broke; the tests use a fake runner only.
Why: nothing in slice 9 has run live; services/level_bench.py and docs/plans/2026-11-20-tiers-and-autonomy/benchmark.md give the measures.
Rigour notes: costs tokens, needs the researcher's go; no merge or push is implied.
Open questions: the question to use; the paper cap.
Status: new · Added: 2026-11-23 · Slice: 7 (views) · Depends on: a results miner (row per reported number), pilot 2 (chest-ct-vlm)
What: four hub pages built from a results-type miner: a leaderboard per task (model x benchmark x metric, top 3, filters for evidence level and setting, each cell linked to its quote); score on one shared benchmark against model release date; design choices (input form, data scale, encoder) against score; an adoption table (weights, licence, input needs, compute).
Why: pilot 2 asks "which model is best"; the 24 standard pages show corpus and flow, not rankings. Researcher ruling 2026-11-23.
Rigour notes: ranks only level-1 evidence (public benchmark, official split) unless filtered otherwise; values never typed, always from quote-backed miner records; comparability flags (baseline provenance, train/test overlap) shown beside each cell.
Open questions: a generic "results" miner shape so the pages work for any comparative project; how ties and missing CIs are shown.
Status: new · Added: 2026-11-23 · Slice: — · Depends on: pilot 2, IDEA-130
What: what every new project gets without asking: the generic miners m-summary, m-claims, m-release (researcher ruling 2026-11-23); project miners derived from the question type (a comparative question implies m-results, m-model, m-data); the 24 standard hub pages; and seeds from-folder, which reads arXiv ids and DOIs from a PDF folder, proposes them as a seeds decision, suggests extra seeds from the seeds' shared references (cited by k of n), and queues the PDFs as full text.
Why: in pilot 2 every miner and seed had to be set up by hand; seeding from a PDF folder and suggesting cited-by-k seeds worked and was accepted in full.
Rigour notes: defaults are suggestions in a decision, never silently applied; a default miner is registered per project with its version.
Open questions: whether generic miners are imported from pilot 1 (M-E import) or re-registered; whether the question scheme (TDMBM, PICO) selects the project miners.
Status: new · Added: 2026-11-23 · Slice: — · Depends on: —
What: (1) held-out seeds follow by subtraction: seed_add returns every seed id and probe_run lists development_tested, so an agent learns the held-out ids without trying; report development seeds as counts or never return the full list after the split. (2) The plan level is not enforced: seeds and probe run without a selected plan decision. (3) A long-lived MCP server on an older projection gets a bare "Error executing tool" after a CLI run takes the index; return a structured "restart needed" error and show the code version in whoami. (4) Seeds without PMIDs make PubMed recall untestable; enrich seeds with PMIDs at seed_add. (5) CLI human acts run by an agent under the researcher's login are recorded as human.
Why: pilot 2 tests that gates stop and ask; these are the gaps seen up to the protocol (log: data/projects/chest-ct-vlm/ops/pilot-2-log.md).
Rigour notes: (1) touches R-20/R-24 hold-out integrity; (5) is the known limit of CLI-as-human.
Open questions: whether (2) should refuse or only warn.
Status: built, merged into main 2026-11-23 (CI green; not reviewed beyond CI; not yet seen rendered by the researcher) · Added: 2026-11-23 · Slice: 3b, 3c, 6 · Depends on: IDEA-97, IDEA-103
What: the hub gains an Intuition page (review interpretations; act /ui/act/intuition-review), a Hypotheses page (lead queue and statistics; acts lead-decide, hypothesis-register, hypothesis-abandon), an Ideas page (the lineage graph with relation and idea confirm or reject acts; PR #33) and chat threads (follow-up questions and batch orders on the chat page).
Why: the researcher could not find these layers in the hub; every exchange was already saved as events.
Rigour notes: acts are served-mode only and call the existing services; no new event types.
Open questions: the Ideas graph stays empty until the lineage run (IDEA-137); the payload-input prefixes of the Hypotheses page were not verified against a populated project.
Status: built, merged into main 2026-11-23 (PR #29; CI green; not reviewed beyond CI) · Added: 2026-11-23 · Slice: M · Depends on: technique miners What: a Graph section with a toggle between "Used together" (co-use) and "Descent" (derives-from), drawn as a deterministic inline SVG capped at 120 edges. Why: only the paper and citation graph was visible; the technique miners' co-use and derives-from rows were shown as a table. Rigour notes: read-only view of miner rows; layout deterministic. Open questions: an idea-level graph depends on lineage data (IDEA-133, IDEA-137).
Status: built, merged into main 2026-11-23 (PRs #34 and #49; CI green; not reviewed beyond CI) · Added: 2026-11-23 · Slice: — · Depends on: IDEA-97 What: 14 themes in both UIs (dark and light; contrast bars: text 7:1, muted, accent and link 4.5:1), grouped in the picker, with one saved theme for every page and dark as the default. Why: researcher request (reading comfort; a white-and-blue theme like the old layout). Rigour notes: theme tokens are tested against the contrast bars. Open questions: none; the themes have not been viewed by the researcher yet.
Status: built, merged into main 2026-11-23 (PR #43; decision 171 proposed; CI green; not reviewed beyond CI) · Added: 2026-11-23 · Slice: 6 · Depends on: IDEA-103, design note
What: an optional serves_rq field on leads and drafted hypotheses (default RQ4 and RQ5), validated against recorded sub-questions when there are any, grouped and filtered on the Hypotheses page.
Why: hypotheses had no stated target question for evaluation.
Rigour notes: absent field leaves old events and input blobs unchanged (old-log replay test).
Open questions: per-question lead statistics are not built; the pilot's question has no sub-questions recorded, so any well-formed id is accepted there.
Status: allow-list built, merged into main 2026-11-23 (PR #46); runbook merged (PR #44); the run itself not started · Added: 2026-11-23 · Slice: 3b · Depends on: IDEA-133, design note, runbook
What: contribution_schema.works restricts contribution mining, pass B, the audit, check and lineage to a list of works, set by a protocol amendment; the runbook covers a dry run on a copy, the live run and rollback, with ten proposed core papers.
Why: fills the idea graph on about ten core papers before any larger run (researcher ruling 2026-11-23).
Rigour notes: pass A and pass B in separate sessions; the dry run on a copy comes first; the researcher approves the ten works.
Open questions: the ten papers await approval; no pass B or lineage runner stage exists; items_by_kind still counts items of a work later removed from the list; the audit minimum (50) exceeds ten papers; cost figures are estimates.
Status: built, merged into main 2026-11-23 (PR #48) · Added: 2026-11-23 · Slice: — · Depends on: docs/runbook-ci.md
What: PRs and pushes to main run the tests whose recorded source files overlap the change (map from the nightly run, import-depth fallback), balanced across the four required shards by measured durations, with a browser job and a nightly full run that refreshes the map and opens one issue on failure.
Why: PRs touching widely imported modules took 15 to 25 minutes (researcher: too long).
Rigour notes: the nightly full run is the backstop; a full-tests label forces all tests.
Open questions: kernel changes (events, model, index) still select hundreds of files; shard balance; selection by changed lines; whether the nightly issue job works; docs-only PR measured at under 2 minutes per shard.
Status: built, merged into main 2026-11-23 (PR #36) · Added: 2026-11-23 · Slice: — · Depends on: slice 3d ruling 18
What: bibtexparser stays on 1.x (the entry hash depends on its serialisation) and is on the Dependabot ignore list; the other updates, docling included, flow through the weekly grouped uv PRs; docling in the main venv is hand-installed, so a lock bump does not change the runtime converter.
Why: Dependabot PR #27 pulled bibtexparser 2.x and broke every test shard.
Rigour notes: each conversion records its converter version.
Open questions: whether a changed docling version changes converted Markdown (not compared).
Status: new · Added: 2026-11-23 · Slice: 3b · Depends on: IDEA-137, runbook
What: in the first dry run of the lineage runbook on a copy (ten core papers, allow-list), pass A (Sonnet) and pass B (Haiku) produced 53 and about 41 items, of which only 15 rows aligned (79 unmatched; overall agreement 0.943 over aligned rows, 0.220 over all rows). The row key of a keyed pack is the hash of the conversion, the paragraph anchor of the first anchored field, and the normalised key fields (extraction/verify.py, pack_row_key), so two passes align only when they quote the same paragraph. A finding stated in several places, or named differently, gets different keys and appears as two unmatched rows instead of one agreement. Resolving 79 rows one by one (contributions resolve) before lineage is the expected human cost.
Why: the dual-reading design is meant to cheapen the audit; with this key it multiplies the work and the agreement figure says little about meaning (see the miner-agreement rule: agreement should measure meaning, not quotes).
Rigour notes: statements, quotes and anchors are deliberately never compared between passes (pack docstring); any alignment must stay a platform computation (no model), propose pairs for the human to confirm, and never merge two rows silently.
Open questions: align by (item kind, normalised predecessor name, cited reference entry) instead of anchor; or by anchor proximity within a section; or let the human confirm candidate pairs in one list; whether not-stated should align by (work, absent kind).
Other findings of the same dry run (2026-11-23): (1) the skill told agents to copy quotes character for character while the platform matches plain text, so Haiku kept link syntax and was rejected (fixed, PR #58); (2) --cap counts units, and a re-served partial unit uses cap: 10 units covered 8 works (runbook now says 12); (3) the role string second contributor is refused (a space), now second-contributor; (4) a duplicate base-idea item for the same predecessor was accepted without a flag after a retry; (5) measured agent cost for both passes about $3.60 against an estimate of $7 to $21, about 35 minutes of agent time; (6) a held task blocks other sessions until its lease lapses (30 minutes after the last record), which cost two idle rounds.
Status: new · Added: 2026-11-28 · Slice: 7 (views) · Depends on: hub v2 (IDEA-97), the chat basket (hub chat page, decision 144), dates.published on works
What: (1) A scope bar at the top of every hub page: published from/to by month, plus an optional paper set. Every page (miners and their field tables, leaderboards, layers, corpus, findings, techniques) counts and lists only the works in scope and says "n of N papers in scope". The scope lives in the address so a link reproduces the view. (2) Paper sets: tick papers in any list (corpus, leaderboard rows, miner tables) and add them to a set; or save the current filter (for example layer chest-ct-vlm, 2026, 3D encoder) as a named set; a set can be sent to Spar or Ask (one list shared with the chat basket). Named sets are recorded as researcher events so they persist and can be shared.
Why: the researcher wants to read the data already mined for a slice of the corpus: only recent work (since July 2026), only one layer, or a hand-picked list, without a new miner run. Example: on the m-arch page, which designs the papers of the last six months use.
Rigour notes: filtering is a projection, never a judgement: counts are recomputed over the works in scope and always show the denominator; agreement figures stay those of the whole pass (a scoped view does not report a scoped agreement as if it were measured); a saved filter set stores its rule and the work ids it resolved to when recorded, so it never widens silently (as layer requests do); dates are publication dates, never listing dates, and a work with no date is shown as such, not dropped silently.
Open questions: server-side scoping (payloads per scope, cache keys) or client-side filtering of full payloads (size); which date for a preprint with a later journal version; whether a set event belongs to the project or the researcher; how leaderboards scope a baseline row whose source paper is out of scope.
The researcher's idea (2026-11-24): combine several fast-tier runs, each on a small question from a different field, into one research programme, so that gaps found in one project (for example the chest-CT vision-language project) become questions for other fields, and the data of all of them can be joined to generate hypotheses and combine fields. The fast runs are cheap and broad; the ones that matter are later turned into the slow, rigorous studies the factory already runs. IDEA-142 to IDEA-144 develop it.
Status: new · Added: 2026-11-24 · Slice: — · Depends on: slice 9 (tiers, on the integration branch tiers-base, not on main), IDEA-01 (portfolio dashboard), IDEA-103 (hypothesis engine), a design note before any new event type
What: a programme is a named set of member projects, a linking question and a list of the sub-questions each member serves. Members are ordinary projects, so a fast brief-tier project and a full project are the same kind of thing at different tiers. The programme adds no store: its views read the members' events (works, items, lineage relations, technique and lifecycle miners, leads, hypotheses) and join them by work id, technique and question.
Why: a gap in one project is often a question for another field. Example: the chest-CT project reads NV-Reason, which feeds all vision tokens to the language model and gives no evidence that this is the best compression; the general question (the best visual-token compression rate in vision-language models, and for 3D volumes in particular) belongs to its own project, and its answer feeds back to the first. Without a programme layer these links live in the researcher's head.
Rigour notes: (1) every programme view is a read of events, derived, never edited; (2) a link between members (a gap in A raises question B) is a recorded, human-confirmed relation, like the lineage relations, not an agent claim; (3) combined hypotheses enter through the existing lead and hypothesis route as proposals the researcher accepts or rejects, never as results; (4) cross-project joins use work ids, so a work screened differently in two members shows both decisions; (5) the held-out rule and per-project protocols stay per project.
Open questions: where the programme record lives (a project-level file listing members versus an event at the factory root; the second needs a design note and a new event type, which CLAUDE.md forbids without one); which views come first (a shared technique and gap map, a cross-project lead queue); how a member project is promoted from a fast tier to a full study without re-doing its search; hub page and portal grouping.
Status: new · Added: 2026-11-24 · Slice: — · Depends on: IDEA-142, slice 9 lane L15 (stock brief plan end to end, not built), the technique-gap and lead statistics of IDEA-103 What: from a gap recorded in one project (a design choice a paper makes without evidence, a technique with no comparison, an empty cell in the technique landscape), the researcher can open a fast brief-tier project on the generalised question, pre-filled with the gap's context: source work, quote, the question as the researcher words it. The brief runs the stock brief plan and returns a short, sourced answer; the researcher decides whether it becomes a full study. Why: the pattern in the example above (a specific gap, then a general question, then neighbouring fields) is the way the researcher wants to find work, and it should cost minutes, not a protocol. Rigour notes: (1) the brief's answer about absence is a scoped, dated claim ("nothing found in these sources on this date for these terms"), never "nobody has studied this"; the full study checks it before anything builds on it; (2) the gap and its source quote are recorded with the new project so the chain from the first project is traceable; (3) the fast tier states its coverage (which sources, which queries) in its output; (4) no autonomy above the tier's caps. Open questions: whether the gap record is a lead, a hypothesis, or a new kind of note (reuse the lead before adding an event); how a brief's output is stored so a later full study can import its works and queries; how many briefs one programme may run before a review. Pilot question: the first brief to try is the example of IDEA-142, "what is known about the compression rate of visual tokens in vision-language models, and for 3D CT volumes?", to see what a tier-1 run really delivers before any programme layer is built.
Status: new · Added: 2026-11-24 · Slice: — · Depends on: the search record (slice 1), IDEA-142 and IDEA-143 What: a recorded form for "no study found": the question, the sources searched, the queries, the date and the screening outcome, rendered in reports as "not found in X as of D", with a check that lists what a later search would have to cover to strengthen or overturn it. Why: programme runs will make absence claims constantly ("nobody compared compression rates for 3D"), and absence is the hardest claim to support. Today an absence is a sentence in a report; it should be a derived statement from the search record. Rigour notes: computed from the recorded searches and screening, never typed; wording is fixed by the platform ("not found in these sources"), so an agent cannot upgrade it to "does not exist"; a claim goes stale when the search record grows (new watch results). Open questions: whether it is a report section over existing events (no new event type) or needs its own record; the link to the gap-finder statistics; how a watch run re-checks an open absence claim.