Query tasks by tag #5
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.What's needed
A way to list tasks carrying a given tag — either a
tagfilter onticktick-list-tasksor a dedicated tool.Why
Sync Operating Spec§11.2 defines the P1/P7 altitude-tag rotation as strip, then apply:"Every task still carrying it" is a tag query. Without one, §10 records the workaround as an accepted gap:
Scanning the ceremony's window finds carriers inside that window. A task tagged
p1three weeks ago and never revisited sits outside it and keeps the tag forever, which is precisely the accumulation the strip step exists to prevent. The workaround is correct for the common case and silently wrong for the stale one.One important detail — match on
name, neverraw_nameWhatever the query keys off, it must match the tag's display name, not its
raw_name.Sync Operating Spec§11 is emphatic, and this estate has live evidence:RAIDQ A-24 found six of sixteen live tags carrying a stale birth name. A tag query that filters on
raw_namewill silently mis-target, and will mis-target differently each time the tags are rebuilt.If both are exposed, document which one the filter uses.
Acceptance
name.mpxparent, and it matters whether querying the parent returns children.Unblocks
Exact
rotate_altitude_taginhalfst/mpx-engine(Engine Spec §3 assigns rotation to thesyncmodule, called by the P1/P7 ceremonies), and closes the §10 open item.