carlos / platform Public

managed fleets 2b2: bound the static store and managed-boot systemctl

Main's bounded-call guards (65951fbb) flagged two call sites this branch
added:
- lease.NewStaticFilesStore built an aws.Config without rootaws's bounded
  transport. It now sets HTTPClient: rootaws.BoundedHTTPClient(), as
  main's fence writer does; credentials, region, retryer and the s3compat
  options are unchanged.
- newManagedBoot ran /usr/bin/systemctl through m.run. It now runs
  systemd.Command(systemd.SystemctlAbsolute) with mbCleanEnv, dir / and
  stdout/stderr, exactly what mbRun set. Its verbs (daemon-reload,
  start --no-block) are mutations, which internal/systemd gives no bound
  of its own, so the boot context alone still ends them, as before.

Census re-proposed: newManagedBoot is a new unit (the census now counts
its Command call); the internal/host and internal/lease envelopes are
re-pinned. Every other claim carried verbatim.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev c7d75072e3fa951399c0ad6200f5bf6ca567178d parent 96b2c6c
5 files changed, +20 −7
  • docs/superpowers/notes/census-proposal-managed-fleets-2b2.md +3 −2
  • internal/host/managedboot_linux.go +7 −1
  • internal/lease/endpoint.go +4 −0
  • internal/provision/testdata/plan14-root-reads-chain.tsv +1 −1
  • internal/provision/testdata/plan14-root-reads-managed-fleets-2b2.tsv +5 −3

CI failed — run details

CI log
=== gate ===
go: downloading go1.26.10 (linux/arm64)
go version go1.26.10 linux/arm64
opentofu: arm64, tofu 1.13.9, aws 6.73.0, archive 2.8.1
  tofu: downloading https://carlos-ci-mirror-640012953448.s3.eu-west-1.amazonaws.com/opentofu/tofu_1.13.9_linux_arm64.tar.gz
  tofu: downloaded, digest verified
  aws: downloading https://carlos-ci-mirror-640012953448.s3.eu-west-1.amazonaws.com/opentofu/terraform-provider-aws_6.73.0_linux_arm64.zip
  aws: downloaded, digest verified
  archive: downloading https://carlos-ci-mirror-640012953448.s3.eu-west-1.amazonaws.com/opentofu/terraform-provider-archive_2.8.1_linux_arm64.zip
  archive: downloaded, digest verified
  installed in /tmp/carlos-opentofu-CFOe6u
