fix: preserve accepted coverage through publication and recovery - #921
Draft
mldangelo-oai wants to merge 2 commits into
Draft
mldangelo-oai wants to merge 2 commits into
mldangelo-oai wants to merge 2 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Deep scan completion currently replaces source coverage with an empty, complete record. A completed reducer can therefore hide an audit's deferred work or unknown coverage.
Carry coverage from accepted audits through reduction, publication and recovery. For example, one complete audit no longer discharges another audit's unresolved hypothesis. Stacked on #905 to preserve its distinct-remediation repair.
Changes
Testing
Final head:
f3a30dc81b5afce390f1496ca57404737af368ad.build:ci, plugin source compatibility and its Node tests.0f24bb44: full Python 1,099 passed / 8 skipped, plus 109 subtests; full seeded SDK 3,008 passed / 50 skipped / 0 failed; SDK types, format and plugin build passed.0f24bb44passes the unchanged installed SDK and physically detached plugin checker. The final commit changes one unpackaged MCP test only.1102043008. Final formatting passed.The original full-MCP equality failure is retained. The correction imports the already existing versioned test without changing production behavior or dropping legacy-field assertions. An initial local types check could not write build metadata in its sandbox; the writable isolated check passes.
Risk and rollout
This fixes coverage reporting and recovery; scheduling, saturation counters, artifact retry ownership, commands and permission defaults stay unchanged. Existing finding and distinct-remediation behavior remains covered by the stacked parent.
Legacy accepted files retain their original shape and bytes. Any later writer integration must preserve its existing workflow compatibility, immutable-input receipt ownership and reader-before-writer ordering. This slice adds no migration or new writer activation. Native supported-platform CI remains to be observed. These deterministic tests do not establish scan quality, cost or latency equivalence.
Public disclosure review