Skip to content

Require string task IDs in saved creation records (T58) #225

Closed

Description

@erickb336

Follow-up to #221/#223, parent #88.

A saved task result must use a string task ID. The current validator checks its ID with a regular expression, which can coerce an array such as ["T1"] into a matching string. A checksum-valid malformed recovery intent can therefore pass the preflight and publish tables before the later strict ID lookup refuses it.

Require a string before the ID format check. Add deterministic damaged-receipt and partial-intent controls that assert refusal before table publication, preserve the pending intent and any existing receipt, and create no duplicate task. Keep historical retries and normal creation unchanged.

Prove the new tests fail behaviorally on detached main. Run build/check, focused and full suites, exact-head CI, and the task-creation native probe. Complete two independent code/security/QA cycles on the final head.

This repairs the saved-record integrity contract. It does not claim protection against a hostile writer with direct access to the logbook. Do not change Claude's active functions or add run-creation APIs.

Activity

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