.amadan/test-gate.sh
go: downloading github.com/aws/aws-sdk-go-v2/service/cloudwatch v1.68.0
go: downloading github.com/aws/aws-sdk-go-v2/service/costexplorer v1.67.5
go: downloading github.com/aws/aws-sdk-go-v2/service/s3 v1.105.0
go: downloading github.com/aws/smithy-go v1.28.1
go: downloading github.com/benbjohnson/litestream v0.5.14
go: downloading github.com/superfly/ltx v0.5.1
go: downloading golang.org/x/net v0.62.0
go: downloading modernc.org/sqlite v1.55.0
go: downloading golang.org/x/sys v0.49.0
go: downloading github.com/aws/aws-sdk-go-v2/service/acm v1.45.0
go: downloading github.com/aws/aws-sdk-go-v2/service/ec2 v1.324.0
go: downloading github.com/aws/aws-sdk-go-v2/service/iam v1.58.2
go: downloading golang.org/x/crypto v0.58.0
go: downloading golang.org/x/mod v0.41.0
go: downloading github.com/oschwald/maxminddb-golang v1.13.1
go: downloading github.com/pion/logging v0.2.4
go: downloading github.com/pion/stun/v3 v3.1.5
go: downloading github.com/pion/turn/v4 v4.1.4
go: downloading github.com/pierrec/lz4/v4 v4.1.22
go: downloading github.com/klauspost/compress v1.20.2
go: downloading github.com/pion/randutil v0.1.0
go: downloading github.com/pion/transport/v4 v4.0.2
go: downloading github.com/pion/dtls/v3 v3.1.4
go: downloading github.com/wlynxg/anet v0.0.5
go: downloading golang.org/x/sync v0.24.0
go: downloading github.com/prometheus/client_golang v1.17.0
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/prometheus/procfs v0.12.0
go: downloading github.com/prometheus/client_model v0.5.0
go: downloading github.com/cespare/xxhash/v2 v2.3.0
go: downloading github.com/prometheus/common v0.45.0
go: downloading google.golang.org/protobuf v1.36.10
go: downloading golang.org/x/text v0.43.0
go: downloading github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0
go: downloading github.com/klauspost/compress v1.20.2
go: downloading modernc.org/sqlite v1.55.0
go: downloading golang.org/x/crypto/x509roots/fallback v0.0.0-20260209214922-2f26647a795e
go: downloading github.com/aws/aws-sdk-go-v2/service/ecs v1.91.0
go: downloading github.com/pierrec/lz4/v4 v4.1.22
go: downloading modernc.org/libc v1.74.1
go: downloading modernc.org/libc v1.74.1
go: downloading modernc.org/mathutil v1.7.1
go: downloading modernc.org/mathutil v1.7.1
=== launchctx (4 s, from +0 s)
ok  	amadan.net/carlos/platform.git/launchctx	0.015s
?   	amadan.net/carlos/platform.git/launchctx/controlname	[no test files]
?   	amadan.net/carlos/platform.git/launchctx/wireid	[no test files]
=== vet (183 s, from +0 s)
go: downloading github.com/klauspost/compress v1.20.2
go: downloading modernc.org/sqlite v1.55.0
go: downloading github.com/pierrec/lz4/v4 v4.1.22
go: downloading github.com/aws/aws-sdk-go-v2/service/ecs v1.91.0
go: downloading modernc.org/libc v1.74.1
go: downloading github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec
=== vet-tags (177 s, from +0 s)
go: downloading github.com/klauspost/compress v1.20.2
go: downloading modernc.org/sqlite v1.55.0
go: downloading golang.org/x/crypto/x509roots/fallback v0.0.0-20260209214922-2f26647a795e
go: downloading github.com/aws/aws-sdk-go-v2/service/ecs v1.91.0
go: downloading github.com/pierrec/lz4/v4 v4.1.22
go: downloading modernc.org/libc v1.74.1
go: downloading modernc.org/memory v1.11.0
go: downloading modernc.org/mathutil v1.7.1
=== gofmt (2 s, from +0 s)
gofmt -l .: clean
=== rest (384 s, from +15 s)
ok  	github.com/carlosframework/platform/cmd/carlos-media	129.813s
?   	github.com/carlosframework/platform/cmd/changelog	[no test files]
ok  	github.com/carlosframework/platform/cmd/console	211.136s
ok  	github.com/carlosframework/platform/cmd/mediaimage	43.987s
ok  	github.com/carlosframework/platform/cmd/moveprobe	16.933s
ok  	github.com/carlosframework/platform/cmd/pricebook-export	0.035s
ok  	github.com/carlosframework/platform/cmd/rootfswitness	0.167s
ok  	github.com/carlosframework/platform/cmd/runsc-assets	0.201s
ok  	github.com/carlosframework/platform/cmd/zddprobe	1.012s
ok  	github.com/carlosframework/platform/internal/agentsock	0.082s
ok  	github.com/carlosframework/platform/internal/alerting	0.030s
ok  	github.com/carlosframework/platform/internal/analytics	0.424s
ok  	github.com/carlosframework/platform/internal/appconfig	45.005s
ok  	github.com/carlosframework/platform/internal/apperr	0.480s
ok  	github.com/carlosframework/platform/internal/applog	0.774s
ok  	github.com/carlosframework/platform/internal/apppolicy	2.831s
ok  	github.com/carlosframework/platform/internal/assetcache	0.732s
ok  	github.com/carlosframework/platform/internal/awsinv	0.011s
ok  	github.com/carlosframework/platform/internal/awsmanaged	8.862s
ok  	github.com/carlosframework/platform/internal/awsregiongroup	0.470s
ok  	github.com/carlosframework/platform/internal/awsterminations	0.064s
ok  	github.com/carlosframework/platform/internal/backupswords	0.007s
ok  	github.com/carlosframework/platform/internal/billing	0.136s
ok  	github.com/carlosframework/platform/internal/billing/billingtest	0.112s
ok  	github.com/carlosframework/platform/internal/billingstripe	2.500s
ok  	github.com/carlosframework/platform/internal/boxchoice	0.063s
ok  	github.com/carlosframework/platform/internal/boxid	2.627s
?   	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/boxroles	0.064s
ok  	github.com/carlosframework/platform/internal/boxself	0.227s
ok  	github.com/carlosframework/platform/internal/boxvolumes	0.092s
ok  	github.com/carlosframework/platform/internal/caps	5.212s
ok  	github.com/carlosframework/platform/internal/certwarm	0.025s
ok  	github.com/carlosframework/platform/internal/cgroup	1.517s
ok  	github.com/carlosframework/platform/internal/changelog	5.116s
ok  	github.com/carlosframework/platform/internal/clamd	0.089s
?   	github.com/carlosframework/platform/internal/cliflag	[no test files]
ok  	github.com/carlosframework/platform/internal/clireg	0.018s
ok  	github.com/carlosframework/platform/internal/codehealth	20.434s
ok  	github.com/carlosframework/platform/internal/compute	0.031s
ok  	github.com/carlosframework/platform/internal/consolefleet	0.038s
?   	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	11.466s
ok  	github.com/carlosframework/platform/internal/dbdoor/dbdoortest	0.060s
ok  	github.com/carlosframework/platform/internal/dbquery	0.043s
ok  	github.com/carlosframework/platform/internal/dbreads	3.599s
?   	github.com/carlosframework/platform/internal/dbreads/dbreadstest	[no test files]
ok  	github.com/carlosframework/platform/internal/dbverify	0.039s
ok  	github.com/carlosframework/platform/internal/demo	0.011s
ok  	github.com/carlosframework/platform/internal/demobuild	3.802s
ok  	github.com/carlosframework/platform/internal/democlaim	0.624s
ok  	github.com/carlosframework/platform/internal/devbox	20.331s
ok  	github.com/carlosframework/platform/internal/dnsrec	0.020s
ok  	github.com/carlosframework/platform/internal/docsite	0.119s
ok  	github.com/carlosframework/platform/internal/domainreg	0.019s
ok  	github.com/carlosframework/platform/internal/domains	69.613s
ok  	github.com/carlosframework/platform/internal/doorkey	0.018s
ok  	github.com/carlosframework/platform/internal/economics	0.014s
ok  	github.com/carlosframework/platform/internal/edgefence	0.311s
ok  	github.com/carlosframework/platform/internal/edgeguard	0.350s
?   	github.com/carlosframework/platform/internal/edgeproof	[no test files]
ok  	github.com/carlosframework/platform/internal/edgesfile	0.139s
ok  	github.com/carlosframework/platform/internal/egressaddr	0.008s
ok  	github.com/carlosframework/platform/internal/execsandbox	99.788s
ok  	github.com/carlosframework/platform/internal/fileacl	0.006s
ok  	github.com/carlosframework/platform/internal/fleetapi	2.608s
ok  	github.com/carlosframework/platform/internal/fleetstore	0.015s
ok  	github.com/carlosframework/platform/internal/fxrate	0.051s
ok  	github.com/carlosframework/platform/internal/gate	5.494s
ok  	github.com/carlosframework/platform/internal/genselect	0.131s
ok  	github.com/carlosframework/platform/internal/geo	0.080s
ok  	github.com/carlosframework/platform/internal/geoip	0.129s
ok  	github.com/carlosframework/platform/internal/groupadmission	0.008s
ok  	github.com/carlosframework/platform/internal/grouprollaws	17.498s
ok  	github.com/carlosframework/platform/internal/hadeparture	0.059s
ok  	github.com/carlosframework/platform/internal/hafresh	0.009s
ok  	github.com/carlosframework/platform/internal/hairpin	0.256s
ok  	github.com/carlosframework/platform/internal/historyreadback	1.125s
ok  	github.com/carlosframework/platform/internal/hostactors	23.889s
ok  	github.com/carlosframework/platform/internal/hostbox	26.156s
ok  	github.com/carlosframework/platform/internal/hostclaim	3.242s
ok  	github.com/carlosframework/platform/internal/hostenv	0.039s
ok  	github.com/carlosframework/platform/internal/hostevidence	0.054s
ok  	github.com/carlosframework/platform/internal/hostexec	25.592s
ok  	github.com/carlosframework/platform/internal/hostfence	0.283s
ok  	github.com/carlosframework/platform/internal/hostfiles	27.871s
ok  	github.com/carlosframework/platform/internal/hostfloor	0.077s
ok  	github.com/carlosframework/platform/internal/hostguard	1.641s
ok  	github.com/carlosframework/platform/internal/hostops	8.005s
?   	github.com/carlosframework/platform/internal/hostops/fencerelease	[no test files]
ok  	github.com/carlosframework/platform/internal/hostops/internal/fencerelease	0.020s
ok  	github.com/carlosframework/platform/internal/hostquarantine	0.039s
ok  	github.com/carlosframework/platform/internal/hostrelocate	1.996s
ok  	github.com/carlosframework/platform/internal/hostresolve	0.710s
ok  	github.com/carlosframework/platform/internal/hostwrite	0.009s
ok  	github.com/carlosframework/platform/internal/infraview	0.009s
ok  	github.com/carlosframework/platform/internal/ingresshealth	0.008s
ok  	github.com/carlosframework/platform/internal/ingresshealth/awstg	0.019s
ok  	github.com/carlosframework/platform/internal/instancectl	62.804s
ok  	github.com/carlosframework/platform/internal/instanceexec	9.582s
ok  	github.com/carlosframework/platform/internal/instancefs	0.026s
ok  	github.com/carlosframework/platform/internal/instancekey	0.019s
ok  	github.com/carlosframework/platform/internal/instanceupdates	0.052s
ok  	github.com/carlosframework/platform/internal/interactive	0.649s
ok  	github.com/carlosframework/platform/internal/launchd	0.007s
ok  	github.com/carlosframework/platform/internal/layout	25.555s
ok  	github.com/carlosframework/platform/internal/layout/pubclass	100.166s
ok  	github.com/carlosframework/platform/internal/lbhealth	0.011s
ok  	github.com/carlosframework/platform/internal/lease	147.723s
ok  	github.com/carlosframework/platform/internal/lease/leasetest	1.546s
ok  	github.com/carlosframework/platform/internal/lease/locktest	0.016s
ok  	github.com/carlosframework/platform/internal/ledger	0.050s
ok  	github.com/carlosframework/platform/internal/mail	1.062s
ok  	github.com/carlosframework/platform/internal/mailer	0.913s
ok  	github.com/carlosframework/platform/internal/mailsubmit	2.132s
ok  	github.com/carlosframework/platform/internal/mailwire	0.005s
ok  	github.com/carlosframework/platform/internal/maintenance	0.231s
ok  	github.com/carlosframework/platform/internal/maintenanceexec	9.374s
ok  	github.com/carlosframework/platform/internal/maintenanceguard	0.512s
ok  	github.com/carlosframework/platform/internal/managedboot	4.905s
?   	github.com/carlosframework/platform/internal/managedboot/boottest	[no test files]
?   	github.com/carlosframework/platform/internal/managedboot/roottest	[no test files]
ok  	github.com/carlosframework/platform/internal/media	2.049s
ok  	github.com/carlosframework/platform/internal/media/mediatest	0.010s
ok  	github.com/carlosframework/platform/internal/mediaaws	64.118s
ok  	github.com/carlosframework/platform/internal/mediahandler	44.651s
ok  	github.com/carlosframework/platform/internal/mediajobs	1.496s
ok  	github.com/carlosframework/platform/internal/medialocal	9.812s
ok  	github.com/carlosframework/platform/internal/metrics	0.166s
ok  	github.com/carlosframework/platform/internal/minorunits	0.006s
ok  	github.com/carlosframework/platform/internal/moves	55.859s
ok  	github.com/carlosframework/platform/internal/moves/archive	3.906s
ok  	github.com/carlosframework/platform/internal/moves/offlinerun	0.081s
ok  	github.com/carlosframework/platform/internal/namedunits	0.048s
ok  	github.com/carlosframework/platform/internal/objstore	2.498s
ok  	github.com/carlosframework/platform/internal/ops	16.028s
ok  	github.com/carlosframework/platform/internal/pageindex	3.880s
ok  	github.com/carlosframework/platform/internal/parity	0.158s
?   	github.com/carlosframework/platform/internal/parity/cmd/parity-doc	[no test files]
ok  	github.com/carlosframework/platform/internal/park	0.838s
ok  	github.com/carlosframework/platform/internal/perf	0.208s
ok  	github.com/carlosframework/platform/internal/plans	0.160s
ok  	github.com/carlosframework/platform/internal/privatefile	0.016s
ok  	github.com/carlosframework/platform/internal/provision	239.050s
ok  	github.com/carlosframework/platform/internal/proxyproto	0.949s
ok  	github.com/carlosframework/platform/internal/publicrelease	0.049s
ok  	github.com/carlosframework/platform/internal/ratelimit	0.244s
ok  	github.com/carlosframework/platform/internal/regionlabel	0.071s
ok  	github.com/carlosframework/platform/internal/regionname	0.024s
ok  	github.com/carlosframework/platform/internal/registrar	0.013s
ok  	github.com/carlosframework/platform/internal/registrar/openprovider	0.657s
?   	github.com/carlosframework/platform/internal/registrar/registrartest	[no test files]
ok  	github.com/carlosframework/platform/internal/registry	82.588s
ok  	github.com/carlosframework/platform/internal/relay	7.596s
ok  	github.com/carlosframework/platform/internal/release	83.076s
ok  	github.com/carlosframework/platform/internal/replicagen	0.035s
ok  	github.com/carlosframework/platform/internal/replicas	0.090s
ok  	github.com/carlosframework/platform/internal/reqrec	5.065s
ok  	github.com/carlosframework/platform/internal/rollout	13.356s
ok  	github.com/carlosframework/platform/internal/rolloutwords	0.018s
ok  	github.com/carlosframework/platform/internal/rootaws	102.080s
ok  	github.com/carlosframework/platform/internal/rootfsimage	0.745s
ok  	github.com/carlosframework/platform/internal/rootparticipation	0.104s
ok  	github.com/carlosframework/platform/internal/rootstate	0.037s
ok  	github.com/carlosframework/platform/internal/runs	0.705s
ok  	github.com/carlosframework/platform/internal/s3compat	0.015s
ok  	github.com/carlosframework/platform/internal/s3fake	1.286s
ok  	github.com/carlosframework/platform/internal/safefile	0.032s
ok  	github.com/carlosframework/platform/internal/schedule	23.832s
ok  	github.com/carlosframework/platform/internal/seeds	0.108s
ok  	github.com/carlosframework/platform/internal/sim/litestreamfacts	4.926s
ok  	github.com/carlosframework/platform/internal/sim/mediajobs	52.867s
ok  	github.com/carlosframework/platform/internal/sim/regionha	25.055s
ok  	github.com/carlosframework/platform/internal/status	0.670s
ok  	github.com/carlosframework/platform/internal/steering	0.441s
ok  	github.com/carlosframework/platform/internal/stopevidence	0.859s
ok  	github.com/carlosframework/platform/internal/storecfg	0.489s
ok  	github.com/carlosframework/platform/internal/svcrole	0.040s
ok  	github.com/carlosframework/platform/internal/systemd	6.514s
?   	github.com/carlosframework/platform/internal/systemdshow	[no test files]
ok  	github.com/carlosframework/platform/internal/team	4.236s
ok  	github.com/carlosframework/platform/internal/teamcontract	0.366s
ok  	github.com/carlosframework/platform/internal/telemetry	0.084s
ok  	github.com/carlosframework/platform/internal/termfence	2.371s
ok  	github.com/carlosframework/platform/internal/timerspec	0.040s
ok  	github.com/carlosframework/platform/internal/tsidentity	4.270s
ok  	github.com/carlosframework/platform/internal/tunnelclient	0.468s
ok  	github.com/carlosframework/platform/internal/unixdial	0.015s
ok  	github.com/carlosframework/platform/internal/updatewords	0.043s
ok  	github.com/carlosframework/platform/internal/upstreamguard	0.018s
?   	github.com/carlosframework/platform/internal/upstreamguard/guardtest	[no test files]
ok  	github.com/carlosframework/platform/internal/usage	0.036s
ok  	github.com/carlosframework/platform/internal/version	0.008s
ok  	github.com/carlosframework/platform/internal/vet	3.074s
ok  	github.com/carlosframework/platform/internal/zonehost	0.020s
ok  	github.com/carlosframework/platform/internal/zonehost/route53zones	0.070s
?   	github.com/carlosframework/platform/internal/zonehost/zonehosttest	[no test files]
?   	github.com/carlosframework/platform/scripts/gitleaks-gate	[no test files]
ok  	github.com/carlosframework/platform/scripts/govulncheck-gate	0.022s
ok  	github.com/carlosframework/platform/scripts/pathmapcheck	0.078s
ok  	github.com/carlosframework/platform/scripts/region-ha-g2/fixture	5.146s
ok  	github.com/carlosframework/platform/scripts/stateless-replicas-drill	1.235s
ok  	github.com/carlosframework/platform/scripts/witness-pointer	0.037s
=== cutover-witness (161 s, from +15 s)
ok  	github.com/carlosframework/platform	2.255s
=== internal_grouproll@0 (276 s, from +74 s)
ok  	github.com/carlosframework/platform/internal/grouproll	275.120s
=== internal_grouproll@1 (282 s, from +74 s)
ok  	github.com/carlosframework/platform/internal/grouproll	280.912s
=== internal_activator@0 (151 s, from +144 s)
ok  	github.com/carlosframework/platform/internal/activator	147.490s
=== internal_activator@1 (132 s, from +144 s)
ok  	github.com/carlosframework/platform/internal/activator	128.574s
=== internal_activator@2 (136 s, from +144 s)
ok  	github.com/carlosframework/platform/internal/activator	132.682s
=== internal_activator@3 (180 s, from +144 s)
ok  	github.com/carlosframework/platform/internal/activator	175.962s
=== root@0 (119 s, from +172 s)
ok  	github.com/carlosframework/platform	110.121s
=== root@1 (112 s, from +172 s)
ok  	github.com/carlosframework/platform	101.764s
=== root@2 (122 s, from +172 s)
ok  	github.com/carlosframework/platform	113.760s
=== root@3 (109 s, from +172 s)
ok  	github.com/carlosframework/platform	102.272s
=== root@4 (115 s, from +172 s)
ok  	github.com/carlosframework/platform	106.868s
=== internal_edge@0 (188 s, from +186 s)
ok  	github.com/carlosframework/platform/internal/edge	181.115s
=== internal_edge@1 (134 s, from +186 s)
ok  	github.com/carlosframework/platform/internal/edge	126.690s
=== internal_edge@2 (155 s, from +186 s)
ok  	github.com/carlosframework/platform/internal/edge	149.076s
=== internal_edge@3 (208 s, from +186 s)
ok  	github.com/carlosframework/platform/internal/edge	201.360s
=== internal_host@0 (145 s, from +217 s)
ok  	github.com/carlosframework/platform/internal/host	140.164s
=== internal_host@1 (139 s, from +217 s)
ok  	github.com/carlosframework/platform/internal/host	134.151s
=== internal_host@2 (209 s, from +217 s)
ok  	github.com/carlosframework/platform/internal/host	204.555s
=== internal_host@3 (311 s, from +217 s)
ok  	github.com/carlosframework/platform/internal/host	306.484s
=== internal_host@4 (162 s, from +217 s)
ok  	github.com/carlosframework/platform/internal/host	156.998s
=== internal_host@5 (219 s, from +217 s)
ok  	github.com/carlosframework/platform/internal/host	214.355s
=== internal_console@0 (201 s, from +226 s)
ok  	github.com/carlosframework/platform/internal/console	194.095s
=== internal_console@1 (208 s, from +226 s)
ok  	github.com/carlosframework/platform/internal/console	202.259s
=== internal_console@2 (200 s, from +226 s)
ok  	github.com/carlosframework/platform/internal/console	194.209s
=== internal_console@3 (248 s, from +226 s)
ok  	github.com/carlosframework/platform/internal/console	242.339s
=== internal_console@4 (190 s, from +226 s)
ok  	github.com/carlosframework/platform/internal/console	183.740s
=== internal_console@5 (205 s, from +226 s)
ok  	github.com/carlosframework/platform/internal/console	197.914s
=== internal_console@6 (205 s, from +226 s)
ok  	github.com/carlosframework/platform/internal/console	197.802s
=== internal_console@7 (212 s, from +226 s)
ok  	github.com/carlosframework/platform/internal/console	204.886s
=== internal_console@8 (210 s, from +226 s)
ok  	github.com/carlosframework/platform/internal/console	204.223s
=== internal_console@9 (233 s, from +226 s)
ok  	github.com/carlosframework/platform/internal/console	226.596s
=== internal_console@10 (221 s, from +226 s)
ok  	github.com/carlosframework/platform/internal/console	213.732s
=== internal_console@11 (257 s, from +226 s)
ok  	github.com/carlosframework/platform/internal/console	249.918s
=== internal_console@12 (291 s, from +226 s)
ok  	github.com/carlosframework/platform/internal/console	283.561s
=== internal_console@13 (210 s, from +226 s)
ok  	github.com/carlosframework/platform/internal/console	203.229s
=== internal_console@14 (208 s, from +226 s)
ok  	github.com/carlosframework/platform/internal/console	201.584s
=== internal_console@15 (248 s, from +226 s)
ok  	github.com/carlosframework/platform/internal/console	240.824s
=== internal_console@16 (200 s, from +226 s)
ok  	github.com/carlosframework/platform/internal/console	193.339s
=== internal_console@17 (193 s, from +226 s)
ok  	github.com/carlosframework/platform/internal/console	187.120s
=== internal_console@18 (204 s, from +226 s)
ok  	github.com/carlosframework/platform/internal/console	197.040s
=== internal_console@19 (195 s, from +226 s)
ok  	github.com/carlosframework/platform/internal/console	187.788s
=== internal_console@20 (197 s, from +226 s)
ok  	github.com/carlosframework/platform/internal/console	188.982s
=== internal_console@21 (227 s, from +226 s)
ok  	github.com/carlosframework/platform/internal/console	220.603s
=== internal_console@22 (220 s, from +226 s)
ok  	github.com/carlosframework/platform/internal/console	212.558s
=== internal_console@23 (229 s, from +226 s)
ok  	github.com/carlosframework/platform/internal/console	221.232s
=== lists: internal_console 225 s, internal_edge 185 s, internal_activator 143 s, internal_host 216 s, root 171 s, internal_grouproll 73 s
=== cpu: the gate used 12829 cpu-seconds in 529 s, about 24.3 of 32 cores; the machine as a whole was 81% busy
=== opentofu ===
opentofu: 37 test files in 11 suites, OpenTofu v1.13.9
  initialised in 14 s
  ok      16 s  infra/modules/box-fence-writer/tests/writer.tftest.hcl  Success! 1 passed, 0 failed.
  ok      27 s  infra/modules/deployment-buckets/tests/data_lifecycle.tftest.hcl  Success! 3 passed, 0 failed.
  ok      22 s  infra/modules/deployment-buckets/tests/db_reads.tftest.hcl  Success! 1 passed, 0 failed.
  ok      21 s  infra/modules/deployment-buckets/tests/evidence.tftest.hcl  Success! 1 passed, 0 failed.
  ok      30 s  infra/modules/deployment-buckets/tests/fence_writers.tftest.hcl  Success! 3 passed, 0 failed.
  ok      26 s  infra/modules/deployment-buckets/tests/media_results.tftest.hcl  Success! 2 passed, 0 failed.
  ok      89 s  infra/modules/media-engine/tests/media_engine.tftest.hcl  Success! 24 passed, 0 failed.
  ok      37 s  infra/modules/pdf-host/tests/computed.tftest.hcl  Success! 2 passed, 0 failed.
  ok      60 s  infra/modules/pdf-host/tests/pdf_host.tftest.hcl  Success! 24 passed, 0 failed.
  ok      41 s  infra/modules/region-group-operator-document/tests/document.tftest.hcl  Success! 12 passed, 0 failed.
  ok      20 s  infra/modules/region-host/ingress/tests/fixed-targets/tests/targets.tftest.hcl  Success! 2 passed, 0 failed.
  ok      71 s  infra/modules/region-host/ingress/tests/group_ingress.tftest.hcl  Success! 30 passed, 0 failed.
  ok      47 s  infra/modules/region-host/tests/alert_publish.tftest.hcl  Success! 18 passed, 0 failed.
  ok      42 s  infra/modules/region-host/tests/alerts_topic.tftest.hcl  Success! 16 passed, 0 failed.
  ok      13 s  infra/modules/region-host/tests/analytics_prune.tftest.hcl  Success! 2 passed, 0 failed.
  ok      16 s  infra/modules/region-host/tests/console_mail.tftest.hcl  Success! 4 passed, 0 failed.
  ok       8 s  infra/modules/region-host/tests/fixed_state_unchanged.tftest.hcl  Success! 1 passed, 0 failed.
  ok      71 s  infra/modules/region-host/tests/group.tftest.hcl  Success! 32 passed, 0 failed.
  ok      11 s  infra/modules/region-host/tests/group_alarms.tftest.hcl  Success! 4 passed, 0 failed.
  ok      10 s  infra/modules/region-host/tests/group_iam.tftest.hcl  Success! 4 passed, 0 failed.
  ok       5 s  infra/modules/region-host/tests/group_isolation.tftest.hcl  Success! 1 passed, 0 failed.
  ok      38 s  infra/modules/region-host/tests/group_operator.tftest.hcl  Success! 13 passed, 0 failed.
  ok      10 s  infra/modules/region-host/tests/group_user_data.tftest.hcl  Success! 3 passed, 0 failed.
  ok      30 s  infra/modules/region-host/tests/health_alarms.tftest.hcl  Success! 10 passed, 0 failed.
  ok      16 s  infra/modules/region-host/tests/ingress_drain_read.tftest.hcl  Success! 4 passed, 0 failed.
  ok       9 s  infra/modules/region-host/tests/instance_metadata.tftest.hcl  Success! 1 passed, 0 failed.
  ok      24 s  infra/modules/region-host/tests/mailer.tftest.hcl  Success! 6 passed, 0 failed.
  ok      13 s  infra/modules/region-host/tests/mailer_group.tftest.hcl  Success! 2 passed, 0 failed.
  ok      12 s  infra/modules/region-host/tests/managed_fleets/group_refusal.tftest.hcl  Success! 2 passed, 0 failed.
  ok     104 s  infra/modules/region-host/tests/managed_fleets/managed_fleets.tftest.hcl  Success! 46 passed, 0 failed.
  ok      70 s  infra/modules/region-host/tests/store_conversion.tftest.hcl  Success! 27 passed, 0 failed.
  ok      14 s  infra/modules/region-host/tests/store_scanning.tftest.hcl  Success! 4 passed, 0 failed.
  ok      29 s  infra/modules/region-host/tests/store_versioning.tftest.hcl  Success! 11 passed, 0 failed.
  ok      19 s  infra/modules/region-host/tests/user_data_ignored.tftest.hcl  Success! 3 passed, 0 failed.
  ok      12 s  infra/modules/region-remote-host/tests/data_lifecycle.tftest.hcl  Success! 3 passed, 0 failed.
  ok      16 s  infra/modules/region-remote-host/tests/no_deployment_bucket.tftest.hcl  Success! 5 passed, 0 failed.
  ok      30 s  infra/modules/scanner-host/tests/scanner_host.tftest.hcl  Success! 14 passed, 0 failed.
