Commit Graph

1973 Commits

Author SHA1 Message Date
Joel Hooks 83b178e1e7 sync: vault content (1 files)
adrs (1):
  updated: 0106-adr-review-pipeline.md
2026-02-24 07:40:41 -08:00
Joel Hooks 2f310d56a4 feat: add tanstack-start skill — living doc for gremlin-cms development 2026-02-24 07:36:53 -08:00
Joel Hooks c662a393ad sync: vault content (1 files)
adrs (1):
  updated: 0129-automated-x-posting-strategy.md
2026-02-24 06:56:12 -08:00
Joel Hooks 68de430fbf fix: update lockfile for oauth-1.0a dependency 2026-02-24 06:44:52 -08:00
Joel Hooks 8140d740ff sync: vault content (1 files)
adrs (1):
  updated: 0129-automated-x-posting-strategy.md
2026-02-24 06:43:46 -08:00
Joel Hooks 0bd1525197 feat(x-hooks): replace templates with pi-generated Panda-voice tweets 2026-02-24 06:43:24 -08:00
Joel Hooks e00c6e4529 feat(x-post): add tweet pipeline — x-post, content hook, discovery hook (ADR-0129) 2026-02-24 06:39:48 -08:00
Joel Hooks f9a6ef2616 sync: vault content (1 files)
adrs (1):
  updated: 0129-automated-x-posting-strategy.md
2026-02-24 06:35:21 -08:00
Joel Hooks 3b5b521f63 sync: vault content (1 files)
adrs (1):
  updated: 0129-automated-x-posting-strategy.md
2026-02-24 06:33:35 -08:00
Joel Hooks 9501cd1c14 fix(discord): narrow Gateway Update box to explicit status reports only 2026-02-24 06:30:06 -08:00
Joel Hooks 77b47ea229 sync: vault content (1 files)
adrs (1):
  new: 0129-automated-x-posting-strategy.md
2026-02-24 06:27:14 -08:00
Joel Hooks 6dfd308d40 feat(web): include ADRs and discoveries in RSS feed, sorted by date 2026-02-24 06:20:43 -08:00
Joel Hooks cccfaf7c96 feat(web): add X + RSS links to footer, RSS feed discovery in head, fix twitter:creator 2026-02-24 06:18:36 -08:00
Joel Hooks 042f50bf1b fix(x-api): rewrite skill for OAuth 1.0a, remove dead OAuth 2.0 flow 2026-02-24 06:16:17 -08:00
Joel Hooks bc0df9ba5c sync: vault content (1 files)
discoveries (1):
  new: Why Architecture Decisions Should Render in the Browser.md
2026-02-24 06:03:41 -08:00
Joel Hooks 4a01f3de18 sync: vault content (1 files)
discoveries (1):
  new: Single-Proxy MCP: Reclaiming Context for Pi Agents.md
2026-02-24 05:59:30 -08:00
Joel Hooks e483ba858b sync: vault content (1 files)
discoveries (1):
  new: 35 KB AI Logic, 888 KiB Firmware, and a Claw Pattern That Runs on Edge Hardware.md
2026-02-24 05:57:35 -08:00
Joel Hooks 8271e9ca02 fix(worker): add fnm node/npm to PATH for pi package-manager resolution 2026-02-24 05:56:11 -08:00
Joel Hooks 562d7cd9e2 fix(worker): add bun/local bin to PATH for pi subprocess access 2026-02-24 05:54:23 -08:00
Joel Hooks 1ab27ef88f fix: pipe prompts via stdin/tempfile to avoid arg-too-long across all pi subprocess calls 2026-02-24 05:50:38 -08:00
Joel Hooks 6cb2830e47 sync: vault content (1 files)
discoveries (1):
  new: WebSocket Voice Turns LLM Agents from Request Cycles into Conversations.md
2026-02-24 05:24:40 -08:00
Joel Hooks 8a0789f004 sync: vault content (1 files)
adrs (1):
  updated: 0123-request-scoped-channel-routing.md
2026-02-24 05:18:21 -08:00
Joel Hooks 8bd8f62452 fix: friction patterns — lockfile contention, dedup window, recall fallback, secrets envelope, triage handlers 2026-02-24 05:17:09 -08:00
Joel Hooks 03b9941e68 feat(gateway): request-scoped channel routing (ADR-0123) 2026-02-24 05:17:05 -08:00
Joel Hooks 231312744e sync: vault content (1 files)
discoveries (1):
  new: Rule Engines That Keep Humans in the Loop at Scale.md
2026-02-23 23:18:58 -08:00
Joel Hooks ee84f5a8c6 fix: align discord-ui to React 19 types (fix Vercel deploy) 2026-02-23 23:13:46 -08:00
Joel Hooks 9a323ae895 feat: Discord MCQ quiz mode + telegram handler updates 2026-02-23 23:04:05 -08:00
Joel Hooks 08e66c2cde feat: add-skill, imsg-rpc, x-api skills + x CLI command 2026-02-23 23:03:57 -08:00
Joel Hooks c96131e468 sync: vault content (2 files)
adrs (2):
  updated: 0126-discord-rich-ui-component-library.md
  updated: 0127-feed-subscriptions-and-resource-monitoring.md
2026-02-23 23:02:43 -08:00
Joel Hooks 45b5fbe8c4 fix(system-bus): narrow readdir entry type in book-download 2026-02-23 23:02:11 -08:00
Joel Hooks 8e01fcb2e3 feat: feed subscription system — RSS/Atom/GitHub/page monitoring with LLM summaries (ADR-0127) 2026-02-23 22:57:03 -08:00
Joel Hooks 548624a1e0 feat: Discord CV2 component library + slash commands + channel context injection (ADR-0126/0125) 2026-02-23 22:56:57 -08:00
Joel Hooks 59454415e5 sync: vault content (1 files)
adrs (1):
  updated: 0127-feed-subscriptions-and-resource-monitoring.md
