Skip to content

Block OpenCode approval on stale fact evidence - #103

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

Block OpenCode approval on stale fact evidence#103
seonghobae merged 1 commit into
developfrom
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: develop
  • Flow: Git 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: 6a0907808a15b6ad2f76a0282c5bbd7e9807019a
  • Workflow run: 27892014921
  • Workflow attempt: 1
  • Gate result: APPROVE (exit 0)

@opencode-agent opencode-agent Bot left a comment

Copy link
Copy Markdown
Contributor

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.

The PR enhances OpenCode by adding docs tree evidence and a gate for unresolved human review comments. The changes are safe and well-tested.

  • Result: APPROVE
  • Reason: Changes improve OpenCode evidence and add a necessary gate for human review threads without introducing risks.
  • Head SHA: 6a0907808a15b6ad2f76a0282c5bbd7e9807019a
  • Workflow run: 27892014921
  • Workflow attempt: 1

@seonghobae
seonghobae merged commit 3304c3d into develop 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