Skip to content

Commit 146ea6d

Browse files
committed
feat(cloud-connection): refuse a managed upgrade that renames or retypes a stored field unconfirmed (wip)
Claude-Session: https://claude.ai/code/session_017ihL2dvnT51fbSebUyE3zW Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 30002df commit 146ea6d

3 files changed

Lines changed: 370 additions & 0 deletions

File tree

‎packages/cloud-connection/src/local-manifest-source.ts‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,14 @@ export interface InstalledManifestEntry {
9393
* boot report still raises whatever stands.
9494
*/
9595
accessUpgradeConfirmation?: { findingSet: string; confirmedBy: string; confirmedAt: string };
96+
/**
97+
* [epic cloud#3652 Q3, #30884] The installer's confirmation of the schema
98+
* findings this upgrade carried — an undeclared suspected rename, a
99+
* `needs_confirm` / `destructive` type change. Recorded for the audit: the
100+
* finding set confirmed (its digest), by whom, when. It answers only the
101+
* install that wrote it; the next upgrade is compared afresh.
102+
*/
103+
schemaUpgradeConfirmation?: { findingSet: string; confirmedBy: string; confirmedAt: string };
96104
}
97105

98106
/**

0 commit comments

Comments
 (0)