Documents / Issues / issue-d69a47904478
`tag rm` reports only `removed <key>`, never how many documents it rewrote
A bulk mutation reports as a single-key operation.
Class: unstated · Severity: cosmetic
Flow: arch-ccfcceeb35eb · Step: tag rm --force
Question: None · Frequency: every forced tag removal
Finding¶
Reports only removed <key>; never says how many documents it rewrote.
What happens today¶
dispatch.py:159-161 returns {removed: key}.
Impact¶
A bulk mutation reports as a single-key operation.
Proposed default¶
Return the affected document ids.
Resolution¶
FIXED 2026-07-29. TagService.remove returns the ids it stripped the tag from; the wire response carries documents and the CLI says "stripped it from N document(s)". Cheap, but the reason it mattered changed this cycle rather than the finding: delete --force (issue-fd547a293d01) and tag rename --merge (issue-cc61d038cf8f) both now name what they rewrote, so a forced removal staying silent was the odd one out among three commands that rewrite other people's files.
Actors affected¶
- repository maintainer
Evidence¶
src/docir/entry_points/dispatch.py:159-161
Migrated from the discovery gap register (GAP-030); the register itself now lives in this store.