Cut 1: one step primitive and one freeze primitive (behaviour-preserving)
Deletes the driver-private Docker argv assembly in run_in_workspace and
base_run_args and the OperatorBinding/CompiledDeploymentPlan coupling inside
GitSourceDriver::freeze's fetch-and-archive core. Both become one shared
primitive apiece, the shape Cut 4's verify worker will reuse instead of
growing a second copy:
- ContainerSpec + docker_run_args(spec, workspace, working_directory, argv):
a plain, pure lowering to the exact `docker run` argv. ContainerSpec::for_step
is the one constructor (a DockerRunnerBinding, a step's required
environment, and the source stamp); it does the cache-root and secret
validation against the filesystem before docker_run_args ever runs.
run_in_workspace and materialize_external_input both build a ContainerSpec
and call docker_run_args now; base_run_args is gone (rg '"--cap-drop"'
src/ has exactly one hit).
- ExactSource {origin, checkout, gitlinks, recipe_path} plus
GitSourceDriver::freeze_exact(&ExactSource, revision, transaction_id, root),
which fetches, archives and hardens an exact revision with no
OperatorBinding or compiled plan. freeze() now derives an ExactSource from
the binding, keeps its own verify_exact_source pre-check against the
durable resolution, and delegates the archive to freeze_exact.
- A StepPort trait (DockerRunnerDriver::run_step) that runs a lowered step
and returns exit status plus a bounded stderr tail instead of bailing.
Not yet reached from materialize (Cut 4 wires it into the verify worker);
deploy keeps DockerRunnerDriver::docker's existing bail-on-failure error
text unchanged.
materialize_external_input's curl step now goes through the same lowering,
which adds a harmless --workdir /workspace and one inert IDUNN_EXTERNAL_INPUT_ID
env var to its argv; curl's behavior (an absolute --output path) is
unaffected. materialize_gitlink_archive's cache-directory name changed from
the operator binding's target label to a hash of the checkout path, since
ExactSource carries no target field; this is bookkeeping only; a UUID
already made every gitlink checkout unique.
Adds three unit tests: container_spec_lowers_to_exact_docker_argv pins the
full docker run argv; required_environment_is_the_only_environment pins F6
(a binding environment entry the step does not require never leaks in);
freeze_exact_is_byte_exact_and_recipe_checked and its negative twin
freeze_exact_rejects_a_recipe_the_archive_transforms (an export-subst
recipe, which git archive substitutes and git cat-file does not) exercise
freeze_exact directly, with no OperatorBinding in sight.
tools/verify-mutations/cut1.psd1 covers all five rules with a revert or
loosening mutant apiece, run through the Eureka harness in the stopgap
container. Verified on Yggdrasil at this commit: cargo test --lib is 130
passed, 0 failed, 2 ignored (the P1 baseline of 126/2 plus these four new
tests), and every mutation entry was killed by its own test.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-22 15:46:57 +02:00
|
|
|
# Cut 1 mutation suite: the shared Docker argv lowering and the exact-revision
|
|
|
|
|
# freeze primitive. Run with:
|
|
|
|
|
#
|
|
|
|
|
# pwsh tools/eureka-mutations.ps1 -Repo . -Entries tools/verify-mutations/cut1.psd1 `
|
|
|
|
|
# -Target src/drivers.rs -Test 'cargo test --lib'
|
|
|
|
|
#
|
|
|
|
|
# (the harness itself lives in the Eureka skill repo; the stopgap copies it to
|
|
|
|
|
# /harness/eureka-mutations.ps1 inside the verify container.)
|
|
|
|
|
|
|
|
|
|
@{
|
|
|
|
|
Mutations = @(
|
|
|
|
|
@{
|
|
|
|
|
Id = 'cut1-cap-drop-revert'
|
|
|
|
|
Rule = 'docker_run_args always drops every Linux capability (--cap-drop ALL).'
|
|
|
|
|
Test = 'drivers::tests::container_spec_lowers_to_exact_docker_argv'
|
|
|
|
|
Old = @'
|
|
|
|
|
OsString::from("--cap-drop"),
|
|
|
|
|
OsString::from("ALL"),
|
|
|
|
|
OsString::from("--security-opt"),
|
|
|
|
|
'@
|
|
|
|
|
New = @'
|
|
|
|
|
OsString::from("--security-opt"),
|
|
|
|
|
'@
|
|
|
|
|
}
|
|
|
|
|
@{
|
|
|
|
|
Id = 'cut1-network-default-loosening'
|
|
|
|
|
Rule = 'A runner with no declared network_profile (or "none") is admitted with no network, never bridge.'
|
|
|
|
|
Test = 'drivers::tests::container_spec_lowers_to_exact_docker_argv'
|
|
|
|
|
Old = @'
|
|
|
|
|
None | Some("none") => ContainerNetwork::None,
|
|
|
|
|
'@
|
|
|
|
|
New = @'
|
|
|
|
|
None => ContainerNetwork::Bridge,
|
|
|
|
|
Some("none") => ContainerNetwork::None,
|
|
|
|
|
'@
|
|
|
|
|
}
|
|
|
|
|
@{
|
|
|
|
|
Id = 'cut1-cpus-function-of-input'
|
|
|
|
|
Rule = '--cpus is cpu_quota_percent / 100, to two decimal places.'
|
|
|
|
|
Test = 'drivers::tests::container_spec_lowers_to_exact_docker_argv'
|
|
|
|
|
Old = @'
|
|
|
|
|
f64::from(spec.cpu_quota_percent) / 100.0
|
|
|
|
|
'@
|
|
|
|
|
New = @'
|
|
|
|
|
f64::from(spec.cpu_quota_percent) / 50.0
|
|
|
|
|
'@
|
|
|
|
|
}
|
|
|
|
|
@{
|
|
|
|
|
Id = 'cut1-required-environment-only'
|
|
|
|
|
Rule = 'A step container receives only the source stamp plus the names in required_environment, never every binding environment entry.'
|
|
|
|
|
Test = 'drivers::tests::required_environment_is_the_only_environment'
|
|
|
|
|
Old = @'
|
|
|
|
|
for name in required_environment {
|
|
|
|
|
'@
|
|
|
|
|
New = @'
|
|
|
|
|
for name in runner.environment.keys() {
|
|
|
|
|
'@
|
|
|
|
|
}
|
Land F2: freeze writes blobs raw, per Self's ruling on the Eve survey finding
Self reviewed the F2 survey finding (Eve's gitlink under Ghostlight carries
`packages/*/dist/** text eol=lf`) and ruled it is not a real dependency on an
archive transform: Git stores text blobs as LF, `eol=lf` checks them out as
LF, so no conversion happens. Self verified this directly at Ghostlight's
pinned Eve gitlink revision `672c0c1e9fc828b63752345385727b06c50491d0` — all
26 files under `packages/*/dist/` hash identically between `git archive` and
`git hash-object --no-filters`, and none contains a CR. Stopping for the
survey was correct; the ruling is to proceed.
Survey table (repo, attributes found, verdict), recorded here as ruled:
| Repo (deploy target) | Binding source | .gitattributes findings | Verdict |
|---|---|---|---|
| Ghostlight | idunn/yggdrasil/bindings/ghostlight.toml.in | none | clean |
| Ghostlight's gitlink vendor/eve -> Eve | same binding | packages/*/dist/** text eol=lf | transform present, but a no-op on stored LF content (Self's evidence above) |
| Odin | idunn/yggdrasil/bindings/odin.toml.in | none | clean |
| CodexConnector | idunn/yggdrasil/bindings/codex-connector.toml.in | none | clean |
| Muninn (raven-muninn) | idunn/yggdrasil/bindings/raven-muninn.toml.in | none | clean |
| Heimdall | deployment/idunn-bindings/heimdall.toml.template (a second, previously unlisted binding directory, installed live 2026-09-06) | none | clean |
| Heimdall's gitlink -> CultLib | same binding | * text=auto only (F12) | clean |
`freeze_exact` now writes every tree entry raw from the object store:
`git ls-tree -r -z` for the manifest, `git cat-file --batch` for content, with
no `git archive` anywhere in the path and so no attribute-driven transform of
any kind. Modes and symlinks are preserved exactly as the tree records them.
Gitlinks are frozen the same raw way, through the same primitive, at their
own path. LFS content is never fetched; `freeze_exact` now also returns
whether any materialized file is an LFS pointer (recorded in the frozen
result's own return value — not yet plumbed into `FrozenSourceReceipt`, which
has no field for it; that is follow-up scope, not this fix).
Deleted: `git_archive_into`, `materialize_gitlink_archive`, and the
now-unused `tar_program` field — the archive-and-extract path they built has
no remaining caller. `GitSourceDriver::new` no longer takes a tar program.
Tests:
- `freeze_exact_is_byte_exact_across_every_attribute_transform`: a fixture
with `eol=crlf`, `export-ignore`, `export-subst`, `ident`, a symlink, the
executable bit, and a Gitlink. Every frozen file's bytes are asserted equal
to `git cat-file blob` at the selected revision.
- `freeze_exact_matches_archive_when_untransformed_and_diverges_when_transformed`:
the deploy-equivalence test Self's ruling asked for. An `eol=lf` file over
already-LF content matches today's independently-reconstructed `git archive`
tree exactly; a second file with `eol=crlf` over the same LF content
diverges from it, so the equivalence check has teeth rather than trivially
passing for every fixture.
- `exact_git_blobs_become_root_owned_immutable_source_without_git_metadata`
(renamed from the git-archive-era test) now exercises `materialize_tree_raw`.
- `tools/verify-mutations/cut1.psd1`: `cut1-fix-freeze-skips-gitlinks`
retargeted at the new call, and a new `cut1-fix-f2-revert-to-git-archive`
entry that reverts `materialize_tree_raw` to a `git archive | tar` pipeline;
it must die against the byte-exact test.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-22 16:36:50 +02:00
|
|
|
# cut1-freeze-exact-recipe-check retired by the F2 fix batch: after F2,
|
|
|
|
|
# freeze_exact no longer archives anything, so `materialized_recipe`
|
|
|
|
|
# and `recipe_bytes` are two raw reads of the identical blob object
|
|
|
|
|
# and are always equal by construction. No fixture reachable through
|
|
|
|
|
# freeze_exact can now make this ensure! fail (not yet reached), so a
|
|
|
|
|
# mutant dropping it would survive; the check stays as defense in
|
|
|
|
|
# depth against a materialization bug, not as a killable rule here.
|
Land the Cut 1 fix batch: pin every argv branch, one fetch, dead StepPort gone
Soul's pass on Cuts 0-1 found the argv-lowering test pinned only the
default runner path (13 of 14 mutants survived), freeze fetching the
same revision twice, an untested Gitlink loop, dead StepPort/StepOutcome
code, and a stale guide.md line. This lands Self's rulings for all of
it except F2 (the byte-exact freeze): the F2 survey found that Eve, a
Gitlink of the Ghostlight deploy target, depends on an archive
transform (`.gitattributes` eol=lf under packages/*/dist/**), so per
ruling 1 the byte-exact rewrite is withheld and reported instead.
- F1: `docker_run_args`/`ContainerSpec::for_step` are now pinned across
every network branch (none/bridge/named), the full CPU quota range
(100/150/250/333/800), cache root present/absent, and secret mounts,
with dedicated fixtures for the cache-root and secret-file validation
calls so a mutant that skips either is caught.
- F3: `freeze` fetches the exact revision once, through `freeze_exact`,
instead of fetching before it and again inside it.
- F5: `freeze_exact_materializes_gitlinks` pins that the Gitlink loop
actually runs.
- F7: deletes the dead `StepPort`/`StepOutcome` types; `run_step` never
had a caller, and `docker()` is the one Docker spawn path.
- Stamp override: `ContainerSpec::for_step` now refuses a step
environment name that collides with the Idunn source stamp, so the
invariant holds at the one place every runner's environment is built,
not only at deploy's separate `admit` check.
- docs/guide.md:11 no longer claims the retired generation still runs
on Yggdrasil.
F8 (the `--cap-drop` negative check) is a reporting fix, not a code
change: `rg -n '"--cap-drop"' src/` now returns 4 hits (1 real site
plus 3 test fixtures, one of which this batch adds), never the "1 hit"
the map's verification text describes.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-22 16:12:04 +02:00
|
|
|
# ---- Cut 1 fix batch: Soul's 13 surviving mutants (F1), minus S8 ----
|
|
|
|
|
# (S8, dropping the `validate_frozen_source` call inside `freeze_exact`,
|
|
|
|
|
# is not yet reached: `harden_frozen_source` runs first and unconditionally
|
|
|
|
|
# forces the exact permissions and symlink-escape check `validate_frozen_source`
|
|
|
|
|
# re-derives, so no fixture reachable through `freeze_exact` today can make
|
|
|
|
|
# `validate_frozen_source` fail where `harden_frozen_source` did not already
|
|
|
|
|
# fail first. This is a design-redundancy finding, not a coverage gap; see
|
|
|
|
|
# the fix-batch report.)
|
|
|
|
|
@{
|
|
|
|
|
Id = 'cut1-fix-cap-drop-only-on-bridge'
|
|
|
|
|
Rule = '--cap-drop ALL is present on every network branch, not only the default.'
|
|
|
|
|
Test = 'drivers::tests::docker_run_args_pins_every_network_branch'
|
|
|
|
|
Old = @'
|
|
|
|
|
match spec.seccomp {
|
|
|
|
|
ContainerSeccomp::Default => {}
|
|
|
|
|
}
|
|
|
|
|
args.extend([
|
|
|
|
|
'@
|
|
|
|
|
New = @'
|
|
|
|
|
match spec.seccomp {
|
|
|
|
|
ContainerSeccomp::Default => {}
|
|
|
|
|
}
|
|
|
|
|
if spec.network == ContainerNetwork::Bridge {
|
|
|
|
|
args.retain(|a| a != "--cap-drop" && a != "ALL");
|
|
|
|
|
}
|
|
|
|
|
args.extend([
|
|
|
|
|
'@
|
|
|
|
|
}
|
|
|
|
|
@{
|
|
|
|
|
Id = 'cut1-fix-read-only-dropped-on-named'
|
|
|
|
|
Rule = '--read-only is present on every network branch, including a Named network.'
|
|
|
|
|
Test = 'drivers::tests::docker_run_args_pins_every_network_branch'
|
|
|
|
|
Old = @'
|
|
|
|
|
args.extend([
|
|
|
|
|
OsString::from("--read-only"),
|
|
|
|
|
OsString::from("--pids-limit"),
|
|
|
|
|
'@
|
|
|
|
|
New = @'
|
|
|
|
|
if !matches!(spec.network, ContainerNetwork::Named(_)) {
|
|
|
|
|
args.push(OsString::from("--read-only"));
|
|
|
|
|
}
|
|
|
|
|
args.extend([
|
|
|
|
|
OsString::from("--pids-limit"),
|
|
|
|
|
'@
|
|
|
|
|
}
|
|
|
|
|
@{
|
|
|
|
|
Id = 'cut1-fix-cpus-round-half'
|
|
|
|
|
Rule = '--cpus is cpu_quota_percent / 100 to two decimal places, not rounded to the nearest 0.5.'
|
|
|
|
|
Test = 'drivers::tests::docker_run_args_pins_cpu_quota_across_the_range'
|
|
|
|
|
Old = @'
|
|
|
|
|
OsString::from(format!(
|
|
|
|
|
"{:.2}",
|
|
|
|
|
f64::from(spec.cpu_quota_percent) / 100.0
|
|
|
|
|
)),
|
|
|
|
|
'@
|
|
|
|
|
New = @'
|
|
|
|
|
OsString::from(format!(
|
|
|
|
|
"{:.2}",
|
|
|
|
|
(f64::from(spec.cpu_quota_percent) / 100.0 * 2.0).round() / 2.0
|
|
|
|
|
)),
|
|
|
|
|
'@
|
|
|
|
|
}
|
|
|
|
|
@{
|
|
|
|
|
Id = 'cut1-fix-cpus-floor-50'
|
|
|
|
|
Rule = '--cpus is cpu_quota_percent / 100 exactly, not the quota floored to the nearest 50 first.'
|
|
|
|
|
Test = 'drivers::tests::docker_run_args_pins_cpu_quota_across_the_range'
|
|
|
|
|
Old = @'
|
|
|
|
|
OsString::from(format!(
|
|
|
|
|
"{:.2}",
|
|
|
|
|
f64::from(spec.cpu_quota_percent) / 100.0
|
|
|
|
|
)),
|
|
|
|
|
'@
|
|
|
|
|
New = @'
|
|
|
|
|
OsString::from(format!(
|
|
|
|
|
"{:.2}",
|
|
|
|
|
f64::from(spec.cpu_quota_percent / 50 * 50) / 100.0
|
|
|
|
|
)),
|
|
|
|
|
'@
|
|
|
|
|
}
|
|
|
|
|
@{
|
|
|
|
|
Id = 'cut1-fix-env-prefix-passthrough'
|
|
|
|
|
Rule = 'ContainerSpec::for_step copies only the exact required environment names, never a binding entry that merely starts with one.'
|
|
|
|
|
Test = 'drivers::tests::required_environment_rejects_prefix_and_ambient_passthrough'
|
|
|
|
|
Old = @'
|
|
|
|
|
if let Some(value) = runner.environment.get(name) {
|
|
|
|
|
environment.push((name.clone(), value.clone()));
|
|
|
|
|
} else if let Some(path) = runner.secret_files.get(name) {
|
|
|
|
|
'@
|
|
|
|
|
New = @'
|
|
|
|
|
for (k, v) in &runner.environment {
|
|
|
|
|
if k != name && k.starts_with(name.as_str()) {
|
|
|
|
|
environment.push((k.clone(), v.clone()));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if let Some(value) = runner.environment.get(name) {
|
|
|
|
|
environment.push((name.clone(), value.clone()));
|
|
|
|
|
} else if let Some(path) = runner.secret_files.get(name) {
|
|
|
|
|
'@
|
|
|
|
|
}
|
|
|
|
|
@{
|
|
|
|
|
Id = 'cut1-fix-ambient-gamecult-idunn-env'
|
|
|
|
|
Rule = 'ContainerSpec::for_step never admits a binding environment entry ambiently by its GAMECULT_/IDUNN_ prefix.'
|
|
|
|
|
Test = 'drivers::tests::required_environment_rejects_prefix_and_ambient_passthrough'
|
|
|
|
|
Old = @'
|
|
|
|
|
let mut environment = vec![(source_stamp.0.to_owned(), source_stamp.1.to_owned())];
|
|
|
|
|
let mut secret_mounts = Vec::new();
|
|
|
|
|
'@
|
|
|
|
|
New = @'
|
|
|
|
|
let mut environment = vec![(source_stamp.0.to_owned(), source_stamp.1.to_owned())];
|
|
|
|
|
let mut secret_mounts = Vec::new();
|
|
|
|
|
for (k, v) in &runner.environment {
|
|
|
|
|
if k.starts_with("GAMECULT_") || k.starts_with("IDUNN_") {
|
|
|
|
|
environment.push((k.clone(), v.clone()));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
'@
|
|
|
|
|
}
|
|
|
|
|
@{
|
|
|
|
|
Id = 'cut1-fix-secret-mount-writable'
|
|
|
|
|
Rule = 'A secret mount is bound read-only.'
|
|
|
|
|
Test = 'drivers::tests::docker_run_args_mounts_secrets_read_only'
|
|
|
|
|
Old = @'
|
|
|
|
|
args.push(bind_mount(&mount.host_path, &mount.container_path, true)?);
|
|
|
|
|
'@
|
|
|
|
|
New = @'
|
|
|
|
|
args.push(bind_mount(&mount.host_path, &mount.container_path, false)?);
|
|
|
|
|
'@
|
|
|
|
|
}
|
|
|
|
|
@{
|
|
|
|
|
Id = 'cut1-fix-explicit-none-is-bridge'
|
|
|
|
|
Rule = 'An explicit network_profile = "none" lowers to ContainerNetwork::None, never Bridge.'
|
|
|
|
|
Test = 'drivers::tests::explicit_none_network_profile_is_none_not_bridge'
|
|
|
|
|
Old = @'
|
|
|
|
|
None | Some("none") => ContainerNetwork::None,
|
|
|
|
|
'@
|
|
|
|
|
New = @'
|
|
|
|
|
None => ContainerNetwork::None,
|
|
|
|
|
Some("none") => ContainerNetwork::Bridge,
|
|
|
|
|
'@
|
|
|
|
|
}
|
|
|
|
|
@{
|
|
|
|
|
Id = 'cut1-fix-cache-mount-extra-parent'
|
|
|
|
|
Rule = 'A cache root adds exactly one --mount, never a second mount of its parent directory.'
|
|
|
|
|
Test = 'drivers::tests::docker_run_args_mounts_cache_root_exactly_once'
|
|
|
|
|
Old = @'
|
|
|
|
|
args.push(bind_mount(cache_root, "/cache", false)?);
|
|
|
|
|
'@
|
|
|
|
|
New = @'
|
|
|
|
|
args.push(bind_mount(cache_root, "/cache", false)?);
|
|
|
|
|
args.push(OsString::from("--mount"));
|
|
|
|
|
args.push(bind_mount(cache_root.parent().unwrap(), "/cache-parent", false)?);
|
|
|
|
|
'@
|
|
|
|
|
}
|
|
|
|
|
@{
|
|
|
|
|
Id = 'cut1-fix-freeze-skips-gitlinks'
|
|
|
|
|
Rule = 'freeze_exact materializes every declared Gitlink.'
|
|
|
|
|
Test = 'drivers::tests::freeze_exact_materializes_gitlinks'
|
|
|
|
|
Old = @'
|
|
|
|
|
for (path, fact) in &gitlinks {
|
Land F2: freeze writes blobs raw, per Self's ruling on the Eve survey finding
Self reviewed the F2 survey finding (Eve's gitlink under Ghostlight carries
`packages/*/dist/** text eol=lf`) and ruled it is not a real dependency on an
archive transform: Git stores text blobs as LF, `eol=lf` checks them out as
LF, so no conversion happens. Self verified this directly at Ghostlight's
pinned Eve gitlink revision `672c0c1e9fc828b63752345385727b06c50491d0` — all
26 files under `packages/*/dist/` hash identically between `git archive` and
`git hash-object --no-filters`, and none contains a CR. Stopping for the
survey was correct; the ruling is to proceed.
Survey table (repo, attributes found, verdict), recorded here as ruled:
| Repo (deploy target) | Binding source | .gitattributes findings | Verdict |
|---|---|---|---|
| Ghostlight | idunn/yggdrasil/bindings/ghostlight.toml.in | none | clean |
| Ghostlight's gitlink vendor/eve -> Eve | same binding | packages/*/dist/** text eol=lf | transform present, but a no-op on stored LF content (Self's evidence above) |
| Odin | idunn/yggdrasil/bindings/odin.toml.in | none | clean |
| CodexConnector | idunn/yggdrasil/bindings/codex-connector.toml.in | none | clean |
| Muninn (raven-muninn) | idunn/yggdrasil/bindings/raven-muninn.toml.in | none | clean |
| Heimdall | deployment/idunn-bindings/heimdall.toml.template (a second, previously unlisted binding directory, installed live 2026-09-06) | none | clean |
| Heimdall's gitlink -> CultLib | same binding | * text=auto only (F12) | clean |
`freeze_exact` now writes every tree entry raw from the object store:
`git ls-tree -r -z` for the manifest, `git cat-file --batch` for content, with
no `git archive` anywhere in the path and so no attribute-driven transform of
any kind. Modes and symlinks are preserved exactly as the tree records them.
Gitlinks are frozen the same raw way, through the same primitive, at their
own path. LFS content is never fetched; `freeze_exact` now also returns
whether any materialized file is an LFS pointer (recorded in the frozen
result's own return value — not yet plumbed into `FrozenSourceReceipt`, which
has no field for it; that is follow-up scope, not this fix).
Deleted: `git_archive_into`, `materialize_gitlink_archive`, and the
now-unused `tar_program` field — the archive-and-extract path they built has
no remaining caller. `GitSourceDriver::new` no longer takes a tar program.
Tests:
- `freeze_exact_is_byte_exact_across_every_attribute_transform`: a fixture
with `eol=crlf`, `export-ignore`, `export-subst`, `ident`, a symlink, the
executable bit, and a Gitlink. Every frozen file's bytes are asserted equal
to `git cat-file blob` at the selected revision.
- `freeze_exact_matches_archive_when_untransformed_and_diverges_when_transformed`:
the deploy-equivalence test Self's ruling asked for. An `eol=lf` file over
already-LF content matches today's independently-reconstructed `git archive`
tree exactly; a second file with `eol=crlf` over the same LF content
diverges from it, so the equivalence check has teeth rather than trivially
passing for every fixture.
- `exact_git_blobs_become_root_owned_immutable_source_without_git_metadata`
(renamed from the git-archive-era test) now exercises `materialize_tree_raw`.
- `tools/verify-mutations/cut1.psd1`: `cut1-fix-freeze-skips-gitlinks`
retargeted at the new call, and a new `cut1-fix-f2-revert-to-git-archive`
entry that reverts `materialize_tree_raw` to a `git archive | tar` pipeline;
it must die against the byte-exact test.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-22 16:36:50 +02:00
|
|
|
lfs_pointer_paths
|
|
|
|
|
.extend(self.materialize_gitlink_raw(source, path, fact, &partial)?);
|
Land the Cut 1 fix batch: pin every argv branch, one fetch, dead StepPort gone
Soul's pass on Cuts 0-1 found the argv-lowering test pinned only the
default runner path (13 of 14 mutants survived), freeze fetching the
same revision twice, an untested Gitlink loop, dead StepPort/StepOutcome
code, and a stale guide.md line. This lands Self's rulings for all of
it except F2 (the byte-exact freeze): the F2 survey found that Eve, a
Gitlink of the Ghostlight deploy target, depends on an archive
transform (`.gitattributes` eol=lf under packages/*/dist/**), so per
ruling 1 the byte-exact rewrite is withheld and reported instead.
- F1: `docker_run_args`/`ContainerSpec::for_step` are now pinned across
every network branch (none/bridge/named), the full CPU quota range
(100/150/250/333/800), cache root present/absent, and secret mounts,
with dedicated fixtures for the cache-root and secret-file validation
calls so a mutant that skips either is caught.
- F3: `freeze` fetches the exact revision once, through `freeze_exact`,
instead of fetching before it and again inside it.
- F5: `freeze_exact_materializes_gitlinks` pins that the Gitlink loop
actually runs.
- F7: deletes the dead `StepPort`/`StepOutcome` types; `run_step` never
had a caller, and `docker()` is the one Docker spawn path.
- Stamp override: `ContainerSpec::for_step` now refuses a step
environment name that collides with the Idunn source stamp, so the
invariant holds at the one place every runner's environment is built,
not only at deploy's separate `admit` check.
- docs/guide.md:11 no longer claims the retired generation still runs
on Yggdrasil.
F8 (the `--cap-drop` negative check) is a reporting fix, not a code
change: `rg -n '"--cap-drop"' src/` now returns 4 hits (1 real site
plus 3 test fixtures, one of which this batch adds), never the "1 hit"
the map's verification text describes.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-22 16:12:04 +02:00
|
|
|
}
|
|
|
|
|
'@
|
|
|
|
|
New = @'
|
|
|
|
|
for (path, fact) in gitlinks.iter().take(0) {
|
Land F2: freeze writes blobs raw, per Self's ruling on the Eve survey finding
Self reviewed the F2 survey finding (Eve's gitlink under Ghostlight carries
`packages/*/dist/** text eol=lf`) and ruled it is not a real dependency on an
archive transform: Git stores text blobs as LF, `eol=lf` checks them out as
LF, so no conversion happens. Self verified this directly at Ghostlight's
pinned Eve gitlink revision `672c0c1e9fc828b63752345385727b06c50491d0` — all
26 files under `packages/*/dist/` hash identically between `git archive` and
`git hash-object --no-filters`, and none contains a CR. Stopping for the
survey was correct; the ruling is to proceed.
Survey table (repo, attributes found, verdict), recorded here as ruled:
| Repo (deploy target) | Binding source | .gitattributes findings | Verdict |
|---|---|---|---|
| Ghostlight | idunn/yggdrasil/bindings/ghostlight.toml.in | none | clean |
| Ghostlight's gitlink vendor/eve -> Eve | same binding | packages/*/dist/** text eol=lf | transform present, but a no-op on stored LF content (Self's evidence above) |
| Odin | idunn/yggdrasil/bindings/odin.toml.in | none | clean |
| CodexConnector | idunn/yggdrasil/bindings/codex-connector.toml.in | none | clean |
| Muninn (raven-muninn) | idunn/yggdrasil/bindings/raven-muninn.toml.in | none | clean |
| Heimdall | deployment/idunn-bindings/heimdall.toml.template (a second, previously unlisted binding directory, installed live 2026-09-06) | none | clean |
| Heimdall's gitlink -> CultLib | same binding | * text=auto only (F12) | clean |
`freeze_exact` now writes every tree entry raw from the object store:
`git ls-tree -r -z` for the manifest, `git cat-file --batch` for content, with
no `git archive` anywhere in the path and so no attribute-driven transform of
any kind. Modes and symlinks are preserved exactly as the tree records them.
Gitlinks are frozen the same raw way, through the same primitive, at their
own path. LFS content is never fetched; `freeze_exact` now also returns
whether any materialized file is an LFS pointer (recorded in the frozen
result's own return value — not yet plumbed into `FrozenSourceReceipt`, which
has no field for it; that is follow-up scope, not this fix).
Deleted: `git_archive_into`, `materialize_gitlink_archive`, and the
now-unused `tar_program` field — the archive-and-extract path they built has
no remaining caller. `GitSourceDriver::new` no longer takes a tar program.
Tests:
- `freeze_exact_is_byte_exact_across_every_attribute_transform`: a fixture
with `eol=crlf`, `export-ignore`, `export-subst`, `ident`, a symlink, the
executable bit, and a Gitlink. Every frozen file's bytes are asserted equal
to `git cat-file blob` at the selected revision.
- `freeze_exact_matches_archive_when_untransformed_and_diverges_when_transformed`:
the deploy-equivalence test Self's ruling asked for. An `eol=lf` file over
already-LF content matches today's independently-reconstructed `git archive`
tree exactly; a second file with `eol=crlf` over the same LF content
diverges from it, so the equivalence check has teeth rather than trivially
passing for every fixture.
- `exact_git_blobs_become_root_owned_immutable_source_without_git_metadata`
(renamed from the git-archive-era test) now exercises `materialize_tree_raw`.
- `tools/verify-mutations/cut1.psd1`: `cut1-fix-freeze-skips-gitlinks`
retargeted at the new call, and a new `cut1-fix-f2-revert-to-git-archive`
entry that reverts `materialize_tree_raw` to a `git archive | tar` pipeline;
it must die against the byte-exact test.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-22 16:36:50 +02:00
|
|
|
lfs_pointer_paths
|
|
|
|
|
.extend(self.materialize_gitlink_raw(source, path, fact, &partial)?);
|
Land the Cut 1 fix batch: pin every argv branch, one fetch, dead StepPort gone
Soul's pass on Cuts 0-1 found the argv-lowering test pinned only the
default runner path (13 of 14 mutants survived), freeze fetching the
same revision twice, an untested Gitlink loop, dead StepPort/StepOutcome
code, and a stale guide.md line. This lands Self's rulings for all of
it except F2 (the byte-exact freeze): the F2 survey found that Eve, a
Gitlink of the Ghostlight deploy target, depends on an archive
transform (`.gitattributes` eol=lf under packages/*/dist/**), so per
ruling 1 the byte-exact rewrite is withheld and reported instead.
- F1: `docker_run_args`/`ContainerSpec::for_step` are now pinned across
every network branch (none/bridge/named), the full CPU quota range
(100/150/250/333/800), cache root present/absent, and secret mounts,
with dedicated fixtures for the cache-root and secret-file validation
calls so a mutant that skips either is caught.
- F3: `freeze` fetches the exact revision once, through `freeze_exact`,
instead of fetching before it and again inside it.
- F5: `freeze_exact_materializes_gitlinks` pins that the Gitlink loop
actually runs.
- F7: deletes the dead `StepPort`/`StepOutcome` types; `run_step` never
had a caller, and `docker()` is the one Docker spawn path.
- Stamp override: `ContainerSpec::for_step` now refuses a step
environment name that collides with the Idunn source stamp, so the
invariant holds at the one place every runner's environment is built,
not only at deploy's separate `admit` check.
- docs/guide.md:11 no longer claims the retired generation still runs
on Yggdrasil.
F8 (the `--cap-drop` negative check) is a reporting fix, not a code
change: `rg -n '"--cap-drop"' src/` now returns 4 hits (1 real site
plus 3 test fixtures, one of which this batch adds), never the "1 hit"
the map's verification text describes.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-22 16:12:04 +02:00
|
|
|
}
|
|
|
|
|
'@
|
|
|
|
|
}
|
|
|
|
|
@{
|
|
|
|
|
Id = 'cut1-fix-secret-validation-skipped'
|
|
|
|
|
Rule = 'ContainerSpec::for_step validates a secret file before mounting it.'
|
|
|
|
|
Test = 'drivers::tests::container_spec_for_step_validates_secret_files'
|
|
|
|
|
Old = @'
|
|
|
|
|
validate_runner_secret(path, identity)?;
|
|
|
|
|
secret_mounts.push(SecretMount {
|
|
|
|
|
'@
|
|
|
|
|
New = @'
|
|
|
|
|
secret_mounts.push(SecretMount {
|
|
|
|
|
'@
|
|
|
|
|
}
|
|
|
|
|
@{
|
|
|
|
|
Id = 'cut1-fix-cache-root-validation-skipped'
|
|
|
|
|
Rule = 'ContainerSpec::for_step validates the cache root before admitting it.'
|
|
|
|
|
Test = 'drivers::tests::container_spec_for_step_validates_cache_root'
|
|
|
|
|
Old = @'
|
|
|
|
|
if let Some(cache_root) = &runner.cache_root {
|
|
|
|
|
ensure_runner_cache_root(cache_root, identity)?;
|
|
|
|
|
}
|
Cut 1: one step primitive and one freeze primitive (behaviour-preserving)
Deletes the driver-private Docker argv assembly in run_in_workspace and
base_run_args and the OperatorBinding/CompiledDeploymentPlan coupling inside
GitSourceDriver::freeze's fetch-and-archive core. Both become one shared
primitive apiece, the shape Cut 4's verify worker will reuse instead of
growing a second copy:
- ContainerSpec + docker_run_args(spec, workspace, working_directory, argv):
a plain, pure lowering to the exact `docker run` argv. ContainerSpec::for_step
is the one constructor (a DockerRunnerBinding, a step's required
environment, and the source stamp); it does the cache-root and secret
validation against the filesystem before docker_run_args ever runs.
run_in_workspace and materialize_external_input both build a ContainerSpec
and call docker_run_args now; base_run_args is gone (rg '"--cap-drop"'
src/ has exactly one hit).
- ExactSource {origin, checkout, gitlinks, recipe_path} plus
GitSourceDriver::freeze_exact(&ExactSource, revision, transaction_id, root),
which fetches, archives and hardens an exact revision with no
OperatorBinding or compiled plan. freeze() now derives an ExactSource from
the binding, keeps its own verify_exact_source pre-check against the
durable resolution, and delegates the archive to freeze_exact.
- A StepPort trait (DockerRunnerDriver::run_step) that runs a lowered step
and returns exit status plus a bounded stderr tail instead of bailing.
Not yet reached from materialize (Cut 4 wires it into the verify worker);
deploy keeps DockerRunnerDriver::docker's existing bail-on-failure error
text unchanged.
materialize_external_input's curl step now goes through the same lowering,
which adds a harmless --workdir /workspace and one inert IDUNN_EXTERNAL_INPUT_ID
env var to its argv; curl's behavior (an absolute --output path) is
unaffected. materialize_gitlink_archive's cache-directory name changed from
the operator binding's target label to a hash of the checkout path, since
ExactSource carries no target field; this is bookkeeping only; a UUID
already made every gitlink checkout unique.
Adds three unit tests: container_spec_lowers_to_exact_docker_argv pins the
full docker run argv; required_environment_is_the_only_environment pins F6
(a binding environment entry the step does not require never leaks in);
freeze_exact_is_byte_exact_and_recipe_checked and its negative twin
freeze_exact_rejects_a_recipe_the_archive_transforms (an export-subst
recipe, which git archive substitutes and git cat-file does not) exercise
freeze_exact directly, with no OperatorBinding in sight.
tools/verify-mutations/cut1.psd1 covers all five rules with a revert or
loosening mutant apiece, run through the Eureka harness in the stopgap
container. Verified on Yggdrasil at this commit: cargo test --lib is 130
passed, 0 failed, 2 ignored (the P1 baseline of 126/2 plus these four new
tests), and every mutation entry was killed by its own test.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-22 15:46:57 +02:00
|
|
|
'@
|
|
|
|
|
New = ''
|
|
|
|
|
}
|
Land F2: freeze writes blobs raw, per Self's ruling on the Eve survey finding
Self reviewed the F2 survey finding (Eve's gitlink under Ghostlight carries
`packages/*/dist/** text eol=lf`) and ruled it is not a real dependency on an
archive transform: Git stores text blobs as LF, `eol=lf` checks them out as
LF, so no conversion happens. Self verified this directly at Ghostlight's
pinned Eve gitlink revision `672c0c1e9fc828b63752345385727b06c50491d0` — all
26 files under `packages/*/dist/` hash identically between `git archive` and
`git hash-object --no-filters`, and none contains a CR. Stopping for the
survey was correct; the ruling is to proceed.
Survey table (repo, attributes found, verdict), recorded here as ruled:
| Repo (deploy target) | Binding source | .gitattributes findings | Verdict |
|---|---|---|---|
| Ghostlight | idunn/yggdrasil/bindings/ghostlight.toml.in | none | clean |
| Ghostlight's gitlink vendor/eve -> Eve | same binding | packages/*/dist/** text eol=lf | transform present, but a no-op on stored LF content (Self's evidence above) |
| Odin | idunn/yggdrasil/bindings/odin.toml.in | none | clean |
| CodexConnector | idunn/yggdrasil/bindings/codex-connector.toml.in | none | clean |
| Muninn (raven-muninn) | idunn/yggdrasil/bindings/raven-muninn.toml.in | none | clean |
| Heimdall | deployment/idunn-bindings/heimdall.toml.template (a second, previously unlisted binding directory, installed live 2026-09-06) | none | clean |
| Heimdall's gitlink -> CultLib | same binding | * text=auto only (F12) | clean |
`freeze_exact` now writes every tree entry raw from the object store:
`git ls-tree -r -z` for the manifest, `git cat-file --batch` for content, with
no `git archive` anywhere in the path and so no attribute-driven transform of
any kind. Modes and symlinks are preserved exactly as the tree records them.
Gitlinks are frozen the same raw way, through the same primitive, at their
own path. LFS content is never fetched; `freeze_exact` now also returns
whether any materialized file is an LFS pointer (recorded in the frozen
result's own return value — not yet plumbed into `FrozenSourceReceipt`, which
has no field for it; that is follow-up scope, not this fix).
Deleted: `git_archive_into`, `materialize_gitlink_archive`, and the
now-unused `tar_program` field — the archive-and-extract path they built has
no remaining caller. `GitSourceDriver::new` no longer takes a tar program.
Tests:
- `freeze_exact_is_byte_exact_across_every_attribute_transform`: a fixture
with `eol=crlf`, `export-ignore`, `export-subst`, `ident`, a symlink, the
executable bit, and a Gitlink. Every frozen file's bytes are asserted equal
to `git cat-file blob` at the selected revision.
- `freeze_exact_matches_archive_when_untransformed_and_diverges_when_transformed`:
the deploy-equivalence test Self's ruling asked for. An `eol=lf` file over
already-LF content matches today's independently-reconstructed `git archive`
tree exactly; a second file with `eol=crlf` over the same LF content
diverges from it, so the equivalence check has teeth rather than trivially
passing for every fixture.
- `exact_git_blobs_become_root_owned_immutable_source_without_git_metadata`
(renamed from the git-archive-era test) now exercises `materialize_tree_raw`.
- `tools/verify-mutations/cut1.psd1`: `cut1-fix-freeze-skips-gitlinks`
retargeted at the new call, and a new `cut1-fix-f2-revert-to-git-archive`
entry that reverts `materialize_tree_raw` to a `git archive | tar` pipeline;
it must die against the byte-exact test.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-22 16:36:50 +02:00
|
|
|
@{
|
|
|
|
|
Id = 'cut1-fix-f2-revert-to-git-archive'
|
|
|
|
|
Rule = 'freeze_exact writes blobs raw from the object store; it must never revert to git archive, which applies attribute-driven transforms.'
|
|
|
|
|
Test = 'drivers::tests::freeze_exact_is_byte_exact_across_every_attribute_transform'
|
|
|
|
|
Old = @'
|
|
|
|
|
fs::create_dir_all(destination)
|
|
|
|
|
.with_context(|| format!("creating {}", destination.display()))?;
|
|
|
|
|
let entries = self.git_tree_entries(repository, revision)?;
|
|
|
|
|
let blob_objects: Vec<String> = entries
|
|
|
|
|
.iter()
|
|
|
|
|
.filter(|entry| entry.kind == "blob")
|
|
|
|
|
.map(|entry| entry.object.clone())
|
|
|
|
|
.collect();
|
|
|
|
|
let blobs = self.read_blobs(repository, &blob_objects)?;
|
|
|
|
|
let mut lfs_pointer_paths = Vec::new();
|
|
|
|
|
for entry in &entries {
|
|
|
|
|
let target = destination.join(&entry.path);
|
|
|
|
|
if let Some(parent) = target.parent() {
|
|
|
|
|
fs::create_dir_all(parent)?;
|
|
|
|
|
}
|
|
|
|
|
match entry.mode.as_str() {
|
|
|
|
|
"100644" | "100755" => {
|
|
|
|
|
let content = blobs
|
|
|
|
|
.get(&entry.object)
|
|
|
|
|
.context("Git cat-file --batch omitted a requested blob")?;
|
|
|
|
|
fs::write(&target, content)
|
|
|
|
|
.with_context(|| format!("writing {}", target.display()))?;
|
|
|
|
|
#[cfg(unix)]
|
|
|
|
|
{
|
|
|
|
|
use std::os::unix::fs::PermissionsExt;
|
|
|
|
|
let mode = if entry.mode == "100755" { 0o755 } else { 0o644 };
|
|
|
|
|
fs::set_permissions(&target, fs::Permissions::from_mode(mode))?;
|
|
|
|
|
}
|
|
|
|
|
if is_lfs_pointer(content) {
|
|
|
|
|
lfs_pointer_paths.push(entry.path.clone());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
"120000" => {
|
|
|
|
|
let content = blobs
|
|
|
|
|
.get(&entry.object)
|
|
|
|
|
.context("Git cat-file --batch omitted a requested blob")?;
|
|
|
|
|
let link_target = std::str::from_utf8(content)
|
|
|
|
|
.context("frozen source symlink target is not UTF-8")?;
|
|
|
|
|
#[cfg(unix)]
|
|
|
|
|
std::os::unix::fs::symlink(link_target, &target)
|
|
|
|
|
.with_context(|| format!("creating symlink {}", target.display()))?;
|
|
|
|
|
}
|
|
|
|
|
"160000" => {
|
|
|
|
|
// Gitlinks are materialized by the caller, which knows
|
|
|
|
|
// each one's admitted origin; this entry only reserves
|
|
|
|
|
// the directory.
|
|
|
|
|
}
|
|
|
|
|
other => bail!(
|
|
|
|
|
"frozen source tree entry {} has an unsupported mode {other}",
|
|
|
|
|
entry.path.display()
|
|
|
|
|
),
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
Ok(lfs_pointer_paths)
|
|
|
|
|
'@
|
|
|
|
|
New = @'
|
|
|
|
|
fs::create_dir_all(destination)
|
|
|
|
|
.with_context(|| format!("creating {}", destination.display()))?;
|
|
|
|
|
let mut archive = self.git_command([
|
|
|
|
|
OsString::from("-C"),
|
|
|
|
|
repository.as_os_str().to_owned(),
|
|
|
|
|
OsString::from("archive"),
|
|
|
|
|
OsString::from("--format=tar"),
|
|
|
|
|
OsString::from(revision),
|
|
|
|
|
])?;
|
|
|
|
|
archive.stdout(Stdio::piped()).stderr(Stdio::piped());
|
|
|
|
|
let mut archive = archive.spawn().context("starting Git archive")?;
|
|
|
|
|
let archive_stdout = archive.stdout.take().context("Git archive has no stdout")?;
|
|
|
|
|
let mut extractor = Command::new("/bin/tar");
|
|
|
|
|
extractor
|
|
|
|
|
.args([
|
|
|
|
|
OsString::from("--extract"),
|
|
|
|
|
OsString::from("--file=-"),
|
|
|
|
|
OsString::from("--directory"),
|
|
|
|
|
destination.as_os_str().to_owned(),
|
|
|
|
|
OsString::from("--no-same-owner"),
|
|
|
|
|
])
|
|
|
|
|
.stdin(Stdio::from(archive_stdout))
|
|
|
|
|
.stdout(Stdio::null())
|
|
|
|
|
.stderr(Stdio::piped());
|
|
|
|
|
let extractor = extractor.spawn().context("starting tar extractor")?;
|
|
|
|
|
let archive_output = archive.wait_with_output().context("waiting for Git archive")?;
|
|
|
|
|
let extractor_output = extractor.wait_with_output().context("waiting for tar extractor")?;
|
|
|
|
|
ensure!(archive_output.status.success(), "Git archive failed");
|
|
|
|
|
ensure!(extractor_output.status.success(), "tar extraction failed");
|
|
|
|
|
Ok(Vec::new())
|
|
|
|
|
'@
|
|
|
|
|
}
|
Cut 1: one step primitive and one freeze primitive (behaviour-preserving)
Deletes the driver-private Docker argv assembly in run_in_workspace and
base_run_args and the OperatorBinding/CompiledDeploymentPlan coupling inside
GitSourceDriver::freeze's fetch-and-archive core. Both become one shared
primitive apiece, the shape Cut 4's verify worker will reuse instead of
growing a second copy:
- ContainerSpec + docker_run_args(spec, workspace, working_directory, argv):
a plain, pure lowering to the exact `docker run` argv. ContainerSpec::for_step
is the one constructor (a DockerRunnerBinding, a step's required
environment, and the source stamp); it does the cache-root and secret
validation against the filesystem before docker_run_args ever runs.
run_in_workspace and materialize_external_input both build a ContainerSpec
and call docker_run_args now; base_run_args is gone (rg '"--cap-drop"'
src/ has exactly one hit).
- ExactSource {origin, checkout, gitlinks, recipe_path} plus
GitSourceDriver::freeze_exact(&ExactSource, revision, transaction_id, root),
which fetches, archives and hardens an exact revision with no
OperatorBinding or compiled plan. freeze() now derives an ExactSource from
the binding, keeps its own verify_exact_source pre-check against the
durable resolution, and delegates the archive to freeze_exact.
- A StepPort trait (DockerRunnerDriver::run_step) that runs a lowered step
and returns exit status plus a bounded stderr tail instead of bailing.
Not yet reached from materialize (Cut 4 wires it into the verify worker);
deploy keeps DockerRunnerDriver::docker's existing bail-on-failure error
text unchanged.
materialize_external_input's curl step now goes through the same lowering,
which adds a harmless --workdir /workspace and one inert IDUNN_EXTERNAL_INPUT_ID
env var to its argv; curl's behavior (an absolute --output path) is
unaffected. materialize_gitlink_archive's cache-directory name changed from
the operator binding's target label to a hash of the checkout path, since
ExactSource carries no target field; this is bookkeeping only; a UUID
already made every gitlink checkout unique.
Adds three unit tests: container_spec_lowers_to_exact_docker_argv pins the
full docker run argv; required_environment_is_the_only_environment pins F6
(a binding environment entry the step does not require never leaks in);
freeze_exact_is_byte_exact_and_recipe_checked and its negative twin
freeze_exact_rejects_a_recipe_the_archive_transforms (an export-subst
recipe, which git archive substitutes and git cat-file does not) exercise
freeze_exact directly, with no OperatorBinding in sight.
tools/verify-mutations/cut1.psd1 covers all five rules with a revert or
loosening mutant apiece, run through the Eureka harness in the stopgap
container. Verified on Yggdrasil at this commit: cargo test --lib is 130
passed, 0 failed, 2 ignored (the P1 baseline of 126/2 plus these four new
tests), and every mutation entry was killed by its own test.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-22 15:46:57 +02:00
|
|
|
)
|
|
|
|
|
}
|