Let existing accounts move followers to bots - #55
Conversation
Publish configured actor aliases as alsoKnownAs so existing accounts can move their followers to standalone, static, and dynamic bots. Expose the aliases through Bot and session views and document how to prepare the target before starting a migration. Codex assisted the implementation and documentation. Claude Code reviewed and refined the design and implementation plan. Fixes fedify-dev#48 Assisted-by: Codex:gpt-6.1-sol Assisted-by: Claude Code:claude-fable-5-1
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. 🧰 Additional context used📚 Code guidelines (1)No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (11)
Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review. 📝 WalkthroughWalkthroughBotKit adds actor URI aliases to bot configuration and public bot state. It publishes configured aliases as ChangesAccount aliases
Priority: ➖ Normal Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Feature Merge Risk: ⚪ Minimal · up to The alias and follower-migration changes appear ready to merge after normal checks. Security Architecture ReviewSecurity architecture risk: 🔵 Low · up to The new identity assertions come from application-controlled configuration, and incoming follow requests retain their existing acceptance controls. No new security bypass was established. Migration still depends on external servers, correct alias configuration, and deployment readiness. Retained concerns Security review detailsSecurity Blast Radius
Security Findings and Attack Paths
Trust Boundaries and Controls
Resilience and Maintainability Implications
Hardening Proposals
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests.
🚀 New features to boost your workflow:
|
Publish
aliasesas the actor'salsoKnownAsso Mastodon can verify the target before moving followers to a bot. Standalone, static, and dynamic bots publish aliases this way and keep their existing follow policy.Accept actor URIs to avoid network lookups during dispatch, and copy the array so Fedify's lazy alias resolution cannot modify the configuration. docs/concepts/bot.md explains how to find the old actor URI and deploy the bot before starting the move.
Fixes #48.
Summary by CodeRabbit