Skip to content

Refuse terminal Codex child tool calls after Sage off (T16) #258

Closed

Description

@erickb336

Closes issue scope: tracked Codex child tool permission after Sage off.
Sage task T16
Parent: #88

Reproduced defect

On main 443c00a, a previously bound Sage child can pass tool policy after its native turn becomes terminal when Sage is off. The same gap occurs when the turn becomes terminal while an awaited evaluator runs. Two detached-main checks fail with Missing expected rejection (2 tests, 0 pass, 2 fail). These use packaged production policy and transcript fixtures, not a live model.

Required result

  • A tracked child needs an active exact native turn before tool evaluation and again before permission returns, including after Sage off.
  • Preserve untracked off-mode behavior and genuine terminal-evidence ingestion. Do not fabricate completion or release capacity from this refusal.
  • Cover turn_aborted and task_complete, before and during awaited evaluation, both Sage modes, and unchanged admission state.
  • Preserve the authenticated task-update and descendant-authority fixes on current main.
  • Prove regressions on detached main; build/check/full tests and two independent code/security/QA cycles on the final head.

Codex owns this repair. Claude-owned #119, #105 and #67 remain untouched. This component does not close #239, #243, #246 or the upstream hook-failure gap, and does not enable automatic Sage.

Activity

  1. added
    codex
    on Oct 17, 2026
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

    codex

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions