Repository navigation
feat(orchestrators): run the optional issue review before implementation - #117
Conversation
Both orchestrators now apply the runtime's issue-review gate from one shared section that the validator keeps identical and checks for the mode, skip rule, outcomes, escalation and read-only boundary. The Orca orchestrator dispatches the stage as a read-only worker before starting the implementer. Closes #115
[CCR-20260929-001] · reviewer · openai/?→? · ? · schema:1Review summaryReviewed the full accumulated diff from merge base Two blocking findings remain. Package validation and the complete local Python suite pass. All four GitHub checks are now passing. Findings[REV-001] · medium · open · - · blocks:yes — Require an isolated Orca workspacePath: When Orca cannot provide its own worktree, this instruction falls back to the current worktree. The existing workspace policy says Orca has no OS-level read-only permission and permits a review only in an explicit isolated workspace; it rejects a missing or overlapping workspace with no fallback ( [REV-002] · medium · open · - · blocks:yes — Define issue review for fixed executor modesPath: The workflow says invocation modes such as Security triageThe deterministic rule did not fire: VerificationPreflight found no application runtime, database, migration, service, or port requirements for the changed areas. Verification ran in a disposable full clone at the reviewed SHA with Python 3.10.12; the shared worktree remained clean.
An initial suite run from a source archive without Git metadata failed because tests inspect Git state. It was discarded and rerun in a full clone, where the suite passed. CIGitHub Actions reports all checks passed, with two workflow invocations for each job:
No pending, failed, cancelled, or skipped checks were present. No expected PR check was missing. Residual risk and verdictThe validator and test suite do not catch either workflow-policy conflict. The local Git reproduction confirms the Orca fingerprint is not a read-only guarantee; live Orca and fixed-mode dispatch remain unverified. Both findings block approval. Verdict: CHANGES_REQUESTED. |
[CCR-20260929-001] · reviewer · openai/?→? · ? · schema:1[CCT-20260929-002] · ? · ?/?→? · ? · triaged:9cabf6b6ef10b89fc17f8f693900c0186ac12eff · schema:1Review-comment resolution — PR #117Resolution status: [REV-001] · medium · resolved · valid · blocks:yes — Require an isolated Orca workspacePath: The issue-review worker must receive its own isolated worktree at the base head. If the installed Orca contract cannot create and select it, the run stops with [REV-002] · medium · resolved · valid · blocks:yes — Define issue review for fixed executor modesPath:
Verification
No blocking findings remain. Manual merge remains the repository workflow. |
[CCR-20260929-001] · reviewer · openai/?→? · ? · schema:1[CCT-20260929-002] · ? · ?/?→? · ? · triaged:9cabf6b6ef10b89fc17f8f693900c0186ac12eff · schema:1[CCR-20260929-003] · ? · anthropic/?→claude-opus-5-5 · ? · schema:1Rereview — PR #117Reviewed the full accumulated diff from merge base What changed since the previous review (
Previous findings[REV-001] · medium · resolved · valid · blocks:yes — Require an isolated Orca workspacePath: Fixed and verified by execution. The worker section now matches the workspace policy in [REV-002] · medium · resolved · valid · blocks:yes — Define issue review for fixed executor modesPath: Fixed and verified by execution. Both fixed modes now say where the stage runs, and an unconfirmed New findings[REV-003] · low · open · - · blocks:no — Docs still describe the Orca issue-review worker as merely read-onlyPath: The REV-001 fix changed the worker contract from a "read-only review workspace" to an isolated one with a [REV-004] · low · open · - · blocks:no — Missing blank line before
|
Bump both plugin manifests, the README badge, and the installer examples to 0.4.0, and move the Unreleased changelog entries under [0.4.0]. Bring the README in line with the orchestrator issue-review gate (#117): the quick start mentions the readiness check, the status table covers its stops, and the configuration table lists the issue_review= invocation parameter. Describe the Orca issue-review worker's workspace as isolated, with its BLOCKED stop and no fallback, in the docs, the changelog, and workflow step 4 (REV-003), and restore PEP 8 spacing in validate-package.py (REV-004).
Closes #115 — #115
What changes in the skills' behaviour
cc-orchestratorandcc-orca-orchestratorgain one shared section,## Issue review before implementation, which applies the same gaterun_cycle.pyapplies (issue_review.dispatch_decisionandissue_review.assessare named as the executable definitions):issue_review=auto|offin the invocation, thencode_cycle.issue_review.mode, thenauto; an unknown value or key stopsBLOCKEDbefore dispatching;autoskips only work declared difficulty 1 and not security-sensitive; unclassified work is reviewed;cc-issue-reviewis dispatched read-only with no publication permission, beforecc-implement-issue, and the checkout must be unchanged afterwards;READYcontinues. An unconfirmedREADY(low confidence or an unresolved material uncertainty) escalates once tosenior_reviewer, then stopsHUMAN_INTERVENTION.NEEDS_REFINEMENT→HUMAN_INTERVENTION,BLOCKED→BLOCKED, missing/malformed/other-work-item result →FAILED, all before implementation, with findings, evidence and proposed issue edits shown;IR-NNNfindings never enter theREV-xxxstate; resumed cycles never run the stage;offkeeps the previous flow.cc-orchestrator: newissue_reviewinput, workflow step 5 applies the gate,cc-issue-reviewstatuses listed.cc-orca-orchestrator: newissue_reviewinput, workflow step 4 dispatches the stage as a worker, a new### Issue review workersection (read-only review workspace, before/after head + porcelain check, escalated worker on thesenior_reviewerprofile orHUMAN_INTERVENTION, result read from its result file), a Task spec, and aFrom cc-issue-reviewdecision.Validator
check_issue_review_gatecompares the shared section byte for byte across both orchestrators, checks it states the mode, skip rule, everyissue_review.STATUSEStoken, the escalation and read-only boundary, and checks the Orca worker section states the read-only workspace. Four new regression tests cover a missing section, drifted copies, a lostoffsetting, and an Orca worker without a read-only workspace.Docs
docs/workflows.md,docs/skills.md,docs/review-cycle.md,docs/configuration.md, the CONTRIBUTING shared-section table, and CHANGELOG say the orchestrators apply the gate.Verification
python3 scripts/validate-package.py→ VALIDpython3 -m unittest discover -s tests→ 912 tests OKclaude plugin validate .→ passedNot changed: the issue-review result contract and the runtime gate from #110.