opentofu: 37 files in 209 s
opentofu: PASS
=== cross ===
--- shard 0 of 5 ---
go version go1.26.10 linux/arm64
cross-compiling darwin/arm64
--- shard 1 of 5 ---
go version go1.26.10 linux/arm64
cross-compiling darwin/amd64
--- shard 2 of 5 ---
go version go1.26.10 linux/arm64
cross-compiling linux/arm64
linux/arm64 carlos binary: 66257058 bytes (ceiling 70000000)
--- shard 3 of 5 ---
go version go1.26.10 linux/arm64
cross-compiling windows/amd64
--- shard 4 of 5 ---
go version go1.26.10 linux/arm64
cross-compiling windows/arm64
=== minio-contract ===
go version go1.26.10 linux/arm64
minio contract: arm64, minio RELEASE.2025-09-07T16-13-09Z, mc RELEASE.2025-08-13T08-35-41Z
  minio: downloading https://carlos-ci-mirror-640012953448.s3.eu-west-1.amazonaws.com/minio/minio.linux-arm64.RELEASE.2025-09-07T16-13-09Z
  minio: downloaded, digest verified
  mc: downloading https://carlos-ci-mirror-640012953448.s3.eu-west-1.amazonaws.com/minio/mc.linux-arm64.RELEASE.2025-08-13T08-35-41Z
  mc: downloaded, digest verified
  minio healthy on 127.0.0.1:34841
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.03s)
    --- 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.038s
=== RUN   TestT4StorageProbeMinio
2026/11/25 14:24:55 moves: T4: STORE: list: operation error S3: ListObjectsV2, https response error StatusCode: 403, RequestID: 18EB4FDEEE823610, HostID: a1766e04c1a8a765b36f4ad3fa3e34fa7b8a3fb4d9d5b06ca8bb14e324187924, 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.048s
=== RUN   TestS3StoreMinioContract
=== RUN   TestS3StoreMinioContract/conditional_get_and_etag_listing
=== RUN   TestS3StoreMinioContract/bump_through_every_mutation_path
--- PASS: TestS3StoreMinioContract (0.04s)
    --- PASS: TestS3StoreMinioContract/conditional_get_and_etag_listing (0.01s)
    --- PASS: TestS3StoreMinioContract/bump_through_every_mutation_path (0.02s)
PASS
ok  	github.com/carlosframework/platform/internal/release	0.044s
Bucket created successfully `local/analytics-versions`.
local/analytics-versions versioning is enabled
Created policy `analytics-versions` successfully.
Added user `analyticsversions` successfully.
Attached Policies: [analytics-versions]
To User: analyticsversions
=== RUN   TestS3StoreMinioVersions
--- PASS: TestS3StoreMinioVersions (0.03s)
PASS
ok  	github.com/carlosframework/platform/internal/release	0.041s
Bucket created successfully `local/store-versioned`.
local/store-versioned versioning is enabled
Created policy `store-versioned` successfully.
Added user `storeversioned` successfully.
Attached Policies: [store-versioned]
To User: storeversioned
=== RUN   TestVersionedContractMinio
--- PASS: TestVersionedContractMinio (0.01s)
PASS
ok  	github.com/carlosframework/platform/internal/objstore	0.021s
=== RUN   TestEndToEndMinio
=== RUN   TestEndToEndMinio/plan
=== RUN   TestEndToEndMinio/roll
=== RUN   TestEndToEndMinio/replace
=== RUN   TestEndToEndMinio/remove
--- PASS: TestEndToEndMinio (0.49s)
    --- PASS: TestEndToEndMinio/plan (0.01s)
    --- PASS: TestEndToEndMinio/roll (0.13s)
    --- PASS: TestEndToEndMinio/replace (0.16s)
    --- PASS: TestEndToEndMinio/remove (0.16s)
PASS
ok  	github.com/carlosframework/platform/internal/grouproll	0.497s
Bucket created successfully `local/dbf-deploy`.
Bucket created successfully `local/dbf-data-ie`.
Bucket created successfully `local/dbf-data-uk`.
local/dbf-deploy versioning is enabled
Created policy `dbf-console` successfully.
Created policy `dbf-ukbox` successfully.
Added user `dbfconsole` successfully.
Added user `dbfukbox` successfully.
Attached Policies: [dbf-console]
To User: dbfconsole
Attached Policies: [dbf-ukbox]
To User: dbfukbox
=== RUN   TestDBForwardMinio
2026/11/25 14:25:02 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000000 txid.db=0000000000000001
2026/11/25 14:25:02 INFO ltx file uploaded system=store db=source.db replica=file level=0 minTXID=0000000000000001 maxTXID=0000000000000001 size=720
2026/11/25 14:25:02 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000001 txid.db=0000000000000001
2026/11/25 14:25:02 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000001 txid.db=0000000000000002
2026/11/25 14:25:02 INFO ltx file uploaded system=store db=source.db replica=file level=0 minTXID=0000000000000002 maxTXID=0000000000000002 size=370
2026/11/25 14:25:02 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000002 txid.db=0000000000000002
2026/11/25 14:25:02 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000002 txid.db=0000000000000003
2026/11/25 14:25:02 INFO ltx file uploaded system=store db=source.db replica=file level=0 minTXID=0000000000000003 maxTXID=0000000000000003 size=454
2026/11/25 14:25:02 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000003 txid.db=0000000000000003
2026/11/25 14:25:02 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000000 txid.db=0000000000000001
2026/11/25 14:25:02 INFO ltx file uploaded system=store db=source.db replica=file level=0 minTXID=0000000000000001 maxTXID=0000000000000001 size=720
2026/11/25 14:25:02 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000001 txid.db=0000000000000001
2026/11/25 14:25:03 console: CARLOS_SECRETS_PUBKEY is unset, so no region outside the home can be chosen automatically
2026/11/25 14:25:03 console: could not notify member@example.com of a CLI token issue: keymail: lookup member@example.com: keymail: GET /api/federation/lookup?addr=member%40example.com&from=console%40127.0.0.1%3A36991: could not determine target mailbox
    agent.go:136: dbreads: dbr_3ocgkswxmj7flmgnfsoneecafu: planned 3 files (1544 bytes) and restored to 3 in 14ms
    agent.go:136: dbreads: dbr_3ocgkswxmj7flmgnfsoneecafu: output 5 bytes in 1 confirmed chunks in 2ms
