Repository navigation
feat: repost-only mirror accounts (0.54.0) - #181
Merged
Merged
Conversation
`myna account mirror <account> --from <source> [--like] [--repost] [--restore]` and `myna account mirror <account> --off`. A mirror never posts anything of its own: it is shut out of every original posting path exactly like an archived account (all, network names, explicit targets, rotation, --front/drip, the scheduler, newsletters, evergreen, engage/upvote/follow loops). The new `mirror` daemon job reads the source's author feed every five minutes (atproto getAuthorFeed via a new optional `authorFeed` adapter method, Bluesky first) and, for each new original post (not replies, not reposts), reposts and/or likes it from the mirror through the existing repost/upvote adapter calls. Exactly once: every post is ledgered in mirror.json the moment it is seen and each action is written back the moment it succeeds; the network's viewer flags are a second check. Paced 1-10 min after the original, 2-5 min apart, one per account per turn. First enable only reaches back 24 hours. `--restore` lifts an archive and sets the mirror in one vault write. `myna accounts` shows `mirror of <source>`; `myna account mirror <account>` shows pending/done. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
myna account mirror <account> --from <source> [--like] [--repost] [--restore]and--off.isOffLimits).mirror(always registered, no-op without mirrors): reads the source's author feed every 5 min (new optionalNetwork.authorFeed, implemented for Bluesky withgetAuthorFeed), keeps only the source's own originals (no replies, no reposts), and reposts/likes each from the mirror via the existingrepost/upvoteadapter calls.~/.config/myna/mirror.json(pending with due time, per-action results, done); network viewer flags as a second check.--restorelifts an archive and sets the mirror in one vault write.myna accountsSTATUS showsmirror of <source>.Tests: packages/core/test/account-mirror.test.ts (exclusion, dedupe/exactly-once, replies/reposts ignored, 24 h window, --off, retries, --like only) and apps/cli/test/account-mirror.test.ts. Typecheck + full release test line green.
🤖 Generated with Claude Code