forgeplan untag
Remove one or more tags from an artifact. The inverse of
forgeplan tag. Use this to prune outdated labels (legacy
that is no longer legacy, wip on something now shipped) or to fix mistakes
from a mass-tagging operation.
forgeplan untag <ID> <TAGS>...Arguments
Section titled “Arguments” <ID> Artifact ID <TAGS>... Tags to removeOptions
Section titled “Options” -h, --help Print help -V, --version Print versionWhat it does
Section titled “What it does”- Loads the artifact’s frontmatter.
- Canonicalizes each incoming tag the same way
tagdoes (lowercased, trimmed) soLegacy,legacy, andlegacyall match the stored value. - Removes each match from the
tags:list. - Rewrites frontmatter and re-indexes the artifact in LanceDB.
Unknown tags are silently ignored — untag is idempotent and safe to script.
Examples
Section titled “Examples”Remove a single tag:
forgeplan untag PRD-001 legacyRemove multiple tags in one call:
forgeplan untag PRD-018 wip experimental source=draftFix a mass-tag mistake (tag then immediately untag):
forgeplan tag PRD-001 securiti # typoforgeplan untag PRD-001 securitiforgeplan tag PRD-001 security # correctBatch cleanup
Section titled “Batch cleanup”To strip a tag across every artifact (e.g. retiring a taxonomy), combine with
list --tag:
forgeplan list --tag wip --format ids | \ xargs -I {} forgeplan untag {} wipFor tag canonicalization across the whole workspace (PROB-026 fix), prefer
forgeplan reindex — it normalizes every tag in place
without needing explicit untag/tag pairs.
untagis case-insensitive on the input:forgeplan untag PRD-001 Legacywill removelegacy.- If you want to move an artifact from one tag to another, run
untagthentag— there is noretaghelper. - Removing a tag does not affect relations or scoring — tags are pure metadata.
See also
Section titled “See also”- CLI overview
forgeplan tag— add tagsforgeplan reindex— canonicalize tags workspace-wideforgeplan list— filter artifacts by tag- Methodology guide