Harden OpenCode review gate#352
Conversation
There was a problem hiding this comment.
Pull request overview
OpenCode found current-head GitHub Check failures and could not approve until they are mapped to source-backed fixes.
Findings
Line-specific fallback findings:
No deterministic missing-string markers or Strix report locations were recognized. Use the failed-check evidence below to map each failed check to exact local source lines before approving.
Verification
- Review source: independent OpenCode failed-check diagnosis using current-head check evidence.
- Result: REQUEST_CHANGES
- Reason: one or more GitHub Checks failed on current head
ea9ee5ecacd152ff5e826677434163e562f18667.
Gate evidence
- Head SHA:
ea9ee5ecacd152ff5e826677434163e562f18667 - Workflow run: 27813512464
- Workflow attempt: 1
Failed checks:
- ci/gate / ci / rust-check: FAILURE (https://github.com/ContextWisdomLab/bandscope/actions/runs/27813512385/job/82309085308)
Failed check evidence for line-specific fixes:
Failed GitHub Check Evidence
- PR: #352
- Head SHA:
ea9ee5ecacd152ff5e826677434163e562f18667 - Repository:
ContextWisdomLab/bandscope
Line-specific repair contract
-
Treat the check logs and annotations below as diagnostic evidence, not as a complete review.
-
For each actionable failed check, inspect the local source or diff and identify the exact file line that must change.
-
OpenCode
REQUEST_CHANGESfindings must includepath,line,root_cause,fix_direction,regression_test_direction, andsuggested_diff. -
Do not request changes with only a GitHub Actions URL or a generic check name.
-
When Strix logs contain multiple
Vulnerability ReportorModel ... Vulnerabilities ...sections, include every model-reported vulnerability in the review evidence and findings, including model name, title, severity, endpoint, and Code Locations/path:line evidence when present. -
Create one OpenCode finding per Strix model vulnerability report; do not satisfy two model reports with one combined finding, even when titles or locations match.
Failed check: ci/gate / ci / rust-check
- Type:
check_run - Conclusion:
FAILURE - Details URL: https://github.com/ContextWisdomLab/bandscope/actions/runs/27813512385/job/82309085308
- Workflow run id:
27813512385 - Check run id:
82309085308
Failed job steps
- step 7: Check Tauri shell (failure)
Check annotations
- .github:27-27 [failure] Process completed with exit code 101.
Failed log excerpt
The failed job log could not be collected with gh run view --log-failed.
run 27813512385 is still in progress; logs will be available when it is complete
OpenCode Review Overview
OpenCode Agent did not produce a valid review payload after all current-head GitHub Checks completed.
No blocking review was submitted because this is an agent/runtime failure, not a source-backed code finding. |
Summary
GITHUB_TOKENfor review/comment publication when the OpenCode app token is unavailablebytes,camino, andweb_atomsUpdates #196. The
glib 0.18.5chain is still upstream-owned through Tauri/GTK/WebKit, so this does not close the tracked RustSec exception.Security Notes
GITHUB_TOKENwrite scope only for GitHub issue/PR review publication when the preferred OpenCode app token or approve token is unavailable.glibaudit exception model in place.Verification
./scripts/harness/quickcheck.shpython3 scripts/checks/verify_supply_chain.pyuv run --project services/analysis-engine pytest services/analysis-engine/tests/test_supply_chain_policy.py -q -k opencodeactionlint .github/workflows/opencode-review.ymlcargo audit --no-fetch --stalefromapps/desktop/src-tauricargo tree --target all -i glib@0.18.5fromapps/desktop/src-tauri