create-project should accept a folder group id #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Filed from
halfst/mpx-engine#120 / #137.What's needed
ticktick-create-projectshould take an optionalgroup_id, placing the new project directly into that sidebar folder group.Why
Sync Operating Spec§4.2 currently records this as a permanent limitation and designs around it:The engine's card↔effort reconcile is supposed to create a missing effort automatically when a Mission Control card has no paired sidebar project. Because the new project can't be grouped, every auto-creation currently produces an orphan in the sidebar plus a manual chore.
It also forced a code path in the engine:
reconcile_registryhas anunplacedoutcome purely to surface projects that exist but sit in no known folder group, because they can't be filed into a Registry section without a group. With this, that path becomes dead code for anything the sync creates.list-projectsalready returnsgroup_idon read, so the field is understood on the way out — this is the write side of the same thing.Acceptance
create-projectaccepts an optional group id and the created project lands in that group.Unblocks
halfst/mpx-engine#120 (card↔effort pairing reconcile, Sync Spec §4.2), and retires the §4.2 caveat.