Reddit: posted by hand, with the rules pasted

Reddit's API isn't open to apps like this one, so Supermarket no longer
signs in to Reddit, publishes or schedules there, or reads subreddits and
the account's posts. The internal/api/reddit client, Reddit's OAuth, its
keys and its Social accounts card are gone.

Supermarket still writes the post. Each Reddit draft in Posts has a box
for its subreddit's rules, with a link to them on Reddit: pasted once,
they're kept (subreddits.data, as pasted_rules) and given to the model
for later drafts. Open in Reddit saves the edits and opens the submit
page filled in; Copy title and Copy text (with the tagged source link)
cover a box that comes up empty; Mark as posted records it. Warnings come
from the pasted rules and the posts marked as posted. Fill's subreddit
suggestions are kept unchecked, and say so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-30 11:48:54 -07:00
co-authored by Claude Opus 5.5
parent bae468e01c
commit 5451fe6d63
33 changed files with 382 additions and 1107 deletions
+8
View File
@@ -48,6 +48,14 @@ Schema 44.
schema per team, sign-up, domains proved, platform admins; billing with
Stripe (Phase 14), not yet tried against Stripe's test mode.
**Reddit is posted by hand (2026-11-30).** Reddit's API isn't open to
apps like this, so its sign-in, keys, publishing, scheduling and reading
of rules and history are gone (`internal/api/reddit` too). Supermarket
writes the post; the user pastes each subreddit's rules once (kept in
`subreddits` as `pasted_rules`, given to the model), opens the submit page
filled in or copies the title and text, posts, and marks it posted. The
warnings come from the pasted rules and the posts marked as posted.
**Next: testing by hand with TEST.md**, in three passes: local, then
server with the Core, then multi-tenant (TEST.md's table says which
sections go with each pass). What the passes find gets fixed as it comes.