You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(tags): reserved system tags, per-tag permission, and tags in the export #805
Filed under E8 because the epic claims this unit, and because the remaining work is review-surface work rather than matcher work.
What exists — the service, and the epic is right about this
/v1/orgs/{org}/tags, tags/{tag_id}, and tags/{tag_id}/apply|unapply|subjects, covered by rust/crates/er-server/tests/pg_tags.rs.
This unit is the epic's own correction case: #516 originally said the tag service was missing, which was wrong — a stale design doc understated it. Treat the list below as the residue, not the feature.
The gap
Reserved tags. The spec reserves merge, manual_merge, unmatch, link, split as system-written tags that AI and bulk actions set. Needs checking whether the tag service distinguishes system from user tags at all — if it does not, a user can create a tag that collides with a system one.
Role-restricted assignment. The spec's criterion is that a role denied a tag cannot apply it. Our authz is per-route; per-tag permission is finer than that.
Export. Tags must appear in the export alongside the group.
Out of scope here: "tags appear instantly in Salesforce" and the Lightning component — those belong with the AppExchange surface (#602), not this epic.
Done when
system-reserved tag names distinguished from user tags, and a user cannot create or delete a reserved one
per-tag assignment permission, with a denied role proven unable to apply (and a test that the denial is a 403 on role, not a 404 — the house rule er-server-control-plane states)
tags present in the export
Split out of the parent epic on 2026-11-07 by reading the spec's pillar table against this repo, file by file. Every "what exists" line below was grepped, not inferred — the parent epic's own body records a coverage figure that was once wrong because a stale design doc was trusted. Spec unit numbers refer to the DataGroomr Feature Parity Spec pillar tables. Estimates are mine and independent of the epic's total.
Scope note from the implementation (PR #875): the spec's tags in the export alongside the group maps to the one export this repo has — the segment CSV of golden records, which now carries a tags column. A groups-shaped export (duplicate groups with their members and tags) is E11's territory (#521), not this unit. The apply_min_role management surface (PATCH + UI picker) is filed as #876.
Activity
athvin commentedon Nov 8, 2026
Claimed — working in #875 (draft). Closing that PR releases the claim.
feat(tags): reserved system tags, per-tag apply permission, tags in t…
test(tags): fold the 805 coverage into pg_tags' single test; regen th…
athvin commentedon Nov 8, 2026
Scope note from the implementation (PR #875): the spec's
tags in the export alongside the groupmaps to the one export this repo has — the segment CSV of golden records, which now carries atagscolumn. A groups-shaped export (duplicate groups with their members and tags) is E11's territory (#521), not this unit. The apply_min_role management surface (PATCH + UI picker) is filed as #876.fix(tags): the 0005_tag_kind fixup, a serving index, and review harde…
wip: claim #805 — reserved system tags, per-tag permission, tags in e…
feat(tags): reserved system tags, per-tag apply permission, tags in t…
test(tags): fold the 805 coverage into pg_tags' single test; regen th…
fix(tags): the 0005_tag_kind fixup, a serving index, and review harde…
fix(tags): fail closed on an unreadable apply floor; Viewer+ in the l…
docs(skills): count the new tagging read in the entities index (#805)
feat(tags): reserved system tags, per-tag permission, tags in export (#…
fix(schema): a NOT NULL column with a declared default is additive (#904
fix(schema): a NOT NULL column with a declared default is additive (#904
fix(schema): a NOT NULL column with a declared default is additive (#904