All 10/10 runs of the Design Decision Gate workflow failed on 2026-04-09 with the same root cause: the Claude Code CLI receives an empty prompt when invoked with --print.
Error: Input must be provided either through stdin or as a prompt argument when using --print
ERR_CONFIG: Claude execution failed: no structured log entries were produced.
The failure originates in the prompt construction step that reads from .github/agents/adr-writer.agent.md. An awk command extracts the agent body from the frontmatter, then printf combines it with the activation prompt. A malformed frontmatter or empty agent body produces an empty PROMPT_TEXT.
Expected Impact
Restoring Design Decision Gate will resume automated architectural decision records (ADR) for all PRs. Currently 100% of PR-triggered runs silently fail with no ADR written, creating a gap in architectural documentation.
Suggested Agent
Claude engine — Inspect .github/agents/adr-writer.agent.md for malformed frontmatter, test the awk extraction command locally, and fix the prompt construction step in the workflow.
Estimated Effort
Fast (< 30 min): Read the agent file, identify the frontmatter/awk extraction issue, fix the one-liner.
Data Source
[DeepReport Intelligence Briefing — April 10, 2026] | [Agentic Workflow Audit - April 9, 2026](discussion in audits category) | Run §24194682643
Generated by DeepReport - Intelligence Gathering Agent · ● 368.7K · ◷
All 10/10 runs of the Design Decision Gate workflow failed on 2026-04-09 with the same root cause: the Claude Code CLI receives an empty prompt when invoked with
--print.The failure originates in the prompt construction step that reads from
.github/agents/adr-writer.agent.md. Anawkcommand extracts the agent body from the frontmatter, thenprintfcombines it with the activation prompt. A malformed frontmatter or empty agent body produces an emptyPROMPT_TEXT.Expected Impact
Restoring Design Decision Gate will resume automated architectural decision records (ADR) for all PRs. Currently 100% of PR-triggered runs silently fail with no ADR written, creating a gap in architectural documentation.
Suggested Agent
Claude engine — Inspect
.github/agents/adr-writer.agent.mdfor malformed frontmatter, test theawkextraction command locally, and fix the prompt construction step in the workflow.Estimated Effort
Fast (< 30 min): Read the agent file, identify the frontmatter/awk extraction issue, fix the one-liner.
Data Source
[DeepReport Intelligence Briefing — April 10, 2026] | [Agentic Workflow Audit - April 9, 2026](discussion in audits category) | Run §24194682643