2026-02-23 22:49:05 -08:00
Joel Hooks a224303aad sync: vault content (2 files)
adrs (1):
  new: 0127-feed-subscriptions-and-resource-monitoring.md
discoveries (1):
  new: Living Pattern Catalogs That Keep Your Architecture Honest.md
2026-02-23 22:47:26 -08:00
Joel Hooks 493f3106f8 sync: vault content (1 files)
discoveries (1):
  new: Build Pipeline as Agent Context Window.md
2026-02-23 22:42:41 -08:00
Joel Hooks a59d6816f7 sync: vault content (1 files)
adrs (1):
  updated: 0126-discord-rich-ui-component-library.md
2026-02-23 22:39:27 -08:00
Joel Hooks ee16a96c35 sync: vault content (1 files)
adrs (1):
  new: 0126-discord-rich-ui-component-library.md
2026-02-23 22:37:17 -08:00
Joel Hooks a29f7c83e7 sync: vault content (4 files)
discoveries (4):
  new: Threads as Agent Sessions with Director-Specialist Routing.md
  new: Discord Components V2 Replace Embeds with Structured Agent UI.md
  new: Discord Threads as Agent Session Primitives.md
  new: Discord Components as Agent Control Plane.md
2026-02-23 22:31:24 -08:00
Joel Hooks 8a1a78c722 sync: vault content (2 files)
adrs (2):
  updated: 0125-channel-aware-prompt-injection.md
  updated: 0124-discord-thread-forked-sessions.md
2026-02-23 22:28:06 -08:00
Joel Hooks fab612dfde sync: vault content (2 files)
adrs (2):
  new: 0125-channel-aware-prompt-injection.md
  new: 0124-discord-thread-forked-sessions.md
2026-02-23 22:23:07 -08:00
Joel Hooks 76bb61e61a sync: vault content (1 files)
adrs (1):
  updated: 0122-discord-rich-interactive-messaging.md
2026-02-23 20:20:10 -08:00
Joel Hooks 3efdc04de3 fix(gateway): Discord DM responses working, MCQ uses direct discord.js
The gateway was receiving DMs but not responding — the discord channel
send handler was never invoked because the router lookups were silently
falling through. Fixed by ensuring the channel registration and router
prefix matching work correctly.

Also rewrote discord-mcq-adapter to use discord.js directly:
EmbedBuilder + ButtonBuilder + createMessageComponentCollector
instead of discordjs-react renderer (which has a bug where type:'message'
channels never get initial sends posted).
2026-02-23 20:09:47 -08:00
Joel Hooks 5aaeb7d9e9 fix(discord-mcq): use discord.js directly instead of broken renderer
discordjs-react Renderer.updateMessage() has no code path for initial
sends on type:'message' channels — only handles type:'interaction'.
MCQ was rendering internally but never posting to Discord.

Replaced with direct discord.js: EmbedBuilder + ButtonBuilder +
createMessageComponentCollector. Buttons render, clicks update the
message in place, auto-select on timeout works.
2026-02-23 20:04:08 -08:00
Joel Hooks b52c743b13 fix(discord-ui): downgrade to react@18 for react-reconciler compat
react-reconciler 0.29 (used by discordjs-react) requires React 18.
React 19 breaks with 'ReactCurrentOwner' undefined.
2026-02-23 19:56:53 -08:00
Joel Hooks 8494a9a40e feat(discord-ui): React component library for interactive Discord messages (ADR-0122)
New package @joelclaw/discord-ui:
- discordjs-react reconciler for stateful Discord UIs
- Components: McqFlow, AgentResponse, StatusCard, Approval, SelectPrompt
- Re-exports primitives: Embed, Button, ActionRow, Select, Option, Link
- .ts API surface (no jsx required by consumer) + .tsx entry for direct use

Gateway integration:
- Discord MCQ adapter: renders interactive buttons in threads
- Unified withChannelMcqOverride handles both Telegram + Discord sources
- discord-ui init after Discord login, dynamic import keeps React lazy
- getClient() and fetchChannel() exposed from discord channel
2026-02-23 19:55:36 -08:00
Joel Hooks a3c8a18d11 sync: vault content (1 files)
adrs (1):
  new: 0122-discord-rich-interactive-messaging.md
2026-02-23 19:44:33 -08:00
Joel Hooks 84a5dc755f sync: vault content (1 files)
adrs (1):
  new: 0121-imsg-rpc-socket-daemon.md
2026-02-23 19:37:47 -08:00
Joel Hooks d47d907d57 sync: vault content (1 files)
adrs (1):
  updated: 0038-embedded-pi-gateway-daemon.md
2026-02-23 19:34:49 -08:00
Joel Hooks 38f8d93460 feat(discord): thread-based conversations (ADR-0120)
- @mention in channel creates thread + status message
- Messages in threads route back to thread
- DMs still work flat (no threads)
- Status message updates: ⏳ Processing → ✅ Done / ❌ Error
- ✅ reaction on last thread message marks done
- Bot mention stripped from all messages
- Vault context enrichment added
- GuildMessageReactions intent for reaction handling
2026-02-23 19:27:13 -08:00
Joel Hooks 1e125d5b6b sync: vault content (1 files)
adrs (1):
  deleted: 0122-multi-node-channel-identity.md
2026-02-23 18:41:04 -08:00