Repository navigation
Conversation
Add trusted default-branch review orchestration, exact signed publication bindings and offline security regressions. Alex retains bootstrap and development merges. Assisted-by: Briar
This branch has not been deployed
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.
Description
Draft — do not merge. The live shared-flow result contract is incompatible
with this publisher. Verified on 18 November 2026:
additionalProperties: falseand excludesdiff_sha256and
challenge; the publisher requires both inside the captured result.pass,changes_requestedorerror; the publisher acceptspass,pass_with_findingsorfail.locationandproblem; the renderer readsfile/lineand uses
evidenceas the problem, losing the intended location/problem fields.The official result endpoint returns the captured document, with separate
controller metadata; that is not evidence of the missing review bindings.
No paid review has been started. Resolve the supported contract, retain exact
diff/challenge checks, obtain a replacement exact-source signed service policy,
and complete independent review before recommending bootstrap merge. The
current setup grant does not allow changing the shared flow's schema/prompt.
Bootstrap scoped Preloop PR review for
DynamicDevices/ai-lab-testing, using theexisting DD shared review flow rather than another repository-specific flow.
Alex must review and merge this bootstrap before its trusted default-branch
workflows can review the separate badge/hook PR. This PR is not a claim that the
live review pipeline has passed, and it does not authorise an agent merge.
Changes
The controller never checks out PR-head code with review credentials. It records
a durable intent and owns the execution receipt. The publisher treats a terminal
GitHub status only as a wake-up, validates the authoritative exact-head result and
complete canonical diff, then publishes readable findings and an Actions-backed
check with independent publication read-back. Both jobs fail closed without the
current signed service policy; there is no committed grant fallback.
The result-reader uses a separate read-only key on the same stable principal as
the trigger because native execution reads are principal-owned. The unused
task-created reader principal has been retired. New keys were captured privately
in Bitwarden before installing the repository secrets; no values are in source.
Testing
identity/lifetime denial, stale revisions, altered receipts, skip/draft checks,
explicit-owned retry selection and complete results above former client limits.
Not yet proved: native review clone/exact checkout and deadline enforcement, the
real eligible PR execution, current GitHub secret-byte loading, complete readable
findings/no-findings publication and the independently verified exact-head
Preloop reviewcheck. Required independent specialist review is not replaced bythese offline tests or by hardware approval.
Activation and limits
The bootstrap cannot be its own already-deployed review gate. Alex retains its
manual review and merge. After merge, the badge/hook branch must be current with
main before its real review; no force-push or fabricated status is authorised.
The signed policy explicitly accepts the native API's fixed-model/approved-flow
configuration contract because native results do not report runtime model
identity. This is not stronger per-result model proof. Source, revision, workload,
receipt and publication checks remain mandatory.
Initial setup authority, service policy and CI keys expire 19 November 2026 at
16:45:53 GMT. Nothing renews them automatically. Branch protection, existing
CI, unrelated projects and the DD model/provider configuration are unchanged.
Checklist
(Briar helped draft this)