Merge remote-tracking branch 'origin/main' into moves-phase1-6
docs/superpowers/plans/2026-10-10-instance-key-provision.md+4354 −521docs/superpowers/plans/CODEX-PLAN-INSTANCE-KEY-BRIEF-2.md+29 −0docs/superpowers/plans/CODEX-PLAN-INSTANCE-KEY-BRIEF-3.md+27 −0docs/superpowers/plans/CODEX-PLAN-INSTANCE-KEY-BRIEF-4.md+13 −0docs/superpowers/plans/CODEX-PLAN-INSTANCE-KEY-BRIEF-5.md+23 −0docs/superpowers/plans/CODEX-PLAN-INSTANCE-KEY-BRIEF-6.md+14 −0docs/superpowers/plans/CODEX-PLAN-INSTANCE-KEY-BRIEF-7.md+16 −0docs/superpowers/plans/CODEX-PLAN-INSTANCE-KEY-R1.md+56 −0docs/superpowers/plans/CODEX-PLAN-INSTANCE-KEY-R2.md+52 −0docs/superpowers/plans/CODEX-PLAN-INSTANCE-KEY-R3.md+42 −0docs/superpowers/plans/CODEX-PLAN-INSTANCE-KEY-R4.md+33 −0docs/superpowers/plans/CODEX-PLAN-INSTANCE-KEY-R5.md+36 −0docs/superpowers/plans/CODEX-PLAN-INSTANCE-KEY-R6.md+35 −0docs/superpowers/plans/CODEX-PLAN-INSTANCE-KEY-R7.md+37 −0docs/superpowers/plans/CODEX-REVIEW-INSTANCE-KEY-BUILD-BRIEF.md+21 −0docs/superpowers/plans/CODEX-REVIEW-INSTANCE-KEY-BUILD.md+32 −0docs/superpowers/plans/INSTANCE-KEY-PLAN-REPORT-R2.md+51 −0docs/superpowers/plans/INSTANCE-KEY-PLAN-REPORT-R3.md+136 −0internal/activator/admintoken.go+21 −14internal/activator/backend_exec.go+93 −6internal/activator/backend_exec_test.go+32 −0internal/activator/claim_instancekey_test.go+157 −0internal/activator/claim_snapshot.go+116 −25internal/activator/claimretry_instancekey_linux_test.go+71 −0internal/activator/instancekey.go+591 −0internal/activator/instancekey_delivery_test.go+361 −0internal/activator/instancekey_linux_test.go+162 −0internal/activator/instancekey_test.go+1004 −0internal/activator/keyadoption.go+175 −0internal/activator/keyadoption_linux_test.go+49 −0internal/activator/keyadoption_test.go+157 −0internal/activator/ownenv_other.go+33 −0internal/activator/ownenv_unix.go+47 −0internal/activator/prepare.go+18 −1internal/activator/replica_instancekey_linux_test.go+217 −0internal/activator/replica_instancekey_test.go+461 −0internal/activator/replicakey.go+140 −0internal/activator/replicakey_race_test.go+94 −0internal/appconfig/instancekey.go+34 −0internal/appconfig/instancekey_test.go+42 −0internal/appconfig/syncexec_instancekey_test.go+63 −0internal/host/agent.go+33 −27internal/host/claim_instancekey_test.go+180 −0internal/host/claim_replica_instancekey_test.go+186 −0internal/host/claimmoveaccess.go+3 −2internal/host/claimowners.go+13 −0internal/host/claimproduction.go+54 −25internal/host/configguard.go+11 −4internal/host/instancekey_adoption_test.go+103 −0internal/host/instancekeys.go+107 −0internal/host/instancekeys_test.go+163 −0internal/host/layoutleg.go+43 −0internal/host/replicahomekeys.go+131 −0internal/host/replicahomekeys_test.go+187 −0internal/hostfiles/relay.go+99 −0internal/hostfiles/relay_test.go+112 −0internal/instancekey/instancekey.go+241 −0internal/instancekey/instancekey_test.go+153 −0internal/moves/archive/instancekey_test.go+30 −0internal/moves/envreport_instancekey_test.go+32 −0
CI passed — run details
CI log
=== gate ===
cd launchctx && go vet ./... && go test ./... -count=1
ok amadan.net/carlos/platform.git/launchctx 0.011s
? amadan.net/carlos/platform.git/launchctx/controlname [no test files]
? amadan.net/carlos/platform.git/launchctx/wireid [no test files]
go vet ./...
gofmt -l .: clean
go test ./... -count=1 -timeout 30m
ok github.com/carlosframework/platform 325.734s
? github.com/carlosframework/platform/cmd/changelog [no test files]
ok github.com/carlosframework/platform/cmd/console 3.361s
ok github.com/carlosframework/platform/internal/activator 206.147s
ok github.com/carlosframework/platform/internal/agentsock 0.027s
ok github.com/carlosframework/platform/internal/alerting 0.005s
ok github.com/carlosframework/platform/internal/analytics 0.019s
ok github.com/carlosframework/platform/internal/appconfig 2.351s
ok github.com/carlosframework/platform/internal/apperr 0.094s
ok github.com/carlosframework/platform/internal/applog 0.233s
ok github.com/carlosframework/platform/internal/awsinv 0.007s
ok github.com/carlosframework/platform/internal/boxchoice 0.006s
ok github.com/carlosframework/platform/internal/boxid 0.673s
? github.com/carlosframework/platform/internal/boxid/boxidtest [no test files]
? github.com/carlosframework/platform/internal/boxid/internal/signtest [no test files]
ok github.com/carlosframework/platform/internal/boxvolumes 0.017s
ok github.com/carlosframework/platform/internal/caps 0.013s
ok github.com/carlosframework/platform/internal/certwarm 0.003s
ok github.com/carlosframework/platform/internal/cgroup 0.218s
ok github.com/carlosframework/platform/internal/changelog 0.325s
ok github.com/carlosframework/platform/internal/clamd 0.060s
? github.com/carlosframework/platform/internal/cliflag [no test files]
ok github.com/carlosframework/platform/internal/console 355.626s
? github.com/carlosframework/platform/internal/controlname [no test files]
? github.com/carlosframework/platform/internal/controlsock [no test files]
ok github.com/carlosframework/platform/internal/dbdoor 6.335s
ok github.com/carlosframework/platform/internal/dbdoor/dbdoortest 0.014s
ok github.com/carlosframework/platform/internal/dbverify 0.005s
ok github.com/carlosframework/platform/internal/dnsrec 0.004s
ok github.com/carlosframework/platform/internal/docsite 0.006s
ok github.com/carlosframework/platform/internal/domains 2.006s
ok github.com/carlosframework/platform/internal/doorkey 0.007s
ok github.com/carlosframework/platform/internal/economics 0.007s
ok github.com/carlosframework/platform/internal/edge 25.883s
? github.com/carlosframework/platform/internal/edgeproof [no test files]
ok github.com/carlosframework/platform/internal/edgesfile 0.010s
ok github.com/carlosframework/platform/internal/fleetapi 0.129s
ok github.com/carlosframework/platform/internal/gate 1.655s
ok github.com/carlosframework/platform/internal/genselect 0.021s
ok github.com/carlosframework/platform/internal/geo 0.014s
ok github.com/carlosframework/platform/internal/geoip 0.044s
ok github.com/carlosframework/platform/internal/host 46.897s
ok github.com/carlosframework/platform/internal/hostactors 0.302s
ok github.com/carlosframework/platform/internal/hostbox 1.261s
ok github.com/carlosframework/platform/internal/hostclaim 0.221s
ok github.com/carlosframework/platform/internal/hostevidence 0.005s
ok github.com/carlosframework/platform/internal/hostexec 0.324s
ok github.com/carlosframework/platform/internal/hostfence 0.033s
ok github.com/carlosframework/platform/internal/hostfiles 4.147s
ok github.com/carlosframework/platform/internal/hostfloor 0.015s
ok github.com/carlosframework/platform/internal/hostguard 0.132s
ok github.com/carlosframework/platform/internal/hostops 1.259s
ok github.com/carlosframework/platform/internal/hostquarantine 0.003s
ok github.com/carlosframework/platform/internal/hostresolve 0.146s
ok github.com/carlosframework/platform/internal/hostwrite 0.002s
ok github.com/carlosframework/platform/internal/infraview 0.002s
ok github.com/carlosframework/platform/internal/instancectl 1.704s
ok github.com/carlosframework/platform/internal/instanceexec 2.699s
ok github.com/carlosframework/platform/internal/instancefs 0.004s
ok github.com/carlosframework/platform/internal/instancekey 0.004s
ok github.com/carlosframework/platform/internal/instanceupdates 0.014s
ok github.com/carlosframework/platform/internal/layout 1.351s
ok github.com/carlosframework/platform/internal/lease 9.437s
ok github.com/carlosframework/platform/internal/lease/leasetest 0.006s
ok github.com/carlosframework/platform/internal/ledger 0.013s
ok github.com/carlosframework/platform/internal/mail 0.157s
ok github.com/carlosframework/platform/internal/maintenance 0.080s
ok github.com/carlosframework/platform/internal/maintenanceexec 5.520s
ok github.com/carlosframework/platform/internal/maintenanceguard 0.073s
ok github.com/carlosframework/platform/internal/metrics 0.005s
ok github.com/carlosframework/platform/internal/moves 21.130s
ok github.com/carlosframework/platform/internal/moves/archive 0.744s
ok github.com/carlosframework/platform/internal/objstore 0.160s
ok github.com/carlosframework/platform/internal/ops 0.160s
ok github.com/carlosframework/platform/internal/park 0.217s
ok github.com/carlosframework/platform/internal/privatefile 0.004s
ok github.com/carlosframework/platform/internal/provision 3.154s
ok github.com/carlosframework/platform/internal/publicrelease 0.007s
ok github.com/carlosframework/platform/internal/registry 3.575s
ok github.com/carlosframework/platform/internal/relay 7.217s
ok github.com/carlosframework/platform/internal/release 18.269s
ok github.com/carlosframework/platform/internal/rollout 1.492s
ok github.com/carlosframework/platform/internal/rolloutwords 0.003s
ok github.com/carlosframework/platform/internal/rootaws 0.007s
ok github.com/carlosframework/platform/internal/s3compat 0.005s
ok github.com/carlosframework/platform/internal/safefile 0.004s
ok github.com/carlosframework/platform/internal/schedule 2.240s
ok github.com/carlosframework/platform/internal/sim/hostlife 2.383s
ok github.com/carlosframework/platform/internal/sim/litestreamfacts 3.745s
ok github.com/carlosframework/platform/internal/status 0.039s
ok github.com/carlosframework/platform/internal/steering 0.006s
ok github.com/carlosframework/platform/internal/stopevidence 0.108s
ok github.com/carlosframework/platform/internal/svcrole 0.002s
ok github.com/carlosframework/platform/internal/telemetry 0.004s
ok github.com/carlosframework/platform/internal/termfence 0.007s
ok github.com/carlosframework/platform/internal/tunnelclient 0.006s
ok github.com/carlosframework/platform/internal/unixdial 0.002s
ok github.com/carlosframework/platform/internal/updatewords 0.002s
ok github.com/carlosframework/platform/internal/usage 0.004s
ok github.com/carlosframework/platform/internal/version 0.001s
ok github.com/carlosframework/platform/internal/vet 1.577s
=== cross ===
--- shard 0 of 5 ---
cross-compiling darwin/arm64
--- shard 1 of 5 ---
cross-compiling darwin/amd64
--- shard 2 of 5 ---
cross-compiling linux/arm64
--- shard 3 of 5 ---
cross-compiling windows/amd64
--- shard 4 of 5 ---
cross-compiling windows/arm64
=== minio-contract ===
minio contract: arm64, minio RELEASE.2025-09-07T16-13-09Z, mc RELEASE.2025-08-13T08-35-41Z
minio: downloading https://github.com/minio/minio/releases/download/RELEASE.2025-09-07T16-13-09Z/minio.linux-arm64.RELEASE.2025-09-07T16-13-09Z
minio: downloaded, digest verified
mc: downloading https://github.com/minio/mc/releases/download/RELEASE.2025-08-13T08-35-41Z/mc.linux-arm64.RELEASE.2025-08-13T08-35-41Z
mc: downloaded, digest verified
minio healthy on 127.0.0.1:20999
Added `local` successfully.
Bucket created successfully `local/contract-bucket`.
Bucket created successfully `local/denied-bucket`.
Created policy `contract-only` successfully.
Added user `scopeduser` successfully.
Attached Policies: [contract-only]
To User: scopeduser
buckets and scoped user ready
=== RUN TestDeliveredContractMinio
=== RUN TestDeliveredContractMinio/put
=== RUN TestDeliveredContractMinio/get_round-trips_the_body
=== RUN TestDeliveredContractMinio/list_shows_the_key
=== RUN TestDeliveredContractMinio/head_and_list_agree_on_the_version
=== RUN TestDeliveredContractMinio/the_app_cannot_tag_its_own_object
=== RUN TestDeliveredContractMinio/the_app_cannot_tag_its_own_object/not_by_PutObjectTagging
=== RUN TestDeliveredContractMinio/the_app_cannot_tag_its_own_object/and_not_by_x-amz-tagging_on_upload
=== RUN TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route
=== RUN TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route/not_by_CreateMultipartUpload
=== RUN TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route/not_by_CopyObject_with_a_REPLACE_tagging_directive
=== RUN TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route/but_multipart_itself_is_allowed
=== RUN TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route/and_copy_itself_is_allowed
=== RUN TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route/a_POST-policy_forged_tag_with_a_matching_version_is_still_not_a_verdict
=== RUN TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route/and_an_ordinary_tagged-with-something-else_upload_is_allowed
=== RUN TestDeliveredContractMinio/delete_removes_it
=== RUN TestDeliveredContractMinio/cross-bucket_denial
--- PASS: TestDeliveredContractMinio (0.02s)
--- PASS: TestDeliveredContractMinio/put (0.00s)
--- PASS: TestDeliveredContractMinio/get_round-trips_the_body (0.00s)
--- PASS: TestDeliveredContractMinio/list_shows_the_key (0.00s)
--- PASS: TestDeliveredContractMinio/head_and_list_agree_on_the_version (0.00s)
--- PASS: TestDeliveredContractMinio/the_app_cannot_tag_its_own_object (0.00s)
--- PASS: TestDeliveredContractMinio/the_app_cannot_tag_its_own_object/not_by_PutObjectTagging (0.00s)
--- PASS: TestDeliveredContractMinio/the_app_cannot_tag_its_own_object/and_not_by_x-amz-tagging_on_upload (0.00s)
--- PASS: TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route (0.01s)
--- PASS: TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route/not_by_CreateMultipartUpload (0.00s)
--- PASS: TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route/not_by_CopyObject_with_a_REPLACE_tagging_directive (0.00s)
--- PASS: TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route/but_multipart_itself_is_allowed (0.00s)
--- PASS: TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route/and_copy_itself_is_allowed (0.00s)
--- PASS: TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route/a_POST-policy_forged_tag_with_a_matching_version_is_still_not_a_verdict (0.00s)
--- PASS: TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route/and_an_ordinary_tagged-with-something-else_upload_is_allowed (0.00s)
--- PASS: TestDeliveredContractMinio/delete_removes_it (0.00s)
--- PASS: TestDeliveredContractMinio/cross-bucket_denial (0.00s)
PASS
ok github.com/carlosframework/platform/internal/objstore 0.023s
=== RUN TestT4StorageProbeMinio
2026/10/11 21:47:25 moves: T4: STORE: list: operation error S3: ListObjectsV2, https response error StatusCode: 403, RequestID: 18DD97E72FD61A66, HostID: 7c420053e0fbcd7f41653fdd92ffa2802c903d05303b1aa15adc2e8bb65d183f, api error SignatureDoesNotMatch: The request signature we calculated does not match the signature you provided. Check your key and signing method.
--- PASS: TestT4StorageProbeMinio (0.01s)
PASS
ok github.com/carlosframework/platform/internal/host 0.016s
minio contract: PASS
docs/superpowers/plans/2026-10-10-instance-key-provision.mdLoading diff…
docs/superpowers/plans/CODEX-PLAN-INSTANCE-KEY-BRIEF-2.mdLoading diff…
docs/superpowers/plans/CODEX-PLAN-INSTANCE-KEY-BRIEF-3.mdLoading diff…
docs/superpowers/plans/CODEX-PLAN-INSTANCE-KEY-BRIEF-4.mdLoading diff…
docs/superpowers/plans/CODEX-PLAN-INSTANCE-KEY-BRIEF-5.mdLoading diff…
docs/superpowers/plans/CODEX-PLAN-INSTANCE-KEY-BRIEF-6.mdLoading diff…
docs/superpowers/plans/CODEX-PLAN-INSTANCE-KEY-BRIEF-7.mdLoading diff…
docs/superpowers/plans/CODEX-PLAN-INSTANCE-KEY-R1.mdLoading diff…
docs/superpowers/plans/CODEX-PLAN-INSTANCE-KEY-R2.mdLoading diff…
docs/superpowers/plans/CODEX-PLAN-INSTANCE-KEY-R3.mdLoading diff…
docs/superpowers/plans/CODEX-PLAN-INSTANCE-KEY-R4.mdLoading diff…
docs/superpowers/plans/CODEX-PLAN-INSTANCE-KEY-R5.mdLoading diff…
docs/superpowers/plans/CODEX-PLAN-INSTANCE-KEY-R6.mdLoading diff…
docs/superpowers/plans/CODEX-PLAN-INSTANCE-KEY-R7.mdLoading diff…
docs/superpowers/plans/CODEX-REVIEW-INSTANCE-KEY-BUILD-BRIEF.mdLoading diff…
docs/superpowers/plans/CODEX-REVIEW-INSTANCE-KEY-BUILD.mdLoading diff…
docs/superpowers/plans/INSTANCE-KEY-PLAN-REPORT-R2.mdLoading diff…
docs/superpowers/plans/INSTANCE-KEY-PLAN-REPORT-R3.mdLoading diff…
internal/activator/admintoken.goLoading diff…
internal/activator/backend_exec.goLoading diff…
internal/activator/backend_exec_test.goLoading diff…
internal/activator/claim_instancekey_test.goLoading diff…
internal/activator/claim_snapshot.goLoading diff…
internal/activator/claimretry_instancekey_linux_test.goLoading diff…
internal/activator/instancekey.goLoading diff…
internal/activator/instancekey_delivery_test.goLoading diff…
internal/activator/instancekey_linux_test.goLoading diff…
internal/activator/instancekey_test.goLoading diff…
internal/activator/keyadoption.goLoading diff…
internal/activator/keyadoption_linux_test.goLoading diff…
internal/activator/keyadoption_test.goLoading diff…
internal/activator/ownenv_other.goLoading diff…
internal/activator/ownenv_unix.goLoading diff…
internal/activator/prepare.goLoading diff…
internal/activator/replica_instancekey_linux_test.goLoading diff…
internal/activator/replica_instancekey_test.goLoading diff…
internal/activator/replicakey.goLoading diff…
internal/activator/replicakey_race_test.goLoading diff…
internal/appconfig/instancekey.goLoading diff…
internal/appconfig/instancekey_test.goLoading diff…
internal/appconfig/syncexec_instancekey_test.goLoading diff…
internal/host/agent.goLoading diff…
internal/host/claim_instancekey_test.goLoading diff…
internal/host/claim_replica_instancekey_test.goLoading diff…
internal/host/claimmoveaccess.goLoading diff…
internal/host/claimowners.goLoading diff…
internal/host/claimproduction.goLoading diff…
internal/host/configguard.goLoading diff…
internal/host/instancekey_adoption_test.goLoading diff…
internal/host/instancekeys.goLoading diff…
internal/host/instancekeys_test.goLoading diff…
internal/host/layoutleg.goLoading diff…
internal/host/replicahomekeys.goLoading diff…
internal/host/replicahomekeys_test.goLoading diff…
internal/hostfiles/relay.goLoading diff…
internal/hostfiles/relay_test.goLoading diff…
internal/instancekey/instancekey.goLoading diff…
internal/instancekey/instancekey_test.goLoading diff…
internal/moves/archive/instancekey_test.goLoading diff…
internal/moves/envreport_instancekey_test.goLoading diff…