2026/11/25 14:25:04 console: db read dbr_3ocgkswxmj7flmgnfsoneecafu: relayed 1 chunks (102 bytes) in 1.005s, ended done
    agent.go:136: dbreads: dbr_gjcnderqwy6kfzbnkc5p47wt6e: planned 1 files (720 bytes) and restored to 1 in 12ms
    agent.go:136: dbreads: dbr_gjcnderqwy6kfzbnkc5p47wt6e: output 5 bytes in 1 confirmed chunks in 2ms
2026/11/25 14:25:05 console: db read dbr_gjcnderqwy6kfzbnkc5p47wt6e: relayed 1 chunks (102 bytes) in 1.006s, ended done
    agent.go:136: dbreads: dbr_sfuymaqbqurnm6n7geujo7kcsi: planned 3 files (1544 bytes) and held through 3 in 13ms
    agent.go:136: dbreads: dbr_sfuymaqbqurnm6n7geujo7kcsi: output 1544 bytes in 1 confirmed chunks in 1ms
2026/11/25 14:25:06 console: db read dbr_sfuymaqbqurnm6n7geujo7kcsi: relayed 1 chunks (1641 bytes) in 1.005s, ended done
=== RUN   TestDBForwardMinio/by_disconnect
=== NAME  TestDBForwardMinio
    agent.go:136: dbreads: dbr_n2epjiwcocx2iep52pdvfmkexa: planned 3 files (1544 bytes) and restored to 3 in 14ms
2026/11/25 14:25:06 console: db read dbr_n2epjiwcocx2iep52pdvfmkexa: relayed 0 chunks (0 bytes) in 34ms, ended client gone
    agent.go:136: dbreads: dbr_n2epjiwcocx2iep52pdvfmkexa: output 5 bytes in 1 confirmed chunks in 104ms
=== RUN   TestDBForwardMinio/by_timeout
=== NAME  TestDBForwardMinio
    agent.go:136: dbreads: dbr_37ahnvobslzunwpqrtao2wbe5y: planned 3 files (1544 bytes) and restored to 3 in 14ms
2026/11/25 14:25:26 console: db read dbr_37ahnvobslzunwpqrtao2wbe5y: relayed 0 chunks (0 bytes) in 19.664s, ended no-result
    agent.go:136: dbreads: dbr_37ahnvobslzunwpqrtao2wbe5y: output 5 bytes in 1 confirmed chunks in 19.638s
--- PASS: TestDBForwardMinio (23.36s)
    --- PASS: TestDBForwardMinio/by_disconnect (0.25s)
    --- PASS: TestDBForwardMinio/by_timeout (19.78s)
PASS
ok  	github.com/carlosframework/platform/internal/console	23.402s
Bucket created successfully `local/media-transfers`.
Bucket created successfully `local/media-transfer-results`.
local/media-transfer-results versioning is enabled
Created policy `media-transfers` successfully.
Added user `mediatransfers` successfully.
Attached Policies: [media-transfers]
To User: mediatransfers
=== RUN   TestMediaTransfersMinio
    upload.go:117: codec: the store already holds video.mp4
    upload.go:117: codec: the store already holds video.m3u8
    upload.go:117: codec: the store already holds poster.jpg
--- PASS: TestMediaTransfersMinio (0.08s)
PASS
ok  	github.com/carlosframework/platform/internal/mediaaws	0.084s
Bucket created successfully `local/media-local-store`.
Bucket created successfully `local/media-local-results`.
Created policy `media-local` successfully.
Added user `medialocal` successfully.
Attached Policies: [media-local]
To User: medialocal
=== RUN   TestLocalEndToEndMinio
--- PASS: TestLocalEndToEndMinio (0.59s)
PASS
ok  	github.com/carlosframework/platform/internal/medialocal	0.592s
=== RUN   TestHeldHandoverTwoBoxMinio
2026/11/25 14:25:31 edge: mesh key: minted
2026/11/25 14:25:31 provision: minted sidecar route bot0.shop.bac.sidecar.internal (app "shop" acct "bac" args ["work"])
2026/11/25 14:25:31 provision: minted sidecar route bot0.shop.bac.sidecar.internal (app "shop" acct "bac" args ["work"])
2026/11/25 14:25:31 tenant admission is open. accepting tenant work
2026/11/25 14:25:31 activator: HA placement host=shop-d191d805.example.test kind=Place ref=annie reason=roomiest generation=2026-11-25T14:25:31Z lock_generation=0
2026/11/25 14:25:31 lease: t8-d191d805/shop-d191d805.example.test: HA lease acquired in 6ms (first wake)
2026/11/25 14:25:31 activator: shop-d191d805.example.test: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/25 14:25:31 activator: shop-d191d805.example.test: started carlos-instance@shop\x2dd191d805.example.test.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 7ms, control socket 0s, key gate 0s, logs 0s) 7ms, launch file 0s, gate 0s, root start 1ms)
2026/11/25 14:25:31 activator: shop-d191d805.example.test: carlos-instance@shop\x2dd191d805.example.test.service launched in 8ms, healthy 0s later
2026/11/25 14:25:31 activator: shop-d191d805.example.test: woke in 25ms: checks 0s, lease 7ms, restore 0s, identity 0s, protect 0s, spawn 9ms, replicate 9ms
2026/11/25 14:25:31 lease: t8-d191d805/plain-d191d805.example.test: acquired in 2ms (client 0s, lock read and write 1ms)
2026/11/25 14:25:31 activator: no replica for plain-d191d805.example.test in s3://contract-bucket/t8-d191d805/plain-d191d805.example.test — booting fresh
2026/11/25 14:25:31 activator: plain-d191d805.example.test: started carlos-instance@plain\x2dd191d805.example.test.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 1ms, instance key 0s, env 4ms, control socket 0s, key gate 0s, logs 0s) 6ms, launch file 0s, gate 0s, root start 1ms)
2026/11/25 14:25:31 activator: plain-d191d805.example.test: carlos-instance@plain\x2dd191d805.example.test.service launched in 7ms, healthy 0s later
2026/11/25 14:25:31 activator: plain-d191d805.example.test: woke in 98ms: checks 0s, lease 2ms, restore 20ms, identity 0s, protect 0s, spawn 7ms, replicate 69ms
2026/11/25 14:25:31 lease: t8-d191d805/bot0.shop.bac.sidecar.internal: HA lease acquired in 4ms (first wake)
2026/11/25 14:25:31 activator: bot0.shop.bac.sidecar.internal: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/25 14:25:31 activator: bot0.shop.bac.sidecar.internal: woke in 20ms: checks 0s, lease 5ms, restore 0s, identity 0s, protect 0s, spawn 7ms, settle 0s, replicate 7ms
2026/11/25 14:25:31 activator: next-due probe plain-d191d805.example.test: decode /api/next-due: invalid character 'a' looking for beginning of value — recording none (it sleeps until a request)
2026/11/25 14:25:31 activator: plain-d191d805.example.test hibernated
2026/11/25 14:25:31 activator: next-due probe shop-d191d805.example.test: decode /api/next-due: invalid character 'a' looking for beginning of value — recording none (it sleeps until a request)
2026/11/25 14:25:31 activator: bot0.shop.bac.sidecar.internal: released with a marker (clean true, txid 1, files 3:b5cf9d20a0d75677586cff19eb24ee962247ef293d56fb7df00875f64b864fe1) in 8ms: files 1ms, sync 5ms, record 1ms, marker 2ms
2026/11/25 14:25:31 activator: bot0.shop.bac.sidecar.internal hibernated
2026/11/25 14:25:31 activator: shop-d191d805.example.test: released with a marker (clean true, txid 1, files 3:82ae0498c036892c9157cd1a8ec3cc470a6e41f1484c373791485443ca73efef) in 6ms: files 1ms, sync 2ms, record 1ms, marker 2ms
2026/11/25 14:25:31 activator: shop-d191d805.example.test hibernated
2026/11/25 14:25:31 lease: t8-d191d805/shop-d191d805.example.test: HA lease acquired in 3ms (clean marker)
2026/11/25 14:25:31 activator: shop-d191d805.example.test: restored (other-box)
2026/11/25 14:25:31 activator: shop-d191d805.example.test: started carlos-instance@shop\x2dd191d805.example.test.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 1ms, control socket 0s, key gate 0s, logs 0s) 1ms, launch file 0s, gate 0s, root start 1ms)
2026/11/25 14:25:31 activator: shop-d191d805.example.test: carlos-instance@shop\x2dd191d805.example.test.service launched in 2ms, healthy 0s later
2026/11/25 14:25:31 activator: shop-d191d805.example.test: woke in 41ms: checks 0s, lease 4ms, restore 26ms, identity 0s, protect 0s, spawn 2ms, replicate 8ms
2026/11/25 14:25:31 edge: ha-take shop-d191d805.example.test from annie (txn t8-witness, marker generation 1): holder betty, generation 2
2026/11/25 14:25:31 edge: forward shop-d191d805.example.test: annie handed the request over to betty; sending it there (occurrence #1)
    hadrain_twobox_minio_linux_test.go:1238: drain report: {V:1 Transaction:t8-witness Incarnation:0819fad23f34e123e30c8518b0013eee Step:move Result:ok Reasons:[] Fence:t8-witness StartedAt:2026-11-25 14:25:31.724313133 +0000 UTC FinishedAt:2026-11-25 14:25:31.822659648 +0000 UTC Acked:[betty carol] Departed:[] Moved:[{Host:shop-d191d805.example.test Holder:betty Gen:2 Confirmed:take}] Released:[{Host:plain-d191d805.example.test Kind:other Marker:true Clean:true Reason:} {Host:bot0.shop.bac.sidecar.internal Kind:worker Marker:true Clean:true Reason:}] Unclean:[] Left:[] Holds:{LongestMS:74 Todays:0 RefusedAtOnce:1} Closed:0 Quiet:{DrainQuiet:{Waking:0 Stopping:0 Recovering:0 Owed:0} Held:[]}}
    hadrain_twobox_minio_linux_test.go:1239: driver calls: [begin shop-d191d805.example.test <nil> stop plain-d191d805.example.test marker=true clean=true <nil> releasing shop-d191d805.example.test <nil> stop bot0.shop.bac.sidecar.internal marker=true clean=true <nil> stop shop-d191d805.example.test marker=true clean=true <nil> taken shop-d191d805.example.test betty <nil> end-moves]
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-d191d805/bot0.shop.bac.sidecar.internal/0001/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-d191d805/bot0.shop.bac.sidecar.internal/0002/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-d191d805/bot0.shop.bac.sidecar.internal/0003/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-d191d805/shop-d191d805.example.test/lock.json
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: DELETE /contract-bucket/t8-d191d805/plain-d191d805.example.test/lock.json
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-d191d805/bot0.shop.bac.sidecar.internal/0009/0000000000000001-0000000000000001.ltx
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-d191d805/bot0.shop.bac.sidecar.internal/lock.json
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-d191d805/shop-d191d805.example.test/0009/0000000000000001-0000000000000001.ltx
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-d191d805/shop-d191d805.example.test/lock.json
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-d191d805/shop-d191d805.example.test/lock.json
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-d191d805/shop-d191d805.example.test/lock.json
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-d191d805/shop-d191d805.example.test/head.json
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-d191d805/shop-d191d805.example.test/generations/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-d191d805/shop-d191d805.example.test/0009/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-d191d805/shop-d191d805.example.test/0008/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-d191d805/shop-d191d805.example.test/0007/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-d191d805/shop-d191d805.example.test/0006/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-d191d805/shop-d191d805.example.test/0005/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-d191d805/shop-d191d805.example.test/0004/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-d191d805/shop-d191d805.example.test/0003/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-d191d805/shop-d191d805.example.test/0002/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-d191d805/shop-d191d805.example.test/0001/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-d191d805/shop-d191d805.example.test/0000/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-d191d805/shop-d191d805.example.test/0009/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-d191d805/shop-d191d805.example.test/0008/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-d191d805/shop-d191d805.example.test/0007/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-d191d805/shop-d191d805.example.test/0006/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-d191d805/shop-d191d805.example.test/0005/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-d191d805/shop-d191d805.example.test/0004/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-d191d805/shop-d191d805.example.test/0003/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-d191d805/shop-d191d805.example.test/0002/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-d191d805/shop-d191d805.example.test/0001/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-d191d805/shop-d191d805.example.test/0000/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-d191d805/shop-d191d805.example.test/0009/0000000000000001-0000000000000001.ltx
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-d191d805/shop-d191d805.example.test/files/0/manifest.json
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-d191d805/shop-d191d805.example.test/files/0/objects/0000000000000001-3885417d0d4ee13c7cc06e008cbf7ceae9e5443b7b15a95dbe8206d9c204af74
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-d191d805/shop-d191d805.example.test/files/0/objects/0000000000000003-cd217650d17a018c512cbc1a99516d2516ca83619acf2bab386d6d1adc897182
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-d191d805/shop-d191d805.example.test/0000/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-d191d805/shop-d191d805.example.test/0000/0000000000000001-0000000000000001.ltx
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-d191d805/shop-d191d805.example.test/0001/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-d191d805/shop-d191d805.example.test/0000/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-d191d805/shop-d191d805.example.test/0009/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-d191d805/shop-d191d805.example.test/0000/0000000000000002-0000000000000002.ltx
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-d191d805/shop-d191d805.example.test/0009/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-d191d805/shop-d191d805.example.test/0002/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-d191d805/shop-d191d805.example.test/0001/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-d191d805/shop-d191d805.example.test/0001/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-d191d805/shop-d191d805.example.test/0002/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-d191d805/shop-d191d805.example.test/lock.json
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-d191d805/shop-d191d805.example.test/0001/0000000000000001-0000000000000001.ltx
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-d191d805/shop-d191d805.example.test/0003/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-d191d805/shop-d191d805.example.test/0002/0000000000000001-0000000000000001.ltx
    hadrain_twobox_minio_linux_test.go:1243: drain took 134ms; S3 calls 52 (DELETE lock=1 GET files=3 GET head=1 GET lock=3 GET replica=3 LIST replica=34 PUT lock=3 PUT replica=4); deployment store calls 20 (GET edges=14 LIST edges=4 PUT edges=2)
    hadrain_twobox_minio_linux_test.go:1367: the fenced A's start gate answers 503 "This service is unavailable. Try again later.\n" (Retry-After "10")
2026/11/25 14:25:31 lease: t8-d191d805/plain-d191d805.example.test: acquired in 2ms (client 0s, lock read and write 2ms)
2026/11/25 14:25:31 activator: plain-d191d805.example.test: started carlos-instance@plain\x2dd191d805.example.test.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 0s, control socket 0s, key gate 0s, logs 0s) 0s, launch file 0s, gate 0s, root start 1ms)
2026/11/25 14:25:31 activator: plain-d191d805.example.test: carlos-instance@plain\x2dd191d805.example.test.service launched in 1ms, healthy 0s later
2026/11/25 14:25:31 lease: /tmp/carlos-minio-contract-EW3TC7/g/dw3786801668/data/instances/plain-d191d805.example.test/plain-d191d805.example.test.db: continuity with the last clean close not proven; snapshot 1-0000000000000001 written before serving
2026/11/25 14:25:31 activator: plain-d191d805.example.test: woke in 10ms: checks 0s, lease 2ms, restore 0s, identity 0s, protect 1ms, spawn 2ms, replicate 5ms
2026/11/25 14:25:31 activator: next-due probe shop-d191d805.example.test: decode /api/next-due: invalid character 'b' looking for beginning of value — recording none (it sleeps until a request)
2026/11/25 14:25:31 activator: shop-d191d805.example.test: released with a marker (clean true, txid 2, files 3:82ae0498c036892c9157cd1a8ec3cc470a6e41f1484c373791485443ca73efef) in 4ms: files 1ms, sync 0s, record 1ms, marker 2ms
2026/11/25 14:25:31 activator: shop-d191d805.example.test hibernated
2026/11/25 14:25:31 tenant admission is closed for shutdown
2026/11/25 14:25:31 activator: next-due probe plain-d191d805.example.test: decode /api/next-due: invalid character 'a' looking for beginning of value — recording none (it sleeps until a request)
2026/11/25 14:25:31 activator: plain-d191d805.example.test hibernated
--- PASS: TestHeldHandoverTwoBoxMinio (0.53s)
=== RUN   TestHeldHandoverLostLeaseMinio
2026/11/25 14:25:31 edge: mesh key: minted
2026/11/25 14:25:31 provision: minted sidecar route bot0.shop.bac.sidecar.internal (app "shop" acct "bac" args ["work"])
2026/11/25 14:25:31 provision: minted sidecar route bot0.shop.bac.sidecar.internal (app "shop" acct "bac" args ["work"])
2026/11/25 14:25:32 tenant admission is open. accepting tenant work
2026/11/25 14:25:32 activator: HA placement host=shop-27658270.example.test kind=Place ref=annie reason=roomiest generation=2026-11-25T14:25:32Z lock_generation=0
2026/11/25 14:25:32 lease: t8-27658270/shop-27658270.example.test: HA lease acquired in 4ms (first wake)
2026/11/25 14:25:32 activator: shop-27658270.example.test: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/25 14:25:32 activator: shop-27658270.example.test: started carlos-instance@shop\x2d27658270.example.test.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 6ms, control socket 0s, key gate 0s, logs 0s) 7ms, launch file 0s, gate 0s, root start 1ms)
2026/11/25 14:25:32 activator: shop-27658270.example.test: carlos-instance@shop\x2d27658270.example.test.service launched in 8ms, healthy 0s later
2026/11/25 14:25:32 activator: shop-27658270.example.test: woke in 19ms: checks 0s, lease 5ms, restore 0s, identity 0s, protect 0s, spawn 8ms, replicate 6ms
2026/11/25 14:25:32 activator: next-due probe shop-27658270.example.test: decode /api/next-due: invalid character 'a' looking for beginning of value — recording none (it sleeps until a request)
2026/11/25 14:25:32 activator: final checkpoint shop-27658270.example.test: lease: release marker owed for s3://contract-bucket/t8-27658270/shop-27658270.example.test/lock.json (If-Match "77d5277bd37a9eb231b50eac994891dd"): lease: write release marker: operation error S3: PutObject, https response error StatusCode: 503, RequestID: , HostID: , api error ServiceUnavailable: witness: refused
2026/11/25 14:25:32 activator: shop-27658270.example.test hibernated
2026/11/25 14:25:32 activator: handover of shop-27658270.example.test left: released without a marker; its held requests get today's answer
    hadrain_twobox_minio_linux_test.go:1469: the held request's hold ended "shop-27658270.example.test client 4 "
    hadrain_twobox_minio_linux_test.go:1486: driver calls: [begin shop-27658270.example.test <nil> releasing shop-27658270.example.test <nil> stop shop-27658270.example.test marker=false clean=false <nil> left shop-27658270.example.test released without a marker]
    hadrain_twobox_minio_linux_test.go:1487: a request after the loss: 503 "This instance cannot wake right now. Please try again shortly.\n" (Retry-After "10", holder "none", 0s, err <nil>)
2026/11/25 14:25:32 tenant admission is closed for shutdown
2026/11/25 14:25:32 http: proxy error: context canceled
--- PASS: TestHeldHandoverLostLeaseMinio (0.28s)
PASS
ok  	github.com/carlosframework/platform/internal/host	0.846s
Bucket created successfully `local/gen-take`.
local/gen-take versioning is enabled
Created policy `gen-take` successfully.
Added user `gentake` successfully.
Attached Policies: [gen-take]
To User: gentake
=== RUN   TestGenerationTakeMinio
=== RUN   TestGenerationTakeMinio/take
2026/11/25 14:25:33 lease: instances/gen-1795616733440492132.shop.example.com: HA lease acquired in 5ms (first wake)
2026/11/25 14:25:33 lease: instances/gen-1795616733440492132.shop.example.com: HA lease acquired in 3ms (holder terminated)
    gentake_minio_test.go:308: a second create-only copy onto instances/gen-1795616733440492132.shop.example.com/g-00000000000000000002/0000/0000000000000001-0000000000000001.ltx: <nil> (destination condition honoured: false)
2026/11/25 14:25:33 ERROR retention enforcement failed system=store db=w.example.com.db error="enforce snapshot retention: remove ltx files: lease: invalid or changed generation binding"
2026/11/25 14:25:33 http: proxy error: context canceled
2026/11/25 14:25:33 ERROR retention enforcement failed system=store db=w.example.com.db error="enforce snapshot retention: remove ltx files: lease: a write has waited too long to reach storage (write fence)"
=== RUN   TestGenerationTakeMinio/switch-412
2026/11/25 14:25:33 lease: instances/gen-1795616733576553646.shop.example.com: HA lease acquired in 4ms (first wake)
2026/11/25 14:25:33 ERROR retention enforcement failed system=store db=seed.db error="enforce snapshot retention: fetch ltx files: lease: a write has waited too long to reach storage (write fence)"
2026/11/25 14:25:33 lease: instances/gen-1795616733576553646.shop.example.com: HA lease acquired in 3ms (clean marker)
=== RUN   TestGenerationTakeMinio/copy-version
=== RUN   TestGenerationTakeMinio/store-time
2026/11/25 14:25:33 lease: instances/gen-1795616733628194493.shop.example.com: HA lease acquired in 3ms (first wake)
2026/11/25 14:25:33 ERROR retention enforcement failed system=store db=seed.db error="enforce snapshot retention: remove ltx files: lease: invalid or changed generation binding"
2026/11/25 14:25:33 lease: instances/gen-1795616733628194493.shop.example.com: HA lease acquired in 3ms (clean marker)
2026/11/25 14:25:33 lease: instances/gen-1795616733628194493.shop.example.com: HA lease acquired in 3ms (unclean marker)
2026/11/25 14:25:33 lease: instances/gen-1795616733628194493.shop.example.com: HA lease acquired in 3ms (unclean marker)
2026/11/25 14:25:33 lease: instances/gen-1795616733628194493.shop.example.com: HA lease acquired in 3ms (unclean marker)
2026/11/25 14:25:33 lease: instances/gen-1795616733628194493.shop.example.com: HA lease acquired in 3ms (unclean marker)
=== RUN   TestGenerationTakeMinio/skew
--- PASS: TestGenerationTakeMinio (0.36s)
    --- PASS: TestGenerationTakeMinio/take (0.14s)
    --- PASS: TestGenerationTakeMinio/switch-412 (0.04s)
    --- PASS: TestGenerationTakeMinio/copy-version (0.01s)
    --- PASS: TestGenerationTakeMinio/store-time (0.16s)
    --- PASS: TestGenerationTakeMinio/skew (0.01s)
PASS
ok  	github.com/carlosframework/platform/internal/lease	0.379s
minio contract: PASS
=== staticcheck ===
go version go1.26.10 linux/arm64
go: downloading honnef.co/go/tools v0.8.2
go: downloading golang.org/x/exp/typeparams v0.0.0-20231108232855-2478ac86f678
go: downloading github.com/BurntSushi/toml v1.4.1-0.20240526193622-a339e1f7089c
go: downloading golang.org/x/sync v0.23.0
go: downloading golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa
exit status 1
internal/console/managedbudget_test.go:235:3: this value of b is never used (SA4006)
internal/host/managedboot_linux_test.go:272:2: this value of in is never used (SA4006)
internal/host/managedjoin_test.go:642:15: go/parser.ParseDir has been deprecated since Go 1.25 and an alternative has been available since Go 1.11: ParseDir does not consider build tags when associating files with packages. For precise information about the relationship between packages and files, use golang.org/x/tools/go/packages, which can also optionally parse and type-check the files too.  (SA1019)
staticcheck: findings above (staticcheck.conf says which checks run)
make: *** [Makefile:95: staticcheck] Error 1

amadan: step staticcheck failed: exit status 2

amadan: job failed at step staticcheck — its output is above, not at the tail of this log
diff --git a/docs/superpowers/notes/census-proposal-managed-fleets-2b2.md b/docs/superpowers/notes/census-proposal-managed-fleets-2b2.md
index 2095fa240..bc004125d 100644
--- a/docs/superpowers/notes/census-proposal-managed-fleets-2b2.md
+++ b/docs/superpowers/notes/census-proposal-managed-fleets-2b2.md
@@ -1,6 +1,6 @@
# Census approval: managed-fleets-2b2
-Ruling `census-ruling-managed-fleets-2b2`. The independent reviewer approves or rejects every change below, 39 with a new disposition; nothing goes to the census owner (Paul, #280, 2026-10-26).
+Ruling `census-ruling-managed-fleets-2b2`. The independent reviewer approves or rejects every change below, 40 with a new disposition; nothing goes to the census owner (Paul, #280, 2026-10-26).
| unit | change | read sites | what changed |
|---|---|---|---|
@@ -75,6 +75,7 @@ New dispositions, which census-propose wrote and the reviewer checks against the
- new `internal/host/managedboot_linux.go:mbSyncDir`: reads +file:Open; written legacy, accepted-legacy, frozen
- new `internal/host/managedboot_linux.go:mbWalk`: reads +file:Fstat, +file:Open, +file:Openat ×2; written legacy, accepted-legacy, frozen
- new `internal/host/managedboot_linux.go:mbWriteRootFile`: reads +file:Openat, +file:Read; written legacy, accepted-legacy, frozen
+- new `internal/host/managedboot_linux.go:newManagedBoot`: reads +file:Command; written legacy, accepted-legacy, frozen
- new `internal/host/managedboot_linux.go:var mbFsyncFile`: reads +file:Open; written legacy, accepted-legacy, frozen
- new `internal/host/managedkey.go:readFleetKeyObject`: reads +file:Open, +file:ReadAll; written legacy, accepted-legacy, frozen
- new `internal/host/managedkey.go:registerFleetKey`: reads +file:ReadAll; written legacy, accepted-legacy, frozen
@@ -92,6 +93,6 @@ New dispositions, which census-propose wrote and the reviewer checks against the
- new `internal/managedboot/identity_linux.go:readRootOwned`: reads +file:Fstat, +file:Open, +file:Openat, +file:ReadAll; written legacy, accepted-legacy, frozen
- new `internal/managedboot/probe.go:NewProbeNonce`: reads +file:Read; written legacy, accepted-legacy, frozen
-Seal: `892cf87db700600490e3ec9e944f9dbe7151e43bc5471090634f1735bcb9a7bd` → `43566f51e4e7228abb4da8231587f42ffd8ece21ef6fdac2d65e1cff59d0b2ce`.
+Seal: `892cf87db700600490e3ec9e944f9dbe7151e43bc5471090634f1735bcb9a7bd` → `ebe12884baf7fb4fccc9d7f14e5e1bfc49cf88e6a365bb511f327bd508d92bcd`.
Overlay: `internal/provision/testdata/plan14-root-reads-managed-fleets-2b2.tsv`, appended to `internal/provision/testdata/plan14-root-reads-chain.tsv`.
diff --git a/internal/host/managedboot_linux.go b/internal/host/managedboot_linux.go
index b8cc3b315..7df5b2233 100644
--- a/internal/host/managedboot_linux.go
+++ b/internal/host/managedboot_linux.go
@@ -26,6 +26,7 @@ import (
"time"
"github.com/carlosframework/platform/internal/managedboot"
+ "github.com/carlosframework/platform/internal/systemd"
"golang.org/x/sys/unix"
)
@@ -78,8 +79,13 @@ func newManagedBoot(root string, uid, gid, serviceGID int) *managedBoot {
openStore: mbDoorStore,
fleetStore: mbFleetStore,
}
+ // managed-boot's verbs (daemon-reload, start --no-block) are mutations:
+ // internal/systemd gives them no deadline of their own, only ctx, as
+ // mbRun did. Same program, env, directory and output as mbRun.
m.systemctl = func(ctx context.Context, args ...string) error {
- return m.run(ctx, append([]string{"/usr/bin/systemctl"}, args...), mbCleanEnv)
+ cmd := systemd.Command(systemd.SystemctlAbsolute, args...)
+ cmd.Env, cmd.Dir = mbCleanEnv, "/"
+ return cmd.Run(ctx, os.Stdout, os.Stderr)
}
return m
}
diff --git a/internal/lease/endpoint.go b/internal/lease/endpoint.go
index 9e5739f59..17de8b1b0 100644
--- a/internal/lease/endpoint.go
+++ b/internal/lease/endpoint.go
@@ -190,8 +190,12 @@ func NewStaticFilesStore(bucket, region, accessKeyID, secretAccessKey string) (r
if bucket == "" || region == "" || accessKeyID == "" || secretAccessKey == "" {
return nil, errors.New("files store: static credentials need a bucket, a region and a key pair")
}
+ // The config is built, not loaded, so it takes rootaws's bounded client
+ // explicitly: header waits and body stalls end here as on every root
+ // AWS client (rootaws stall.go).
cfg := aws.Config{
Region: region,
+ HTTPClient: rootaws.BoundedHTTPClient(),
Credentials: aws.NewCredentialsCache(credentials.NewStaticCredentialsProvider(accessKeyID, secretAccessKey, "")),
Retryer: func() aws.Retryer { return aws.NopRetryer{} },
}
diff --git a/internal/provision/testdata/plan14-root-reads-chain.tsv b/internal/provision/testdata/plan14-root-reads-chain.tsv
index 3dad991d5..63f1f2876 100644
--- a/internal/provision/testdata/plan14-root-reads-chain.tsv
+++ b/internal/provision/testdata/plan14-root-reads-chain.tsv
@@ -291,4 +291,4 @@ plan14-root-reads-console-addr-from-install.tsv f273b5cb7bbf37b6dca4bb964a9293cb
plan14-root-reads-instance-ready-before-wake.tsv aa953b1a43009c8208e44c67f5b8127ae1914b15d8b8822bcf16b19a6abdf121
plan14-root-reads-media-results-cleanup.tsv 6921575b59564ed947e30c02e314dd429016c6c11a85db9b8af50b2f31d5a5db
plan14-root-reads-release-copy-across-consoles.tsv 892cf87db700600490e3ec9e944f9dbe7151e43bc5471090634f1735bcb9a7bd
-plan14-root-reads-managed-fleets-2b2.tsv 43566f51e4e7228abb4da8231587f42ffd8ece21ef6fdac2d65e1cff59d0b2ce
+plan14-root-reads-managed-fleets-2b2.tsv ebe12884baf7fb4fccc9d7f14e5e1bfc49cf88e6a365bb511f327bd508d92bcd
diff --git a/internal/provision/testdata/plan14-root-reads-managed-fleets-2b2.tsv b/internal/provision/testdata/plan14-root-reads-managed-fleets-2b2.tsv
index bcb82efcf..a1a0b7a2b 100644
--- a/internal/provision/testdata/plan14-root-reads-managed-fleets-2b2.tsv
+++ b/internal/provision/testdata/plan14-root-reads-managed-fleets-2b2.tsv
@@ -1,6 +1,6 @@
# Census overlay managed-fleets-2b2, written by census-propose (#369). census-ruling-managed-fleets-2b2, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-managed-fleets-2b2.md.
# 18 body, 1 sites, 10 envelope: each changed unit re-frozen at its existing disposition with its claim appended.
-# 39 new dispositions: 0 reads re-frozen at their disposition with the claim, 39 new units frozen accepted-legacy, 0 quiet units retired while they read nothing, 0 other.
+# 40 new dispositions: 0 reads re-frozen at their disposition with the claim, 40 new units frozen accepted-legacy, 0 quiet units retired while they read nothing, 0 other.
@legacy 8dff55fa09f05ede212c41fd24f09b8d90fb4f2ed587e59563f88d739a4948ea internal/edge/demo_traffic.go Edge.serveDemoTraffic legacy accepted-legacy accepted-legacy;rev3=census-ruling-agent-start-demo-2;basis=demo_traffic.go:128-334 reads the resolved Route and passes it to existing admission, metering, rate and activator helpers. Resident serving checks precede the inert moved hook (:143), retirement and durable request debit (:302); output debits use the writer below compression. Forwarders do not count or transform again. Existing expiry/control cancellations and five-second write bounds apply; no request-path console or bucket read.;rev3=census-ruling-edge-page-cache-1;basis=attaches the in-memory page mark holder to a demo's request when the route is an instance (up.route.Kind, the +registry:Kind and +whole:Route sites), as ServeHTTP does; nothing else; final fix wave: also wraps the app's writer in the page diagnostics writer (pageDiagnostics(r, host, up).wrap(appWriter)), which sets Carlos-Cache: bypass on a marked response and records nothing; in memory, no read added;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 3: the demo route's request header scrub also deletes tunnelclient.LinkAppHeader (Carlos-Link-App), the hub-set link publication header, beside the tunnel markers it already deletes; a header delete on the cloned request, no read added;rev3=census-ruling-static-site-geo-962;basis=discussion #962, Astra R1-1: a demo request whose cleaned path is /.carlos/geo is answered by serveGeoAnswer through the demo response policy, after the demo's admission, import-gate and lapse refusals and before the guard, throttles, the demo traffic allowance and the app; merged with main (no new read);rev3=census-ruling-managed-fleets-2b2;basis=adds tunnelclient.ManagedProbeHeader and X-Carlos-Probe-Channel to the header names it deletes from a demo request before forwarding; no read added, read sites unchanged; merge of origin/main 173c7033: main's edge page cache slice 1 (the page mark holder attached on an instance route, its +registry:Kind and +whole:Route sites, and the writer wrap), not this branch; merge of origin/main 65951fbb: main's linked deployments slice 1 (the scrub list also deletes tunnelclient.LinkAppHeader) and static-site geo #962 (/.carlos/geo answered by serveGeoAnswer), not this branch; the merged scrub list deletes both sides' headers registry:App@3054,registry:DemoExpiresAt@1448,registry:Kind@7136,whole:Route@1147,whole:Route@1451,whole:Route@1590,whole:Route@1677,whole:Route@1800,whole:Route@223,whole:Route@2324,whole:Route@2981,whole:Route@3046,whole:Route@3057,whole:Route@3171,whole:Route@3267,whole:Route@3341,whole:Route@3388,whole:Route@3446,whole:Route@3475,whole:Route@3694,whole:Route@3725,whole:Route@375,whole:Route@3757,whole:Route@4130,whole:Route@454,whole:Route@4794,whole:Route@4844,whole:Route@4896,whole:Route@5321,whole:Route@6086,whole:Route@6629,whole:Route@7139,whole:Route@7587 9d5c10b899be285c6ad621d82a3ff3dbc68bd2089aeadc30e0ced8a500d20ca7
@legacy 683538d7cb1089042f4d5185b72ced7cb112e91d5ef6d18bd03a3cdb0c55b37c internal/edge/edge.go Edge.ServeHTTP legacy accepted-legacy accepted-legacy;rev3=census-ruling-seeded-instances;basis=the edge inside the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body with the import gate checked after the door's scope and a gated row left out of the response cache; serving only;rev3=census-ruling-edge-request-records;basis=one more call in the observer defer, observeRecords(up.route, ...), passing on the route the defer already holds; no new kind of read;rev3=census-ruling-design-edge-rate-limit-358;basis=calls rateAdmit twice, and an admitted request holds a slot on both paths: on the upgrade path before the activator or proxy (the handshake holds its slot through slotWriter, given back at the first final answer or at the reverse proxy's hijack on a 101, so an open WebSocket is not counted; released by a defer), and on the ordinary path after the response-cache check and before the activator and proxy (an admitted request holds a slot through slotWriter, released by a defer); a refusal is a 429 written there and returns; the upgrade path's comment now names slotWriter as its one wrapper; one comment on the door mark reworded; read sites unchanged (22: main's 21 plus edge-request-records' observeRecords pass of the route), offsets moved; no read added;rev3=census-ruling-plans-4c-box-throttle;basis=calls planThrottleAdmit before the response cache, and on an upgrade trackUpgrade then planUpgradeAdmit (plans 4c, Astra findings 1 and 2); the new reads live in those units (plans-4c-units decision). The same read sites here.;rev3=census-ruling-plans-4d-lapse;basis=calls planDisabledAdmit right after the import gate, passing the final upstream's route and the request host; a turned-off route gets the fixed disabled page before the meter, gate, cache and activator (plans 4d). The new read lives in that unit (plans-4d-units decision); one more whole-row pass here.;rev3=census-ruling-edge-protection-2;basis=runs the guard, a pure in-memory matcher on r.URL.Path and RawQuery (internal/edgeguard), once per request after the meter and observer defer and before the password gate, the upgrade branch, the cache and the activator, for a request that is not a door call, a backhauled door hop or a tunnel delivery; a matched block answers a 404 itself through guardDecide; the two new sites are one expression, up.route.Kind == "static" (a static route this box serves checks only the hard tier here and leaves the probe tier to serveTree), a read of the route row the edge already resolved; no new kind of read;rev3=census-ruling-edge-asset-cache-3;basis=the asset cache's three hooks (asset cache plan 3): the request's reserved asset headers are deleted at entry (the fill assertion kept only beside a verified hop); on the exact-remote and lookup-miss branches the far catch (serveAssetFar) is tried before backhaulTo and backhaul; after the observer defer and main's hard and probe checks, a verified hop with a valid fill assertion is answered by serveAssetFillForHop; after the upgrade branch and before gzip and the shared cache, the local catch (serveAssetLocal); the observer defer skips only the usage meter for an acknowledged home fill (out.unbilled); the new reads live in the new units of the edge-asset-cache-3-decisions overlay; the same route row and read sites (25); no read added;rev3=census-ruling-regional-domains-447;basis=#447 Task 5: straight after lookupUpstreamPath it calls regionalGate (regional.go), which for an entry built from a regional_domains row answers 503 to a hop or a deny entry before any arm that can leave the box (the exact-home backhaul, the far asset catch, the door dial, the miss backhaul), and lets a star match through only to the exact-home arm when ExactHome names another box for that distinct exact name; after the exact-home arm a regional deny entry the arm did not answer is refused (regionalRefuse, 503); refusals only, on the route map the edge already holds; read sites unchanged (25);rev3=census-ruling-static-headers;basis=the shared response cache is no longer looked up or filled for a static-kind route: one more read of the route row the edge already resolved (up.route.Kind == "static") in the cacheable expression; a refusal only, nothing new opened or followed;rev3=census-ruling-region-ha-p1b2;basis=region HA P1b-2 (N-HA10): one call, frontForwardHA, right after the route lookup's !ok block and before the login POST; same reads;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 4: loginPost and cacheable treat a forward row as not this box's to answer (IsForward(), +whole:Route x2): no login form and no shared cache for a forward host. Serving only.;rev3=census-ruling-tunnel-websockets;basis=Deletes the Carlos-Upgrade marker header from incoming requests and puts the upgrade admission (host, path, the entry tenancy, all in hand) on a tunnel arm request. For a login POST on an ungated ArmTunnel row it reads the visitor request body (bounded by gate.MaxFormBody, 413 past it; a request body, not a file) and resolves next against the entry Reload built (Gate, Route); the bytes pass on only when loginPassesThrough holds (spec 7, Tasks 3, 5 and 6).;rev3=census-ruling-console-protection-tab;basis=one more call in the observer defer, observeGuardCount(up.route, out), beside the observeRecords call that files the guard Match: it passes on the route row the defer already holds (+whole:Route) and the request outcome to the usage meter, which counts the check in memory. Called whether or not the request was unbilled, as observeRecords is. Nothing is opened, read or followed; no new kind of read; no check, refusal or serving decision changes.;rev3=census-ruling-probe-burst-limit;basis=answers a probe-burst notice POST (serveBurstNotice) ahead of every route for a non-door caller; builds the guard state for up.route and stamps its account and app (RouteAccount, App) for the cool-down's this-app/other-app label; for a catalogue match on a non-static or tunnelled route, offers the burst rule (in-memory limiter, burstDecide: 429 or a watch verdict, never a block for a fleet or forward row); the observer defer calls noteBurst(up.route, ...); the added sites are the route value already in hand (+registry:App, +whole:Route x5); no new root read or write kind;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): parses the request's query once (stripHoldMarker) to record the carlos_hold=1 mark in the request context; calls classifyHold on the upstream already resolved from the loaded map (the +whole:Route is that in-memory Route), including a second pass for a login POST; gives a marked request on a door-refused route the plain 404; adds the hold branch (planThrottleAdmit, rateAdmit, serveHeld) after the gate; and excludes marked requests from the shared cache. Reads only the request and the already-loaded upstream map; no registry or bucket read added.;rev3=census-ruling-region-ha-p3a;basis=Complete the P3a cut: an exact peer name with no dial target answers the approved admission 503 before local wildcard dispatch or asset serving. ExactHome and lookupHome stop fallback at a present non-dial entry; backhaulTo refuses an empty target before signing or dialing. Retain Task 3 local admission and fixed platform/unit exemptions. Two added whole Route uses feed the local in-memory admission predicate; existing Route values and store/path reads are unchanged.;rev3=census-ruling-stateless-coordinator-route;basis=P24/P25: POST only, exact /api/fleet/replicas/ prefix on the reserved tunnel host calls the existing local console proxy only for an unescaped, already-clean path; malformed forms remain on the hub. No new read sites relative to origin/main. Merge with main 3487d6f6 retains its region HA admission checks before routing and after login target lookup, its empty-home refusal, and their two existing whole:Route reads; these change this unit's digest relative to the previously approved branch tip 92b24a7d.;rev3=census-ruling-stateless-replicas-3;basis=Task 1a: pass the already-resolved Route to the reserved replica-probe handler after acceptHop and existing admissionRefuses, requiring tunnel context plus private marker and refusing door/backhaul ingress. Added whole Route use only; scrub marker before forwarding; HA calls remain unchanged.;rev3=census-ruling-region-ha-p3b;basis=Resolve local aliases/catch-alls with cached peer name ownership before serving. Add registry Account/App/ClaimStamp/Host/Incarnation/ServingSeq and six whole Route references for NameClaim; inputs are agent registry rows/edges publications used by unprivileged edge, not root permits. Closed owners retain names and return 503; aware remote owner cannot fall through on missing transport, while legacy hop/door behavior remains. Merge 45cebde4 retains authenticated replica probes after local admission and before ordinary name resolution; probe authentication still requires the tunnel context.;rev3=census-ruling-agent-start-demo-2;basis=edge.go:1901 enters the protected demo path before ordinary exits; :2012-2015 rechecks the selected marked Route after lookup. Added whole Route use routes demos through serving checks, counters and policy; no new registry query or file open in this unit.;rev3=census-ruling-demo-api-site-route;basis=Reserve the configured site API namespace after hop verification and control-header scrubbing, before ordinary static, cache, billing and tenant dispatch. Validate hop field shape and delegate only allowlisted operations to the dedicated console path with verified client attribution and console admission. The alias helper enables HTTP/1.1 full duplex so an early console refusal does not wait for upload EOF. Existing 56 read sites unchanged; no new registry, bucket or file read.;rev3=census-ruling-region-ha-g2-fixes;basis=Consult HA ingress after region admission and before miss/alias backhaul; no new direct read; routing-only metadata does not create an upstream.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3/W4: backhaul and door calls pass the owner the door checked into backhaulTo; the §6.5 holder follow (once, GET/HEAD or an unswitched upgrade, no body) and one connect-failure fallback dial only boxes in the holder region's view (same Region/Placement/DataBucket, HomeEligible, fresh) for that owner. Holder name comes only from the TLS-verified signed hop answer; app-set X-Carlos-Holder stays stripped. Routing only; the receiving box still re-checks the lease. No new read site.;rev3=census-ruling-edge-page-cache-1;basis=attaches an in-memory page mark holder to every request to an instance route (the +registry:Kind check of up.route.Kind), wraps the hold and upgrade branches in pageDiagnostics, asks servePage after the plan throttle (a hit answered from the page index over the asset store), keeps an opted-in instance out of the LRU (pagesOptedIn), wraps the response in the page writer, and wraps the proxy's writer in assetInformationalScrub on the remaining arms; the page reads are in the new pagecache.go units;rev3=census-ruling-region-ha-held-build;basis=first branch: a request for the reserved control paths /.carlos/ha-drain and /.carlos/ha-take goes to serveHAControl and returns (refused unless a signed ask); no request on those paths reaches a route, a forward or an app; no read added here. region HA held-requests Task 2: X-Carlos-Replayable is read from verified hops only and deleted from every request; just before frontForwardHA, moveGate runs for an HA hibernating route (route HA, Host and the whole Route passed in memory) and can only hold, refuse with an existing answer or front-forward to the confirmed holder; ReleaseMoveTicket before serveHeld; no store or filesystem read added; region HA held-requests Task 5: after the HA control-path branch, every request is counted by the connection drain (conns.track: a cancellable request context, and Connection: close only while draining); memory only; no read added; Task 5 fix 1: after the drain's final barrier a new request is refused at once through handoverExit with the existing answerHolderUnreachable, never forwarded; the tracked request also carries its connection (from ConnContext) so the drain can close it at its bound; memory only; no read added;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 3: the inbound strip also deletes tunnelclient.LinkAppHeader (Carlos-Link-App) from every client request, beside Carlos-Tunnel-Upgrade; a header delete, no read added; linked deployments slice 1 Task 8: a request carrying a link pin (ServeLinked, set only by the home agent's link handler from its own registry's published set) skips the edge's own handlers (HA control, demo handling, the steering probe, the tunnel hub, hop acceptance, the burst notice, the demo API alias, the replica probe), takes its upstream from selectUpstream (the pinned exact entry or a 502), never enters the alias/catch-all backhaul block, the HA front forward, the local asset catch, the page cache or the response LRU; the two lookupUpstreamPath calls become selectUpstream; no read added;rev3=census-ruling-stateless-replicas-4-r28;basis=R28 (#511): for a request whose host has no entry (the lookup miss), after the replica-probe branch, calls refuseRetiredCopy(r, host): within the grace of a host whose replica copy this box retired, the fleet tunnel stream is refused with REFUSED_STREAM (tunnelclient.Refuse) and nothing is written; any other miss gets the unknown-host answer as before; memory only, a refusal only, no read added;rev3=census-ruling-static-site-geo-962;basis=discussion #962: after planDisabledAdmit and before the page mark holder and the observer, a request whose cleaned path is /.carlos/geo (not a linked request) is answered by serveGeoAnswer from the request's geo answer already on the context (decideGeo), 200 JSON no-store or 405, and returns; merged with main (no new read);rev3=census-ruling-fleet-unrouted-503;basis=a request the hub tunnel delivered (tunnelclient mark, not a link channel) for a host this box neither routes nor backhauls answers 503 Retry-After 2 instead of the unknown-host 404; no new read, dial or store access; unmarked requests unchanged (#1008);rev3=census-ruling-fleet-unrouted-503-fix1;basis=a request the hub delivered over this fleet box's channel (MarkFleetChannel, set by the box's own tunnel loop for a "<fleet>/<label>" channel, plus the tunnel client mark) for a host this box neither routes nor backhauls, and not under a platform domain, answers 503 Retry-After 2 instead of the unknown-host 404; fixed log key; no new read, dial or store access; every other request unchanged (#1008);rev3=census-ruling-fix-dbforward-reuse-1032;basis=the drain tracking call now takes withDeclaredBodyEnd(r) instead of r: an HTTP/1 request with a declared Content-Length is served from there on with a body that answers EOF itself after those bytes (#1032), so a proxy transport's confirming read after sending the body upstream no longer lands on the server's closed request body and tears down the upstream connection; HTTP/2 requests are left as they are (Astra r1 P2); memory only, no read, dial or store access added;rev3=census-ruling-fleet-seeded-create-2;basis=The hub's door routing asks boxConsolePath(r) instead of the inline /api/fleet/replicas/ test, so POST /api/fleet/seeds/ goes to the local console by the same rule (POST only, clean path, no RawPath) as the replica doors. Serving only; no read of a path a tenant names; the same 65 read sites.;rev3=census-ruling-path-routes-across-boxes;basis=#186: selection returns requestSelection; a Remote selection is dispatched by servePathRemote (one signed hop, never from a verified hop, door call or pin); the ownership block moved to serveNameOwner/nameOwnerVerdict (pathhop.go), so its route reads left; login re-selection via loginLookupPath plus refuseLoginAcross; LRU also requires pathLRUAllowed; no read added;rev3=census-ruling-fleet-client-address-1348;basis=hop acceptance moved into acceptIngress (pinned: dropHopHeaders; else acceptHop), which then, for a request a tunnel delivered (tunnelclient mark) whose X-Forwarded-For hubVisitor accepts (every entry an IP), carries its last entry as the gate attempt key (gate.WithClientAddr), as ServeLinked does (#1348); a context value on the request, memory only, no read, dial or store access added; no check weakened;rev3=census-ruling-console-addr-from-install;basis=the box-door test is consolefleet.BoxDoor, the same rule moved to a shared package; no read added;rev3=census-ruling-managed-fleets-2b2;basis=three additions, no read added: (1) first, on a box whose edge was given a managed probe responder (managed boxes only), the exact path /__carlos/managed-probe goes to serveManagedProbe, which answers 404 unless the request came over this box's own tunnel (tunnelclient.FromTunnel) as a POST carrying X-Carlos-Managed-Probe: 1; (2) on the reserved tunnel host, a POST to the exact path /__carlos/fleet-probe (RawPath empty) goes to serveFleetProbe, everything else keeps the hub's 404; (3) X-Carlos-Managed-Probe and X-Carlos-Probe-Channel are deleted from every inbound request beside the replica probe marker; merge of origin/main 173c7033: main's region HA held requests (the reserved /.carlos/ha-drain and /.carlos/ha-take branch and the connection-drain tracking, both kept right after this branch's managed probe branch, which stays first) and edge page cache slice 1 (page mark holder, pageDiagnostics, servePage), not this branch; census P2-1: probe markers stripped right after the managed-probe branch, before every other dispatch incl. replica-console forwarding; no read added; merge of origin/main 65951fbb: main's linked deployments slice 1 (the link pin read from the context first, every edge-own handler skipped for a pinned request, the Carlos-Link-App strip), R28 retired-copy refusal, static-site geo #962, fleet unrouted 503, #1032 declared body end, seeded-create door routing, path routes across boxes, fleet client address #1348 and consolefleet.BoxDoor, not this branch; resolution: the pin (a context value, no read site) is taken before the managed probe branch, which a linked request now skips like main's other edge-own handlers (it reaches its pinned app or a refusal); the probe marker and channel strip still runs right after that branch, before every other dispatch, on every request file:ReadAll@20193,registry:App@27470,registry:Gate@19167,registry:Gate@31861,registry:Gate@31921,registry:Gate@31979,registry:HA@14911,registry:HA@15253,registry:Host@15292,registry:Host@31964,registry:ImportGate@40856,registry:Kind@24504,registry:Kind@26332,registry:Kind@29770,registry:Kind@40798,registry:Kind@40827,whole:Route@14914,whole:Route@15008,whole:Route@15256,whole:Route@15295,whole:Route@19062,whole:Route@19173,whole:Route@21472,whole:Route@22256,whole:Route@22714,whole:Route@22906,whole:Route@24507,whole:Route@26335,whole:Route@27396,whole:Route@27462,whole:Route@27473,whole:Route@27726,whole:Route@27821,whole:Route@27897,whole:Route@27941,whole:Route@28243,whole:Route@28273,whole:Route@29773,whole:Route@30058,whole:Route@31864,whole:Route@31924,whole:Route@31967,whole:Route@31982,whole:Route@33193,whole:Route@35481,whole:Route@40801,whole:Route@40830,whole:Route@40859,whole:Route@40891,whole:Route@43358,whole:Route@9507,whole:Route@9606,whole:Route@9712 33e53040fc6f6b5436db5780e8b0078de84723aa3340daed727f56c46a555fb5
@legacy 9e90a9437e5a7d1e1ffde0c28b8a2f0cd901cb15c0c6b7d496aaf8c8aeb0aeb4 internal/host/agent.go fastTick legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=PROPOSED-s3-change-index;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=observes the change index before any pass (observeIndex), runs the backstop's requested full pass and a scoped pass for moved app scopes (indexTick), and arms the canary pointer gate on the sweep (canaryPointerGate) only on a tick whose own index observation succeeded; read site unchanged, offset moved;rev3=census-ruling-stateless-replicas-1;basis=Call coordinator Tick on the existing tick before convergence; client renews held terms only at the pinned interval. Existing registry read unchanged. Final review I3: signal the owned renewal worker instead of waiting for its sequential console HTTP calls. Existing convergence and record read unchanged.;rev3=census-ruling-region-ha-p3a;basis=Run the optional desired-role reader on the existing tick after observing the armed change index; no new root path or timer, nil reader is unchanged.;rev3=census-ruling-stateless-replicas-2;basis=Slice 3b: signals the owned replica worker on the existing tick; coalesced asynchronous execution, no timer or bucket scan added. merge of origin/main 7920cccf: Retain main box-role reader pass on the existing tick alongside the replica worker signal; merge-only body change, unchanged read sites.;rev3=census-ruling-restart-new-box-gap;basis=calls the optional restartGain hook (restartGainSeed) once per existing tick before the serial read; no new root path, timer or read kind; nil hook is unchanged;rev3=census-ruling-agent-start-demo-3;basis=Refresh moved notices through the shared watch before normal convergence; no new per-box poll. Census read-site delta: unchanged (1).;rev3=census-ruling-stateless-replicas-4-task1;basis=Signals the owned replica swap worker (armedReplicaDeploy.tick) beside the placement worker on the existing tick; coalesced background pass, no timer, no bucket read. Its transitions go through the console's authenticated /deploy.;rev3=census-ruling-platform-mail-submission;basis=Task 4: on a serial move, after the schedule leg, starts the armed mail switch cache's Refresh on its own goroutine (each read bounded at 2 s, overlapping refreshes skipped). It re-reads the app sender records already cached, through the agent's deploy store. Agent, not root; the tick waits on nothing new. Fable final P2-1: on a serial move, before the pass set and the restart leg, calls the armed cache's MarkStale (a counter bump under the cache's mutex; no I/O), so a spawn the move causes reads the switch again, bounded, instead of using an answer from before the move. No read added.;rev3=census-ruling-fleet-first-reconcile-speed;basis=Startup timing log lines only: d.startup.done(<part>) calls between the existing parts and a deferred one after the sweep. d.startup is nil on every tick but the first after agent start, and its methods are then no-ops. No read added, no order change; read site unchanged (1). Agent, not root.;rev3=census-ruling-fleet-first-reconcile-speed-4;basis=Startup serial hold (whole-branch review P1). While fastDeps.serialAfter is open (fastBoot closes it when the restart and sidecar wake baselines have read) the tick skips its one ReadSerial of control/serial, so it neither seeds nor acts on a move; the rest of the tick (backstop full pass, index, sweep) is unchanged. A full pass run while held sets fullBeforeSeed, and the seed then sets fullDue once so the backstop branch runs one more full pass under the clamp. Same read, read sites unchanged (1); no read added. Agent, not root.;rev3=census-ruling-managed-fleets-2b2;basis=calls d.managedReady after the serial read on every tick (nil on BYO, returns at once once admitted); no read of its own added; merge of origin/main 65951fbb: main's replica swap worker tick, mail switch refresh, startup timing and startup serial hold (serialHeld skips the ReadSerial), not this branch; resolution: d.managedReady still runs on every tick after the serial step, with serialOK false on a held tick (no serial was read), so only the leg's backstop applies then registry:Host@7690 734b9c0ff8b9de786d10dfc37550a3106fd3982b3e58f00ba8819b7daa1d7295
@@ -36,6 +36,7 @@
@legacy a44ac7b802a1c9bcdc037b85fe8daf87f79c0ffe9e25cbeac12d7867854b8fc4 internal/host/managedboot_linux.go mbSyncDir legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-2b2;basis=opens a root-owned directory to fsync it file:Open@47 fc9bc492fa32b963b98ad1dea24c07a65b2b35d00a25ac2adbafeb16af745c09
@legacy 18b5c362804794bc0a0cd961c8fe3e8cc956d9f1226860396bf699db780a978b internal/host/managedboot_linux.go mbWalk legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-2b2;basis=openat walk from the root anchor with O_NOFOLLOW|O_DIRECTORY; each component must be owned by root and not group/other writable file:Fstat@1243,file:Open@130,file:Openat@485,file:Openat@785 b43bc7a16c1f5e8c0e7cc2bb72ece46aef4b5185f2c2775c4fd6c8b865b878d4
@legacy 2a8f31244c853b7c1a63b960e002329b81b78146a5c4a5c85e8ae941896cf2c4 internal/host/managedboot_linux.go mbWriteRootFile legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-2b2;basis=O_EXCL|O_NOFOLLOW temp beside the target in a verified root-owned dir, fsync, renameat, dir fsync; read is crypto/rand for the temp suffix file:Openat@381,file:Read@247 edbd584d636a3c49fe2c388052d1e42dca7864a2d25e521d2424207cbe3a77a7
+@legacy 368fd5b935341a5873876c8c34ef3a7cc4ddeba1d549916d03f46ce360e8fb57 internal/host/managedboot_linux.go newManagedBoot legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-2b2;basis=the production systemctl seam for managed boot (daemon-reload, start --no-block carlos-edge.service) runs /usr/bin/systemctl through internal/systemd.Command(SystemctlAbsolute) with mbCleanEnv, dir / and the journal as output, exactly what mbRun gave it; both verbs are mutations, so no deadline beyond the boot context; main's bounded-call guard: the /usr/bin/systemctl literal through m.run became systemd.Command, which the census now counts; no read added file:Command@691 f57aaf30a2f91b57534829d7cce3182279d252d63f03fba1162ecb507f3dd1ff
@legacy 9b6042aea6143f48108baf2bdde5e66f0c3543ecbfc0e644fe0afcf1d1e766ce internal/host/managedboot_linux.go var mbFsyncFile legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-2b2;basis=opens the root-only staged stable binary O_NOFOLLOW to fsync its 0755 mode before the rename file:Open@56 a5e042e5a244004666d709757dbd06c9554a168b24ce56d889b6125306fbd4c8
@legacy 6c7c1a054a1c8c04df93db0eb482d44f7e96ea4f9a31594074e33406f9dae4db internal/host/managedkey.go readFleetKeyObject legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-2b2;basis=fix round 1: streams the fleet-writable key object via release.Opener through io.LimitReader(MaxFleetKeyObject+1 = 4097 bytes), closes it, excess is refused (object_invalid); a store without Opener is refused, never read whole with Store.Get file:Open@248,file:ReadAll@359 8bc59d353eaa02b03f1173485a082394a98dfc3af6b8759b9044063ac881abea
@legacy 1686e47fa8e2f0e8d3a783576a07149703221fada59147d0b6bd09e51e1a40e4 internal/host/managedkey.go registerFleetKey legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-2b2;basis=reads the managed key door's HTTPS reply (4 KiB cap) from the frozen console origin; a 200 counts only when it names the box's fleet and the fingerprint of the key it sent; no file read file:ReadAll@859 21c44ffea28a26abe3cab22d52eb05f5de00a6e4ab4918cd2c2f854b21bae268
@@ -93,6 +94,7 @@ internal/host/managedboot_linux.go mbShred legacy accepted-legacy accepted-legac
internal/host/managedboot_linux.go mbSyncDir legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-2b2;basis=opens a root-owned directory to fsync it file:Open@47 fc9bc492fa32b963b98ad1dea24c07a65b2b35d00a25ac2adbafeb16af745c09
internal/host/managedboot_linux.go mbWalk legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-2b2;basis=openat walk from the root anchor with O_NOFOLLOW|O_DIRECTORY; each component must be owned by root and not group/other writable file:Fstat@1243,file:Open@130,file:Openat@485,file:Openat@785 b43bc7a16c1f5e8c0e7cc2bb72ece46aef4b5185f2c2775c4fd6c8b865b878d4
internal/host/managedboot_linux.go mbWriteRootFile legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-2b2;basis=O_EXCL|O_NOFOLLOW temp beside the target in a verified root-owned dir, fsync, renameat, dir fsync; read is crypto/rand for the temp suffix file:Openat@381,file:Read@247 edbd584d636a3c49fe2c388052d1e42dca7864a2d25e521d2424207cbe3a77a7
+internal/host/managedboot_linux.go newManagedBoot legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-2b2;basis=the production systemctl seam for managed boot (daemon-reload, start --no-block carlos-edge.service) runs /usr/bin/systemctl through internal/systemd.Command(SystemctlAbsolute) with mbCleanEnv, dir / and the journal as output, exactly what mbRun gave it; both verbs are mutations, so no deadline beyond the boot context; main's bounded-call guard: the /usr/bin/systemctl literal through m.run became systemd.Command, which the census now counts; no read added file:Command@691 f57aaf30a2f91b57534829d7cce3182279d252d63f03fba1162ecb507f3dd1ff
internal/host/managedboot_linux.go var mbFsyncFile legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-2b2;basis=opens the root-only staged stable binary O_NOFOLLOW to fsync its 0755 mode before the rename file:Open@56 a5e042e5a244004666d709757dbd06c9554a168b24ce56d889b6125306fbd4c8
internal/host/managedkey.go readFleetKeyObject legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-2b2;basis=fix round 1: streams the fleet-writable key object via release.Opener through io.LimitReader(MaxFleetKeyObject+1 = 4097 bytes), closes it, excess is refused (object_invalid); a store without Opener is refused, never read whole with Store.Get file:Open@248,file:ReadAll@359 8bc59d353eaa02b03f1173485a082394a98dfc3af6b8759b9044063ac881abea
internal/host/managedkey.go registerFleetKey legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-2b2;basis=reads the managed key door's HTTPS reply (4 KiB cap) from the frozen console origin; a 200 counts only when it names the box's fleet and the fingerprint of the key it sent; no file read file:ReadAll@859 21c44ffea28a26abe3cab22d52eb05f5de00a6e4ab4918cd2c2f854b21bae268
@@ -113,9 +115,9 @@ internal/host/namedrecovery_pass.go namedUnitRecovery.passOption authority B3,E1
@coverage . a13fa6656b06d43e2e462562cf00caaebad613b64211c6009eb20e5d1f207320
@coverage internal/appconfig b2303fc4b8f75e9b2e7d1313355e9f44fa01d5ce967c4ca00735923b7f3db88c
@coverage internal/edge 602eee4a3977863bfbce156063f0b09daccbe8f8f22aff8d69614741c4945cdb
-@coverage internal/host ba66e403c28a3b0b480b7537b861236c0be12a2bd632fb90e137e395a915c378
+@coverage internal/host 7f5e2bf93dc73cc844d18eb05a3ec138fc7272d8dda43903231afe7c06d5ba81
@coverage internal/instancectl 1b297fa0b1de83e454082361f7538924c3303805775ca641a1d4ee30fbae36bd
-@coverage internal/lease 28dadc72d00704575fa0d79575e19d26b2d9097aa0654ba27469a4f7dd6c5a96
+@coverage internal/lease 6d84eabdfd8167054b8c878dd1b4c46d2f76ccf617d00cc14f88d94b6ae79fa2
@coverage internal/managedboot 6abad5d678850729ef52868a0ee8cec94fc573ebc69dae192e223146f2e24a99
@coverage internal/provision d5ffa2af025520a5a83b596b55b0912878653ea944a498aaee87ee33bef9c2df
@coverage internal/status 2085956bee737d01441c9d456b6f78be233ab05afa445d35d9fd0a95e815696a