Skip to content

fix(opencode): prove asyncio coverage plugin without colliding #896 - #1060

Draft
cursor[bot] wants to merge 3 commits into
mainfrom
cursor/bc-7985009a-7af7-43f9-bfc7-57773c1cc815-f882
Draft

fix(opencode): prove asyncio coverage plugin without colliding #896#1060
cursor[bot] wants to merge 3 commits into
mainfrom
cursor/bc-7985009a-7af7-43f9-bfc7-57773c1cc815-f882

Conversation

@cursor

@cursor cursor Bot commented Aug 16, 2026

Copy link
Copy Markdown

Buyer-visible next action

Use this branch instead of #819 for the asyncio coverage-toolchain landing. #819's lock pin is correct. Its current head also edits root AGENTS.md, ARCHITECTURE.md, and CLAUDE.md, which #896 already owns, and its contract only string-matches the helper.

What this head keeps

  • pytest-asyncio==1.4.0 and typing-extensions==4.16.0 in the hash-pinned OpenCode review lock
  • scripts/ci/ensure_opencode_asyncio_toolchain.sh as the isolated python3 -I import wrapper
  • hashed opencode-review-dispatch.yml unchanged, because tests/test_opencode_agent_contract.py pins that smoke import

What this head adds

  • Revert the three root ADR files to protected main so this change does not collide with docs: establish authoritative automation control-plane specifications #896
  • Contract proof that the lock stanzas carry SHA-256 hashes
  • Contract proof that the helper import runs in the quality interpreter
  • Contract proof that the hashed dispatch smoke is not rewritten
  • A marked coroutine that must execute, not merely collect
  • Doctoring that states the sandbox path (lock install + plugin autoload) and cites PEP 492, NIST SP 800-218, and pytest-asyncio 1.4.0 in APA 7

Merge gate

Do not merge #819 and this PR together. Prefer this head. Require independent non-author exact-head review. Do not self-approve.

Open in Web View Automation 

seonghobae and others added 2 commits August 17, 2026 01:46
Add hash-pinned pytest-asyncio and a fail-closed import helper so marked
asyncio tests can run in the coverage sandbox without rewriting the
review-agent dispatch blob.
Keep the hash-pinned pytest-asyncio lock from #819, revert root ADR
edits owned by #896, and replace
string-only contracts with hash, helper-import, dispatch-invariant,
and marked-coroutine evidence.

Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
Execute the isolated pytest-asyncio import after the hash-lock install
and collect a marked buyer-style coroutine. Keep root AGENTS.md,
ARCHITECTURE.md, and CLAUDE.md on #896.

Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
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.

2 participants