Innovation Engine — insight

Commit-to-Tablet Question Card

August 01, 2026

Ethan has commit-whisper, socratic-tablet-brief, and tablet-sync — but nothing that turns a *risky* commit into a stylus-answerable card. This watches for commits touching money/auth paths (Stripe, webhooks, lead writes, contact forms — exactly the two recent commits) and drops a single-question PDF card on the tablet asking 'what breaks if this silently fails?', with his handwritten reply routed back into the project's goal state file.

git post-commit hookspondercard-generatetablet-sync / Doc Markupstylus-reply-routernote-to-projecttelegram-notify

Create /home/ethan/.local/bin/risk-commit-card: a post-commit hook shim (add to ~/.claude/hooks or a git template hook) that greps the diff for /stripe|webhook|lead|auth|payment|contact|token/i. On match, call existing pondercard-generate with a prompt built from the commit subject + changed hunks, write the PDF to ~/Tablet/DocMarkup/inbox/risk-.pdf, and register the sha in ~/.claude/state/risk-cards.json. A second cron entry (every 15m, reusing stylus-reply-router) OCRs annotated returns from ~/Tablet/DocMarkup/out/ and appends the answer as a note via note-to-project into the matching project slug, plus telegram-notify if a card sits unanswered >48h.

Needs Review
Build timed out after 5 minutes
Active Projects
innovation-engine, russ-telegram, joyos-labs-monitor, joyos-lab-staging, jekelinspections
Category
insight