Add a flake that provides local test environments equivalent to the
CPU pull-request job, so local results are comparable with CI on hosts
whose system Python differs.
- Nix supplies Python 3.11, 3.12 and 3.13, git and the native runtime
libraries prebuilt wheels need; uv.lock remains the single source of
Python dependencies.
- `nix run .#test[-py311|-py312|-py313]` installs uv at the CI pin,
syncs the locked non-editable environment with the CI extras and runs
pytest with the CI options, marker filter and environment variables.
Extras, markers and the state directory can be overridden, e.g. for
the operator-UI Gradio gate.
- docs/NIX_TEST_ENVIRONMENT.md documents usage and scope; per-interpreter
state directories are ignored by git.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Keep both the arch-profile and regression exit-code rules, each with its
own exit, and both sets of risk-map entries.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add optimization O08: compare the smallest effective edit for a mature
target against broader edits, ordinary rank selection and simple
heuristics, with full cost accounting.
- Only persistent-pilot eligible targets are accepted (fixture results
marked software-contract); ablation operations only.
- Arms: a broad baseline (registered target plus leading directions),
variance-only rank, a development rank sweep, operator-declared
directions, and signal-aware geometry rank, optionally at last-token
scope.
- Every arm, baseline included, must restore the reference, reproduce
its temporary edit after reload, meet the useful effect, pass every
collateral endpoint and qualify on the CPU float32 reference backend.
- Accounting records which resource changes: artifact size, extra
inference FLOPs per representation (a permanent edit changes none),
and one-time capture, decomposition, search, build, confirmation and
qualification costs; latency stays outside the digest.
- A saving is claimed only when total compute is no higher than the
baseline's in every seed (at least 3); gains are attributed to
geometry only when no ordinary or heuristic arm matches.
- `obliteratus experiments smaller-change`.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add F22: versioned regression suites built from confirmed cases,
failures and interaction surprises, with computed staleness when a
dependency changes and append-only re-run history.
- Cases point at the original evidence by path, digest and pointer
(never copying scores) and record what reproduces them: model and
weight fingerprint, tokenizer, dataset revision and rows digest,
scorer versions, backend descriptor and recipe, plus the expected
outcome with tolerance. Suite versions are write-once and chained.
- A dependency graph covers weights, tokenizer, dataset, scorer,
backend runtime, directions, report files and artifacts. Staleness is
computed on read; models match by weight fingerprint, so a same-name
model with new weights inherits no qualification.
- Re-runs go through each feature's own run function and append to a
hash-chained results log; regressions link to their case, and history
stays byte-identical.
- Status and the conditions table report per intervention and condition
(task, domain, backend, model), with no single aggregate.
- `obliteratus experiments regression build|observe|status|revalidate|run`.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add F21: architecture adapters that record tensor semantics and staged
support levels, MoE observation with explicit coverage, and transfer
dossiers compared against within-model baselines.
- Adapters record site meaning, block order, norm placement and module
roles (attention, MLP, router, routed and shared experts) and check
residual semantics on a real forward. Support is staged:
observation, then reversible intervention, then persistent editing.
Dense decoders support all three; sparse MoE decoders support
observation and residual intervention and refuse persistent editing.
- MoE observation reports per-expert routed tokens and rows with
intervals; experts below the coverage floor are insufficient coverage
with null effects, never no effect. Route and load changes, shared
expert contributions and routing restoration are measured.
- Transfer needs its own alignment-fit and test rows (refused on
overlap), the same row budget for a direction fitted directly on the
target, and must beat that baseline and random directions with
bootstrap intervals. Tested and untested conditions are listed;
experts listed as tested must be covered on the test rows; new
modalities need their own targets and scoring tasks.
- `obliteratus experiments transfer run` and `arch-profile`.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add F19: a replayable, budgeted search over qualified operations only,
with an all-attempt ledger, Pareto-first selection and independently
confirmed finalists.
- The space is built from persistent-pilot eligible registrations
(declared coefficient grids and forms), selected candidates and
recovered candidates, and complete sequences in their evidenced
order; anything else is refused. Confirmation and test rows are
refused for search. The space is write-once and digest-identified.
- Proposals reuse the project's Optuna TPE multi-objective approach
with per-trial seeding, so replay reproduces the ledger; pruning uses
the anytime-valid screening rule.
- An append-only, hash-chained ledger records every trial; trial ids are
content digests, and an interrupted trial is marked incomplete and
re-run or discarded once. Incomplete trials never win.
- Trials with invalid outputs, failing or unmeasured collateral
endpoints, or target gains flagged by the weak-scorer check are
infeasible. The Pareto front is reported before any pre-declared
aggregate score.
- Finalists must pass a fresh locked confirmation registration created
after the search and disjoint from development rows; search winner
and confirmed finalist are reported separately.
- `obliteratus experiments search plan|run|resume|front|confirm`.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Start milestone 5 (F20): qualify each saved artifact on an explicit
backend against the CPU float32 reference of the same artifact, and
record exactly which pairs qualify.
- Only fully verified persistent candidates are accepted; each run
loads the saved artifact fresh from disk on the reference and on the
declared backend after checking digests.
- Backend descriptors make device, dtype, quantization, attention,
tokenizer and cache mode explicit; their digest is the backend id, so
native and quantized results are separate rows.
- Paired evaluation on independent rows checks realized settings,
target rate, completion agreement, logit and site-activation drift and
collateral endpoints. Latency and memory stay outside the digest.
- Unsupported combinations are recorded unsupported without loading or
falling back; unavailable hardware is refused and leaves the pair
untested. Failures are permanent and block broader claims.
- A versioned support matrix lists exactly the qualified pairs. CUDA
tests run in the cuda-runtime conditional gate.
- `obliteratus experiments qualify run|matrix`.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The cuda-runtime, bitsandbytes-runtime, mps-runtime, mlx-runtime and
remote-execution waivers expired on 2026-11-16. Renew them from
2026-11-16 through 2026-11-30, within the 30-day maximum, with reasons
and blocked claims unchanged. No GitHub self-hosted lane is registered
yet; issue #110 stays open.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add F18: recovery runs that start from a verified persistent candidate
and produce a separate recovered candidate, assessed against both the
edited candidate and the pristine reference.
- Only selected, digest-verified, persistent-pilot eligible parents are
accepted. The output is a write-once removable recovery adapter with
learning curves; parent and reference are only read and re-checked.
- Recovery data lineage, training configuration and teacher provenance
(model, revision, weight fingerprint) are recorded and re-hashed
before assessment.
- Recovery and assessment rows that overlap discovery, dossier
confirmation data, registered confirmation sets, the parent's
verification rows or each other are refused before training.
- A reload assessment compares pristine, edited and recovered arms on
independent rows. Restoring the unwanted target behaviour beyond
tolerance fails the run permanently; passing needs persisting target
effect, retained capability versus pristine, no new damage and a
useful gain.
- Efficiency or freed-capacity claims need matched random-target and
pristine same-steps controls and must beat both; otherwise they are
unsupported. Loss curves are never reported as mechanism.
- `obliteratus experiments recovery run|verify|show`.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add F17: promote only validated two-step edit sequences into a
persistent, resumable executor with tested rollback.
- Components must be verified F16 candidates or persistent-pilot
eligible registrations, and an F14 interaction result must cover the
exact order requested; untested orders are refused. Plans are
write-once and content-addressed, so reversed order is a distinct
identity.
- Each step saves a checkpoint plus ordered adapters and records input
and output identities, order, file digests, intermediate target and
collateral results, failure state and recovery path. A reloaded step
must reproduce the composed temporary operations, keep every applied
component's effect and pass collateral endpoints.
- A crash leaves an incomplete step that resume discards before
continuing from the last verified step; incomplete sequences can't be
published. A failed step is permanent and never selected.
- Rollback restores the reference or a verified step by digest-checked
copy and reload, never by applying an inverse edit.
- `obliteratus experiments sequence plan|run|resume|rollback|show`.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add optimization O07: turn dossiers, causal maps and labeled features
into a versioned queue of specific requests for new examples, plus a
study comparing queue-driven acquisition with random acquisition.
- Gap detectors: unstable boundaries across group-disjoint folds,
prediction/behaviour disagreement, sparse neighbourhoods, missing
strata, confounded controls and unsupported causal-map cells.
- Each item carries the gap, digest-checked evidence references,
rationale, an operator-provided source requirement (the queue never
fetches), required partition and group lineage, a declared-heuristic
expected value and priority.
- Test rows, protected roles, registered confirmation rows and their
independence units are removed before scoring; anchors there are
refused. Diversity caps per unit and neighbourhood plus a seeded
exploration quota prevent repeated outlier targeting.
- Ingest writes a new write-once revision bound to the queue and its
parent digests; the parent file is never modified.
- The study reports random acquisition at equal budget, a stratified
arm and the queue on a hidden held-out set; verdict is "no
improvement" unless the queue's seed interval clears random's.
`obliteratus experiments acquisition queue|ingest|study`.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add optimization study O06: does a staged evaluation ladder (cheap
diagnostics, a development battery, then full evaluation) save total
cost without rejecting useful candidates?
- Arms: full evaluation of every candidate (bounded reference), a
development-only ladder, and a ladder with a stage-0 score; usefulness
is decided only by full evaluation with every collateral endpoint.
- Stage-0 scores must earn their role: predictor quality (Spearman, AUC)
is reported, and separability or KL never substitutes for task
success.
- Extra development samples use an anytime-valid mixture test (or a
single fixed-sample look); naive repeated peeking is refused. Null
simulations: 0.0245 and 0.0405 at alpha 0.05 against 0.24 for
peeking.
- A seeded audit sample of exclusions is fully evaluated and every
exclusion is reported. Rules are digest-bound; confirmation-exposed,
test and confirmation rows are refused.
- Verdict is "no improvement" unless every seed passes cost,
false-rejection, task and collateral tolerances with an unchanged
confirmation candidate. `obliteratus experiments screening`.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Combine the null-kernel and reuse hooks in candidate discovery: the
selected kernel computes the nulls and is part of the reuse identity, so
a reference null is never served to a batched request or vice versa.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add optimization O05: batched random-direction kernels that reproduce
the reference loops, plus validated low-rank sketches with an explicit
error budget. The reference loops stay the default.
- Batched gate, discovery and subspace nulls keep draw order, generator
state, norm matching, pooling, orientation folding and percentile
semantics; identical rows are projected once so exact ties survive.
Declared tolerance 1e-12 with identical decisions; observed 0.0.
- select_rank keeps both residual variance and class-contrast loss
within budget, measured exactly, and reports the variance-only rank;
it returns inconclusive when no rank qualifies.
- The sketch gate null is approximate only when the spectrum test
passes, an exact audit stays within 0.005 AUC and no threshold falls
inside the band; otherwise it recomputes exactly. It is refused in
enforce mode. The observed AUC is never approximated.
- A benchmark module reports wall time, peak memory, subspace angles,
null errors and decision disagreement (timings host-specific).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add two-estimate interaction experiments (F14): measure whether two
ready dossier estimates interact when applied together, in which order,
and under which conversation history, without treating orthogonality as
independence.
- Arms: baseline, A, B, each declared order, matched random controls
for each, optional protected arms (one component restricted to the
complement of the other's span) and a baseline replay; restoration is
checked after every arm and a failure stops the attempt.
- Orders and history mode (single turn, matched context, diverged) are
part of the spec digest. Components pass the harness's model and
independence checks; confirmation-locked rows are refused.
- Interaction is the per-example difference-in-differences of task
success with a seeded paired bootstrap interval and an exact sign
test, compared against the random-control sequence; order sensitivity
is reported. "Independent" is never an outcome, and geometry never
feeds one.
- Protection reports projection preservation and behaviour preservation
separately.
- Results link to dossiers by reference as descriptive evidence only,
re-verified on read, never granting labels. `obliteratus experiments
interact` and an Explorer interaction view.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Start milestone 4 (F16): turn a confirmed temporary intervention into
the smallest persistent representation that expresses it, as a separate
artifact, and verify the saved candidate itself after a fresh load.
- Builds only for registry keys computed as persistent-pilot eligible
(fixture models only with a test-only allowance marking outputs
software-contract). The reference model is never written to; its
digests are checked before and after.
- Forms: a removable hook-free activation adapter (all operations), a
LoRA adapter through the existing PEFT exporter (all-token ablation on
a plain linear site), or a separate weight-edited copy (projection or
bias shift). Auto picks the feasible form with the fewest stored
elements.
- A write-once, content-addressed manifest records parent identity and
fingerprints, recipe and direction binding, every edited parameter
with before/after digests, compatibility checks, artifact digests and
build-time tolerances.
- Verification reloads the candidate from disk and compares reference,
temporary hook and candidate arms on independent rows: the edit must
match the registered recipe, effects and outputs must agree with the
temporary intervention, the useful-effect threshold and every
collateral endpoint must hold. Failures are permanent and never
selected.
- `obliteratus experiments candidate build|verify|show`.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add the geometry laboratory (F10), a research branch of measurement
tools that reports when its assumptions fail rather than assuming them.
- Neighbourhood stability under noise (with chance level), local PCA
rank, tangent variation between neighbouring local bases, LID
(Levina-Bickel MLE and TwoNN) with a local-regularity test, resample
stability, and raw-space versus PCA-view projection distortion. Every
nonlinear measure carries a global PCA-rank baseline.
- A rejected regularity test nulls the LID with a reason. Curvature is
always null and unsupported. Graph splits, connectivity changes,
duplicates, projection artifacts and unstable neighbourhoods are
flagged and labelled as not concept structure.
- Synthetic benchmarks with known answers (plane, sphere, circle, torus,
swiss roll, union of subspaces) and density/noise sweeps; catalog
entries checked against the code and every report's evidence.
- `obliteratus experiments geometry-lab benchmark|sweep|points` and a
Python API including verified labeled activation sets.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>