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
+16 -5
View File
@@ -201,16 +201,27 @@ Throughout, also notice:
- [ ] Editing a draft and saving keeps the edit.
- [ ] Links to your own sites get UTM tags when published; other links
don't.
- [ ] For Reddit, choosing a subreddit shows its rules, and the draft
respects them.
- [ ] A Reddit draft in Posts has a box for its subreddit's rules, open
while none are pasted, with a link that opens them on Reddit. Paste
them and *Save rules*: they're kept, and a rule about
self-promotion shows as a warning. Write another draft for that
subreddit: it respects them.
- [ ] Choosing Reddit when writing says "(you post it yourself)", and the
Market entry's suggested subreddits say they aren't checked.
### Publishing
- [ ] **(real)** *Publish* on an X draft posts it, and it moves to
Published with a link to the post.
- [ ] **(real)** The same for LinkedIn.
- [ ] Reddit: *Open in Reddit* opens the submit page filled in; *Mark as
posted* moves it to Published.
- [ ] Reddit drafts have no *Publish now* or *Schedule*. *Open in Reddit*
saves the edits and opens the subreddit's submit page with the title
and text filled in (source link at the end, tagged). *Copy title* and
*Copy text* copy what's on screen, the text with the source link.
- [ ] **(real)** Post it on Reddit, paste the post's link and *Mark as
posted*: it moves to Published. A later draft for the same
subreddit warns that you posted there in the past week.
- [ ] Settings → Social accounts has no Reddit card.
- [ ] *Schedule* a draft for a few minutes ahead: it shows under Scheduled,
and goes out at that time (in your local time zone).
- [ ] *Unschedule* puts it back in Posts.
@@ -839,7 +850,7 @@ The detailed checks for agents (Phase 11) are in section 15.
On the local edition first:
- [ ] Nothing asks anyone to sign in; Settings has no Users or Your account.
Every form still works (each now carries a hidden `csrf` field).
- [ ] Your old X, LinkedIn and Reddit sign-ins show under Social accounts as
- [ ] Your old X and LinkedIn sign-ins show under Social accounts as
the company's accounts, with *Sign out*; Settings → Posting accounts
lists them. A LinkedIn draft's *Post as* lists the member and the page.
- [ ] Settings → All connections lists every service, who connected it, and