Skip to content

調査: Codex :workspace root default の対話 TUI runtime smoke で実効権限を確認する #1865

Closed as not planned

Description

@squne121

Machine-Readable Contract

contract_schema_version: v1
issue_kind: research
parent_issue: "#1859"
goal_ref: "Codex root default :workspace の実効権限を対話TUI runtime smokeで確認し、Safety Claim Matrixのnot_controlled claimを解消する"
change_kind: research-only

Parent Issue

#1859

Outcome

Issue #1859(root default を :workspace に設定するPR #1864)のSafety Claim Matrixで not_controlled として記録された「:workspace が実効権限として想定と異なる場合の停止条件」claimについて、(a) 対話TUI経由のSkill refreshがconfig errorなく完了すること、(b) read-only/write-capable custom agent(loop-protocol-readonly/loop-protocol-rtk)の実際の codex exec model dispatchが :workspace root default下で想定通りのfilesystem/network境界で動作することを人間または後続Agentが確認し、結果が本Issueコメントまたはartifacts/codex-permission-profile-smoke/配下に記録される状態。不一致が見つかった場合はimplementation issueが起票され、本Issueがそれをlinkする。

In Scope

  • 対話TUI(codexコマンドをterminalで起動)でのSkill refresh実行と、config errorが出ないことの確認
  • read-only custom agent(loop-protocol-readonly)と write-capable custom agent(loop-protocol-rtk)それぞれについて、codex exec --profile <agent> 等による実際のmodel dispatchを伴うruntime smoke
  • :workspace root defaultがactive workspace roots + system temporary directories以外への書込みを許可しないことの実地確認
  • 確認結果のIssueコメントまたはartifact記録

Out of Scope

  • .codex/config.toml / validator / testの追加変更(#1859で完了済み)
  • .codex/agents/*.toml のprofile変更
  • :danger-full-access や approval_policy = "never" への変更検討

Acceptance Criteria

  • AC1: 対話TUIでのSkill refresh実行結果(config errorの有無)が artifacts/codex-permission-profile-smoke/followup-1859/tui-skills-refresh.json に記録されている
  • AC2: loop-protocol-readonly custom agentの実際のmodel dispatchを伴うruntime smoke結果が artifacts/codex-permission-profile-smoke/followup-1859/agent-readonly-dispatch.json に記録されている
  • AC3: loop-protocol-rtk custom agentの実際のmodel dispatchを伴うruntime smoke結果が artifacts/codex-permission-profile-smoke/followup-1859/agent-rtk-dispatch.json に記録されている
  • AC4: 実効権限がSafety Claim Matrixの想定(:workspaceはactive workspace roots + system temporary directoriesへの書込みに限定)と一致するか不一致かの結論が artifacts/codex-permission-profile-smoke/followup-1859/conclusion.md に記録されている。不一致の場合は対応するimplementation issueが起票されlinkされている

Verification Commands

# AC1
$ test -f artifacts/codex-permission-profile-smoke/followup-1859/tui-skills-refresh.json
# AC2
$ test -f artifacts/codex-permission-profile-smoke/followup-1859/agent-readonly-dispatch.json
# AC3
$ test -f artifacts/codex-permission-profile-smoke/followup-1859/agent-rtk-dispatch.json
# AC4
$ test -f artifacts/codex-permission-profile-smoke/followup-1859/conclusion.md

Allowed Paths

  • artifacts/codex-permission-profile-smoke/followup-1859/

Stop Conditions

  • Outcome / Scope / AC が検索可能な形で記載されていない場合は即停止
  • Allowed Paths 外への書き込みを試みた場合は即停止
  • 権限不足(permission denied)により操作が完了できない場合は即停止
  • 成果物の書き込みに失敗した場合(I/O エラー等)は即停止

Handoff Contract

  • Current Objective
  • Bounded Current Context
  • Open Questions
  • Next Action
  • Artifact Refs

Activity

  1. squne121 commented on Jul 30, 2026

    @squne121
    OwnerAuthor

    PR #1864 内で、対話TUI Skill refresh、read-only/write-capable custom agentの
    実model dispatch、filesystem/network実効権限probe、SHA-bound evidenceの格納まで
    完了したため、本IssueのscopeはPR #1864へ統合済みです。

    Superseded by PR #1864.
    Evidence: artifacts/codex-permission-profile-smoke/pr-1864/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions