Skip to content

ce-code-review: report leaf cannot write report.md on Claude Code (subagent report writes are blocked) #1777

Description

@Fetterj

Problem

In ce-code-review Stages 5–6, the report leaf subagent (seeded with references/finish-review.md) is told to write report.md into the run directory. On a Claude Code host, the harness refuses report-shaped Markdown writes from subagents ("Subagents should return findings as text"). On every run the leaf returned the report in-band with a note that the write failed, and the run directory has no report.md.

Seen on five consecutive runs (four ce-code-review, one ce-doc-review) with compound-engineering v3.28.2 on Claude Code.

Impact

The report is still emitted to the user, but the run-artifact list is incomplete. Anything that later reads report.md from the run dir (resume, audit, comparing rounds) finds nothing.

Suggestion

Have the dispatch context, which already receives the leaf's return verbatim, write report.md from that return. The leaf then only renders and never writes, which matches what the host allows.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions