Commit Graph
2 Commits
Author SHA1 Message Date
Joseph MaglyandClaude Opus 5.5 878796adb2 feat(experiments): controlled intervention harness with matched controls and restoration checks
Start milestone 3 (F12): run a temporary intervention on a ready
dossier estimate and record the result as the only route to a
"controlled intervention result" label.

- Versioned intervention spec (own schema; baseline observation specs
  unchanged) for steering or ablating a channel estimate at its site
  through the existing hook manager. Four arms on the same examples:
  baseline, intended, a seeded norm- and rank-matched random control
  orthogonal to the target, and a fresh-baseline replay that must
  reproduce the baseline exactly. Each arm records site, module, hook,
  token scope, units, dose and ordering.
- Dose ladders with paired scorecards against the baseline. The deciding
  dose and target task must equal the values pre-registered in the
  dossier hypothesis, alongside its effect threshold, direction and
  collateral margin.
- Restoration (parameter/buffer digest, hook counts, probe logits) is
  checked after every arm through a helper shared with pack evaluation.
  Exceptions and cancellation remove hooks and leave a recorded attempt.
- Refused before any forward pass: stale or unready dossiers, geometry
  mismatches (site, width, model, dtype, fingerprint, tokenizer,
  readout, device), evaluation rows overlapping discovery inputs, and
  evaluation on the dossier's confirmation rows.
- A minimal last-token activation-patching experiment with an explicit
  corruption strategy and logit-difference metric (descriptive only).
- Dossiers attach results by reference and recompute the verdict from
  per-example records on every assessment. The label is granted only if
  the intended arm beats the control by the threshold (one-sided exact
  McNemar), collateral endpoints pass and restoration held. Fixture or
  local models are software-contract results that never upgrade a label
  by default.
- `obliteratus experiments intervene` and a Python API.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 18:09:42 -05:00
Joseph MaglyandClaude Opus 5.5 c94ce6dfd1 feat(analysis): target dossiers with evidence provenance and experiment readiness
Add versioned target dossiers (F11), the readiness gate between target
discovery and controlled causal experiments.

- Schema-validated JSON separating the hypothesis (intended behavior,
  bounded task, falsification test) from one or more estimates
  (channel, residual direction or subspace at a site). Evidence is
  stored by reference (path, sha256, JSON pointer into the source
  report), never as copied numbers. Provenance covers the pack, dataset
  revision, model identity with weight fingerprint, labeled sets and
  report digests; confounds, coverage, counterexamples, rejected
  alternatives and open questions are recorded.
- Evidence labels follow the roadmap vocabulary, defined once in
  evidence_levels.py. "Independently validated predictor" requires
  independent confirmation beating the shuffled-label null; claims may
  not exceed the computed label, and causal or intervention labels are
  refused without an intervention result.
- Confirmation must be independent: overlapping roles of one revision,
  legacy packs, another model, or a new revision reusing discovery
  inputs are refused.
- Readiness is computed with a checklist of what is missing; accepted
  confounds stay visible with their reasons. Missing geometry research
  never blocks.
- Changed or missing sources, a different weight fingerprint or model
  revision, or a different dataset revision mark a dossier stale and
  its evidence unsupported.
- `obliteratus experiments dossier build|show|check` and a Python API;
  the Explorer shows each dossier with its readiness checklist.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 14:01:45 -05:00