== MUTATION: the config is written BEFORE the proof
   RED on the mutant, GREEN on the real file
     --- FAIL: TestOldBox_MovesAndTheFingerprintIsClearedOnlyAfterTheProof (0.01s)
     pvetrust_test.go:254: order = [copy probe(fp="",ca=true) while the file says fp="" apply(fp="",ca=true)]
     --- FAIL: TestProofFails_TheFingerprintStays (0.00s)
     pvetrust_test.go:292: the config was written although the proof failed
== MUTATION: the proof's answer is ignored
   RED on the mutant, GREEN on the real file
     --- FAIL: TestProofFails_TheFingerprintStays (0.00s)
     pvetrust_test.go:288: the trust changed although the proof failed
== MUTATION: the write keeps the fingerprint
   RED on the mutant, GREEN on the real file
     --- FAIL: TestOldBox_MovesAndTheFingerprintIsClearedOnlyAfterTheProof (0.00s)
     pvetrust_test.go:250: the box did not move: &{Mode:fingerprint Problem:config_not_written Detail:the config did not read back as written (<nil>) — the old config was put back CANotAfter:2036-08-17T15:44:42Z CADaysLeft:0x21c7815067
     --- FAIL: TestPinnedBox_NewCertificate_HealsWithNoRestart (0.01s)
     pvetrust_test.go:319: the box is still blind after the move: proxmox: GET /version: Get "https://127.0.0.1:41039/api2/json/version": proxmox: TLS pin mismatch: server cert sha256 does not match configured fingerprint ([copy probe(
== MUTATION: a failed call on trust starts nothing
   RED on the mutant, GREEN on the real file
     --- FAIL: TestPinnedBox_NewCertificate_HealsWithNoRestart (0.01s)
     pvetrust_test.go:319: the box is still blind after the move: proxmox: GET /version: Get "https://127.0.0.1:33489/api2/json/version": proxmox: TLS pin mismatch: server cert sha256 does not match configured fingerprint ([])
== MUTATION: a refreshed copy is not reloaded by the running client
   RED on the mutant, GREEN on the real file
     --- FAIL: TestCARenewedWithTheSameKey_TheCopyIsRefreshedAndReloaded (0.00s)
     pvetrust_test.go:350: a refreshed copy must be proven and reloaded: [copy probe(fp="",ca=true) while the file says fp=""]
== MUTATION: an operator's own CA file is replaced
   RED on the mutant, GREEN on the real file
     --- FAIL: TestNeverMoved (0.01s)
     pvetrust_test.go:412: own CA file: moved ([copy probe(fp="",ca=true) while the file says fp="" apply(fp="",ca=true)])
== MUTATION: a box with checks switched off is moved
   RED on the mutant, GREEN on the real file
     --- FAIL: TestNeverMoved (0.01s)
     pvetrust_test.go:412: insecure: moved ([copy probe(fp="",ca=true) while the file says fp="" apply(fp="",ca=true)])
== MUTATION: a config that is not a file is 'moved' in memory
   *** NOT A RED-PROOF *** (mutant rc=0 built=True real rc=0)
== MUTATION: a failed config write still changes the running client
   RED on the mutant, GREEN on the real file
     --- FAIL: TestConfigCannotBeWritten_TheFingerprintStays (0.01s)
     pvetrust_test.go:391: the trust changed without a saved config: [copy probe(fp="",ca=true) while the file says fp="1e4a6394a6837f9a3d32139d497210b4403ed3a3d66804b723f5f99df055d20b" apply(fp="",ca=true)]
== MUTATION: the throttle removed
   *** NOT A RED-PROOF *** (mutant rc=1 built=False real rc=0)
     FAIL	gitea.dooplex.hu/admin/felhom-agent/internal/pvetrust [build failed]
     internal/pvetrust/pvetrust.go:155:2: declared and not used: tooSoon
== MUTATION: 'ends soon' never said
   RED on the mutant, GREEN on the real file
     --- FAIL: TestCopyEndsSoon (0.00s)
     pvetrust_test.go:438: status = &{Mode:ca Problem: Detail: CANotAfter:2026-11-26T00:00:00Z CADaysLeft:0x2200200ea7b8 MovedAt: CheckedAt:2026-11-14T15:32:23Z}

11 mutations, 2 not a red-proof

-- NOTE: the mutation „a config that is not a file is moved in memory” is NOT a red-proof and is not a rule: without that branch the write itself fails (there is no file) and the outcome is the same problem, the same unchanged client. The branch only gives a clearer log line.
== MUTATION: the throttle removed (done again: the first try did not compile)
   RED on the mutant, GREEN on the real file
     --- FAIL: TestOnCallError_Throttled (0.01s)
     pvetrust_test.go:457: a second failure inside the gap ran again: [copy probe(fp="",ca=true) while the file says fp="8e4954b82a48cda044d0ac88160dbb028ea5ba173a2afbe1d4fb1e067a3307ca"]

1 mutations, 0 not a red-proof

-- the wiring (cmd/felhom-agent/main.go)
== MUTATION: main.go does not feed a failed collect to the trust manager
   RED on the mutant, GREEN on the real file
     --- FAIL: TestMainWiresPVETrust (0.01s)
     pvetrust_wiring_test.go:59: main.go wires "hook" 0 time(s), want at least 1 (the two-call ones: at start and after a bundle install)
== MUTATION: main.go does not run the trust order at start
   RED on the mutant, GREEN on the real file
     --- FAIL: TestMainWiresPVETrust (0.01s)
     pvetrust_wiring_test.go:59: main.go wires "ensure" 1 time(s), want at least 2 (the two-call ones: at start and after a bundle install)
== MUTATION: main.go does not report the trust stanza
   RED on the mutant, GREEN on the real file
     --- FAIL: TestMainWiresPVETrust (0.01s)
     pvetrust_wiring_test.go:59: main.go wires "stanza" 0 time(s), want at least 1 (the two-call ones: at start and after a bundle install)

3 mutations, 0 not a red-proof
