Skip to content

spec: a lifecycle task set that can tell the arms apart (#90, #17) - #144

Merged
gosha70 merged 5 commits into
mainfrom
spec/90-discriminating-lifecycle
Nov 19, 2026
Merged

gosha70 merged 5 commits into
mainfrom
spec/90-discriminating-lifecycle

Conversation

@gosha70

@gosha70 gosha70 commented Nov 18, 2026 •

Copy link
Copy Markdown
Owner

Approved by the owner, 2026-11-19: D1–D7 as written, with 12 chains planned (D7) and claude_md an arm unless the budget rules it out. Merging authorizes no paid run; the calibration and the measured run each need a preregistration and a budget the owner approves. Head: 9df0ca7.

The spec for #90 (and the remaining question in #17), in specs/memkernel-0-16-lifecycle-corrections/. No code, and no paid run. Written overnight on your instruction; .

Refs #90, #17. Head after the review: b221956.

Checked facts

Requirements (from wiki-studio's design in #90)

  • FR-001: an lc-correct group of 8 chains (deploy window, token lifetime, and the rest). Each records X, is corrected to Y, then asks for the current rule. Checkers have three outcomes, and every chain has a competing page.
  • FR-002: each correction travels only through its arm's own workflow, and the shared_artifact copy carries the exposure state only.
  • FR-003: calibration first: a chain is kept only if bare fails and an informed reference passes.
  • FR-004: a new memkernel_governed arm, with a scripted curator under a preregistered policy, an oracle curator as the upper bound, and Lifecycle suite: a discriminating lc-wiki task set and a governed-composition arm (design from wiki-studio 0.8.1) #90's gate-record check, with breaches counted.
  • FR-005: a per-group token table in the report.
  • FR-006: a preregistration and budget before any measured run.

Changed after the review

  • Both values named: an answer that names both ("it was X; now it's Y") passes when Y is there, and fixtures pin it.
  • The detectable difference, stated before any paid run: with an exact sign test over chains, 8 chains reach 0.05 only if all 8 favor one arm (7 of 8 gives p ≈ 0.07). The preregistration states the trials per chain and that difference, and no run is paid for if calibration leaves too few chains.
  • claude_md stays in the arms, since writing a correction into CLAUDE.md is the common real-world approach.

Decisions (the owner's)

  1. D1: adopt Lifecycle suite: a discriminating lc-wiki task set and a governed-composition arm (design from wiki-studio 0.8.1) #90's eight chains.
  2. D2: the arms are memkernel, memkernel_governed (plus the oracle bound), fs_grep, claude_md and bare.
  3. D3: the scripted curator is primary; auto-approve is a sensitivity check only.
  4. D4: both correction kinds, replacement and withdrawal.
  5. D5: two steps. The build ships everything exercised with the stub agent in CI; calibration and the measured run follow, each with a preregistration and budget you approve.
  6. D6: close Request: a reproducible agent-level benchmark showing where MemKernel helps (and where it does not) #17 when that run's report is published.
  7. D7: keep 8 chains, or write more (toward 12 or 16), decided with the preregistration from the detectable-difference arithmetic.

Checks: the origin gate passes. DeepSeek didn't run (paused).

…ed-composition arm (#90, #17)

Turns wiki-studio's design (#90) into memkernel's requirements: eight correction
chains calibrated against the negative control, corrections delivered through each
arm's own workflow, a new memkernel_governed arm with a scripted curator and the
gate-record check, and a per-group token table. No run without an approved
preregistration and budget. D1-D6 proposed for the owner.
…efore any run, keep claude_md

The review of #144: an answer naming X then Y passes; the preregistration states
trials per chain and what eight chains can detect (a sign test needs nearly every
chain: 7 of 8 gives p 0.07), and no run is paid for if calibration leaves too few;
claude_md stays in the arms; D7 decides the chain count.
@gosha70
gosha70 merged commit da4f961 into main Nov 19, 2026
9 checks passed
@gosha70
gosha70 deleted the spec/90-discriminating-lifecycle branch November 19, 2026 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Request: a reproducible agent-level benchmark showing where MemKernel helps (and where it does not)

1 participant