Skip to content

burn: lower headless-dispatch barrier (--prompt-file + per-engine write hook) #24

@mixflavor

Description

@mixflavor

Dispatching headless tasks via burn requires hand-assembling engine-specific flags (claude: -p --dangerously-skip-permissions --add-dir; codex: exec -C -s workspace-write --skip-git-repo-check; agy: -p --add-dir). Two real dogfood failures traced to this: nested-quote prompt mangling, and agy hanging on out-of-workspace file access (no TTY to approve).

Proposal:

  • --prompt-file <f> — pass the prompt cleanly, avoid nested-shell quoting.
  • a per-adapter "autonomous write" hook so burn can request file-writing without the caller knowing each engine's flag soup.

Medium effort, per-engine. Improves burn reliability as a sub-agent dispatcher.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions