notes: Astra census approval for platform accounts slice 1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+25
−0
docs/superpowers/notes/CENSUS-REVIEW-RESULT-design-platform-accounts.md+25 −0
diff --git a/docs/superpowers/notes/CENSUS-REVIEW-RESULT-design-platform-accounts.md b/docs/superpowers/notes/CENSUS-REVIEW-RESULT-design-platform-accounts.md| new file mode 100644 |
| index 000000000..5d093cca8 |
| --- /dev/null |
| +++ b/docs/superpowers/notes/CENSUS-REVIEW-RESULT-design-platform-accounts.md |
| @@ -0,0 +1,25 @@ |
| +Reviewed `29f2e3d8ae5f63aeacf34f3704c7607009439810` against `origin/main`. It differs from the brief’s `dd910233` only by the review brief. No tests, writes, or delegates. |
| + |
| +- **APPROVE — envelope `.`.** New commands use the existing console session and HTTP transport; account segments are validated and escaped. The deploy fallback calls the console API. No new root filesystem, execution, or database access. Evidence: [accounts_platform.go:225](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-platform-accounts/accounts_platform.go:225), [platform_cli.go:276](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-platform-accounts/platform_cli.go:276), [deploy_platformhost.go:25](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-platform-accounts/deploy_platformhost.go:25). |
| + |
| +- **APPROVE — envelope `internal/domains`.** Manifest scanning retains the existing prefix, key filter, and read-error refusal. Allocation remains create-only. Added platform fields do not become root paths or commands; root materialization retains its identity checks. Evidence: [mint.go:175](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-platform-accounts/internal/domains/mint.go:175), [reconcile.go:901](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-platform-accounts/internal/domains/reconcile.go:901). |
| + |
| +- **APPROVE — envelope `internal/svcrole`.** `Platform` enters the vocabulary, but `Allow(Platform)` panics. `Exactly` grants only explicitly listed roles; permission checks remain exact membership checks. No root read is added. Evidence: [svcrole.go:157](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-platform-accounts/internal/svcrole/svcrole.go:157), [svcrole.go:184](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-platform-accounts/internal/svcrole/svcrole.go:184). |
| + |
| +- **APPROVE — `MintAccount` inventory removal.** Its write moved into `mint`; owner validation remains before delegation. Evidence: [mint.go:253](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-platform-accounts/internal/domains/mint.go:253). |
| + |
| +- **APPROVE — `mint`, `nonrecord / sel:Put`.** Writes only the account manifest under the allocated sqid, with create-only semantics. Evidence: [mint.go:348](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-platform-accounts/internal/domains/mint.go:348). |
| + |
| +- **APPROVE — `RenameAccountManifest`, `nonrecord / sel:Put`.** Changes the manifest’s name using its read ETag, with one conflict retry; no instance-record write. Evidence: [mint.go:379](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-platform-accounts/internal/domains/mint.go:379). |
| + |
| +- **APPROVE — `capLabel`, `key-site / lit:sidecars`.** The literal selects display text; nothing is written. Evidence: [platform_cli.go:536](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-platform-accounts/platform_cli.go:536). |
| + |
| +- **APPROVE — `Server.instanceManifest` re-pin.** The added fallback returns an incarnation-checked, in-memory manifest without writing it. Evidence: [apiinstances.go:170](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-platform-accounts/internal/console/apiinstances.go:170), [apiplatformhost.go:65](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-platform-accounts/internal/console/apiplatformhost.go:65). |
| + |
| +- **APPROVE — `linkedPolicies` re-pin.** Adds a refusal declaration for platform-host; no record write. Evidence: [linkedpolicy.go:187](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-platform-accounts/internal/console/linkedpolicy.go:187). |
| + |
| +- **APPROVE — `routeDecls` re-pin.** Changes route declarations, not write sites. Platform-host delegates writes to the existing instance-create handler. Evidence: [routedecls.go:613](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-platform-accounts/internal/console/routedecls.go:613), [apiplatformhost.go:148](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-platform-accounts/internal/console/apiplatformhost.go:148). |
| + |
| +All three envelope classifications are consistent with the diff. No root read gains access to a tenant-, app-, or box-agent-controlled path or input. The record-write inventory change adds no new record write. |
| + |
| +CENSUS APPROVED |
| \ No newline at end of file |