mirror of
https://github.com/callstack/agent-device.git
synced 2026-09-14 20:06:34 +08:00
60400d04b7
* feat(mutation): add target-annotation-serde + snapshot-occlusion kernels Both are pure decision kernels the lane's own membership rule covers (target-annotation-serde: parse/validate/normalize the .ad comment-line codec, zero I/O; snapshot-occlusion: pure covered/not-covered decision where a wrong answer silently blocks or mis-allows a tap) but were excluded from KERNEL_MODULES. Fixing the harness's packages/*/src blind spot was required, not optional: test-scope.ts, ownership.ts, and vitest.mutation.config.ts all hardcoded `src/` as the only place a kernel's tests could live. target-annotation-serde's own tests live under packages/ad-script/src/internal/__tests__/, so without this fix the module would score 0% from day one — not from weak tests, but because its test file was silently invisible to the lane. Widened the same three places, plus mutation-affected.yml's path filter and isTestFile/ownedTestFiles in ownership.ts, to also recognize packages/*/src/**/*.test.ts (mirroring vitest.config.ts's own unit-core project include list). Triaged every surviving mutant from the initial run: real coverage gaps got a new/adjusted test (kill-with-test), everything else is documented equivalent with an inline comment at the mutation site explaining the invariant that makes it unobservable (redundant early-returns, JSON.stringify dropping undefined-valued keys, Number.isFinite/isSafeInteger's total-function safety, caller-enforced positiveRect/candidate invariants, etc). Baseline recorded from the actual measured run, not inherited or guessed: 94.03% (315/335) and 89.74% (175/195). * style: run the formatter over the four files the gate flagged
72 lines
1.7 KiB
JSON
72 lines
1.7 KiB
JSON
{
|
|
"schemaVersion": 1,
|
|
"requiredStableRuns": 2,
|
|
"stableRuns": 0,
|
|
"gating": false,
|
|
"modules": {
|
|
"kernel-errors": {
|
|
"score": 55.19,
|
|
"killed": 101,
|
|
"survived": 82,
|
|
"total": 183,
|
|
"strykerVersion": "9.6.1",
|
|
"configHash": "sha256:806d9f2e657f",
|
|
"updatedAt": "2026-07-27T14:29:40.750Z"
|
|
},
|
|
"daemon-ref-frame": {
|
|
"score": 100,
|
|
"killed": 55,
|
|
"survived": 0,
|
|
"total": 55,
|
|
"strykerVersion": "9.6.1",
|
|
"configHash": "sha256:806d9f2e657f",
|
|
"updatedAt": "2026-07-27T14:29:40.750Z"
|
|
},
|
|
"interaction-settle": {
|
|
"score": 68.95,
|
|
"killed": 151,
|
|
"survived": 68,
|
|
"total": 219,
|
|
"strykerVersion": "9.6.1",
|
|
"configHash": "sha256:806d9f2e657f",
|
|
"updatedAt": "2026-07-27T14:29:40.750Z"
|
|
},
|
|
"scroll-edge-state": {
|
|
"score": 28.75,
|
|
"killed": 92,
|
|
"survived": 228,
|
|
"total": 320,
|
|
"strykerVersion": "9.6.1",
|
|
"configHash": "sha256:806d9f2e657f",
|
|
"updatedAt": "2026-07-27T14:29:40.750Z"
|
|
},
|
|
"selectors": {
|
|
"score": 70.56,
|
|
"killed": 901,
|
|
"survived": 376,
|
|
"total": 1277,
|
|
"strykerVersion": "9.6.1",
|
|
"configHash": "sha256:806d9f2e657f",
|
|
"updatedAt": "2026-07-27T14:29:40.750Z"
|
|
},
|
|
"target-annotation-serde": {
|
|
"score": 94.03,
|
|
"killed": 315,
|
|
"survived": 20,
|
|
"total": 335,
|
|
"strykerVersion": "9.6.1",
|
|
"configHash": "sha256:8b633048f754",
|
|
"updatedAt": "2026-08-02T07:28:56.278Z"
|
|
},
|
|
"snapshot-occlusion": {
|
|
"score": 89.74,
|
|
"killed": 175,
|
|
"survived": 20,
|
|
"total": 195,
|
|
"strykerVersion": "9.6.1",
|
|
"configHash": "sha256:8b633048f754",
|
|
"updatedAt": "2026-08-02T07:28:56.278Z"
|
|
}
|
|
}
|
|
}
|