Skip to content

Codex native command argument validation (T6) #126

Closed

Description

@erickb336

Sage task T6 (Codex logbook)

Part of #88. Extract native command-argument validation as a separate, reviewable component. Keep #88 open until the full installed workflow meets its acceptance criteria.

The decoder must preserve supplied command fields, null values, omissions, and permission requests. It must reject unknown fields and malformed values with a fixed error. It must not grant permission, select an execution environment, or enable automatic Sage.

Acceptance:

  • Source and tests stay in the Codex package and its test file.
  • Tests cover preserved values, malformed fields, nested permission variants, sparse arrays, and accessor rejection.
  • Invalid input cannot expose underlying inspection or clone errors.
  • Generated files match the source.
  • Build, check, and the full suite pass.
  • The PR states which tests fail on main because the component is absent, and which expose a defect in the prior implementation.

Policy integration and native execution-context verification remain separate work under #88. No Claude-owned files are part of this task.

Activity

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