Repository navigation
Conversation
Assisted-by: Briar
|
Sandchest reviewed Sandchest reviews every change for vulnerabilities an attacker could use · Review details |
There was a problem hiding this comment.
Preloop review: changes_requested
Reviewed commit 58b40bfb41fb6f1b898369027b488928798278a9. This review covers that commit only.
Summary
# Review
- Reviewed HEAD:
58b40bfb41fb6f1b898369027b488928798278a9
- Reviewed base:974854c0f2db08485df2d3889a741593a98c829c(verified merge base with fetchedmain)
- Scope: complete three-file documentation diff plus surrounding Preloop documentation, workflows, and review-contract source.
- Method: source reading and Git inspection only. Repository scripts/tests were not executed.git diff --checkwas clean and changed internal links resolve. External GitHub App configuration, branch-protection state, and the live disabled state of the four workflows are not verifiable from the checkout.The diff consistently moves the main guidance toward the native Preloop GitHub App route, but the migration is incomplete and leaves current operational documents describing the retired Actions publisher/finalizer path.
## Findings
🟠 **Medium — The normal acceptance runbook still uses the retired route.**
docs/preloop-live-acceptance.md:3,34-42,54-56calls itself the normal route, requires inspection of publisher/finalizer runs, and requires thePreloop merge gate. This contradictsCONTRIBUTING.md:20and.github/PRELOOP-TROUBLESHOOTING.md:36-39, which say that publisher/finalizer and the old workflows are no longer active. Update the runbook for native controller publication andpreloop/review, or mark it historical.🟠 **Medium — The troubleshooting guide calls legacy integration documentation applicable.**
.github/PRELOOP-TROUBLESHOOTING.md:49-51says the linked integration documentation remains applicable, but.github/preloop/README.md:1-16now says it is legacy, not setup instructions, and not an authorised fallback. Relabel the link as historical-only and warn against using its setup/operation instructions.🟡 **Low — The diagnostic runbook still uses the disabled trigger.**
docs/preloop-diagnostic-reproduction.md:8-11says the existing trigger acceptsdiagnostic_execution_id, while.github/PRELOOP-TROUBLESHOOTING.md:36-39says that trigger is disabled. Mark the procedure legacy-only or document the supported native diagnostic path.🟡 **Low — The failure-report checklist asks for the wrong run evidence.**
.github/PRELOOP-TROUBLESHOOTING.md:43-45requests an Actions run URL after lines 8-11 explicitly state there is no bespoke Actions review job. Request the Preloop execution/publication URL and distinguish those from CI Actions runs.No source, security, privacy, build, or configuration code changed in this diff.
Findings (4)
1. [MEDIUM] (docs/preloop-live-acceptance.md:3,34-42,54-56)
The active acceptance procedure still directs operators through the retired Actions publisher/finalizer and
Preloop merge gate, contradicting the native review route introduced by this change.
fix
Update this runbook to use the native Preloop App execution, controller publication, and
preloop/reviewstatus, or clearly mark it historical and link the new delivery guide.
evidence
The new route says the legacy publisher/finalizer is inactive (
CONTRIBUTING.md:20) and the old review workflows are disabled (.github/PRELOOP-TROUBLESHOOTING.md:36-39), but this runbook still calls itself the normal route (docs/preloop-live-acceptance.md:3) and requires checks of the publisher/finalizer runs (docs/preloop-live-acceptance.md:34-42) and thePreloop merge gate(docs/preloop-live-acceptance.md:54-56).
2. [MEDIUM] (.github/PRELOOP-TROUBLESHOOTING.md:49-51)
The guide calls the now-legacy integration documentation applicable, directly contradicting its own disabled-route warning and the linked document's new legacy banner.
fix
Relabel the link as historical reference only and explicitly direct operators not to apply its setup or operation instructions.
evidence
The changed guide links to
preloop/README.mdas applicable (docs-relative.github/PRELOOP-TROUBLESHOOTING.md:49-51), while the linked file now says it is legacy, not the active route, not setup instructions, and not an authorised fallback (.github/preloop/README.md:1-16). The changed guide also says those workflows are disabled (.github/PRELOOP-TROUBLESHOOTING.md:36-39).
3. [LOW] (docs/preloop-diagnostic-reproduction.md:8-11)
The diagnostic runbook still instructs operators to dispatch the disabled legacy trigger workflow.
fix
Mark the procedure as legacy-only and unobtainable while the old workflow remains disabled, or document the supported native diagnostic/reproduction path.
evidence
This document says the existing trigger accepts
diagnostic_execution_id(docs/preloop-diagnostic-reproduction.md:8-11), but the changed guide states the old trigger is disabled and its sources are not a fallback (.github/PRELOOP-TROUBLESHOOTING.md:36-39).
4. [LOW] (.github/PRELOOP-TROUBLESHOOTING.md:43-45)
The failure-report checklist asks for an Actions run URL even though the new route has no bespoke Actions review run, which sends troubleshooters to the wrong evidence.
fix
Request the Preloop execution/publication URL and distinguish CI Actions runs from the removed review Actions flow.
evidence
The guide says there is no bespoke Actions review job to start manually (
docs:relative.github/PRELOOP-TROUBLESHOOTING.md:8-11) but then asks every native-failure report to include an Actions run URL (.github/PRELOOP-TROUBLESHOOTING.md:43-45).
Execution: https://preloop.ai/console/flows/executions/087ab195-4d7f-492b-89cc-4f97ed3ff80d
Posted by Preloop from the validated result of a read-only review run.
Assisted-by: Briar
Assisted-by: Briar
There was a problem hiding this comment.
Preloop review: changes_requested
Reviewed commit ab768493cc6b1a6982b4a5bd028291b3d4f8dd54. This review covers that commit only.
Summary
**Review scope**
- Reviewed merge-base-to-head diff974854c0f2db08485df2d3889a741593a98c829c...ab768493cc6b1a6982b4a5bd028291b3d4f8dd54on targetmain.
- Verified actual HEADab768493cc6b1a6982b4a5bd028291b3d4f8dd54and merge base974854c0f2db08485df2d3889a741593a98c829c; both equal the controller-bound revisions.
- Inspected all five changed documents plus surrounding Preloop workflows, result validation, publication contract, and related runbooks.
- This was a read-only static review. No repository code or tests were executed. External branch-protection settings and live workflow enablement were not independently verified; findings below are based on the checked-in documentation and source.**Findings**
- 🟠 Medium —docs/preloop-live-acceptance.md:49-58: The migration gate instructions conflict with the documented disabled workflows and withCONTRIBUTING.md:17-20. RequiringPreloop merge gatewhile its producer is disabled prevents new commits from satisfying protection; simultaneously telling contributors thatpreloop/reviewis already required leaves no unambiguous active configuration. Define one phase, or explicitly document a merge freeze.
- 🟡 Low —.github/preloop/README.md:3-7: The new native controller-publication claim conflicts withdocs/preloop-context-repair.md:65-66, which still says the existing trusted publisher is the sole publication owner and nativeplatform_reviewis not enabled. Update that runbook or mark it historical.
- 🟡 Low —docs/preloop-live-acceptance.md:29-35: The checklist omits the contract rule thatchanges_requestedmust include at least one blocking finding (review_contract.py:75-76). Add this criterion so manual acceptance rejects contradictory non-pass results as well as contradictory passes.**Conclusion**
Changes are requested because the documentation gives contradictory merge-gate and publication-ownership instructions.
Findings (3)
1. [MEDIUM] (docs/preloop-live-acceptance.md:49-58)
The migration guidance is operationally contradictory: it keeps a required status whose producing workflow is documented as disabled, while other current guidance says the replacement App status is already required. A disabled workflow cannot emit
Preloop merge gatefor new commits, so normal merges either block indefinitely or require an undocumented bypass.
fix
Define one migration phase explicitly. Before acceptance, either keep the old merge workflow enabled so its required context can be produced and do not claim
preloop/reviewis already required, or document an intentional merge freeze and remove conflicting current-state claims. After acceptance, remove the old gate and require only the App-produced status plus CI.
evidence
docs/preloop-live-acceptance.md:53-55says to retain the requiredPreloop merge gateuntil the native transition is accepted, while.github/PRELOOP-TROUBLESHOOTING.md:36-37says the old merge workflow is disabled. Separately,CONTRIBUTING.md:17-20says GitHub must already require the App'spreloop/reviewstatus alongside the two CI checks.
2. [LOW] (.github/preloop/README.md:3-7)
The new active-route documentation conflicts with an unmarked related runbook that still states the opposite publication authority. Operators searching the Preloop docs receive incompatible instructions about who owns publication.
fix
Update
docs/preloop-context-repair.mdto reflect controller publication, or clearly mark that document as historical and link to the active guide.
evidence
.github/preloop/README.md:3-6now says gameplay uses native App trigger and controller publication, but the still-current-lookingdocs/preloop-context-repair.md:65-66says to keep the existing trusted publisher as the sole publication owner and states the nativeplatform_reviewfeature is not enabled.
3. [LOW] (docs/preloop-live-acceptance.md:29-35)
The acceptance checklist omits a validation rule enforced by the repository contract, so a reviewer following the runbook could accept a
changes_requestedresult containing only LOW findings even though the publisher would reject it as contradictory.
fix
Add an acceptance criterion that a
changes_requestedresult must contain at least one blocking finding, and reject contradictory non-pass results as well as contradictory passes.
evidence
docs/preloop-live-acceptance.md:33-35requires rejecting contradictory passes and requiringsuccess=falsefor changes requested, but only says to reject contradictory passes..github/preloop/review_contract.py:75-76additionally requireschanges_requestedto contain at least one MEDIUM/HIGH/CRITICAL finding.
Execution: https://preloop.ai/console/flows/executions/1ce27b75-a155-4ae5-8f95-1c980c01e9fd
Posted by Preloop from the validated result of a read-only review run.
| Normal publication starts with unfinished-check semantics. Only the admitted | ||
| completion finalizer may release the final verdict after verifying the completed | ||
| producer and its evidence. The old retained-failure recovery is not applicable. | ||
| ## Check protection and merge |
There was a problem hiding this comment.
1. [MEDIUM]
The migration guidance is operationally contradictory: it keeps a required status whose producing workflow is documented as disabled, while other current guidance says the replacement App status is already required. A disabled workflow cannot emit
Preloop merge gatefor new commits, so normal merges either block indefinitely or require an undocumented bypass.
fix
Define one migration phase explicitly. Before acceptance, either keep the old merge workflow enabled so its required context can be produced and do not claim
preloop/reviewis already required, or document an intentional merge freeze and remove conflicting current-state claims. After acceptance, remove the old gate and require only the App-produced status plus CI.
evidence
docs/preloop-live-acceptance.md:53-55says to retain the requiredPreloop merge gateuntil the native transition is accepted, while.github/PRELOOP-TROUBLESHOOTING.md:36-37says the old merge workflow is disabled. Separately,CONTRIBUTING.md:17-20says GitHub must already require the App'spreloop/reviewstatus alongside the two CI checks.
| # Shared Preloop review publication — integration candidate | ||
| # Legacy Actions integration reference — not the active review route | ||
|
|
||
| Gameplay now uses the shared DD flow's native Preloop GitHub App trigger and |
There was a problem hiding this comment.
2. [LOW]
The new active-route documentation conflicts with an unmarked related runbook that still states the opposite publication authority. Operators searching the Preloop docs receive incompatible instructions about who owns publication.
fix
Update
docs/preloop-context-repair.mdto reflect controller publication, or clearly mark that document as historical and link to the active guide.
evidence
.github/preloop/README.md:3-6now says gameplay uses native App trigger and controller publication, but the still-current-lookingdocs/preloop-context-repair.md:65-66says to keep the existing trusted publisher as the sole publication owner and states the nativeplatform_reviewfeature is not enabled.
| Keep every finding, including LOW findings. Reject placeholders, incomplete | ||
| findings and contradictions between execution success, verdict and findings. | ||
| A terminal execution alone is not proof that GitHub received the result. | ||
| Read the authoritative complete result and its schema validation. Match head and |
There was a problem hiding this comment.
3. [LOW]
The acceptance checklist omits a validation rule enforced by the repository contract, so a reviewer following the runbook could accept a
changes_requestedresult containing only LOW findings even though the publisher would reject it as contradictory.
fix
Add an acceptance criterion that a
changes_requestedresult must contain at least one blocking finding, and reject contradictory non-pass results as well as contradictory passes.
evidence
docs/preloop-live-acceptance.md:33-35requires rejecting contradictory passes and requiringsuccess=falsefor changes requested, but only says to reject contradictory passes..github/preloop/review_contract.py:75-76additionally requireschanges_requestedto contain at least one MEDIUM/HIGH/CRITICAL finding.
There was a problem hiding this comment.
Preloop review: pass
Reviewed commit 4fb94d41b99a78bceaece61e6fec05242ca399be. This review covers that commit only.
Summary
## Review
Reviewed native checkout
DynamicDevices/game-playtesting-skillat head4fb94d41b99a78bceaece61e6fec05242ca399be, against merge base974854c0f2db08485df2d3889a741593a98c829c(actualorigin/maintip). The complete merge-base-to-head diff covers six documentation/configuration files:.github/PRELOOP-TROUBLESHOOTING.md,.github/preloop/README.md,CONTRIBUTING.md,docs/preloop-context-repair.md,docs/preloop-diagnostic-reproduction.md, anddocs/preloop-live-acceptance.md.Scope and checks:
- Read the complete diff and current versions of all changed files.
- Verified all added relative links resolve to existing repository files.
- Cross-checked documented CI names against.github/workflows/preloop-contract-tests.ymland.github/workflows/preloop-context-tests.yml.
- Cross-checked result-rule documentation against.github/preloop/native_result.pyand.github/preloop/review_contract.py.
- Rangit diff --check; no whitespace errors were reported.Limitations: GitHub App execution, live branch-protection settings, the external disabled state of legacy Actions workflows, and actual publication behavior are not representable in this checkout and were not independently verified. No repository code or tests were executed because this review was read-only.
No actionable findings. The changes consistently mark the legacy Actions integration as historical, document the intentional migration freeze, and preserve the read-only/error-not-pass safeguards.
Findings: none reported
Execution: https://preloop.ai/console/flows/executions/50e8349c-9262-4dd2-9ec7-290c2820126a
Posted by Preloop from the validated result of a read-only review run.

Change and user need
Document gameplay's migration to Alex's existing native DD Preloop App review flow. Ready PR events start the shared flow; the controller posts the review and
preloop/reviewstatus. The retained callback/publisher/finalizer sources are historical, not the active route or a fallback.Evidence and checks
Untested boundaries and review status
This PR is the substantive live native review/CI/automatic-merge acceptance candidate. Do not call it accepted from an enabled flow, local tests or this description. Verify the complete same-head/current-base result, real native App review/status, absence of blocking findings, required CI and actual protected merge. A failed, incomplete, placeholder or stale review blocks merging. No new provider, callback publisher, token, bootstrap exception or admin bypass is proposed.
Agent assistance
Assisted-by: Briar