Skip to content

P11b: file-carried contracts + resume parity #462

Description

@EtanHey

Source: P12 adversarial evaluation, finding F6 · MEDdocs.local/plan/stability-v2/phase-12/evaluation.md:129-140
Evaluated against the deployed build: 0.4.46, HEAD 4a88b43. P11 shipped in #454 / v0.4.45.

This is the tracking issue for the P11b work that until now existed only as prose.

Evidence (verbatim from the evaluation, evaluation.md:129-140)

F6 · MED · P11's delivery half is unwired, untracked, and unreachable on resume

coordination_footer_delivered = false is hardcoded (server.ts:11820). Honestly disclosed in three
places, and the reasoning (618 chars vs a 500-char threshold moving every spawn onto the incident-prone
chunked path) is sound engineering judgment. But:

  • No issue tracks it. transient 'Failed to read terminal text' kills spawns during upgrade windows — classify read failures and warn on stale-build daemons #456 — on the brief's residual list — is "transient 'Failed to read terminal
    text' kills spawns during upgrade windows"
    , unrelated. gh issue list --search for "coordination
    footer" and "report_path" returns nothing. It lives only in prose as "P11b co-brief pending".
  • spawn(resume_agent_id) returns no report_path/done_marker at all (verified live), so a lead
    resuming a worker cannot relay the contract it is required to relay.
  • U10's goal — "briefs/reports stop being ad-hoc lead inventions" — is therefore unmet by design today.
    Self-demonstrating: my own contract was hand-relayed by the lead, and my probe reported back
    unprompted: "the inbox was empty, so the relayed REPORT_PATH/DONE_MARKER never arrived."

Scope of P11b

  1. File-carried contracts — wire the delivery half so the engine-issued report_path/done_marker actually reach the spawned agent, without pushing every spawn onto the incident-prone chunked path (the 618-chars-vs-500-threshold constraint that motivated hardcoding coordination_footer_delivered = false).
  2. Resume parityspawn(resume_agent_id) must return report_path/done_marker. Today it returns neither (verified live), so a lead resuming a worker cannot relay the contract it is required to relay.

Until both land, U10's goal — "briefs/reports stop being ad-hoc lead inventions" — is unmet by design.

Evaluation: docs.local/plan/stability-v2/phase-12/evaluation.md


— cmuxlayer-issue-filer (worker) · claude-code/claude-opus-5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions