Skip to content

Block OpenCode approval on stale fact evidence#8

Merged
seonghobae merged 1 commit into
mainfrom
codex/opencode-fact-gate-20260621
Jun 21, 2026
Merged

Block OpenCode approval on stale fact evidence#8
seonghobae merged 1 commit into
mainfrom
codex/opencode-fact-gate-20260621

Conversation

@seonghobae

Copy link
Copy Markdown
Contributor

Summary

  • add current-head docs tree evidence to OpenCode review input before it judges docs/assets claims
  • re-query unresolved, non-outdated human review threads immediately before publishing APPROVE
  • add a tiny runnable contract smoke test for this OpenCode fact gate

Why

This rolls out the org-level fix proven in ContextualWisdomLab/naruon#664. The failing mode was: OpenCode prepared evidence, a human review thread arrived afterward, and approval still happened without a fresh thread/fact check.

Branch model

  • Default branch: main
  • Flow: GitHub Flow

Validation

  • bash scripts/ci/test_opencode_fact_gate_contract.sh
  • git diff --check -- .github/workflows/opencode-review.yml scripts/ci/test_opencode_fact_gate_contract.sh
  • actionlint -shellcheck "" .github/workflows/opencode-review.yml

@github-actions

Copy link
Copy Markdown
Contributor

OpenCode Review Overview

  • Head SHA: 70e7382793d86d44c4b2c37d31000dfc2375dd75
  • Workflow run: 27892013501
  • Workflow attempt: 1
  • Gate result: APPROVE (exit 0)

@opencode-agent opencode-agent Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OpenCode Agent approved this PR.

PR adds documentation tree and human review thread checks to OpenCode workflow. New contract test ensures required strings are present.

  • Result: APPROVE
  • Reason: Changes are well-structured and add important checks for documentation evidence and human review threads. No security issues or regressions found.
  • Head SHA: 70e7382793d86d44c4b2c37d31000dfc2375dd75
  • Workflow run: 27892013501
  • Workflow attempt: 1

@seonghobae seonghobae merged commit 3eade56 into main Jun 21, 2026
1 check passed
@seonghobae seonghobae deleted the codex/opencode-fact-gate-20260621 branch June 21, 2026 03:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant