
What happened
The developer wired a Hermes plugin so a model calls a create_draft tool, SKILL.md carries the procedure, and a directive line in the reply renders a React form; drafts now live in a SQLite table the model writes via tool and the UI via REST API.
Why it matters
Values held only in the reply or React state could not be edited in conversation, reported back after sending, or protected from double sends — one shared SQLite row per chat session addresses all three, the developer writes.
Summaries like this, every morning.
The plugin links three parties with a deliberately narrow contract. The model only ever sees a tool's schema, and each field allows null so unstated values are not guessed — a request like "send 0.01 USDC" produces a call with network and recipient left null. SKILL.md keeps the system prompt short by loading its body only when the model decides the skill is needed, which also means the procedure arrives only if the model chooses to read it. Directives go the other way: the model writes a single line such as ::draft-card{...} and Hermes swaps it for a React component, so the model never draws the screen itself.
The SQLite layer exists because neither of the first two placements worked. A draft stored in the reply cannot be edited from the UI, and one stored in React state cannot be read by the model; the developer reports that this broke mid-conversation edits, post-send reporting, and double-send prevention across two open forms or an app restart. A single drafts table, with a revision counter incremented on each change and a state field running from editing to consumed, now holds the shared row, and the directive passes only an ID.
The remaining constraint is structural. The developer notes that the plugin's added prompt section failed to load in full once it passed 4,000 characters on the local qwen3.6 model, and the plugin cannot raise that ceiling. Compressing usage notes to one line per type and pushing detail into tool schemas, afterCall, and card-side validation keeps things inside the limit for now, but the developer says more form types will eventually exhaust it and is still deciding how to respond.
Pick your industry and the AI tools you use, and get news related to your work every day.
Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →
Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.