Seen on the first production server install: npm 10.9.8 with allowScripts blocked @anthropic-ai/claude-code's postinstall (the one that downloads the native binary). command -v claude passes (the JS wrapper exists) so install.sh continued, and every later agent run died with exit 1 ('claude native binary not installed'), surfacing as 'drafting agent failed' on the very first arm-mode ticket request.
Fix install.sh: (1) pass --allow-scripts=@anthropic-ai/claude-code (or run node .../install.cjs afterwards) when installing; (2) verify the install with a real claude --version execution instead of command -v, and fail loud with the manual postinstall command in the message.
Seen on the first production server install: npm 10.9.8 with allowScripts blocked @anthropic-ai/claude-code's postinstall (the one that downloads the native binary).
command -v claudepasses (the JS wrapper exists) so install.sh continued, and every later agent run died with exit 1 ('claude native binary not installed'), surfacing as 'drafting agent failed' on the very first arm-mode ticket request.Fix install.sh: (1) pass --allow-scripts=@anthropic-ai/claude-code (or run node .../install.cjs afterwards) when installing; (2) verify the install with a real
claude --versionexecution instead of command -v, and fail loud with the manual postinstall command in the message.