Add a list-project-groups tool (sidebar folder groups) #3
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
A tool that lists the sidebar folder groups — the containers that hold projects — returning at minimum
idandname, ideally alsosort_orderand any closed/archived flag.To be clear about the level, since the two get conflated: a folder group contains projects; a column is a kanban column inside one project.
list-projectsalready returns each project'sgroup_id, but there is no way to enumerate the groups themselves or learn their names.Why
Sync Operating Spec§2 defines the Work area as exactly three folder groups — Standing buckets, Efforts, Mirrors — and makes TickTick Registry the SoT for their ids:Those three group ids are currently hand-typed constants in the Registry, and §2's reconcile rule can't verify them:
The reconcile shipped in mpx-engine #137 maintains the three entry sections but cannot touch the
groups:block, because there's no call that returns groups. If a group is renamed, recreated or its id changes, every id resolution downstream silently starts placing projects in the wrong section, and nothing detects it.That's not hypothetical for this estate — §2 already records one id churning: "the old Areas of Focus id no longer exists" after a board rewrite.
Acceptance
idandname.list-projects(same snake_case flattening).Unblocks
Full §2 Registry reconcile in
halfst/mpx-engine— specifically thegroups:block, currently the one part of the Registry the engine has to trust rather than verify.