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
plugin-audit: give the at-rest side-copy rewrite (migrateSideCopies / migrateArchivedSideCopies) an operator door #33155
PR #33117 (Fixes #32442) added two exported rewrites to @objectstack/plugin-audit (src/side-copy-migration.ts):
migrateSideCopies, for the live sys_activity and sys_audit_log rows;
migrateArchivedSideCopies, for an archive store.
Both rewrite approval-request copies at rest to the current shape. They run on the ledger-copy runner and have tests (side-copy-migration.test.ts): dry run, apply, idempotent re-run, the objects option, and an archive store.
Nothing calls them yet. No CLI command, startup hook or documented script runs them. An operator has no supported way to run the rewrite.
The read-time redaction and the query guard do not depend on the rewrite (see the #33117 changeset). So this is completeness, not a correctness gap.
Ask
Add an operator door that runs both rewrites, most likely an os migrate subcommand or the CLI's existing migration surface, whichever the CLI already uses for one-off data rewrites.
It needs a dry run by default and an explicit apply.
Activity
objectstack-fleet commentedon Nov 13, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: audit of a pre-labeled card · p2 → p3 ·
domain:server·pm:queue· 2026-11-13T22:47Z⛔ Not a claim.