research-state
/research-state
Read or update a local append-only .mathbox ledger of exact claims, evidence revisions, dependency impact, review provenance, routes and parallel or delayed runs. Use when the user asks to set up, check, record in or reconcile such a ledger, detect stale evidence, or generate its dependency-aware handoff. Do not use merely because a ledger exists, for a casual math question, as a substitute for proof auditing, or for a prose retrospective from status files.
- Author
- nidrissi ↗
- Repository
- mathbox ↗
- Licence
- MIT
- Last repository change
- 02.10.2026
Assessment and security
- Files in this package
- 10
- Scripts
- 2
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 02.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- 2 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: scripts/research_state.py, scripts/test_research_state.py
What it does and when to use it
Read or update a local append-only .mathbox ledger of exact claims, evidence revisions, dependency impact, review provenance, routes and parallel or delayed runs. Use when the user asks to set up, check, record in or reconcile such a ledger, detect stale evidence, or generate its dependency-aware handoff. Do not use merely because a ledger exists, for a casual math question, as a substitute for proof auditing, or for a prose retrospective from status files.
Original author description
Read or update a local append-only .mathbox ledger of exact claims, evidence revisions, dependency impact, review provenance, routes and parallel or delayed runs. Use when the user asks to set up, check, record in or reconcile such a ledger, detect stale evidence, or generate its dependency-aware handoff. Do not use merely because a ledger exists, for a casual math question, as a substitute for proof auditing, or for a prose retrospective from status files.
How it works
- Read before changing state
- When state is writable only later
- Record only material changes
- Use routes to support decisions
- Report and persist
SKILL.md preview
--- name: research-state description: >- Read or update a local append-only .mathbox ledger of exact claims, evidence revisions, dependency impact, review provenance, routes and parallel or delayed runs. Use when the user asks to set up, check, record in or reconcile such a ledger, detect stale evidence, or generate its dependency-aware handoff. Do not use merely because a ledger exists, for a casual math question, as a substitute for proof auditing, or for a prose retrospective from status files. --- # Executable research state Follow project authority rules. The ledger checks recorded evidence, artifact freshness and dependencies, not mathematical truth. `proof-recorded` describes bookkeeping rather than a theorem proved under the project's vocabulary. Apply project promotion and approval policy separately; review status remains separate from evidence. Read [ledger.md](references/ledger.md) before interpreting labels or recording events. Resolve [research_state.py](scripts/research_state.py) as `TOOL` in this installed skill. All artifact paths are relative to the project supplied with `--root`; put `--json` before the subcommand for complete structured output. ## Read before changing state For initialized state, start with `check --summary`, then `handoff --goal CLAIM` for a registered goal. Without a registered goal use `status`, or an unfiltered `handoff`. Check summaries contain counts and sampled issues with omitted counts; brief status/handoff views also list live, stale and unreconciled runs needing attention. Open `--full` details only for relevant contracts, reviews or issues; compare complete issue lists when a change could hide a new issue in the sample. ```bash python3 "$TOOL" --root PROJECT check --summary python3 "$TOOL" --root PROJECT status python3 "$TOOL" --root PROJECT handoff --goal CLAIM python3 "$TOOL" --root PROJECT impact CLAIM python3 "$TOOL" --root PROJECT pin-impact PATH python3 "$TOOL" --root PROJECT record PROPOSAL.json python3 "$TOOL" --root PROJECT record-batch PROPOSALS.json --dry-run python3 "$TOOL" --root PROJECT record-batch PROPOSALS.json python3 "$TOOL" --root PROJECT ingest PACKET.json --dry-run python3 "$TOOL" --root PROJECT ingest PACKET.json ``` `status`, `check`, `impact`, `pin-impact`, `next` and `handoff` are read-only and never initialize state. Create an authorized new project, initialize and register claims before querying its goal. Inspect actual proof/source/computation artifacts behind important labels. Changed proofs or dependencies invalidate snapshots; retracted dependency evidence or current counterexamples block downstream proofs without rewriting history. Run `impact CLAIM` before revising a load-bearing statement and `pin-impact PATH` before editing a pinned file. ## When state is writable only later When persistence is authorized and the host can inspect the exact ledger head but cannot execute or write, follow [deferred-packet.md](references/deferred-packet.md). Never invent IDs or hashes. Return the complete packet in the final JSON fence and say it is unapplied; obey the inspected local write policy. ## Record only material changes Initialize `.mathbox/` only for useful, authorized setup or state tracking; existing prose projects may keep their format. Follow [migration.md](references/migration.md) for adoption. A session alone needs no event. Record changed contracts, evidence, reviews and justified route outcomes, rather than duplicating route narratives. Program/run lifecycle events serve work spanning executors, branches, delayed returns or sessions. Write ordinary proposals with `type`, `actor` and `payload`; use `record FILE`, or preview a dependency-ordered `record-batch` before appending distinct events. Unknown payload keys are rejected on new writes; existing journals still replay. Register dependency claims before consumers and exact claims before evidence. Bind authoritative wording with `statement_artifact` and locator when useful. The helper hashes durable artifacts and captures transitive claim revisions; never supply generated snapshots. Source evidence needs exact identifier, version, locator and translation. Computation evidence needs assertion, bounds and non-claims; successful execution is not a universal proof. A `manifest` links a version-2 computation record, its hashed input/output closure, matching `claim_id`, and completed run. Validate it with computation-audit first: linkage checks do not validate its scientific interpretation. Version-1 manifests may be pinned only as ordinary artifacts, without automatic closure. Record reviews separately against exact evidence and a durable report. Genuine independence requires fresh review of raw evidence; a different actor name alone is insufficient, and an author cannot independently audit their own evidence. Inspect active review objects and reports when passing, conditional and failed reviews coexist. Failed or conditional reviews remain challenges even if their reports disappear. Resolve them through an explicit justified retraction or actually revalidated replacement evidence, never a silent hash refresh. Whole-file pins stale on any byte change, including typography. Prefer faithful, stable claim-scoped artifacts where available; inspect fanout with `pin-impact`. Revise a claim with a new revision and reason. After real revalidation, record new evidence with `supersedes: [old IDs]`; retract only erroneous evidence or review records. Keep proof details outside the ledger. Never edit/delete numbered events, refresh hashes to silence warnings, or treat a changed statement as already proved. ## Use routes to support decisions Record owning claim, optional `resolves` obligations, mechanism, decisive question and discriminator, prerequisites, success/failure criteria and rough gain/cost. Separate alternative routes from jointly required theorem dependencies. `next` ranks ready recorded routes heuristically; mathematical judgment sets priority. Repeated owner/mechanism pairs require the documented reopening contract, not renaming to evade it. Separate attempt outcome from route disposition. Inconclusiveness, resource limits or priority changes never alone justify closure. Preserve untried or deferred continuations with next action and resumption condition. Close only with the exact obstruction or scoped reason no continuation remains. Reopening rules and event fields are in [executions.md](references/executions.md) and the ledger reference. When an open route's continuation must outlive this session, use an existing open program whose goal covers it, or register one if absent. Record missing `route-run`, `run-result` and `route-reconcile` events with `decision: continue`, reusing applicable records. Cited runs and their reconciliation share `base_event` and `base_revision`; a run result inherits its base through its run and has no base fields. The program retains its starting checkpoint, which may differ from a later execution's base. `next` and `handoff` show the latest continuation's reason and next step. A prose record alone cannot update that generated view. Do not add lifecycle events solely for follow-up completed in the same session. For parallel/delayed work, assign distinct executions with owner, actual inputs, base and write scope. Reconcile serially in the single writer's ledger, record conflicts, and disposition late results explicitly. Arrival order is not ancestry; never merge or renumber event streams. Process completion does not close a route or promote a claim. ## Report and persist Commit events with their artifacts only under project Git authorization. Preserve source-cache retention policy. Use one designated live view, preferably a generated brief view when migration is authorized; do not create a parallel manual dashboard. Report changed claims, active review conditions/conflicts, stale evidence, dependents and route-only context. A clean check establishes bookkeeping integrity. Use available `proof-audit`, `computation-audit` or `literature-check` skills (`mathbox:<name>` in plugin installations) for correctness decisions, or perform the relevant bounded check directly and disclose limits if unavailable.
Files in this package (10)
- SKILL.md 8 KB
- agents/openai.yaml 1 KB
- evals/evals.json 16 KB
- evals/trigger-evals.json 2 KB
- references/deferred-packet.md 7 KB
- references/executions.md 5 KB
- references/ledger.md 17 KB
- references/migration.md 2 KB
- scripts/research_state.py 81 KB
- scripts/test_research_state.py 74 KB
Versions
The database has no other skills named research-state.
Database snapshot: 13.11.2026 · package version 929fd059b643 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 1 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 90research-retrospective
Reconcile a mathematical research repository's current claims, proofs, computations, status, literature dependencies, and failed routes, then recommend the next bounded research moves. Use only when the user asks for a project review, weekly/monthly retrospective,… - 100research-proof
Turn vague research ideas, math-heavy claims, AI-lab style agent loops, benchmark claims, causal claims, prototype-readiness claims, design research, prompt-injection-sensitive evidence reviews, and medical-research style questions into falsifiable proof programs with fixed… - 100research-ledger
科研实验账本:用 append-only 的 ledger.jsonl 做实验数值的唯一真值源,把『成功率 / 命中率 / 分母 / 倍数比』从记忆和对话摘要里移出来。任何涉及已报告数值的追问、报告刷新、论文写表、答辩准备、审稿回复,必须先读账本再回答;禁止凭记忆给数,禁止心算派生。也用于登记新跑批、复核账本完整性(八条不变式)、交叉核对报告里的每个数字有没有出处。Triggers on: 成功率, 命中率, 通过率, 分母, 多少条, 几倍, 账本, ledger, 登记这批, audit, 对不上, 哪个口径, 报告里的数字, refresh the numbers. - 100evidence-ledger-research
Research and answer evidence-sensitive questions with source, date, unit, and operand discipline. Use for web research, PDF/document QA, policy or finance facts, tables, time series, calculations from retrieved evidence, exact-answer extraction, and any task where wrong source…