-
Notifications
You must be signed in to change notification settings - Fork 0
fix(review): publish substantive OpenCode LLM evidence #946
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
0c34296
fix(review): publish substantive OpenCode LLM evidence
seonghobae efc069b
Merge branch 'main' into fix/opencode-llm-evidence-binding
opencode-agent[bot] 2246ffb
Merge branch 'main' into fix/opencode-llm-evidence-binding
opencode-agent[bot] 9a756e8
Reconcile current main for llm-evidence fix
seonghobae 2080617
Merge remote-tracking branch 'origin/main' into HEAD
seonghobae ffddeb9
Merge branch 'main' into fix/opencode-llm-evidence-binding
opencode-agent[bot] 0b033fe
Merge branch 'main' into fix/opencode-llm-evidence-binding
opencode-agent[bot] 7e96ca2
fix(ci): align review evidence with secure gate contracts
seonghobae 8cbc345
Merge branch 'main' into fix/opencode-llm-evidence-binding
opencode-agent[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| # OpenCode LLM review publication | ||
|
|
||
| ## Decision | ||
|
|
||
| OpenCode remains the review reasoner. Deterministic code may repair only the | ||
| serialization binding between an LLM-authored adversarial probe's structured | ||
| `path`/`line` and the SHA-256 of that exact immutable current-head source line. | ||
| It must not create or alter the hypothesis, counterexample, observed result, | ||
| outcome, finding, or verdict. | ||
|
|
||
| ## Root cause | ||
|
|
||
| Production run `31310130263` invoked NVIDIA NIM and OpenCode free models, but | ||
| several substantive control blocks were discarded even when they carried an exact | ||
| source-line receipt because the prose omitted the duplicated `path:line` citation. | ||
| Noema is intentionally dispatched only after an exact-head OpenCode approval, | ||
| so this publication failure suppressed both review identities. | ||
|
|
||
| ## Safety boundary | ||
|
|
||
| Repair is attempted only when original model evidence already contains an | ||
| independent proof class and an observed result. The trusted current-head tree | ||
| must resolve the structured path and line. A path whose POSIX parts include | ||
| `..` is left unchanged (CWE-22; MITRE, n.d.). Changed-file, source-tree, | ||
| runtime-receipt, duplicate-probe, outcome, finding-location, coverage, | ||
| language, and publication gates still run afterward. Unsupported prose | ||
| continues to return `NO_CONCLUSION`. | ||
|
|
||
| ## Verification | ||
|
|
||
| The regression suite proves canonical path/line repair only when an exact receipt | ||
| already exists, refusal to invent an observed result, rejection of missing or mismatched | ||
| receipts, and preservation of malformed and | ||
| unverifiable shapes, full normalizer behavior, branch coverage, docstrings, | ||
| compileability, and a clean worktree. | ||
|
|
||
| ## References | ||
|
|
||
| MITRE. (n.d.). *CWE-22: Improper limitation of a pathname to a restricted | ||
| directory ('path traversal')*. Retrieved August 13, 2026, from | ||
| https://cwe.mitre.org/data/definitions/22.html | ||
|
|
||
| National Institute of Standards and Technology. (2020). *Security and privacy | ||
| controls for information systems and organizations* (NIST Special Publication | ||
| 800-53 Rev. 5). https://doi.org/10.6028/NIST.SP.800-53r5 |
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.