Repository navigation
feat: start new projects with follow-ups on - #249
Merged
kalaspuff merged 1 commit intoOct 23, 2026
Merged
Conversation
New projects store all four follow-ups on, except those their create request sends; stored projects keep what they have. fctl projects create --connectors sends them on. ADR 0051. Fixes #247
kalaspuff
approved these changes
Oct 23, 2026
kalaspuff
deleted the
fctl/221-fix-this-please-should-be-an-easy-update
branch
October 23, 2026 23:06
6 tasks done
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.
New projects now start with all four follow-ups on: comments that mention the agent, failed checks, merge conflicts, and merged or closed. Before, every switch started off, so in session #209 an agent wasn't told when its pull request (#246) began to conflict with
main.What changed
settings::for_new_project(crates/fctl-domain) turns on each follow-up that the create request leaves out, next to where it turns connectors off. A request that sendsfollow_ups, or some of its fields, keeps what it sends. The project then stores every switch.FollowUps::default()is still all off, so a project stored withoutfollow_ups, or without one of its fields, still reads them as off. Serde and the SQL inpull_requests::moved_onto(json_extract(…) = 1) therefore still agree. To turn them on in an existing project, use its Settings orfctl projects set --follow-ups all.fctl projects create --connectorssends whole settings, which turned follow-ups off. It now sendsFollowUps::ALL, a new constant infctl-protothat--follow-ups alluses too. A CLI one version behind still sends them off.web/src/gen. Hosts and agents need nothing.Verification
fctl-domain(new_projects_start_with_follow_ups_on_unless_asked) cover a request with no settings, one with other settings, one with some follow-ups, and an older CLI's whole default settings.cargo xtask check --quickpasses.cargo xtask dev:fctl projects createandfctl projects create --connectorsboth stored all four switches astruein D1.{"follow_ups":{"checks":false}}stored checks off and the other three on.Fixes #247
Session: https://app.fctl.sh/s/ses_01M5NFNH5ZCX4BA0S6QERHAB57