Repository navigation
feat(cycle): scope authorized actions and stabilize native temp paths - #266
Conversation
|
Native stages now use isolated temporary directories with fixed helper names, and each writing, verification, or coordination skill states the actions its workflow already authorizes. Shared conventions preserve user decisions and each role's publication boundary, including explicit host Docker permission. DiagnosisClassification: The invariant is that authorization stays within each skill's documented workflow, and every native dispatch owns one writable temporary directory outside its checkout for its entire lifetime. The implementation extends the existing scratch lifecycle, preserves Codex Git and network protections, and validates the instruction contracts rather than checking agents' filename choices at runtime. Related searches were widened across authorization, TMPDIR, linked work, and merged changes: #135, #142, #182, #239, #240, #245, #264, and #265. Host approval guidance, answer recovery, optional auto-answering, and Orca temporary paths remain in their respective work items. No other open work item is claimed as implemented. Work units
VerificationAgent-reported evidence; conclusion
The first full-suite attempt exceeded the tool's two-minute limit; the complete rerun passed in 145.242 seconds. Tests use disposable repositories, configured test Git identities, and fake agents, matching the suite's CI assumptions without live model credentials. Actual model dispatch and Windows execution were not performed locally. CompatibilityRules matching the v0.6.1 temporary prefix CI policy is Implementation resultStatus: Routing: profile The single snapshot for this head reports 0 passed, 0 failed, and 5 pending:
|
[CCR-20261017-001] · reviewer · anthropic/claude-sonnet-5-5→? · high · schema:2Initial review — PR #266 (work item #141)Status: REVIEW_PASSED_AWAITING_CI. Review complete for head ScopeAccumulated diff FindingsNone.
Security triage
No vulnerability or potential risk found. Verification (executed in a disposable copy)
Unverified
CI (read once, not waited on)
Residual risks
VerdictNo blocking findings on head ORCHESTRATION_RESULT (JSON)ORCHESTRATION_RESULT |
[CCR-20261017-002] · reviewer · anthropic/claude-sonnet-5-5→? · high · schema:2Initial review — PR #266 (work item #141)Status: REVIEW_PASSED_AWAITING_CI. Review complete for head Recovered attempt verificationRecovered attempt ScopeAccumulated diff FindingsNone.
Security triage
Verification (executed in the disposable clone, bytecode writes disabled)
Unverified
CI (read once, not waited on)
Residual risks
VerdictNo blocking findings on head ORCHESTRATION_RESULT (JSON)ORCHESTRATION_RESULT |
Native stages now use isolated temporary directories with fixed helper names, and each writing, verification, or coordination skill states the actions its workflow already authorizes. Shared conventions preserve user decisions and each role's publication boundary, including explicit host Docker permission.
Work item: #141 — #141
Diagnosis
Classification:
feature_request. Decision:implement. No defect reproduction is claimed. Code inspection confirmed that_native_review_scratchreturned immediately for writing stages, while shared conventions lacked the requested role-specific authorization lists and stable helper instructions.The invariant is that authorization stays within each skill's documented workflow, and every native dispatch owns one writable temporary directory outside its checkout for its entire lifetime. The implementation extends the existing scratch lifecycle, preserves Codex Git and network protections, and validates the instruction contracts rather than checking agents' filename choices at runtime.
Related searches were widened across authorization, TMPDIR, linked work, and merged changes: #135, #142, #182, #239, #240, #245, #264, and #265. Host approval guidance, answer recovery, optional auto-answering, and Orca temporary paths remain in their respective work items. No other open work item is claimed as implemented.
Work units
code-cycle-tmp-directories, fixed helper instructions, preserved permission rules, and automatic cleanupscripts/executors.py,scripts/run_cycle.py,tests/test_executors.py,tests/test_run_cycle.py,docs/role-workspace-policy.md,docs/routing.md07838101224ce755790f4c615fab5620b862c096, because its instruction contract expects this runtime supportskills/*/SKILL.mdfiles,scripts/validate-package.py,tests/test_validate_package.py,CONTRIBUTING.md,CHANGELOG.md6b8f0653c83ef0ab29c789b79cadfc724ebdabfbVerification
Agent-reported evidence; conclusion
verified, boundaryrequired.python3 scripts/validate-package.pypython3 -m unittest discover -s tests -p test_executors.pypython3 -m unittest discover -s tests -venv PYTHONPATH=tests python3 -m unittest test_executors.NativeScratchTests test_executors.ReadOnlyVerificationTests.test_native_reviews_can_create_temporary_files_without_changing_checkoutgit diff --checkThe first full-suite attempt exceeded the tool's two-minute limit; the complete rerun passed in 145.242 seconds. Tests use disposable repositories, configured test Git identities, and fake agents, matching the suite's CI assumptions without live model credentials. Actual model dispatch and Windows execution were not performed locally.
Compatibility
Rules matching the v0.6.1 temporary prefix
<parent>/code-cycle-review-tmp-*must migrate to<parent>/code-cycle-tmp-*. Orca workers keep their existing lifecycle. Host Docker access still requires an explicit grant.CI policy is
parallel: this stage reads the pushed head's checks once; the cycle's CI gate owns the wait.Closes #141