Skip to content

test(calibration): invariant — live capture confidence varies with finding inputs#8260

Merged
JSONbored merged 1 commit into
mainfrom
test/live-confidence-variance-invariant
Jul 23, 2026
Merged

test(calibration): invariant — live capture confidence varies with finding inputs#8260
JSONbored merged 1 commit into
mainfrom
test/live-confidence-variance-invariant

Conversation

@JSONbored

Copy link
Copy Markdown
Owner

Test-only follow-up honoring #8243's surviving requirement, per the scope reconciliation recorded on the issue: the gate review on its closing PR correctly noted the literal scope (fix a live constant-1.0 writer) had been reframed after the investigation disproved its premise — the constant came from the retired legacy pipeline. The requirement that still applied is the invariant test, pointed at the live path: three findings with three different confidences must record three distinct values through recordConfiguredGateBlockerSignals, so a regression to constant-confidence capture — the exact failure mode that blinded the historical decision layer while 38% of its closes reversed — can never land silently again.

Suite green (22/22). No src changes.

Advances #8243

…nding inputs (#8243 follow-up)

The historical ledger's decision layer stamped a constant 1.0 on every
close while 38% reversed. The live capture writers are the corpus the
armed loops now act on, so this pins that their confidence axis is real:
three findings with three confidences must record three distinct values,
byte-for-byte. A regression to constant-confidence capture — the exact
failure mode #8243 documented — can no longer land silently.

Honors the surviving requirement from #8243's reconciled scope (the gate
review on its closing PR correctly noted the literal scope had been
reframed; this is the piece that still applied, pointed at the live path).
@JSONbored JSONbored self-assigned this Jul 23, 2026
@JSONbored
JSONbored merged commit 6908be7 into main Jul 23, 2026
5 checks passed
@JSONbored
JSONbored deleted the test/live-confidence-variance-invariant branch July 23, 2026 15:57
@superagent-security

Copy link
Copy Markdown
Contributor

Superagent didn't find any vulnerabilities or security issues in this PR.

@codecov

codecov Bot commented Jul 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.61%. Comparing base (8e34212) to head (7327ebc).
⚠️ Report is 4 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8260      +/-   ##
==========================================
- Coverage   92.14%   91.61%   -0.53%     
==========================================
  Files         785      785              
  Lines       78715    78715              
  Branches    23759    23759              
==========================================
- Hits        72531    72116     -415     
- Misses       5062     5524     +462     
+ Partials     1122     1075      -47     
Flag Coverage Δ
shard-1 50.87% <ø> (-0.60%) ⬇️
shard-2 55.15% <ø> (-0.68%) ⬇️
shard-3 54.28% <ø> (-0.58%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 3 files with indirect coverage changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant