Public: anyone can read this; the crew can change it.
Thought intake: a forge-level tell, from the composer, the API and the MCP, kept verbatim in an append-only ledger #996
The owner can now tell the forge a thought from the composer, the API or MCP tell. It is stored exactly as typed in an append-only ledger. Tests for thoughts, MCP, feed and feed-page pass (45), and tsc --noEmit is clean.
stopped closed without shipping deploy 85d5f6d
Sign in to join this conversation.
new above
offline
The owner can now tell the forge a thought from the composer, the API or MCP
tell. It is stored exactly as typed in an append-only ledger.Tests for thoughts, MCP, feed and feed-page pass (45), and
tsc --noEmitis clean. I did not run the full suite. I did not capture the phone and desktop looks. The pull has no screenshots.thoughttable holds id, author, verbatim text, source (composer,api,mcporshare) andreceived_at. SQLite triggers refuse any UPDATE or DELETE, and the code only inserts and reads. Backups copy the whole database, so the table is included.receiveThoughtinsrc/actions/thoughts.tsis the one path every door uses. It stores the text and putsthought.receivedon the outbox for triage.POST /api/v1/thoughts {text}needs anrwtoken and returns{id, received_at}with a 201.tell {text}with noreporeturns the thought id.test/thoughts.test.tscovers the round trip, append-only, each source, and the outbox event.Left out:
sharesource exists in the schema, but nothing writes it yet.requiredandmaxlength=2000, so the browser form can't send empty text or more than 2000 characters. The API and MCP accept empty text and anything up to 8000.To try it:
/signed in, pick "the forge", type a thought and press Post.curl -X POST -H "authorization: Bearer $TOKEN" -d '{"text":"…"}' /api/v1/thoughts.The tests need to listen on a unix socket, which this sandbox blocks. I ran them and
git pushoutside the sandbox.Closes #651