Repository navigation
L04-06: revalidate exact published bytes with explicit state and impact scope (#38) - #216
Merged
Merged
Conversation
mberrys
force-pushed
the
l04-06-published-bytes
branch
from
October 5, 2026 12:54
8ade757 to
afe5f8c
Compare
mberrys
force-pushed
the
l04-06-published-bytes
branch
from
October 5, 2026 12:59
afe5f8c to
276942c
Compare
mberrys
force-pushed
the
l04-06-published-bytes
branch
from
October 5, 2026 14:04
276942c to
cf015d5
Compare
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
L04-06 (#38), slice 6 of the L04 Governed Operation Engine stack (refs #5). Revalidation now reads the bytes that were actually published, names its outcome in explicit states, and can run an impact-driven targeted inspection instead of always running the full profile. The finding delta is computed on the published bytes and folded into the revalidation report digest, so sign-off sees a final-byte verdict.
Stack position
Slice 6 of 8. Base:
l04-05-execution-gateway(#215). Children stack on this branch; land bottom-up.Per-criterion: already satisfied vs built here
PDFGovernedExecutionRevalidationgainsstate(complete/incomplete/error),reason_code,reason;isSignOffEligiblerequirescomplete; the finding delta + scope mode + baseline digest are folded into the report soreportSha256covers themartifact-unreadable,artifact-digest-mismatch,artifact-reopen-failed); an emptyexpectedSha256is refused (expected-digest-missing) instead of silently skipping the binding; surface statuses extended (repair report, action-list governed summary, PageMaster manifest)PDFGovernedRevalidationScope(plan + impact + baseline); a targeted plan is honored only when the declared impact is complete and a baseline exists; undeclared/incomplete/document-wide/no-baseline fall back to full (fail-closed); targeted-vs-full equivalence fixtureRequired proof
python scripts/agent/check-change.py --base e16a8cd4 --head cf015d5e --head-branch l04-06-published-bytes --build-dir <loop-build-l04>-> status: pass, 77/77 checks (LoopLibCore/PdfTool/loop-pdf-worker builds, mapped suites, clang-tidy, format, changelog, architecture contracts).8ade7579. The stack rebase left this slice's own diff unchanged (patch-id verified) and the only later edit is a documentation-only fragment correction, so the proof carries for the code; CI re-runs the mapped lanes on the head above.agent-fastis authoritative.Notes
Closes #38.PreflightEngine::run(QJsonObject)so the effective profile digest is unchanged for existing callers.Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.