Expand description
Emission shapes a coder plugin can produce, surfaced in
TaskReply.emission_shape when the newt-coder plugin processed the
request.
Downstream consumers (drake-foreman scorecard, audit logs, the pilot dashboard) compare against these constants so the wire-level strings can’t drift between producer and consumer.
The taxonomy is documented in
~/workspaces/knowledge/board/drake/2026-05-29_newt-coder-failure-mode-taxonomy.md.
Constants§
- PROSE
- No structured emission detected; the model emitted prose only (failure mode T0a in the taxonomy).
- UNIFIED_
DIFF - A unified diff (fenced or unfenced). Legacy path; useful when a model ignores the whole-file directive but lands a valid hunk.
- WHOLE_
FILES - One or more
FILE: <path>\n<contents>\nEND-FILEblocks — the S5 whole-file-emit strategy’s preferred shape.