Skip to content

Replace machine-speed hook cutoff with deterministic work bounds (T15) #255

Closed

Description

@erickb336

Sage task T15
Blocks final validation of #254; parent #88.

Observed failure

CI38983197924 at6ae4571 passed1492 tests and failed only existing F-T229-20. The one-megabyte writer/agent case used5140ms CPU against5000ms. Local full suite passed1493. Do not rerun until green or increase an arbitrary cutoff.

Required fix

Replace this machine-speed pass/fail assertion and its fastest-of-three retry with deterministic coverage of the bounded path work that F-T229-20 protects. Retain all input shapes, chief/agent cases, meaningful hook outcomes, and a broad child-process deadlock guard. Attack text goes only to the parser, never to a real shell. Instrument operation counts or use another justified deterministic invariant; demonstrate it catches the historical pathological work, not only the current implementation shape.

Keep performance observations separate from correctness gates. Update any check-count fixture consistently without weakening timing-check discovery. Do not change production hook policy or Claude-owned active work.

Use fake process commands, full build/check/tests, independent code/QA review, and CI. Keep this separate from the descendant-authority change. The owner prohibits flaky tight timing bounds and rerun-until-pass.

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