You are reading Nightly documentation for 0.12.4.dev0+g50bde75.

This documentation may describe behavior that differs from Stable.

Open Stable documentation

Documentation version

0.12.4.dev0+g50bde75 · Nightly

Evidence-gated self-improvement

Evidence-gated self-improvement

The Improve page is a review desk for candidate changes. It does not patch the
running installation or deploy releases. It keeps the evidence needed to decide
whether a candidate is safe enough for a separate release process.

What a proposal must prove

A proposal starts with privacy-safe recurring failure or outcome references and a
complete hypothesis. Before review, it must attach an isolated Git worktree patch,
pass unit/static/build/security checks, compare baseline and candidate HolarynBench
reports with confidence intervals, pass a fingerprinted held-out set, and define a
bounded rollout with automatic rollback thresholds.

The dashboard presents those six evidence stages in order:

  1. hypothesis and rollback;
  2. isolated patch and protected files;
  3. gates and multidimensional benchmark metrics;
  4. independent revision-bound reviews;
  5. deterministic shadow/dogfood/canary evidence;
  6. the verified immutable provenance chain.

The proposal author cannot approve their own work. High-risk, protected, and
evaluation-control changes require two distinct elevated reviewers.

Typical CLI workflow

Create a strict proposal definition in proposal.json, then:

holaryn self-improve create proposal.json
holaryn self-improve patch impr_123 patch.json --expected-revision 1
holaryn self-improve evaluate impr_123 evaluation.json --expected-revision 2
holaryn self-improve plan impr_123 canary.json --expected-revision 3
holaryn self-improve review impr_123 --expected-revision 4 --reviewer reviewer-a `
  --verdict approved --rationale "All gates and held-out metrics pass."
holaryn self-improve start-canary impr_123 --expected-revision 5
holaryn self-improve observe impr_123 observation.json --expected-revision 6
holaryn self-improve promote impr_123 --expected-revision 7
holaryn self-improve export impr_123

promote should report a promoted proposal and an authorization record. It will not
change source files or deploy anything.

If an observation falls below the plan threshold, the output instead includes
"state": "rolled_back" and a blocker such as "safety threshold breached".

Disable and delete

Use Disable collection on the Improve page or:

holaryn self-improve disable

Disabling prevents new proposal/repetition signals and clears process-local
repetition observations. Existing data remains available for review. Terminal
proposals require their exact id to delete. Delete retained data requires
collection to be off and the exact phrase:

DELETE ALL SELF-IMPROVEMENT DATA

That removes the new improvement ledger and legacy quarantined skill proposals.
Backups and previously exported files remain outside the live store and must be
handled separately.

For the security boundaries and recovery procedure, see
Safe self-improvement architecture.