Skip to content

Codex controller: owned process inspection and shutdown (T30) #293

Closed

Description

@erickb336

Sage task T30. Next controller component under #88, after merged transport PR #292.

Own one App Server process from startup through inspection and shutdown. The owner approved an opt-in terminal client; this component does not enable model turns, task admission or autopilot.

Scope:

  • Add a provider-local process adapter using the existing transport.
  • Add a narrow configuration-read operation; expose no generic RPC.
  • Keep the connection private. Process inspection must not expose thread, turn, command, MCP action, logbook or merge methods.
  • Preserve selected model/provider/permission defaults. Apply explicit controller restrictions with strict configuration validation.
  • Retain the owned handle when startup fails. Bound JSON frames and retained diagnostics; correctly handle split UTF-8, multiple frames, malformed data and stream failures.
  • Fence requests before stop. Observe actual owned-process/stream termination. Signals and timeouts are not proof of termination. Unresolved cleanup retains ownership and forbids replacement. Never enumerate processes or trust an external PID.
  • Use deterministic process/event controls, detached-main failure proof, a disposable native inspection control, build/check/full tests and two independent final-head code/security/QA cycles.

A known MCP server still initializes and appears in a restricted turn; explicit per-server disabling works for the tested endpoint. Full discovery, immutable policy admission, hierarchy, shared ownership and authoritative recovery remain required before live activation. This unit does not pretend configuration declarations enforce those rules.

Edit only provider sources and regenerate plugin output. Keep Claude-active board PR #288, deferred board #100, installed defaults and the separate principle-delivery experiment unchanged.

Activity

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