/** * `astramem-local repo-identity-backfill [--yes] [--limit N] [--pattern REGEX] [--json]` * * FEAT-484 (issue #177) — one-shot re-stamp of memories mis-tagged * `repo='agent-'` (or another ephemeral worktree-basename shape) by * the worktree-basename provenance bug fixed in src/tag-hygiene/derive-repo.ts. * See src/tag-hygiene/repo-identity-backfill.ts for the core (DB-only, * testable) logic, the DEFAULT_BAD_REPO_PATTERN shape catalogue, and the * migration-hazard notes. * * `--pattern` overrides DEFAULT_BAD_REPO_PATTERN with a custom regex (case * -insensitive, anchored the same way the caller writes it — no implicit * `^`/`$` are added) for a shape this daemon's ecosystem hasn't seen yet. * Invalid regex syntax fails loudly (non-zero exit) rather than silently * falling back to the default — a mistyped flag must never silently widen * (or narrow) the scan to something the operator didn't ask for. * * Preview is the DEFAULT (mirrors entity-purge-junk's --yes gate) — a data * migration that changes consolidation grouping keys must never run * unattended by accident. `--yes` is required to actually mutate rows. */ export declare function repoIdentityBackfillCommand(args: string[]): void;