carlos / platform Public

census: demo disk slice 1 overlay and card, fix round 3

Re-proposed after round 3: PassFilter gains the admission sites,
passConfig the admitRoute field; WithRouteAdmission, routeAdmitted and
admitRoute are new; selection, productionDemoRetention, the agent call
site and the disk-alert names change. The alert sentences read nothing.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 719fc3f81e295a6486eb02ddf12ca63044311037 parent e144fbb
4 files changed, +39 −35
  • docs/superpowers/notes/census-claims-demo-disk-slice1-retention.tsv +9 −8
  • docs/superpowers/notes/census-proposal-demo-disk-slice1-retention.md +9 −8
  • internal/provision/testdata/plan14-root-reads-chain.tsv +1 −1
  • internal/provision/testdata/plan14-root-reads-demo-disk-slice1-retention.tsv +20 −18

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-JGdDfi
.amadan/test-gate.sh
go: downloading github.com/aws/aws-sdk-go-v2 v1.44.0
go: downloading github.com/aws/aws-sdk-go-v2/service/cloudwatch v1.68.0
go: downloading github.com/aws/aws-sdk-go-v2/service/s3 v1.105.0
go: downloading github.com/aws/aws-sdk-go-v2/service/costexplorer v1.67.5
go: downloading github.com/aws/smithy-go v1.28.1
go: downloading golang.org/x/crypto/x509roots/fallback v0.0.0-20260209214922-2f26647a795e
go: downloading golang.org/x/net v0.62.0
go: downloading modernc.org/sqlite v1.55.0
go: downloading github.com/aws/aws-sdk-go-v2/service/sns v1.43.0
go: downloading golang.org/x/crypto v0.58.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 github.com/aws/aws-sdk-go-v2/service/resourcegroupstaggingapi v1.37.0
go: downloading golang.org/x/sys v0.49.0
go: downloading golang.org/x/mod v0.41.0
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/aws/aws-sdk-go-v2/service/ssm v1.74.0
go: downloading github.com/klauspost/compress v1.20.2
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/cespare/xxhash/v2 v2.3.0
go: downloading github.com/prometheus/client_model v0.5.0
go: downloading github.com/prometheus/common v0.45.0
go: downloading github.com/prometheus/procfs v0.12.0
go: downloading google.golang.org/protobuf v1.36.10
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/text v0.43.0
go: downloading modernc.org/sqlite v1.55.0
go: downloading github.com/aws/aws-sdk-go-v2/service/ecs v1.91.0
go: downloading github.com/klauspost/compress v1.20.2
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 github.com/dustin/go-humanize v1.0.1
go: downloading github.com/google/uuid v1.6.0
go: downloading modernc.org/mathutil v1.7.1
go: downloading modernc.org/memory v1.11.0
go: downloading modernc.org/memory v1.11.0
go: downloading github.com/google/uuid v1.6.0
go: downloading github.com/dustin/go-humanize v1.0.1
go: downloading modernc.org/mathutil v1.7.1
go: downloading github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec
=== launchctx (4 s, from +0 s)
ok  	amadan.net/carlos/platform.git/launchctx	0.016s
?   	amadan.net/carlos/platform.git/launchctx/controlname	[no test files]
?   	amadan.net/carlos/platform.git/launchctx/wireid	[no test files]
=== vet (175 s, from +0 s)
go: downloading modernc.org/sqlite v1.55.0
go: downloading github.com/klauspost/compress v1.20.2
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 modernc.org/memory v1.11.0
go: downloading github.com/dustin/go-humanize v1.0.1
go: downloading modernc.org/mathutil v1.7.1
go: downloading github.com/google/uuid v1.6.0
=== vet-tags (196 s, from +0 s)
go: downloading modernc.org/sqlite v1.55.0
go: downloading github.com/klauspost/compress v1.20.2
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 github.com/google/uuid v1.6.0
go: downloading modernc.org/memory v1.11.0
go: downloading modernc.org/mathutil v1.7.1
go: downloading github.com/dustin/go-humanize v1.0.1
go: downloading github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec
=== gofmt (1 s, from +0 s)
gofmt -l .: clean
=== rest (388 s, from +15 s)
ok  	github.com/carlosframework/platform/cmd/carlos-media	129.398s
?   	github.com/carlosframework/platform/cmd/changelog	[no test files]
ok  	github.com/carlosframework/platform/cmd/console	214.904s
ok  	github.com/carlosframework/platform/cmd/mediaimage	47.015s
ok  	github.com/carlosframework/platform/cmd/moveprobe	15.729s
ok  	github.com/carlosframework/platform/cmd/pricebook-export	0.050s
ok  	github.com/carlosframework/platform/cmd/rootfswitness	0.177s
ok  	github.com/carlosframework/platform/cmd/runsc-assets	0.162s
ok  	github.com/carlosframework/platform/cmd/zddprobe	1.025s
ok  	github.com/carlosframework/platform/internal/agentsock	0.098s
ok  	github.com/carlosframework/platform/internal/alerting	0.026s
ok  	github.com/carlosframework/platform/internal/analytics	0.434s
ok  	github.com/carlosframework/platform/internal/appconfig	44.952s
ok  	github.com/carlosframework/platform/internal/apperr	0.391s
ok  	github.com/carlosframework/platform/internal/applog	4.364s
ok  	github.com/carlosframework/platform/internal/apppolicy	2.518s
ok  	github.com/carlosframework/platform/internal/assetcache	0.530s
ok  	github.com/carlosframework/platform/internal/awsinv	0.022s
ok  	github.com/carlosframework/platform/internal/awsmanaged	11.502s
ok  	github.com/carlosframework/platform/internal/awsregiongroup	0.301s
ok  	github.com/carlosframework/platform/internal/awsterminations	0.039s
ok  	github.com/carlosframework/platform/internal/backupswords	0.016s
ok  	github.com/carlosframework/platform/internal/billing	0.088s
ok  	github.com/carlosframework/platform/internal/billing/billingtest	0.086s
ok  	github.com/carlosframework/platform/internal/billingstripe	1.846s
ok  	github.com/carlosframework/platform/internal/boxchoice	0.025s
ok  	github.com/carlosframework/platform/internal/boxid	4.501s
?   	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.016s
ok  	github.com/carlosframework/platform/internal/boxself	0.202s
ok  	github.com/carlosframework/platform/internal/boxvolumes	0.088s
ok  	github.com/carlosframework/platform/internal/caps	4.681s
ok  	github.com/carlosframework/platform/internal/certwarm	0.018s
ok  	github.com/carlosframework/platform/internal/cgroup	1.586s
ok  	github.com/carlosframework/platform/internal/changelog	3.751s
ok  	github.com/carlosframework/platform/internal/clamd	0.067s
?   	github.com/carlosframework/platform/internal/cliflag	[no test files]
ok  	github.com/carlosframework/platform/internal/clireg	0.011s
ok  	github.com/carlosframework/platform/internal/codehealth	17.678s
ok  	github.com/carlosframework/platform/internal/compute	0.019s
ok  	github.com/carlosframework/platform/internal/consolefleet	0.016s
?   	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	10.264s
ok  	github.com/carlosframework/platform/internal/dbdoor/dbdoortest	0.044s
ok  	github.com/carlosframework/platform/internal/dbquery	0.027s
ok  	github.com/carlosframework/platform/internal/dbreads	3.062s
?   	github.com/carlosframework/platform/internal/dbreads/dbreadstest	[no test files]
ok  	github.com/carlosframework/platform/internal/dbverify	0.029s
ok  	github.com/carlosframework/platform/internal/demo	0.011s
ok  	github.com/carlosframework/platform/internal/demobuild	4.529s
ok  	github.com/carlosframework/platform/internal/democlaim	0.267s
ok  	github.com/carlosframework/platform/internal/devbox	15.941s
ok  	github.com/carlosframework/platform/internal/dnsrec	0.007s
ok  	github.com/carlosframework/platform/internal/docsite	0.102s
ok  	github.com/carlosframework/platform/internal/domainreg	0.023s
ok  	github.com/carlosframework/platform/internal/domains	76.929s
ok  	github.com/carlosframework/platform/internal/doorkey	0.031s
ok  	github.com/carlosframework/platform/internal/economics	0.014s
ok  	github.com/carlosframework/platform/internal/edgefence	0.130s
ok  	github.com/carlosframework/platform/internal/edgeguard	0.347s
?   	github.com/carlosframework/platform/internal/edgeproof	[no test files]
ok  	github.com/carlosframework/platform/internal/edgesfile	0.073s
ok  	github.com/carlosframework/platform/internal/egressaddr	0.010s
ok  	github.com/carlosframework/platform/internal/execsandbox	113.803s
ok  	github.com/carlosframework/platform/internal/fileacl	0.013s
ok  	github.com/carlosframework/platform/internal/fleetapi	2.389s
ok  	github.com/carlosframework/platform/internal/fleetstore	0.007s
ok  	github.com/carlosframework/platform/internal/fxrate	0.034s
ok  	github.com/carlosframework/platform/internal/gate	5.454s
ok  	github.com/carlosframework/platform/internal/genselect	0.093s
ok  	github.com/carlosframework/platform/internal/geo	0.075s
ok  	github.com/carlosframework/platform/internal/geoip	0.095s
ok  	github.com/carlosframework/platform/internal/groupadmission	0.012s
ok  	github.com/carlosframework/platform/internal/grouprollaws	17.310s
ok  	github.com/carlosframework/platform/internal/hadeparture	0.019s
ok  	github.com/carlosframework/platform/internal/hafresh	0.017s
ok  	github.com/carlosframework/platform/internal/hairpin	0.259s
ok  	github.com/carlosframework/platform/internal/historyreadback	1.200s
ok  	github.com/carlosframework/platform/internal/hostactors	23.609s
ok  	github.com/carlosframework/platform/internal/hostbox	23.055s
ok  	github.com/carlosframework/platform/internal/hostclaim	2.356s
ok  	github.com/carlosframework/platform/internal/hostenv	0.042s
ok  	github.com/carlosframework/platform/internal/hostevidence	0.021s
ok  	github.com/carlosframework/platform/internal/hostexec	25.112s
ok  	github.com/carlosframework/platform/internal/hostfence	0.223s
ok  	github.com/carlosframework/platform/internal/hostfiles	28.448s
ok  	github.com/carlosframework/platform/internal/hostfloor	0.716s
ok  	github.com/carlosframework/platform/internal/hostguard	1.643s
ok  	github.com/carlosframework/platform/internal/hostops	9.274s
?   	github.com/carlosframework/platform/internal/hostops/fencerelease	[no test files]
ok  	github.com/carlosframework/platform/internal/hostops/internal/fencerelease	0.007s
ok  	github.com/carlosframework/platform/internal/hostquarantine	0.016s
ok  	github.com/carlosframework/platform/internal/hostrelocate	2.136s
ok  	github.com/carlosframework/platform/internal/hostresolve	0.668s
ok  	github.com/carlosframework/platform/internal/hostwrite	0.005s
ok  	github.com/carlosframework/platform/internal/infraview	0.018s
ok  	github.com/carlosframework/platform/internal/ingresshealth	0.015s
ok  	github.com/carlosframework/platform/internal/ingresshealth/awstg	0.024s
ok  	github.com/carlosframework/platform/internal/instancectl	67.904s
ok  	github.com/carlosframework/platform/internal/instanceexec	9.857s
ok  	github.com/carlosframework/platform/internal/instancefs	15.266s
ok  	github.com/carlosframework/platform/internal/instancekey	0.008s
ok  	github.com/carlosframework/platform/internal/instanceupdates	0.030s
ok  	github.com/carlosframework/platform/internal/interactive	0.698s
ok  	github.com/carlosframework/platform/internal/launchd	0.007s
ok  	github.com/carlosframework/platform/internal/layout	23.036s
ok  	github.com/carlosframework/platform/internal/layout/pubclass	110.400s
ok  	github.com/carlosframework/platform/internal/lbhealth	0.017s
ok  	github.com/carlosframework/platform/internal/lease	145.860s
ok  	github.com/carlosframework/platform/internal/lease/leasetest	1.387s
ok  	github.com/carlosframework/platform/internal/lease/locktest	0.027s
ok  	github.com/carlosframework/platform/internal/ledger	0.078s
ok  	github.com/carlosframework/platform/internal/mail	1.033s
ok  	github.com/carlosframework/platform/internal/mailer	0.847s
ok  	github.com/carlosframework/platform/internal/mailsubmit	1.606s
ok  	github.com/carlosframework/platform/internal/mailwire	0.016s
ok  	github.com/carlosframework/platform/internal/maintenance	0.247s
ok  	github.com/carlosframework/platform/internal/maintenanceexec	8.018s
ok  	github.com/carlosframework/platform/internal/maintenanceguard	0.332s
ok  	github.com/carlosframework/platform/internal/managedboot	4.175s
?   	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	1.993s
ok  	github.com/carlosframework/platform/internal/media/mediatest	0.007s
ok  	github.com/carlosframework/platform/internal/mediaaws	64.972s
ok  	github.com/carlosframework/platform/internal/mediahandler	43.641s
ok  	github.com/carlosframework/platform/internal/mediajobs	1.054s
ok  	github.com/carlosframework/platform/internal/medialocal	10.069s
ok  	github.com/carlosframework/platform/internal/metrics	0.113s
ok  	github.com/carlosframework/platform/internal/minorunits	0.019s
ok  	github.com/carlosframework/platform/internal/moves	58.741s
ok  	github.com/carlosframework/platform/internal/moves/archive	3.558s
ok  	github.com/carlosframework/platform/internal/moves/offlinerun	0.125s
ok  	github.com/carlosframework/platform/internal/namedunits	0.066s
ok  	github.com/carlosframework/platform/internal/objstore	2.298s
ok  	github.com/carlosframework/platform/internal/ops	15.210s
ok  	github.com/carlosframework/platform/internal/pageindex	3.946s
ok  	github.com/carlosframework/platform/internal/parity	0.122s
?   	github.com/carlosframework/platform/internal/parity/cmd/parity-doc	[no test files]
ok  	github.com/carlosframework/platform/internal/park	0.675s
ok  	github.com/carlosframework/platform/internal/perf	0.193s
ok  	github.com/carlosframework/platform/internal/plans	0.139s
ok  	github.com/carlosframework/platform/internal/privatefile	0.021s
ok  	github.com/carlosframework/platform/internal/provision	240.231s
ok  	github.com/carlosframework/platform/internal/proxyproto	0.942s
ok  	github.com/carlosframework/platform/internal/publicrelease	0.063s
ok  	github.com/carlosframework/platform/internal/ratelimit	0.282s
ok  	github.com/carlosframework/platform/internal/regionlabel	0.100s
ok  	github.com/carlosframework/platform/internal/regionname	0.027s
ok  	github.com/carlosframework/platform/internal/registrar	0.008s
ok  	github.com/carlosframework/platform/internal/registrar/openprovider	0.598s
?   	github.com/carlosframework/platform/internal/registrar/registrartest	[no test files]
ok  	github.com/carlosframework/platform/internal/registry	85.698s
ok  	github.com/carlosframework/platform/internal/relay	7.623s
ok  	github.com/carlosframework/platform/internal/release	134.373s
?   	github.com/carlosframework/platform/internal/release/requestwitness	[no test files]
ok  	github.com/carlosframework/platform/internal/replicagen	0.026s
ok  	github.com/carlosframework/platform/internal/replicas	0.083s
ok  	github.com/carlosframework/platform/internal/reqrec	6.484s
ok  	github.com/carlosframework/platform/internal/rollout	12.461s
ok  	github.com/carlosframework/platform/internal/rolloutwords	0.024s
ok  	github.com/carlosframework/platform/internal/rootaws	109.568s
ok  	github.com/carlosframework/platform/internal/rootfsimage	0.900s
ok  	github.com/carlosframework/platform/internal/rootparticipation	0.093s
ok  	github.com/carlosframework/platform/internal/rootstate	0.042s
ok  	github.com/carlosframework/platform/internal/runs	0.974s
ok  	github.com/carlosframework/platform/internal/s3compat	0.028s
ok  	github.com/carlosframework/platform/internal/s3fake	1.916s
ok  	github.com/carlosframework/platform/internal/s3meter	0.555s
ok  	github.com/carlosframework/platform/internal/safefile	0.065s
ok  	github.com/carlosframework/platform/internal/schedule	23.743s
ok  	github.com/carlosframework/platform/internal/seeds	0.076s
ok  	github.com/carlosframework/platform/internal/share	0.037s
ok  	github.com/carlosframework/platform/internal/sim/litestreamfacts	5.008s
ok  	github.com/carlosframework/platform/internal/sim/mediajobs	53.203s
ok  	github.com/carlosframework/platform/internal/sim/regionha	26.465s
ok  	github.com/carlosframework/platform/internal/status	0.432s
ok  	github.com/carlosframework/platform/internal/steering	0.247s
ok  	github.com/carlosframework/platform/internal/stopevidence	0.561s
ok  	github.com/carlosframework/platform/internal/storecfg	0.303s
ok  	github.com/carlosframework/platform/internal/svcrole	0.008s
ok  	github.com/carlosframework/platform/internal/systemd	7.016s
?   	github.com/carlosframework/platform/internal/systemdshow	[no test files]
ok  	github.com/carlosframework/platform/internal/team	4.047s
ok  	github.com/carlosframework/platform/internal/teamcontract	0.122s
ok  	github.com/carlosframework/platform/internal/telemetry	0.025s
ok  	github.com/carlosframework/platform/internal/termfence	4.897s
ok  	github.com/carlosframework/platform/internal/timerspec	0.020s
ok  	github.com/carlosframework/platform/internal/tsidentity	4.185s
ok  	github.com/carlosframework/platform/internal/tunnelclient	0.457s
ok  	github.com/carlosframework/platform/internal/unixdial	0.015s
ok  	github.com/carlosframework/platform/internal/updatewords	0.039s
ok  	github.com/carlosframework/platform/internal/upstreamguard	0.022s
?   	github.com/carlosframework/platform/internal/upstreamguard/guardtest	[no test files]
ok  	github.com/carlosframework/platform/internal/usage	0.019s
ok  	github.com/carlosframework/platform/internal/version	0.026s
ok  	github.com/carlosframework/platform/internal/vet	3.295s
ok  	github.com/carlosframework/platform/internal/zonehost	0.028s
ok  	github.com/carlosframework/platform/internal/zonehost/route53zones	0.072s
?   	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.027s
ok  	github.com/carlosframework/platform/scripts/pathmapcheck	0.094s
ok  	github.com/carlosframework/platform/scripts/region-ha-g2/fixture	5.277s
ok  	github.com/carlosframework/platform/scripts/stateless-replicas-drill	1.198s
ok  	github.com/carlosframework/platform/scripts/witness-pointer	0.014s
=== cutover-witness (167 s, from +15 s)
ok  	github.com/carlosframework/platform	3.375s
=== internal_grouproll@0 (275 s, from +74 s)
ok  	github.com/carlosframework/platform/internal/grouproll	273.333s
=== internal_grouproll@1 (284 s, from +74 s)
ok  	github.com/carlosframework/platform/internal/grouproll	282.556s
=== internal_activator@0 (157 s, from +146 s)
ok  	github.com/carlosframework/platform/internal/activator	152.949s
=== internal_activator@1 (134 s, from +146 s)
ok  	github.com/carlosframework/platform/internal/activator	129.567s
=== internal_activator@2 (143 s, from +146 s)
ok  	github.com/carlosframework/platform/internal/activator	137.931s
=== internal_activator@3 (164 s, from +146 s)
ok  	github.com/carlosframework/platform/internal/activator	159.037s
=== root@0 (119 s, from +173 s)
2026/11/30 14:45:52 console: CARLOS_SECRETS_PUBKEY is unset, so no region outside the home can be chosen automatically
2026/11/30 14:45:52 console: delivery to paul@keymail.dev: keymail lookup unreachable, trying email: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=paul%40keymail.dev&from=console%40127.0.0.1%3A40401": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/30 14:45:52 console: could not notify paul@keymail.dev of a CLI token issue: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=paul%40keymail.dev&from=console%40127.0.0.1%3A40401": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/30 14:45:52 console: CARLOS_SECRETS_PUBKEY is unset, so no region outside the home can be chosen automatically
2026/11/30 14:45:52 console: delivery to paul@keymail.dev: keymail lookup unreachable, trying email: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=paul%40keymail.dev&from=console%40127.0.0.1%3A42795": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/30 14:45:52 console: could not notify paul@keymail.dev of a CLI token issue: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=paul%40keymail.dev&from=console%40127.0.0.1%3A42795": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/30 14:45:53 console: CARLOS_SECRETS_PUBKEY is unset, so no region outside the home can be chosen automatically
2026/11/30 14:45:53 console: delivery to paul@keymail.dev: keymail lookup unreachable, trying email: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=paul%40keymail.dev&from=console%40127.0.0.1%3A46555": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/30 14:45:53 console: could not notify paul@keymail.dev of a CLI token issue: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=paul%40keymail.dev&from=console%40127.0.0.1%3A46555": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/30 14:45:53 console: CARLOS_SECRETS_PUBKEY is unset, so no region outside the home can be chosen automatically
2026/11/30 14:45:54 console: delivery to paul@keymail.dev: keymail lookup unreachable, trying email: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=paul%40keymail.dev&from=console%40127.0.0.1%3A37579": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/30 14:45:54 console: could not notify paul@keymail.dev of a CLI token issue: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=paul%40keymail.dev&from=console%40127.0.0.1%3A37579": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/30 14:45:54 edges: box "uk-box" has an edges file under control/edges/ but no status snapshot at all, so no region outside the home is automatically eligible until it reports; said once
2026/11/30 14:45:54 edges: 1 edges file(s) under control/edges/ but no fresh box snapshot matched any of them, so automatic region placement sees the home alone (are edges and status in different buckets? see CARLOS_STATUS_BUCKET/CARLOS_STATUS_PREFIX)
2026/11/30 14:45:54 console: an incomplete read of the edges files or box snapshots (edges complete true, snapshots complete false), so no region outside the home is automatically eligible this request; said once
2026/11/30 14:45:57 INFO replica sync system=store db=shop.db replica=file txid.replica=0000000000000000 txid.db=0000000000000001
2026/11/30 14:45:57 INFO ltx file uploaded system=store db=shop.db replica=file level=0 minTXID=0000000000000001 maxTXID=0000000000000001 size=708
2026/11/30 14:45:57 INFO replica sync system=store db=shop.db replica=file txid.replica=0000000000000001 txid.db=0000000000000001
2026/11/30 14:45:58 INFO replica sync system=store db=shop.db replica=file txid.replica=0000000000000001 txid.db=0000000000000002
2026/11/30 14:45:58 INFO ltx file uploaded system=store db=shop.db replica=file level=0 minTXID=0000000000000002 maxTXID=0000000000000002 size=265
2026/11/30 14:45:58 INFO replica sync system=store db=shop.db replica=file txid.replica=0000000000000002 txid.db=0000000000000002
2026/11/30 14:45:58 console: CARLOS_SECRETS_PUBKEY is unset, so no region outside the home can be chosen automatically
2026/11/30 14:45:58 console: delivery to member@example.com: keymail lookup unreachable, trying email: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=member%40example.com&from=console%40127.0.0.1%3A40287": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/30 14:45:58 console: could not notify member@example.com of a CLI token issue: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=member%40example.com&from=console%40127.0.0.1%3A40287": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/30 14:45:59 console: db read dbr_34st4w5f43p6nzjq6giyrfbpoe: relayed 1 chunks (99 bytes) in 1.001s, ended done
2026/11/30 14:45:59 INFO replica sync system=store db=shop.db replica=file txid.replica=0000000000000000 txid.db=0000000000000001
2026/11/30 14:45:59 INFO ltx file uploaded system=store db=shop.db replica=file level=0 minTXID=0000000000000001 maxTXID=0000000000000001 size=708
2026/11/30 14:45:59 INFO replica sync system=store db=shop.db replica=file txid.replica=0000000000000001 txid.db=0000000000000001
2026/11/30 14:46:00 INFO replica sync system=store db=shop.db replica=file txid.replica=0000000000000001 txid.db=0000000000000002
2026/11/30 14:46:00 INFO ltx file uploaded system=store db=shop.db replica=file level=0 minTXID=0000000000000002 maxTXID=0000000000000002 size=265
2026/11/30 14:46:00 INFO replica sync system=store db=shop.db replica=file txid.replica=0000000000000002 txid.db=0000000000000002
2026/11/30 14:46:00 console: CARLOS_SECRETS_PUBKEY is unset, so no region outside the home can be chosen automatically
2026/11/30 14:46:00 console: delivery to member@example.com: keymail lookup unreachable, trying email: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=member%40example.com&from=console%40127.0.0.1%3A37647": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/30 14:46:00 console: could not notify member@example.com of a CLI token issue: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=member%40example.com&from=console%40127.0.0.1%3A37647": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/30 14:46:01 console: db read dbr_22vmyl3nhbh4njaiwprhprdi5e: relayed 1 chunks (102 bytes) in 1.001s, ended done
2026/11/30 14:46:01 INFO replica sync system=store db=shop.db replica=file txid.replica=0000000000000000 txid.db=0000000000000001
2026/11/30 14:46:01 INFO ltx file uploaded system=store db=shop.db replica=file level=0 minTXID=0000000000000001 maxTXID=0000000000000001 size=708
2026/11/30 14:46:01 INFO replica sync system=store db=shop.db replica=file txid.replica=0000000000000001 txid.db=0000000000000001
2026/11/30 14:46:02 INFO replica sync system=store db=shop.db replica=file txid.replica=0000000000000001 txid.db=0000000000000002
2026/11/30 14:46:02 INFO ltx file uploaded system=store db=shop.db replica=file level=0 minTXID=0000000000000002 maxTXID=0000000000000002 size=265
2026/11/30 14:46:02 INFO replica sync system=store db=shop.db replica=file txid.replica=0000000000000002 txid.db=0000000000000002
2026/11/30 14:46:02 console: CARLOS_SECRETS_PUBKEY is unset, so no region outside the home can be chosen automatically
2026/11/30 14:46:02 console: delivery to member@example.com: keymail lookup unreachable, trying email: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=member%40example.com&from=console%40127.0.0.1%3A40999": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/30 14:46:02 console: could not notify member@example.com of a CLI token issue: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=member%40example.com&from=console%40127.0.0.1%3A40999": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/30 14:47:04 console: db read dbr_imtbjomf5uxmj4rkcowmiwnrlm: relayed 1 chunks (99 bytes) in 1m2.016s, ended no-result
2026/11/30 14:47:04 console: CARLOS_SECRETS_PUBKEY is unset, so no region outside the home can be chosen automatically
2026/11/30 14:47:04 console: delivery to paul@keymail.dev: keymail lookup unreachable, trying email: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=paul%40keymail.dev&from=console%40127.0.0.1%3A35919": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/30 14:47:04 console: could not notify paul@keymail.dev of a CLI token issue: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=paul%40keymail.dev&from=console%40127.0.0.1%3A35919": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/30 14:47:04 edge: static cache /tmp/TestE2EStaticDeployMintsPlatformHost4069246655/005/edge-cache: first start with the lock; sweeping from the next start
2026/11/30 14:47:04 INFO edge: static site=bab/freshly version=sha0001 bytes=104 seconds=0.000
2026/11/30 14:47:04 INFO edge: static site=bab/freshly version=sha0002 bytes=103 seconds=0.000
2026/11/30 14:47:05 console: CARLOS_SECRETS_PUBKEY is unset, so no region outside the home can be chosen automatically
2026/11/30 14:47:05 console: delivery to paul@keymail.dev: keymail lookup unreachable, trying email: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=paul%40keymail.dev&from=console%40127.0.0.1%3A36197": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/30 14:47:05 console: could not notify paul@keymail.dev of a CLI token issue: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=paul%40keymail.dev&from=console%40127.0.0.1%3A36197": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/30 14:47:07 console: delivery to paul@keymail.dev: keymail lookup unreachable, trying email: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=paul%40keymail.dev&from=console%40127.0.0.1%3A35699": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/30 14:47:07 console: could not notify paul@keymail.dev of a CLI token issue: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=paul%40keymail.dev&from=console%40127.0.0.1%3A35699": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/30 14:47:13 console: CARLOS_SECRETS_PUBKEY is unset, so no region outside the home can be chosen automatically
2026/11/30 14:47:13 console: delivery to paul@keymail.dev: keymail lookup unreachable, trying email: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=paul%40keymail.dev&from=console%40127.0.0.1%3A45867": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/30 14:47:13 console: could not notify paul@keymail.dev of a CLI token issue: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=paul%40keymail.dev&from=console%40127.0.0.1%3A45867": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
--- FAIL: TestMoveFixedSentences (0.01s)
    move_test.go:837: unreachable console: exit 5:
        not signed in — run: carlos auth login --console http://127.0.0.1:36107
2026/11/30 14:47:15 console: delivery to paul@keymail.dev: keymail lookup unreachable, trying email: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=paul%40keymail.dev&from=console%40127.0.0.1%3A44297": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/30 14:47:15 console: could not notify paul@keymail.dev of a CLI token issue: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=paul%40keymail.dev&from=console%40127.0.0.1%3A44297": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/30 14:47:15 console: delivery to paul@keymail.dev: keymail lookup unreachable, trying email: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=paul%40keymail.dev&from=console%40127.0.0.1%3A38187": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/30 14:47:15 console: could not notify paul@keymail.dev of a CLI token issue: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=paul%40keymail.dev&from=console%40127.0.0.1%3A38187": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
usage: carlos platform customers create [flags]
flags:
  --console <string>        console origin to use
  --destination, -d <name>  use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)
  --json                    print JSON for scripts
  --name <string>           the customer account’s name
  --plan <string>           plan to put the account on
  --platform <string>       your platform account’s sqid
  --ref <string>            your own id for the customer. pass it so a retried create returns the same account
usage: carlos platform customers list [flags]
flags:
  --console <string>        console origin to use
  --destination, -d <name>  use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)
  --json                    print JSON for scripts
  --platform <string>       your platform account’s sqid
usage: carlos platform customers show [flags]
flags:
  --console <string>        console origin to use
  --customer <string>       the customer account’s sqid
  --destination, -d <name>  use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)
  --json                    print JSON for scripts
  --platform <string>       your platform account’s sqid
  --ref <string>            your own id for the customer, instead of --customer
usage: carlos platform customers update [flags]
flags:
  --console <string>        console origin to use
  --customer <string>       the customer account’s sqid
  --destination, -d <name>  use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)
  --name <string>           the customer account’s name
  --plan <string>           plan to put the account on
  --platform <string>       your platform account’s sqid
  --reason <string>         why. it is kept with the change
  --ref <string>            your own id for the customer, instead of --customer
usage: carlos platform credentials mint [flags]
flags:
  --app <string>            the app a deploy credential is for
  --console <string>        console origin to use
  --customer <string>       the customer account’s sqid
  --destination, -d <name>  use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)
  --json                    print JSON for scripts
  --platform <string>       your platform account’s sqid
  --ref <string>            your own id for the customer, instead of --customer
  --role <string>           publish (the whole account) or deploy (one app) (default: publish)
  --rungs <string>          the rungs a deploy credential may move, comma-separated
  --ttl <duration>          how long the credential works, 1m to 24h (default: 1h0m0s)
2026/11/30 14:47:16 console: CARLOS_SECRETS_PUBKEY is unset, so no region outside the home can be chosen automatically
2026/11/30 14:47:16 console: delivery to paul@keymail.dev: keymail lookup unreachable, trying email: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=paul%40keymail.dev&from=console%40127.0.0.1%3A35423": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/30 14:47:16 console: could not notify paul@keymail.dev of a CLI token issue: keymail: lookup unreachable: Get "http://keymail.invalid/api/federation/lookup?addr=paul%40keymail.dev&from=console%40127.0.0.1%3A35423": dial tcp: lookup keymail.invalid on 127.0.0.53:53: no such host
2026/11/30 14:47:16 console: app region bab/cart: ie (default)
2026/11/30 14:47:16 console: backfilled account manifest for bab (ops)
2026/11/30 14:47:16 console: CARLOS_SECRETS_PUBKEY is unset, so no region outside the home can be chosen automatically
2026/11/30 14:47:16 console: CARLOS_SECRETS_PUBKEY is unset, so no region outside the home can be chosen automatically
2026/11/30 14:47:17 console: CARLOS_SECRETS_PUBKEY is unset, so no region outside the home can be chosen automatically
2026/11/30 14:47:21 edges: skipping control/edges/bad-box.json in the placement join: not a versioned edges file
FAIL
FAIL	github.com/carlosframework/platform	111.875s
FAIL
=== root@1 (116 s, from +173 s)
ok  	github.com/carlosframework/platform	105.350s
=== root@2 (125 s, from +173 s)
ok  	github.com/carlosframework/platform	114.457s
=== root@3 (114 s, from +173 s)
ok  	github.com/carlosframework/platform	104.596s
=== root@4 (110 s, from +173 s)
ok  	github.com/carlosframework/platform	99.007s
=== internal_edge@0 (247 s, from +185 s)
ok  	github.com/carlosframework/platform/internal/edge	237.772s
=== internal_edge@1 (131 s, from +185 s)
ok  	github.com/carlosframework/platform/internal/edge	123.753s
=== internal_edge@2 (169 s, from +185 s)
ok  	github.com/carlosframework/platform/internal/edge	160.055s
=== internal_edge@3 (146 s, from +185 s)
ok  	github.com/carlosframework/platform/internal/edge	138.868s
=== internal_host@0 (166 s, from +221 s)
ok  	github.com/carlosframework/platform/internal/host	161.433s
=== internal_host@1 (154 s, from +221 s)
ok  	github.com/carlosframework/platform/internal/host	149.769s
=== internal_host@2 (155 s, from +221 s)
ok  	github.com/carlosframework/platform/internal/host	151.204s
=== internal_host@3 (193 s, from +221 s)
ok  	github.com/carlosframework/platform/internal/host	188.763s
=== internal_host@4 (233 s, from +221 s)
ok  	github.com/carlosframework/platform/internal/host	228.365s
=== internal_host@5 (277 s, from +221 s)
ok  	github.com/carlosframework/platform/internal/host	272.388s
=== internal_console@0 (181 s, from +228 s)
ok  	github.com/carlosframework/platform/internal/console	172.564s
=== internal_console@1 (181 s, from +228 s)
ok  	github.com/carlosframework/platform/internal/console	173.322s
=== internal_console@2 (240 s, from +228 s)
ok  	github.com/carlosframework/platform/internal/console	233.126s
=== internal_console@3 (259 s, from +228 s)
ok  	github.com/carlosframework/platform/internal/console	251.653s
=== internal_console@4 (228 s, from +228 s)
ok  	github.com/carlosframework/platform/internal/console	220.430s
=== internal_console@5 (245 s, from +228 s)
ok  	github.com/carlosframework/platform/internal/console	237.903s
=== internal_console@6 (223 s, from +228 s)
ok  	github.com/carlosframework/platform/internal/console	215.120s
=== internal_console@7 (235 s, from +228 s)
ok  	github.com/carlosframework/platform/internal/console	228.430s
=== internal_console@8 (243 s, from +228 s)
ok  	github.com/carlosframework/platform/internal/console	235.310s
=== internal_console@9 (240 s, from +228 s)
ok  	github.com/carlosframework/platform/internal/console	232.272s
=== internal_console@10 (242 s, from +228 s)
ok  	github.com/carlosframework/platform/internal/console	233.714s
=== internal_console@11 (245 s, from +228 s)
ok  	github.com/carlosframework/platform/internal/console	237.635s
=== internal_console@12 (372 s, from +228 s)
ok  	github.com/carlosframework/platform/internal/console	364.451s
=== internal_console@13 (216 s, from +228 s)
ok  	github.com/carlosframework/platform/internal/console	207.624s
=== internal_console@14 (207 s, from +228 s)
ok  	github.com/carlosframework/platform/internal/console	198.754s
=== internal_console@15 (227 s, from +228 s)
ok  	github.com/carlosframework/platform/internal/console	219.451s
=== internal_console@16 (231 s, from +228 s)
ok  	github.com/carlosframework/platform/internal/console	224.035s
=== internal_console@17 (254 s, from +228 s)
ok  	github.com/carlosframework/platform/internal/console	246.148s
=== internal_console@18 (288 s, from +228 s)
ok  	github.com/carlosframework/platform/internal/console	279.665s
=== internal_console@19 (245 s, from +228 s)
ok  	github.com/carlosframework/platform/internal/console	237.186s
=== internal_console@20 (207 s, from +228 s)
ok  	github.com/carlosframework/platform/internal/console	199.831s
=== internal_console@21 (240 s, from +228 s)
ok  	github.com/carlosframework/platform/internal/console	231.799s
=== internal_console@22 (243 s, from +228 s)
ok  	github.com/carlosframework/platform/internal/console	234.404s
=== internal_console@23 (236 s, from +228 s)
ok  	github.com/carlosframework/platform/internal/console	228.197s
=== lists: internal_console 227 s, internal_edge 183 s, internal_activator 145 s, internal_host 220 s, root 171 s, internal_grouproll 73 s
=== cpu: the gate used 13231 cpu-seconds in 601 s, about 22.0 of 32 cores; the machine as a whole was 73% busy

Failure summary:
--- root@0
--- FAIL: TestMoveFixedSentences (0.01s)
    move_test.go:837: unreachable console: exit 5:
FAIL	github.com/carlosframework/platform	111.875s

FAILED: root@0
make: *** [Makefile:23: test] Error 1
=== opentofu ===
opentofu: 39 test files in 11 suites, OpenTofu v1.13.9
  initialised in 16 s
  ok      18 s  infra/modules/box-fence-writer/tests/writer.tftest.hcl  Success! 1 passed, 0 failed.
  ok      25 s  infra/modules/deployment-buckets/tests/console_floors.tftest.hcl  Success! 1 passed, 0 failed.
  ok      31 s  infra/modules/deployment-buckets/tests/data_lifecycle.tftest.hcl  Success! 3 passed, 0 failed.
  ok      24 s  infra/modules/deployment-buckets/tests/db_reads.tftest.hcl  Success! 1 passed, 0 failed.
  ok      17 s  infra/modules/deployment-buckets/tests/evidence.tftest.hcl  Success! 1 passed, 0 failed.
  ok      35 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      90 s  infra/modules/media-engine/tests/media_engine.tftest.hcl  Success! 24 passed, 0 failed.
  ok      27 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      40 s  infra/modules/region-group-operator-document/tests/document.tftest.hcl  Success! 12 passed, 0 failed.
  ok      18 s  infra/modules/region-host/ingress/tests/fixed-targets/tests/targets.tftest.hcl  Success! 2 passed, 0 failed.
  ok      65 s  infra/modules/region-host/ingress/tests/group_ingress.tftest.hcl  Success! 30 passed, 0 failed.
  ok      45 s  infra/modules/region-host/tests/alert_publish.tftest.hcl  Success! 18 passed, 0 failed.
  ok      40 s  infra/modules/region-host/tests/alerts_topic.tftest.hcl  Success! 16 passed, 0 failed.
  ok      12 s  infra/modules/region-host/tests/analytics_prune.tftest.hcl  Success! 2 passed, 0 failed.
  ok      14 s  infra/modules/region-host/tests/console_mail.tftest.hcl  Success! 4 passed, 0 failed.
  ok       5 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      12 s  infra/modules/region-host/tests/group_alarms.tftest.hcl  Success! 4 passed, 0 failed.
  ok      12 s  infra/modules/region-host/tests/group_iam.tftest.hcl  Success! 4 passed, 0 failed.
  ok       6 s  infra/modules/region-host/tests/group_isolation.tftest.hcl  Success! 1 passed, 0 failed.
  ok      39 s  infra/modules/region-host/tests/group_operator.tftest.hcl  Success! 13 passed, 0 failed.
  ok      12 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      13 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      21 s  infra/modules/region-host/tests/mailer.tftest.hcl  Success! 6 passed, 0 failed.
  ok      11 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     108 s  infra/modules/region-host/tests/managed_fleets/managed_fleets.tftest.hcl  Success! 46 passed, 0 failed.
  ok      76 s  infra/modules/region-host/tests/store_conversion.tftest.hcl  Success! 27 passed, 0 failed.
  ok      18 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      16 s  infra/modules/region-host/tests/store_write_credentials.tftest.hcl  Success! 4 passed, 0 failed.
  ok      18 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      12 s  infra/modules/region-remote-host/tests/no_deployment_bucket.tftest.hcl  Success! 5 passed, 0 failed.
  ok      33 s  infra/modules/scanner-host/tests/scanner_host.tftest.hcl  Success! 14 passed, 0 failed.
opentofu: 39 files in 215 s
opentofu: PASS

amadan: step gate failed: exit status 2

amadan: job failed at step gate — its output is above, not at the tail of this log
diff --git a/docs/superpowers/notes/census-claims-demo-disk-slice1-retention.tsv b/docs/superpowers/notes/census-claims-demo-disk-slice1-retention.tsv
index 46471ee42..cd2a41872 100644
--- a/docs/superpowers/notes/census-claims-demo-disk-slice1-retention.tsv
+++ b/docs/superpowers/notes/census-claims-demo-disk-slice1-retention.tsv
@@ -1,22 +1,23 @@
internal/host/agent.go:statusLoop the agent (carlos-edge.service, user carlos): the status tick also fills Probes.DemoDisk from readDemoDisk(), nil unless CARLOS_DEMO_BOX is set; statfs of /data and /run, and root's public retention record (readDemoBuilds); report only; no store request added; read sites unchanged
-internal/release/adopt.go:PassFilter the stage check's beforeWrite is cfg.stageWriteCheck (generationWriteCheck first, unchanged, then WithBeforeStage's callback for a path that holds nothing yet); no read added in this unit
-internal/release/adopt.go:type passConfig adds the beforeStage callback field, set only by WithBeforeStage (root's adopt pass); reads nothing
internal/status/snapshot.go:CollectBox copies Probes.DemoDisk into BoxMetrics.DemoDisk (json demo_disk, omitempty; private, like Layout) and counts it in the condition that builds Metrics; the same 28 sites, no read added
cli.go:printDemoDisk operator CLI (carlos status --live), not root: prints a published box snapshot's demo_disk numbers; reads only the decoded snapshot in hand
internal/host/demodisk_status.go:productionDemoDiskProbe the agent (user carlos), not root: opens root's public record directory /var/lib/carlos-release/demo-retention read-only through rootstate.Open(dir, false, true) (every ancestor root-owned, not group or world writable); report only
internal/host/demodisk_status.go:readDemoBuilds the agent (user carlos): reads the record 'status' from that rootstate store (descriptor read, trusted owner, 1 MiB cap) and decodes it; schema 1 or an error; report only, nothing reads it as authority
internal/host/demoretention.go:demoRetention.saveStatus root adopt pass: reads its own previous record from the public root store /var/lib/carlos-release/demo-retention (rootstate, created root-owned 0755, file 0644) to carry the backlog's start, and writes the new record there; status only, never read back as a pin or a decision
-internal/host/demoretention.go:productionDemoRetention root adopt pass: demo.BoxConfig from host.env (root-owned), the version store and generations file paths, root's generation ledger, and the record store opener rootstate.Open(/var/lib/carlos-release/demo-retention, true, true)
internal/host/statfs_unix.go:filesystemRoom the agent (user carlos): statfs of /data and /run for status and the disk alert; numbers only
internal/release/adopt.go:passConfig.stageWriteCheck root adopt pass and agent passes: generationWriteCheck unchanged first; then, only when WithBeforeStage is set (root's adopt pass only), Lstat of the VersionPath about to be written and the callback when nothing is there; an error fails the stage (nothing written, route unchanged)
-internal/host/agent.go:runAdoptUnderRootRelease demo disk bound slice 1, fix round 2: release.Pass runs inside adoptPassAround(ctx, configOnly, restartOnly, stageOnly, passLockErr, reg, generationPins, pass) (demoretention.go), still inside pr.around and under the adopt pass lock taken at the top. adoptPassRetention composes it: no retention on -config-only or -restart-only (which also return before this line), locked = passLockErr == nil, hourly = !stageOnly; tested (TestAdoptPassRetentionFollowsTheModeAndTheLock). No read added in this unit; read sites unchanged
internal/host/demoretention.go:demoRetention.pinSet root adopt pass: the pin set from every source: release.BoxPins over every registry row (live link chains; Version, PrevVersion, GoodVersion, settings references), previous links (linkTargets), release.GenerationPins over the generations file, and root's generation ledger (productionRootGenerationPins). Strict: any source that does not read in full is an error and nothing is deleted, except BoxPins' IncompleteRefsError, whose pins it keeps and returns so the caller holds only the apps the error covers (as adopt.go's restage does with inc.Covers). Pins only ever keep builds; what may be deleted is chosen by selection from root's own listing, never from a pin. Agent-writable inputs (the registry, the generations file under /data) therefore only ADD protection; the estimate mode (no deletion) only counts. No read added
-internal/host/demoretention.go:demoRetention.selection root adopt pass: eligibility comes only from root's facts: demoAccount (host.env CARLOS_DEMO_ACCOUNT via demo.BoxConfig, never the ops account) and listOutputs' listing of its own store. Registry rows (List; reads App, Version, the route for RouteAccount and validDemoRow) only ADD protection: their pins, and a row of the demo account that is not a valid demo binding keeps every build of its app (guarded). Adoption for "in flight" comes from root's live links (linkTargets), not rows; rows' Version is read only in the estimate when the live links do not read, and the estimate deletes nothing. The Lstat by row-derived app name is gone: no registry string reaches a filesystem path here
internal/host/demoretention.go:demoRetention.listOutputs root adopt pass: ReadDir of <opt>/versions (root-owned) and of <opt>/versions/<ver>/<demo account> for each ValidVersion directory; each entry name, less .manifest.json, must pass validDemoName (tmp-demo- + demo.ValidPublicName: one path component, no "." or "..") before it is used; DirEntry.Info for sizes. ENOENT/ENOTDIR skip. Reads no registry input
internal/host/demoretention.go:linkTargets root adopt pass: ReadDir, Readlink and EvalSymlinks of the root-owned <opt>/previous and <opt>/live links, as release.LivePins reads them for the sweep (replaces previousLinkPins, same reads); an unreadable link is an error and nothing is deleted
internal/host/demoretention.go:demoOutput.spellings root adopt pass: EvalSymlinks of an output's directory <opt>/versions/<ver>/<demo account>, every component validated (ValidVersion, BoxConfig account, validDemoName), so an output is compared under the store's spelling and its real path; reads no registry input
internal/host/demoretention.go:demoRetention.validDemoRow root adopt pass: reads a registry row's demo descriptor (DemoID, DemoHost, DemoLifetime, DemoExpiresAt), Host, App and account and checks it with demo.Config.ValidateBinding against host.env's tuple. Its only effect is protection: a row of the demo account that fails keeps all of its app's builds; it never makes anything eligible
internal/host/demoretention.go:demoRetention.demoAdoptions root adopt pass: lists the registry and keeps the Host and Version of each row of the demo account whose App has the tmp-demo- prefix, to tell after the pass whether it adopted a demo version; decides only whether retention runs, never what it removes
-internal/host/alertsink.go:alertSentence the agent (user carlos), not root: the disk sentence names ev.Where (/data, /data inodes, /run) when the box set it; literals only, no read
-internal/host/alertsink.go:alertClearSentence the agent (user carlos), not root: the disk clear sentence names ev.Where likewise; literals only, no read
-internal/host/demodisk_status.go:const#1 the agent (user carlos): diskWhereData, diskWhereDataInodes, diskWhereRun, the names the disk alert gives what it measured; literals only
+internal/host/agent.go:runAdoptUnderRootRelease demo disk bound slice 1, fix round 3: release.Pass runs inside adoptPassAround(ctx, configOnly, restartOnly, stageOnly, passLockErr, productionDemoRetentionFor(reg, generationPins), pass), still inside pr.around and under the adopt pass lock taken at the top; pass now receives two demo options, release.WithRouteAdmission(admitRoute) and release.WithBeforeStage(beforeStage). adoptPassRetention composes mode and lock (nil on -config-only/-restart-only, which also return before this line; locked = passLockErr == nil; hourly = !stageOnly). Witnessed through adoptPassAround around a real release.Pass (TestAdoptPassAroundGatesDemoAdoptionOnTheLock). No read added in this unit; read sites unchanged
+internal/release/adopt.go:PassFilter the stage check's beforeWrite is cfg.stageWriteCheck (unchanged from round 1); fix round 3: the recovery loop and the adopts predicate also require cfg.routeAdmitted(rt), so a route WithRouteAdmission refuses is kept out of recovery, selection, staging, restaging, reuse and the repoint for the whole pass, exactly as a non-adoptable route is. The two added sites pass the Route already in hand to the admission callback; no new read, and nil admission (every caller but root's adopt pass) admits every route as before
+internal/release/adopt.go:type passConfig adds the beforeStage callback field (WithBeforeStage) and the admitRoute field (WithRouteAdmission), both set only by root's adopt pass; reads nothing
+internal/release/adopt.go:WithRouteAdmission new PassOption: wraps fn so a refusal is printed once per host (rt.Host) and returns whether the route is admitted; reads only the Route handed to it, no file, store or registry read
+internal/release/adopt.go:passConfig.routeAdmitted new: true without an admission option, otherwise the admission's answer for the Route in hand; reads nothing else
+internal/host/demoretention.go:demoRetention.admitRoute root adopt pass, new: the demo admission asked of every route before the release pass does anything with it. Refuses a tmp-demo- route (rt.App, RouteAccount) on a box whose host.env demo settings do not validate (boxErr); and, on a demo box, a route of the demo account when the demo account is the ops account, the app is not a valid demo name, or the pass does not hold the adopt pass lock. Only refuses: a registry row can never be admitted by it that would not be otherwise; reads only the Route in hand and root's own config
+internal/host/demoretention.go:demoRetention.selection root adopt pass: eligibility only from root's facts: demoAccount (host.env, never the ops account) and listOutputs' listing of its own store. Registry rows (List; App, Version, the route for RouteAccount and validDemoRow) only ADD protection: their pins, and a hold: a row of the demo account that is not a valid demo binding, or an app BoxPins' IncompleteRefsError covers, holds the app (nothing removed, backlog counted, named with its reason in the record, its next stage refused). Adoption for "in flight" comes from root's live links; rows' Version only in the deleting-nothing estimate. No registry string reaches a filesystem path
+internal/host/demoretention.go:productionDemoRetention root adopt pass: demo.BoxConfig from host.env (root-owned), now also keeping its error (boxErr) so a box that says it is a demo box with invalid settings refuses demo adoption; the version store and generations file paths, root's generation ledger, and the record store opener rootstate.Open(/var/lib/carlos-release/demo-retention, true, true)
+internal/host/demodisk_status.go:const#1 the agent (user carlos): diskWhereData, diskWhereDataInodes, diskWhereRun, diskWhereRunInodes, the names the disk alert gives what it measured; literals only
diff --git a/docs/superpowers/notes/census-proposal-demo-disk-slice1-retention.md b/docs/superpowers/notes/census-proposal-demo-disk-slice1-retention.md
index 87e313106..657f911f4 100644
--- a/docs/superpowers/notes/census-proposal-demo-disk-slice1-retention.md
+++ b/docs/superpowers/notes/census-proposal-demo-disk-slice1-retention.md
@@ -1,14 +1,14 @@
# Census approval: demo-disk-slice1-retention
-Ruling `census-ruling-demo-disk-slice1-retention`. The independent reviewer approves or rejects every change below, 17 with a new disposition; nothing goes to the census owner (Paul, #280, 2026-10-26).
+Ruling `census-ruling-demo-disk-slice1-retention`. The independent reviewer approves or rejects every change below, 18 with a new disposition; nothing goes to the census owner (Paul, #280, 2026-10-26).
| unit | change | read sites | what changed |
|---|---|---|---|
-| `internal/host/agent.go` `runAdoptUnderRootRelease` | body | unchanged (4) | demo disk bound slice 1, fix round 2: release.Pass runs inside adoptPassAround(ctx, configOnly, restartOnly, stageOnly, passLockErr, reg, generationPins, pass) (demoretention.go), still inside pr.around and under the adopt pass lock taken at the top. adoptPassRetention composes it: no retention on -config-only or -restart-only (which also return before this line), locked = passLockErr == nil, hourly = !stageOnly; tested (TestAdoptPassRetentionFollowsTheModeAndTheLock). No read added in this unit; read sites unchanged |
+| `internal/host/agent.go` `runAdoptUnderRootRelease` | body | unchanged (4) | demo disk bound slice 1, fix round 3: release.Pass runs inside adoptPassAround(ctx, configOnly, restartOnly, stageOnly, passLockErr, productionDemoRetentionFor(reg, generationPins), pass), still inside pr.around and under the adopt pass lock taken at the top; pass now receives two demo options, release.WithRouteAdmission(admitRoute) and release.WithBeforeStage(beforeStage). adoptPassRetention composes mode and lock (nil on -config-only/-restart-only, which also return before this line; locked = passLockErr == nil; hourly = !stageOnly). Witnessed through adoptPassAround around a real release.Pass (TestAdoptPassAroundGatesDemoAdoptionOnTheLock). No read added in this unit; read sites unchanged |
| `internal/host/agent.go` `statusLoop` | body | unchanged (7) | the agent (carlos-edge.service, user carlos): the status tick also fills Probes.DemoDisk from readDemoDisk(), nil unless CARLOS_DEMO_BOX is set; statfs of /data and /run, and root's public retention record (readDemoBuilds); report only; no store request added; read sites unchanged |
-| `internal/release/adopt.go` `PassFilter` | body | unchanged (75) | the stage check's beforeWrite is cfg.stageWriteCheck (generationWriteCheck first, unchanged, then WithBeforeStage's callback for a path that holds nothing yet); no read added in this unit |
-| `internal/release/adopt.go` `type passConfig` | body | unchanged (0) | adds the beforeStage callback field, set only by WithBeforeStage (root's adopt pass); reads nothing |
+| `internal/release/adopt.go` `type passConfig` | body | unchanged (0) | adds the beforeStage callback field (WithBeforeStage) and the admitRoute field (WithRouteAdmission), both set only by root's adopt pass; reads nothing |
| `internal/status/snapshot.go` `CollectBox` | body | unchanged (28) | copies Probes.DemoDisk into BoxMetrics.DemoDisk (json demo_disk, omitempty; private, like Layout) and counts it in the condition that builds Metrics; the same 28 sites, no read added |
+| `internal/release/adopt.go` `PassFilter` | sites | +whole:Route ×2 | the stage check's beforeWrite is cfg.stageWriteCheck (unchanged from round 1); fix round 3: the recovery loop and the adopts predicate also require cfg.routeAdmitted(rt), so a route WithRouteAdmission refuses is kept out of recovery, selection, staging, restaging, reuse and the repoint for the whole pass, exactly as a non-adoptable route is. The two added sites pass the Route already in hand to the admission callback; no new read, and nil admission (every caller but root's adopt pass) admits every route as before |
Envelopes re-pinned: `.`, `internal/host`, `internal/metrics`, `internal/release`, `internal/status`.
@@ -18,19 +18,18 @@ Recorded dispositions, which each change must still satisfy:
- `internal/host/agent.go` `runAdoptUnderRootRelease`: authority, task B3,E1,E2,E3. Basis: rev3=census-ruling-self-serve-moves-1;basis=root claim/adopt/update controller uid 0: builds root's lifetime judge once from the host-claim switch and hands it to both productionRestartRequestPass calls; read sites unchanged, offsets moved; the preceding B3,E1,E2,E3 classification retained;rev3=census-ruling-claims-cleanup-r1;basis=claims cleanup R1: the claims shutdown timeout is the host constant claimsShutdownLimit (120s) instead of hostbox.RequestLimit (120s); no read added or changed;rev3=census-ruling-named-unit-delivery-114;basis=config sync is appconfig.SyncUnits with productionUnitOps (drop-in root /etc/systemd/system, base dir /etc/carlos/units, the declaration file /etc/carlos/named-units.json, systemctl probe/reload/restart, the config flock); no proof binding and no bucket read for delivery (Paul's ruling on #114: a root-owned declaration decides); the comment at the restart callback rewritten; read sites unchanged;rev3=census-ruling-sr-followups;basis=#966 census fix: the SyncUnits ack callback is configAckRootFunc(ctx, store) instead of configAckFunc(ctx, store, "adopt"). configAckRootFunc (new, agent.go): on a box with a bucket or dir (doorFleet empty: no fleet identity, or CARLOS_DEPLOYMENT_BUCKET or CARLOS_DEPLOYMENT_DIR set in the process environment) it returns configAckFunc(ctx, store, "adopt"), the same callback as before #966 (platform-root key, read-then-CAS). On a door box it writes each ack through appconfig.ReplaceConfigAckBlind (new, configack.go) under NewPrefixStore(store, "fleets/<fleet>/"): s.Delete(key) then a create-only s.Put(key, body, ""), returning only errors, which are logged. THE ROOT PASS NO LONGER READS THE FLEET CORNER: it sends exactly DELETE and PUT for fleets/<F>/control/config-ack/<label>/<host>.json and no GET, Open or HEAD of any fleet key; it inspects no body, ETag or listing. Reads only the process environment (doorFleet, BoxLabel), as configAckFunc did. Read sites unchanged;rev3=census-ruling-named-units-param-114;basis=named-units-param-114 Task 4/5: after the restart-only return, calls runNamedUnitsStep, which runs adoptNamedUnitsStep (root reads its own IMDSv2 identity; ssm:GetParameter of /carlos/host/named-units/<instance-id> in that region, operator-written, box role read-only; trusted rootstate reads of /etc/carlos/named-units.json, the console guard marker, root's rollback journal and root history; installs under the config-sync flock), logs, and writes writeNamedUnitsStatus (public root store /var/lib/carlos-named-units), all before ParsePublicKey; config sync moved into adoptConfigSync with a second status write; no input a tenant, app or box agent can write selects the parameter or authorises the install; read sites unchanged;rev3=census-ruling-console-addr-from-install;basis=calls adoptConsoleFleetStep after the named-units step, never fatal (spec §4); no read added here;rev3=census-ruling-managed-fleets-2b2;basis=builds managedRootGate("/") (root's RootAdmission: identity + root 0700 admission files, re-verified) and wraps the round-1 start/selected-restart/rollback callbacks, SyncUnits' UnitOps.Restart and named-unit recovery with it; BYO answers admitted, so nothing changes there; merge of origin/main 65951fbb: main's configAckRootFunc ack, the named-units step (runNamedUnitsStep) with adoptConfigSync, and adoptConsoleFleetStep, not this branch; resolution: adoptConfigSync is handed managedGatedUnitOps(managedGate, productionUnitOps(...)), so SyncUnits' UnitOps.Restart keeps root's gate
- `internal/host/agent.go` `statusLoop`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): the status tick's context carries the box's lifetime judge; read sites unchanged, offsets moved;rev3=census-ruling-rootfs-apps-2;basis=main's body as of the merge of origin/main 953b9fda (its later changes, regional box names and self-serve moves plan 1 among them, under main's own census rulings), where the tick fills rootfs_ready and rootfs_blocked from armedRootfs.Load().probe, which each tick runs NestedOK's checks and asks the control socket's GET /ready/rootfs (never the store); the same four direct sites;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 Task 11 and #329 plan 3 Task 7: takes root's GET /egress reader and fills p.Egress = egressStatusProbe(egressStatus, routes, provision.PolicyReadStates()) and p.SizeCommittedMiB = sizeCommittedMiB(armedSizeSource.Load(), routes); the two added whole:Route sites are the tick's own registry list handed to those two units (decision rows), which read root's control socket and the activator's memory; no store request added; the four existing sites unchanged, offsets moved.;rev3=census-ruling-fleet-alerts-1;basis=the agent (carlos-edge.service, user carlos): the status tick passes os.Geteuid() to alertDeliveryProbe, which fills AlertDelivery.EngineBeat/EngineBeatWhy from engineBeatArmed (the env value and the euid only, no file access, root refused before the path is looked at), and fills Probes.DiskFullETAHours from diskETAProbe(&processDiskTrend, now), a Theil-Sen fit over the metrics loop's in-memory ring of disk readings; the same six sites, no read added, no store request added;rev3=census-ruling-edge-held-streams;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): the status tick's Probes gain HeldStreams: heldStreamsState(), which calls the edge's in-memory counters function (nil until the edge is ready). No file, bucket or registry access added.;rev3=census-ruling-stateless-replicas-3;basis=Fix round 1 Q20: read the detached in-memory replica snapshot source into Probes.ReplicaCopies on the existing five-minute tick. Existing six direct read sites unchanged. No additional bucket request, changed cadence or app lifecycle action.;rev3=census-ruling-agent-start-demo-3;basis=Report moved capability only when the serving edge reports readiness; report claim-seed support only with CARLOS_DEMO_CLAIM=1. Reads the explicit capability flag from the process environment; no new filesystem or registry read.;rev3=census-ruling-stateless-replicas-4-task5;basis=Task 5 fix round 1 (#511 R16 amendment): the status tick also fills Probes.ApplyFinished from systemApplyFinished(release.OptDir()), an Lstat of root's apply journal <opt>/system/router/journal.json in the root-owned, world-readable state directory: finished only when the journal is absent, any other answer unknown and so unfinished. Round 0: Probes.PrevRelease from prevReleaseOf (carlos.prev and carlos.prev.version, the files withMovesFields already reads). Reported in the private BoxMetrics block; no bucket request or cadence change.;rev3=census-ruling-offline-move-stage-refusals-339;basis=#339: the agent (carlos-edge.service, user carlos): the status tick fills p.OfflineMove = offlineMoveFactsProbe(routes); the added whole:Route site is the tick's own registry list handed to that unit, which under a non-root euid lists the names of root's <opt>/live and nothing else; no store request added.;rev3=census-ruling-platform-mail-submission;basis=Task 3 (plan gap G6 (b)): the status tick also fills Probes.MailerArmed from mailerArmed(mailwire.MailerSocket, 2s): a stat of /run/carlos-mailer/mailer.sock and, only when it is a socket, GET /v1/health on it. The agent (carlos-edge.service, user carlos), not root; reported in the private BoxMetrics block only. The same seven sites; no store request, no read of /etc/carlos-mailer (which uid carlos cannot traverse).;rev3=census-ruling-named-units-param-114;basis=named-units-param-114 Task 6: the agent (carlos-edge.service, user carlos) fills Probes.NamedUnits from readNamedUnitsStatus: rootstate.Open(/var/lib/carlos-named-units, false, true) status.json, 64 KiB cap, any error nil; report only, nothing reads it as authority; no store request added; the same sites;rev3=census-ruling-console-addr-from-install;basis=sets Probes.ConsoleFleet from consoleFleetProbe (root public store read, edge in-memory state); no read added in this unit
-- `internal/release/adopt.go` `PassFilter`: authority, task B3,E3,J1,E1,E2. Basis: Signed named-unit recovery is independent of release and health history. Root rechecks canonical source, unit, process, signed target and trusted live pointer; captures attempt authority before publication; verifies readiness and resumes without repeated effects. Fixtures: TestPlan14SignedActiveFixIgnoresHistory, TestPlan14SignedActiveFixAuthority, TestPlan14SignedFixSupersedesOlderAttempt, TestPlan14ActiveRecoveryProcessCrash, TestPlan14SignedRestartWithoutHealthHistory, TestPlan14CapturedRollbackWithoutHealthHistory, TestPlan14SignedRestartRequiresTrustedLiveLink. E7 applies merge ruling 4: unbound no-census routes use the legacy pass and restart; ordinary candidates make no binding store call. Fixtures: TestR2UnguardedERecoveryUpdate, TestR2UnguardedERecoveryIncidentRecipe, TestPlan14ERecoveryBindingRefusalKeepsPromotedFix. E19: both destructive readers use the root reservation snapshot under existing release exclusion. Exact artifact and containing-tree identities are retained; missing completeness refuses destruction. Production installation/launch/kernel completeness and verified retirement remain unfinished. Fixtures: TestPlan14GenerationDeletionCannotUnpin, TestPlan14GenerationSnapshotCompleteness, TestPlan14GenerationSnapshotPermitsUnreservedRestage, TestPlan14GenerationSnapshotPinsContainingTree, TestPlan14GenerationSnapshotEmptyIsUnknown, TestPlan14GenerationConsumerMode.;rev3=PROPOSED-p3;run=8;identity=carlos adopt uid 0; legacy agent pass uid carlos;basis=resolves protected route inputs before filters, recovery and dispatch on census boxes and bypasses service-owned failure opener only there;rev3=PROPOSED-s3-change-index;identity=carlos adopt uid 0; legacy agent pass uid carlos;basis=asks the optional pointer gate (gatePointers) once per channel group before selection and reports each group's pointer outcome to it; only the agent's fast sweep arms a gate (WithPointerGate), so under carlos adopt the gate is nil and the pass is unchanged; a gate can only leave a group out of the pass, never add one; one whole-Route site added;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3: comment only, the Hibernate check is left as is for a resident;rev3=census-ruling-hunt-release-chain-integrity;basis=a digestless head is bound to its signed promotion record through stagePointerHead, and a pointer without an account binding is refused on read (verifyPointer); the ratchet it consults (Admit) now also holds a per-channel promoted_at floor that admits only a strictly later stamp or the very pointer it recorded (PointerIdentity, fix round 1), which root reads only from its own root-owned <opt>/pointer-digests and never from the agent's data dir, through instancefs.ReadBeneathLimitOrAbsent (openat2 RESOLVE_BENEATH|NO_SYMLINKS|NO_MAGICLINKS, O_NONBLOCK, regular file only, 4 KiB cap); fix round 2: the floor's identity is the sha256 of the exact signed wrapper the pointer was verified from (set at the parse site), and a floor with no identity admits nothing at its own stamp, so the floor only refuses more; no read kind is added to the unit; CI fix: an app channel pointer is now stamped to the millisecond (pointerStampGrain) so a signer's wait past the head it replaces is at most a millisecond; the floor still admits only a strictly later stamp or the pointer it recorded, compared as time.Time, so the rule and the reads are unchanged
- `internal/release/adopt.go` `type passConfig`: authority, task E2,E3. Basis: E19: both destructive readers use the root reservation snapshot under existing release exclusion. Exact artifact and containing-tree identities are retained; missing completeness refuses destruction. Production installation/launch/kernel completeness and verified retirement remain unfinished. Fixtures: TestPlan14GenerationDeletionCannotUnpin, TestPlan14GenerationSnapshotCompleteness, TestPlan14GenerationSnapshotPermitsUnreservedRestage, TestPlan14GenerationSnapshotPinsContainingTree, TestPlan14GenerationSnapshotEmptyIsUnknown, TestPlan14GenerationConsumerMode, TestPlan14GenerationProductionModeGate, TestPlan14GenerationSnapshotPermitsFreshTree.;rev3=PROPOSED-p3;run=8;identity=carlos adopt uid 0; legacy agent pass uid carlos;basis=stores the typed census-only root update provider and per-pass resolved input authority;rev3=census-ruling-315;identity=legacy agent pass uid carlos (RootRestartsUnits; never set on carlos adopt);basis=adds the unitsToRoot bool set by RootRestartsUnits; reads nothing;rev3=PROPOSED-s3-change-index;identity=carlos adopt uid 0; legacy agent pass uid carlos;basis=adds the pointerGate field, set only by WithPointerGate (the agent's fast sweep); reads nothing
- `internal/status/snapshot.go` `CollectBox`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-rootfs-apps-2;basis=copies Probes.RootfsReady and RootfsBlocked into BoxMetrics (private, like Layout); the same 28 sites, no read added;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 Task 11 and #329 plan 3 Task 7: copies Probes.Egress and Probes.SizeCommittedMiB into BoxMetrics (private, like Layout) and counts them in the condition that builds Metrics; the same 28 sites, no read added.;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3: comment only, the Hibernate count is left as is (display);rev3=census-ruling-regional-domains-447;basis=#447 Task 7: copies Probes.AliasesRead into BoxMetrics.AliasesRead (json aliases_read, omitempty) and counts it in the condition that builds Metrics; the same 28 sites, no read added;rev3=census-ruling-fleet-alerts-1;basis=copies Probes.DiskFullETAHours into BoxMetrics.DiskFullETAHours (json disk_full_eta_hours, omitempty; private, like Layout) and counts it in the condition that builds Metrics; the same 28 sites, no read added;rev3=census-ruling-edge-held-streams;basis=copies Probes.HeldStreams into BoxMetrics.HeldStreams (json held_streams, omitempty, additive) and counts it in the condition that builds Metrics; the same 28 sites, no read added.;rev3=census-ruling-stateless-replicas-3;basis=Fix round 1 Q20: carry already-supplied ReplicaCopies into a separate optional private BoxMetrics replica_copies field; allow copy evidence alone to create the metrics block. Upstreams retains address probes only. Existing 28 Route read sites unchanged; no filesystem, bucket, console or CLI read.;rev3=census-ruling-agent-start-demo-3;basis=Report claim-seed protocol capability only when explicitly configured and runtime moved readiness only when armed; dormant status keeps its original JSON shape. Census read-site delta: unchanged (28).;rev3=census-ruling-stateless-replicas-4-task5;basis=Task 5 (#511 R16 and its amendment): copies Probes.PrevRelease and Probes.ApplyFinished into BoxMetrics (json prev_release and apply_finished, omitempty; private, like Release) and counts them in the condition that builds Metrics; the same 28 sites, no read added.;rev3=census-ruling-offline-move-stage-refusals-339;basis=#339: copies Probes.OfflineMove into BoxMetrics.OfflineMove (json offline_move, omitempty; private, like Layout) and counts it in the condition that builds Metrics; the same 28 sites, no read added.;rev3=census-ruling-platform-mail-submission;basis=Task 3: copies Probes.MailerArmed into BoxMetrics.MailerArmed (json mailer_armed, omitempty; private, like Layout) and counts it in the condition that builds Metrics; the same 28 sites, no read added.;rev3=census-ruling-named-units-param-114;basis=named-units-param-114 Task 6: copies Probes.NamedUnits into BoxMetrics.NamedUnits (json named_units, omitempty; private) and counts it in the condition that builds Metrics; the same 28 sites, no read added;rev3=census-ruling-fleet-seeded-create-2;basis=Copies Probes.SeedsFloor into BoxMetrics.SeedsFloor and counts it in the metrics gate; a pure copy of a value the agent filled, the same 28 read sites, no read added.;rev3=census-ruling-console-addr-from-install;basis=copies Probes.ConsoleFleet into BoxMetrics (private); no read added
+- `internal/release/adopt.go` `PassFilter`: authority, task B3,E3,J1,E1,E2. Basis: Signed named-unit recovery is independent of release and health history. Root rechecks canonical source, unit, process, signed target and trusted live pointer; captures attempt authority before publication; verifies readiness and resumes without repeated effects. Fixtures: TestPlan14SignedActiveFixIgnoresHistory, TestPlan14SignedActiveFixAuthority, TestPlan14SignedFixSupersedesOlderAttempt, TestPlan14ActiveRecoveryProcessCrash, TestPlan14SignedRestartWithoutHealthHistory, TestPlan14CapturedRollbackWithoutHealthHistory, TestPlan14SignedRestartRequiresTrustedLiveLink. E7 applies merge ruling 4: unbound no-census routes use the legacy pass and restart; ordinary candidates make no binding store call. Fixtures: TestR2UnguardedERecoveryUpdate, TestR2UnguardedERecoveryIncidentRecipe, TestPlan14ERecoveryBindingRefusalKeepsPromotedFix. E19: both destructive readers use the root reservation snapshot under existing release exclusion. Exact artifact and containing-tree identities are retained; missing completeness refuses destruction. Production installation/launch/kernel completeness and verified retirement remain unfinished. Fixtures: TestPlan14GenerationDeletionCannotUnpin, TestPlan14GenerationSnapshotCompleteness, TestPlan14GenerationSnapshotPermitsUnreservedRestage, TestPlan14GenerationSnapshotPinsContainingTree, TestPlan14GenerationSnapshotEmptyIsUnknown, TestPlan14GenerationConsumerMode.;rev3=PROPOSED-p3;run=8;identity=carlos adopt uid 0; legacy agent pass uid carlos;basis=resolves protected route inputs before filters, recovery and dispatch on census boxes and bypasses service-owned failure opener only there;rev3=PROPOSED-s3-change-index;identity=carlos adopt uid 0; legacy agent pass uid carlos;basis=asks the optional pointer gate (gatePointers) once per channel group before selection and reports each group's pointer outcome to it; only the agent's fast sweep arms a gate (WithPointerGate), so under carlos adopt the gate is nil and the pass is unchanged; a gate can only leave a group out of the pass, never add one; one whole-Route site added;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3: comment only, the Hibernate check is left as is for a resident;rev3=census-ruling-hunt-release-chain-integrity;basis=a digestless head is bound to its signed promotion record through stagePointerHead, and a pointer without an account binding is refused on read (verifyPointer); the ratchet it consults (Admit) now also holds a per-channel promoted_at floor that admits only a strictly later stamp or the very pointer it recorded (PointerIdentity, fix round 1), which root reads only from its own root-owned <opt>/pointer-digests and never from the agent's data dir, through instancefs.ReadBeneathLimitOrAbsent (openat2 RESOLVE_BENEATH|NO_SYMLINKS|NO_MAGICLINKS, O_NONBLOCK, regular file only, 4 KiB cap); fix round 2: the floor's identity is the sha256 of the exact signed wrapper the pointer was verified from (set at the parse site), and a floor with no identity admits nothing at its own stamp, so the floor only refuses more; no read kind is added to the unit; CI fix: an app channel pointer is now stamped to the millisecond (pointerStampGrain) so a signer's wait past the head it replaces is at most a millisecond; the floor still admits only a strictly later stamp or the pointer it recorded, compared as time.Time, so the rule and the reads are unchanged
New dispositions, which census-propose wrote and the reviewer checks against the unit's reads and the diff:
- new `cli.go:printDemoDisk`: reads +data-literal; written legacy, accepted-legacy, frozen
-- new `internal/host/alertsink.go:alertClearSentence`: reads +data-literal; written legacy, accepted-legacy, frozen
-- new `internal/host/alertsink.go:alertSentence`: reads +data-literal; written legacy, accepted-legacy, frozen
- new `internal/host/demodisk_status.go:const#1`: reads +data-literal ×2; written legacy, accepted-legacy, frozen
- new `internal/host/demodisk_status.go:productionDemoDiskProbe`: reads +file:Open; written legacy, accepted-legacy, frozen
- new `internal/host/demodisk_status.go:readDemoBuilds`: reads +file:Read; written legacy, accepted-legacy, frozen
- new `internal/host/demoretention.go:demoOutput.spellings`: reads +file:EvalSymlinks; written legacy, accepted-legacy, frozen
+- new `internal/host/demoretention.go:demoRetention.admitRoute`: reads +registry:App ×3, +whole:Route; written legacy, accepted-legacy, frozen
- new `internal/host/demoretention.go:demoRetention.demoAdoptions`: reads +registry:App, +registry:Host, +registry:Version, +whole:Route ×2; written legacy, accepted-legacy, frozen
- new `internal/host/demoretention.go:demoRetention.listOutputs`: reads +file:ReadDir ×2; written legacy, accepted-legacy, frozen
- new `internal/host/demoretention.go:demoRetention.pinSet`: reads +registry:App ×2, +registry:GoodVersion, +registry:PrevVersion, +registry:Version, +whole:Route ×5; written legacy, accepted-legacy, frozen
@@ -40,8 +39,10 @@ New dispositions, which census-propose wrote and the reviewer checks against the
- new `internal/host/demoretention.go:linkTargets`: reads +file:EvalSymlinks, +file:ReadDir, +file:Readlink; written legacy, accepted-legacy, frozen
- new `internal/host/demoretention.go:productionDemoRetention`: reads +file:Open; written legacy, accepted-legacy, frozen
- new `internal/host/statfs_unix.go:filesystemRoom`: reads +file:Statfs; written legacy, accepted-legacy, frozen
+- new `internal/release/adopt.go:WithRouteAdmission`: reads +registry:Host ×3, +whole:Route; written legacy, accepted-legacy, frozen
+- new `internal/release/adopt.go:passConfig.routeAdmitted`: reads +whole:Route; written legacy, accepted-legacy, frozen
- new `internal/release/adopt.go:passConfig.stageWriteCheck`: reads +file:Lstat; written legacy, accepted-legacy, frozen
-Seal: `c9940b1b6fb0146a30a2fb2b557f898ac6d28ba80df7dfe642cc623b581f347b` → `1d57f8491289ff7decf62ae3ba36e49db8db5456aa58c08d645acebbfc543479`.
+Seal: `c9940b1b6fb0146a30a2fb2b557f898ac6d28ba80df7dfe642cc623b581f347b` → `9cc1167bb5e344fa048d6b743784f0755408015a9fe397e3d540e194aac1a8b6`.
Overlay: `internal/provision/testdata/plan14-root-reads-demo-disk-slice1-retention.tsv`, appended to `internal/provision/testdata/plan14-root-reads-chain.tsv`.
diff --git a/internal/provision/testdata/plan14-root-reads-chain.tsv b/internal/provision/testdata/plan14-root-reads-chain.tsv
index e1d9a4651..79d4444a3 100644
--- a/internal/provision/testdata/plan14-root-reads-chain.tsv
+++ b/internal/provision/testdata/plan14-root-reads-chain.tsv
@@ -313,4 +313,4 @@ plan14-root-reads-gvisor-slice2-explicit-mode.tsv ed1957bc7d18714e39984e757b73b8
plan14-root-reads-public-share.tsv ed1957bc7d18714e39984e757b73b8c590f1a2a924ca35e20e9041fc09f2ca78
plan14-root-reads-gvisor-slice3-containment.tsv 0fdff597ef83fb9966e07c70b4283001eb97f7dfa71a83a19bde92382192eb6b
plan14-root-reads-catchall-stamp-now.tsv c9940b1b6fb0146a30a2fb2b557f898ac6d28ba80df7dfe642cc623b581f347b
-plan14-root-reads-demo-disk-slice1-retention.tsv 1d57f8491289ff7decf62ae3ba36e49db8db5456aa58c08d645acebbfc543479
+plan14-root-reads-demo-disk-slice1-retention.tsv 9cc1167bb5e344fa048d6b743784f0755408015a9fe397e3d540e194aac1a8b6
diff --git a/internal/provision/testdata/plan14-root-reads-demo-disk-slice1-retention.tsv b/internal/provision/testdata/plan14-root-reads-demo-disk-slice1-retention.tsv
index d4c72c4d2..c4bbd198b 100644
--- a/internal/provision/testdata/plan14-root-reads-demo-disk-slice1-retention.tsv
+++ b/internal/provision/testdata/plan14-root-reads-demo-disk-slice1-retention.tsv
@@ -1,49 +1,51 @@
# Census overlay demo-disk-slice1-retention, written by census-propose (#369). census-ruling-demo-disk-slice1-retention, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-demo-disk-slice1-retention.md.
-# 5 body, 0 sites, 5 envelope: each changed unit re-frozen at its existing disposition with its claim appended.
-# 17 new dispositions: 0 reads re-frozen at their disposition with the claim, 17 new units frozen accepted-legacy, 0 quiet units retired while they read nothing, 0 other.
+# 4 body, 1 sites, 5 envelope: each changed unit re-frozen at its existing disposition with its claim appended.
+# 18 new dispositions: 0 reads re-frozen at their disposition with the claim, 18 new units frozen accepted-legacy, 0 quiet units retired while they read nothing, 0 other.
@legacy c7b088568fd27e4c9c9f090b19d9362dca7b0e447695d329364cecf71b1e7971 internal/host/agent.go statusLoop legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): the status tick's context carries the box's lifetime judge; read sites unchanged, offsets moved;rev3=census-ruling-rootfs-apps-2;basis=main's body as of the merge of origin/main 953b9fda (its later changes, regional box names and self-serve moves plan 1 among them, under main's own census rulings), where the tick fills rootfs_ready and rootfs_blocked from armedRootfs.Load().probe, which each tick runs NestedOK's checks and asks the control socket's GET /ready/rootfs (never the store); the same four direct sites;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 Task 11 and #329 plan 3 Task 7: takes root's GET /egress reader and fills p.Egress = egressStatusProbe(egressStatus, routes, provision.PolicyReadStates()) and p.SizeCommittedMiB = sizeCommittedMiB(armedSizeSource.Load(), routes); the two added whole:Route sites are the tick's own registry list handed to those two units (decision rows), which read root's control socket and the activator's memory; no store request added; the four existing sites unchanged, offsets moved.;rev3=census-ruling-fleet-alerts-1;basis=the agent (carlos-edge.service, user carlos): the status tick passes os.Geteuid() to alertDeliveryProbe, which fills AlertDelivery.EngineBeat/EngineBeatWhy from engineBeatArmed (the env value and the euid only, no file access, root refused before the path is looked at), and fills Probes.DiskFullETAHours from diskETAProbe(&processDiskTrend, now), a Theil-Sen fit over the metrics loop's in-memory ring of disk readings; the same six sites, no read added, no store request added;rev3=census-ruling-edge-held-streams;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): the status tick's Probes gain HeldStreams: heldStreamsState(), which calls the edge's in-memory counters function (nil until the edge is ready). No file, bucket or registry access added.;rev3=census-ruling-stateless-replicas-3;basis=Fix round 1 Q20: read the detached in-memory replica snapshot source into Probes.ReplicaCopies on the existing five-minute tick. Existing six direct read sites unchanged. No additional bucket request, changed cadence or app lifecycle action.;rev3=census-ruling-agent-start-demo-3;basis=Report moved capability only when the serving edge reports readiness; report claim-seed support only with CARLOS_DEMO_CLAIM=1. Reads the explicit capability flag from the process environment; no new filesystem or registry read.;rev3=census-ruling-stateless-replicas-4-task5;basis=Task 5 fix round 1 (#511 R16 amendment): the status tick also fills Probes.ApplyFinished from systemApplyFinished(release.OptDir()), an Lstat of root's apply journal <opt>/system/router/journal.json in the root-owned, world-readable state directory: finished only when the journal is absent, any other answer unknown and so unfinished. Round 0: Probes.PrevRelease from prevReleaseOf (carlos.prev and carlos.prev.version, the files withMovesFields already reads). Reported in the private BoxMetrics block; no bucket request or cadence change.;rev3=census-ruling-offline-move-stage-refusals-339;basis=#339: the agent (carlos-edge.service, user carlos): the status tick fills p.OfflineMove = offlineMoveFactsProbe(routes); the added whole:Route site is the tick's own registry list handed to that unit, which under a non-root euid lists the names of root's <opt>/live and nothing else; no store request added.;rev3=census-ruling-platform-mail-submission;basis=Task 3 (plan gap G6 (b)): the status tick also fills Probes.MailerArmed from mailerArmed(mailwire.MailerSocket, 2s): a stat of /run/carlos-mailer/mailer.sock and, only when it is a socket, GET /v1/health on it. The agent (carlos-edge.service, user carlos), not root; reported in the private BoxMetrics block only. The same seven sites; no store request, no read of /etc/carlos-mailer (which uid carlos cannot traverse).;rev3=census-ruling-named-units-param-114;basis=named-units-param-114 Task 6: the agent (carlos-edge.service, user carlos) fills Probes.NamedUnits from readNamedUnitsStatus: rootstate.Open(/var/lib/carlos-named-units, false, true) status.json, 64 KiB cap, any error nil; report only, nothing reads it as authority; no store request added; the same sites;rev3=census-ruling-console-addr-from-install;basis=sets Probes.ConsoleFleet from consoleFleetProbe (root public store read, edge in-memory state); no read added in this unit;rev3=census-ruling-demo-disk-slice1-retention;basis=the agent (carlos-edge.service, user carlos): the status tick also fills Probes.DemoDisk from readDemoDisk(), nil unless CARLOS_DEMO_BOX is set; statfs of /data and /run, and root's public retention record (readDemoBuilds); report only; no store request added; read sites unchanged whole:Route@10707,whole:Route@12781,whole:Route@13062,whole:Route@13420,whole:Route@6583,whole:Route@6610,whole:Route@7918 1b271f453a4718ca5fb64f513ec22acdd2550bc8cb4cfb021ea9c8ec7300df64
@legacy 0fd651fe1d76c34ae70bec021d3f5e3d6e7ebadac8f1a96350f9e11eb77d8b64 internal/status/snapshot.go CollectBox legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-rootfs-apps-2;basis=copies Probes.RootfsReady and RootfsBlocked into BoxMetrics (private, like Layout); the same 28 sites, no read added;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 Task 11 and #329 plan 3 Task 7: copies Probes.Egress and Probes.SizeCommittedMiB into BoxMetrics (private, like Layout) and counts them in the condition that builds Metrics; the same 28 sites, no read added.;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3: comment only, the Hibernate count is left as is (display);rev3=census-ruling-regional-domains-447;basis=#447 Task 7: copies Probes.AliasesRead into BoxMetrics.AliasesRead (json aliases_read, omitempty) and counts it in the condition that builds Metrics; the same 28 sites, no read added;rev3=census-ruling-fleet-alerts-1;basis=copies Probes.DiskFullETAHours into BoxMetrics.DiskFullETAHours (json disk_full_eta_hours, omitempty; private, like Layout) and counts it in the condition that builds Metrics; the same 28 sites, no read added;rev3=census-ruling-edge-held-streams;basis=copies Probes.HeldStreams into BoxMetrics.HeldStreams (json held_streams, omitempty, additive) and counts it in the condition that builds Metrics; the same 28 sites, no read added.;rev3=census-ruling-stateless-replicas-3;basis=Fix round 1 Q20: carry already-supplied ReplicaCopies into a separate optional private BoxMetrics replica_copies field; allow copy evidence alone to create the metrics block. Upstreams retains address probes only. Existing 28 Route read sites unchanged; no filesystem, bucket, console or CLI read.;rev3=census-ruling-agent-start-demo-3;basis=Report claim-seed protocol capability only when explicitly configured and runtime moved readiness only when armed; dormant status keeps its original JSON shape. Census read-site delta: unchanged (28).;rev3=census-ruling-stateless-replicas-4-task5;basis=Task 5 (#511 R16 and its amendment): copies Probes.PrevRelease and Probes.ApplyFinished into BoxMetrics (json prev_release and apply_finished, omitempty; private, like Release) and counts them in the condition that builds Metrics; the same 28 sites, no read added.;rev3=census-ruling-offline-move-stage-refusals-339;basis=#339: copies Probes.OfflineMove into BoxMetrics.OfflineMove (json offline_move, omitempty; private, like Layout) and counts it in the condition that builds Metrics; the same 28 sites, no read added.;rev3=census-ruling-platform-mail-submission;basis=Task 3: copies Probes.MailerArmed into BoxMetrics.MailerArmed (json mailer_armed, omitempty; private, like Layout) and counts it in the condition that builds Metrics; the same 28 sites, no read added.;rev3=census-ruling-named-units-param-114;basis=named-units-param-114 Task 6: copies Probes.NamedUnits into BoxMetrics.NamedUnits (json named_units, omitempty; private) and counts it in the condition that builds Metrics; the same 28 sites, no read added;rev3=census-ruling-fleet-seeded-create-2;basis=Copies Probes.SeedsFloor into BoxMetrics.SeedsFloor and counts it in the metrics gate; a pure copy of a value the agent filled, the same 28 read sites, no read added.;rev3=census-ruling-console-addr-from-install;basis=copies Probes.ConsoleFleet into BoxMetrics (private); no read added;rev3=census-ruling-demo-disk-slice1-retention;basis=copies Probes.DemoDisk into BoxMetrics.DemoDisk (json demo_disk, omitempty; private, like Layout) and counts it in the condition that builds Metrics; the same 28 sites, no read added registry:Alias@4543,registry:CertExpiresAt@3160,registry:CertExpiresAt@3396,registry:CertExpiresAt@4658,registry:DBPath@2495,registry:DBPath@2553,registry:DNSCheckedAt@3365,registry:DNSCheckedAt@4627,registry:DNSStatus@3139,registry:DNSStatus@3334,registry:DNSStatus@4597,registry:Hibernate@3853,registry:Host@2295,registry:Host@2437,registry:Host@2666,registry:Host@3280,registry:Host@3315,registry:Host@4578,registry:Kind@2473,registry:Kind@3807,registry:Platform@2152,registry:ServingVersion@2324,registry:ServingVersion@2447,registry:Socket@4066,registry:Version@2186,registry:Version@2305,whole:Route@1581,whole:RouteAlias@4440 f001b427c01c4ee280a8d848eaaf60de952ecdfb3f2c6108f7c105f89a51efbf
@legacy bb12acb7b402f19403f40d0b9ec14cd97989bb5d93e9a07d111eb6bc3648c582 cli.go printDemoDisk legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=operator CLI (carlos status --live), not root: prints a published box snapshot's demo_disk numbers; reads only the decoded snapshot in hand data-literal@195 ed2577c68d95ca5a6ebba28e905a65115ff335bc36aecca1e2c415ed98fb6fff
-@legacy ca969744f1a598d0e85022c6d60f40bb71c8faf600ee36697748abbb16f48239 internal/host/alertsink.go alertClearSentence legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=the agent (user carlos), not root: the disk clear sentence names ev.Where likewise; literals only, no read data-literal@284 a37dfe74cc1b9ba4025ed6eab876bba8832880a30eb6848295612a1f24228d91
-@legacy 211a8e2822d71bd8dc048f79201297dd5ae89a3c741439c54bb4f363bb018b90 internal/host/alertsink.go alertSentence legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=the agent (user carlos), not root: the disk sentence names ev.Where (/data, /data inodes, /run) when the box set it; literals only, no read data-literal@271 6dbee6cb9838e40098d8acb960561ea7c277a4f18363d9d8c0fbefc4faca2356
-@legacy 9b8e76b6b9abc5cf8e4ce60f854ac489eded30eb7a948ae1dc2b599a4fc51d6c internal/host/demodisk_status.go const#1 legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=the agent (user carlos): diskWhereData, diskWhereDataInodes, diskWhereRun, the names the disk alert gives what it measured; literals only data-literal@31,data-literal@62 4d7cf7309a63280d0c07c8936728c93d29ce2f40970d8555f3d37faef1f1e1dc
+@legacy ab78a1ae4f96b53be710038f91ee604c98f454164713853d5197c6c5e63113fe internal/host/demodisk_status.go const#1 legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=the agent (user carlos): diskWhereData, diskWhereDataInodes, diskWhereRun, diskWhereRunInodes, the names the disk alert gives what it measured; literals only data-literal@31,data-literal@62 8f6c997ccd711c80af2e16ffd9f9f1a5e70ae76a3f9936473baba389f9f0e92a
@legacy 247e50229523fd4ee12c49fd765420996ceb6a5bc27924b5f0e0c496faf16b5b internal/host/demodisk_status.go productionDemoDiskProbe legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=the agent (user carlos), not root: opens root's public record directory /var/lib/carlos-release/demo-retention read-only through rootstate.Open(dir, false, true) (every ancestor root-owned, not group or world writable); report only file:Open@208 f8df171d9a2ff2d96b73c63f4618d035230acc4b8f244dd7f377184686e4933f
@legacy f6953a7fa7a4f22ae5896f799b9a9bebcbcbecef7b0a39752a60dc8bfff5dd1a internal/host/demodisk_status.go readDemoBuilds legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=the agent (user carlos): reads the record 'status' from that rootstate store (descriptor read, trusted owner, 1 MiB cap) and decodes it; schema 1 or an error; report only, nothing reads it as authority file:Read@174 213c08b6d79b17ca25b94b815815bd0c7dfbeaa8664aafbfc8419fab2b2679ca
@legacy 0ac932962fab419bed6119c5551a9e092609eb41a00e2af64a6c480887b72b5c internal/host/demoretention.go demoOutput.spellings legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: EvalSymlinks of an output's directory <opt>/versions/<ver>/<demo account>, every component validated (ValidVersion, BoxConfig account, validDemoName), so an output is compared under the store's spelling and its real path; reads no registry input file:EvalSymlinks@118 abd6ff6fe0d0ffdd5989669aee8fcfc27713785a0a1bb6eb168bffa6a9975619
+@legacy 10303deef46173bb1d05926aa7c3e1a26e6df925d71c01e801d5222c75359dc9 internal/host/demoretention.go demoRetention.admitRoute legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass, new: the demo admission asked of every route before the release pass does anything with it. Refuses a tmp-demo- route (rt.App, RouteAccount) on a box whose host.env demo settings do not validate (boxErr); and, on a demo box, a route of the demo account when the demo account is the ops account, the app is not a valid demo name, or the pass does not hold the adopt pass lock. Only refuses: a registry row can never be admitted by it that would not be otherwise; reads only the Route in hand and root's own config registry:App@443,registry:App@533,registry:App@97,whole:Route@325 9ad40d8642d06156be0eb97d7a3a27c2b1cf05e6935b0e3614f987ee38058f7a
@legacy df495c4d0cc6f5494f9a12341c1bdfce091f16df8b457eb18e3831a7ab81b4a0 internal/host/demoretention.go demoRetention.demoAdoptions legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: lists the registry and keeps the Host and Version of each row of the demo account whose App has the tmp-demo- prefix, to tell after the pass whether it adopted a demo version; decides only whether retention runs, never what it removes registry:App@314,registry:Host@347,registry:Version@358,whole:Route@237,whole:Route@272 1473fe874967ccf4538aed1887b15a9104427e1d0a6e1a537346146e7f7a5ea3
@legacy bba2b7a4d6bcc185d81068b0d2a0b1c8fa54b5109ab775561471222c3e018607 internal/host/demoretention.go demoRetention.listOutputs legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: ReadDir of <opt>/versions (root-owned) and of <opt>/versions/<ver>/<demo account> for each ValidVersion directory; each entry name, less .manifest.json, must pass validDemoName (tmp-demo- + demo.ValidPublicName: one path component, no "." or "..") before it is used; DirEntry.Info for sizes. ENOENT/ENOTDIR skip. Reads no registry input file:ReadDir@142,file:ReadDir@394 4febf4eebc952074eee6b0e52a97270a3e8c850e009a1db35f406c856a90a4f8
@legacy 3307966ef728ffb0fbcccc25c92e042eb4def1c10a50b9ef7c1166cc1c5a8b92 internal/host/demoretention.go demoRetention.pinSet legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: the pin set from every source: release.BoxPins over every registry row (live link chains; Version, PrevVersion, GoodVersion, settings references), previous links (linkTargets), release.GenerationPins over the generations file, and root's generation ledger (productionRootGenerationPins). Strict: any source that does not read in full is an error and nothing is deleted, except BoxPins' IncompleteRefsError, whose pins it keeps and returns so the caller holds only the apps the error covers (as adopt.go's restage does with inc.Covers). Pins only ever keep builds; what may be deleted is chosen by selection from root's own listing, never from a pin. Agent-writable inputs (the registry, the generations file under /data) therefore only ADD protection; the estimate mode (no deletion) only counts. No read added registry:App@1094,registry:App@970,registry:GoodVersion@935,registry:PrevVersion@919,registry:Version@907,whole:Route@1086,whole:Route@1357,whole:Route@453,whole:Route@822,whole:Route@866 7df9b9a3378406fe44cc7365f8c47b71683948f1548e5e1a520d68b9a3cc8006
@legacy 5b539f056a2aee18af105158c54ab5559b1709831ced2a1598c0352ed9366bca internal/host/demoretention.go demoRetention.saveStatus legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: reads its own previous record from the public root store /var/lib/carlos-release/demo-retention (rootstate, created root-owned 0755, file 0644) to carry the backlog's start, and writes the new record there; status only, never read back as a pin or a decision file:Read@289 5bb8a4f44a6b268632d4351409ea113646844e7224b08d3862b656172a8e28d3
-@legacy eac766d2e944df36f14b59087f8c7cc68b226171859f034d808f44e6eda523db internal/host/demoretention.go demoRetention.selection legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: eligibility comes only from root's facts: demoAccount (host.env CARLOS_DEMO_ACCOUNT via demo.BoxConfig, never the ops account) and listOutputs' listing of its own store. Registry rows (List; reads App, Version, the route for RouteAccount and validDemoRow) only ADD protection: their pins, and a row of the demo account that is not a valid demo binding keeps every build of its app (guarded). Adoption for "in flight" comes from root's live links (linkTargets), not rows; rows' Version is read only in the estimate when the live links do not read, and the estimate deletes nothing. The Lstat by row-derived app name is gone: no registry string reaches a filesystem path here registry:App@1375,registry:App@1400,registry:App@834,registry:Version@1349,registry:Version@1409,whole:Route@1277,whole:Route@1313,whole:Route@448,whole:Route@751,whole:Route@786,whole:Route@817 67e68dacf4ec7b66d3d5598df8e9b2301242d85cece986e38d322e2499366d57
+@legacy c09c372194650f83e8903d1a6cdd9f4ba5c2cff7da0a5fa0af09e1425e1bc490 internal/host/demoretention.go demoRetention.selection legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: eligibility only from root's facts: demoAccount (host.env, never the ops account) and listOutputs' listing of its own store. Registry rows (List; App, Version, the route for RouteAccount and validDemoRow) only ADD protection: their pins, and a hold: a row of the demo account that is not a valid demo binding, or an app BoxPins' IncompleteRefsError covers, holds the app (nothing removed, backlog counted, named with its reason in the record, its next stage refused). Adoption for "in flight" comes from root's live links; rows' Version only in the deleting-nothing estimate. No registry string reaches a filesystem path registry:App@1553,registry:App@1578,registry:App@843,registry:Version@1527,registry:Version@1587,whole:Route@1455,whole:Route@1491,whole:Route@457,whole:Route@760,whole:Route@795,whole:Route@826 03f4f9676efdfa8971bb77e60f13dfeebf7f7ef84cf49125c1f79f7e25486f1b
@legacy 27ae0ae1be154c3291478034dd254fa832cfb41a0dd2f80ac91c3455d517c1a4 internal/host/demoretention.go demoRetention.validDemoRow legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: reads a registry row's demo descriptor (DemoID, DemoHost, DemoLifetime, DemoExpiresAt), Host, App and account and checks it with demo.Config.ValidateBinding against host.env's tuple. Its only effect is protection: a row of the demo account that fails keeps all of its app's builds; it never makes anything eligible registry:App@249,registry:DemoExpiresAt@157,registry:DemoHost@106,registry:DemoID@89,registry:DemoLifetime@129,registry:DemoLifetime@266,registry:Host@257,whole:Route@244 af1de52349984707d82e62de4f196c0be50ac9a29885e42f66beed160fa5f21a
@legacy 7d960279e9455032ecf072dde3ce95035cc673ac8cd34f094d20a8304961c847 internal/host/demoretention.go linkTargets legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: ReadDir, Readlink and EvalSymlinks of the root-owned <opt>/previous and <opt>/live links, as release.LivePins reads them for the sweep (replaces previousLinkPins, same reads); an unreadable link is an error and nothing is deleted file:EvalSymlinks@509,file:ReadDir@77,file:Readlink@323 0174dc32626a8c188a893e048dcc68638192656b854c45e206076bff0b290537
-@legacy 6c35a72bc0403008043937a272bef66a03891902119ce9d1ef1ce3606933dd4c internal/host/demoretention.go productionDemoRetention legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: demo.BoxConfig from host.env (root-owned), the version store and generations file paths, root's generation ledger, and the record store opener rootstate.Open(/var/lib/carlos-release/demo-retention, true, true) file:Open@515 3717758213e219b3daee5301239dae3e5b1a433af47546e950a074ad334a91db
+@legacy 4cf360d827e1cc3aec8e519f527aafc500528e22a163a3cc0716cdd7bf978691 internal/host/demoretention.go productionDemoRetention legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: demo.BoxConfig from host.env (root-owned), now also keeping its error (boxErr) so a box that says it is a demo box with invalid settings refuses demo adoption; the version store and generations file paths, root's generation ledger, and the record store opener rootstate.Open(/var/lib/carlos-release/demo-retention, true, true) file:Open@528 100a780d488f0c1f9ace717410a5df3bdf8259014de08b456dc3ad4b43b2a02b
@legacy 3b974d675442a49c90a22cacd91c82f61317b0a74a137f931aacca7abb9a38cb internal/host/statfs_unix.go filesystemRoom legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=the agent (user carlos): statfs of /data and /run for status and the disk alert; numbers only file:Statfs@102 bc0b7000ddb11715edd58a955d7950a1c19bfacb315b47d9575f7ac0a0a4a732
+@legacy 22875aadec223885bd39acf3fbe0730e4938e3ca92e9ee1465a09425213c198d internal/release/adopt.go WithRouteAdmission legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=new PassOption: wraps fn so a refusal is printed once per host (rt.Host) and returns whether the route is admitted; reads only the Route handed to it, no file, store or registry read registry:Host@222,registry:Host@245,registry:Host@313,whole:Route@189 f2892b15ee19d20bc2f06f0fbb91a4c1e9bc04950560c1fa42043c2ef8cb3336
+@legacy 4690fdc3a46578873b4782865046f5535e73bde7f6213d464db2d01390ad3bca internal/release/adopt.go passConfig.routeAdmitted legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=new: true without an admission option, otherwise the admission's answer for the Route in hand; reads nothing else whole:Route@111 52cc8b59fb4addc2753c3fbf2c20df81b4021045820eec27af5bb07c188a9503
@legacy 36814a480e2c91b2833082a70a5a01292608196aa1c5850793697ae572e3ae00 internal/release/adopt.go passConfig.stageWriteCheck legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass and agent passes: generationWriteCheck unchanged first; then, only when WithBeforeStage is set (root's adopt pass only), Lstat of the VersionPath about to be written and the callback when nothing is there; an error fails the stage (nothing written, route unchanged) file:Lstat@233 92aa097f88dc4c665a3564a8cd981537d2394857967be73230a0ef39648c48fd
-internal/host/agent.go runAdoptUnderRootRelease authority B3,E1,E2,E3 rev3=census-ruling-self-serve-moves-1;basis=root claim/adopt/update controller uid 0: builds root's lifetime judge once from the host-claim switch and hands it to both productionRestartRequestPass calls; read sites unchanged, offsets moved; the preceding B3,E1,E2,E3 classification retained;rev3=census-ruling-claims-cleanup-r1;basis=claims cleanup R1: the claims shutdown timeout is the host constant claimsShutdownLimit (120s) instead of hostbox.RequestLimit (120s); no read added or changed;rev3=census-ruling-named-unit-delivery-114;basis=config sync is appconfig.SyncUnits with productionUnitOps (drop-in root /etc/systemd/system, base dir /etc/carlos/units, the declaration file /etc/carlos/named-units.json, systemctl probe/reload/restart, the config flock); no proof binding and no bucket read for delivery (Paul's ruling on #114: a root-owned declaration decides); the comment at the restart callback rewritten; read sites unchanged;rev3=census-ruling-sr-followups;basis=#966 census fix: the SyncUnits ack callback is configAckRootFunc(ctx, store) instead of configAckFunc(ctx, store, "adopt"). configAckRootFunc (new, agent.go): on a box with a bucket or dir (doorFleet empty: no fleet identity, or CARLOS_DEPLOYMENT_BUCKET or CARLOS_DEPLOYMENT_DIR set in the process environment) it returns configAckFunc(ctx, store, "adopt"), the same callback as before #966 (platform-root key, read-then-CAS). On a door box it writes each ack through appconfig.ReplaceConfigAckBlind (new, configack.go) under NewPrefixStore(store, "fleets/<fleet>/"): s.Delete(key) then a create-only s.Put(key, body, ""), returning only errors, which are logged. THE ROOT PASS NO LONGER READS THE FLEET CORNER: it sends exactly DELETE and PUT for fleets/<F>/control/config-ack/<label>/<host>.json and no GET, Open or HEAD of any fleet key; it inspects no body, ETag or listing. Reads only the process environment (doorFleet, BoxLabel), as configAckFunc did. Read sites unchanged;rev3=census-ruling-named-units-param-114;basis=named-units-param-114 Task 4/5: after the restart-only return, calls runNamedUnitsStep, which runs adoptNamedUnitsStep (root reads its own IMDSv2 identity; ssm:GetParameter of /carlos/host/named-units/<instance-id> in that region, operator-written, box role read-only; trusted rootstate reads of /etc/carlos/named-units.json, the console guard marker, root's rollback journal and root history; installs under the config-sync flock), logs, and writes writeNamedUnitsStatus (public root store /var/lib/carlos-named-units), all before ParsePublicKey; config sync moved into adoptConfigSync with a second status write; no input a tenant, app or box agent can write selects the parameter or authorises the install; read sites unchanged;rev3=census-ruling-console-addr-from-install;basis=calls adoptConsoleFleetStep after the named-units step, never fatal (spec §4); no read added here;rev3=census-ruling-managed-fleets-2b2;basis=builds managedRootGate("/") (root's RootAdmission: identity + root 0700 admission files, re-verified) and wraps the round-1 start/selected-restart/rollback callbacks, SyncUnits' UnitOps.Restart and named-unit recovery with it; BYO answers admitted, so nothing changes there; merge of origin/main 65951fbb: main's configAckRootFunc ack, the named-units step (runNamedUnitsStep) with adoptConfigSync, and adoptConsoleFleetStep, not this branch; resolution: adoptConfigSync is handed managedGatedUnitOps(managedGate, productionUnitOps(...)), so SyncUnits' UnitOps.Restart keeps root's gate;rev3=census-ruling-demo-disk-slice1-retention;basis=demo disk bound slice 1, fix round 2: release.Pass runs inside adoptPassAround(ctx, configOnly, restartOnly, stageOnly, passLockErr, reg, generationPins, pass) (demoretention.go), still inside pr.around and under the adopt pass lock taken at the top. adoptPassRetention composes it: no retention on -config-only or -restart-only (which also return before this line), locked = passLockErr == nil, hourly = !stageOnly; tested (TestAdoptPassRetentionFollowsTheModeAndTheLock). No read added in this unit; read sites unchanged whole:Route@12586,whole:Route@20463,whole:Route@20499,whole:Route@8743 40fdcb0991f2ee90795a520001cb52a9e6a58f67897110fca55e1f47c688c508
+internal/host/agent.go runAdoptUnderRootRelease authority B3,E1,E2,E3 rev3=census-ruling-self-serve-moves-1;basis=root claim/adopt/update controller uid 0: builds root's lifetime judge once from the host-claim switch and hands it to both productionRestartRequestPass calls; read sites unchanged, offsets moved; the preceding B3,E1,E2,E3 classification retained;rev3=census-ruling-claims-cleanup-r1;basis=claims cleanup R1: the claims shutdown timeout is the host constant claimsShutdownLimit (120s) instead of hostbox.RequestLimit (120s); no read added or changed;rev3=census-ruling-named-unit-delivery-114;basis=config sync is appconfig.SyncUnits with productionUnitOps (drop-in root /etc/systemd/system, base dir /etc/carlos/units, the declaration file /etc/carlos/named-units.json, systemctl probe/reload/restart, the config flock); no proof binding and no bucket read for delivery (Paul's ruling on #114: a root-owned declaration decides); the comment at the restart callback rewritten; read sites unchanged;rev3=census-ruling-sr-followups;basis=#966 census fix: the SyncUnits ack callback is configAckRootFunc(ctx, store) instead of configAckFunc(ctx, store, "adopt"). configAckRootFunc (new, agent.go): on a box with a bucket or dir (doorFleet empty: no fleet identity, or CARLOS_DEPLOYMENT_BUCKET or CARLOS_DEPLOYMENT_DIR set in the process environment) it returns configAckFunc(ctx, store, "adopt"), the same callback as before #966 (platform-root key, read-then-CAS). On a door box it writes each ack through appconfig.ReplaceConfigAckBlind (new, configack.go) under NewPrefixStore(store, "fleets/<fleet>/"): s.Delete(key) then a create-only s.Put(key, body, ""), returning only errors, which are logged. THE ROOT PASS NO LONGER READS THE FLEET CORNER: it sends exactly DELETE and PUT for fleets/<F>/control/config-ack/<label>/<host>.json and no GET, Open or HEAD of any fleet key; it inspects no body, ETag or listing. Reads only the process environment (doorFleet, BoxLabel), as configAckFunc did. Read sites unchanged;rev3=census-ruling-named-units-param-114;basis=named-units-param-114 Task 4/5: after the restart-only return, calls runNamedUnitsStep, which runs adoptNamedUnitsStep (root reads its own IMDSv2 identity; ssm:GetParameter of /carlos/host/named-units/<instance-id> in that region, operator-written, box role read-only; trusted rootstate reads of /etc/carlos/named-units.json, the console guard marker, root's rollback journal and root history; installs under the config-sync flock), logs, and writes writeNamedUnitsStatus (public root store /var/lib/carlos-named-units), all before ParsePublicKey; config sync moved into adoptConfigSync with a second status write; no input a tenant, app or box agent can write selects the parameter or authorises the install; read sites unchanged;rev3=census-ruling-console-addr-from-install;basis=calls adoptConsoleFleetStep after the named-units step, never fatal (spec §4); no read added here;rev3=census-ruling-managed-fleets-2b2;basis=builds managedRootGate("/") (root's RootAdmission: identity + root 0700 admission files, re-verified) and wraps the round-1 start/selected-restart/rollback callbacks, SyncUnits' UnitOps.Restart and named-unit recovery with it; BYO answers admitted, so nothing changes there; merge of origin/main 65951fbb: main's configAckRootFunc ack, the named-units step (runNamedUnitsStep) with adoptConfigSync, and adoptConsoleFleetStep, not this branch; resolution: adoptConfigSync is handed managedGatedUnitOps(managedGate, productionUnitOps(...)), so SyncUnits' UnitOps.Restart keeps root's gate;rev3=census-ruling-demo-disk-slice1-retention;basis=demo disk bound slice 1, fix round 3: release.Pass runs inside adoptPassAround(ctx, configOnly, restartOnly, stageOnly, passLockErr, productionDemoRetentionFor(reg, generationPins), pass), still inside pr.around and under the adopt pass lock taken at the top; pass now receives two demo options, release.WithRouteAdmission(admitRoute) and release.WithBeforeStage(beforeStage). adoptPassRetention composes mode and lock (nil on -config-only/-restart-only, which also return before this line; locked = passLockErr == nil; hourly = !stageOnly). Witnessed through adoptPassAround around a real release.Pass (TestAdoptPassAroundGatesDemoAdoptionOnTheLock). No read added in this unit; read sites unchanged whole:Route@12586,whole:Route@20495,whole:Route@20531,whole:Route@8743 230707a96d0b7b141acac2a63faec13ff7dc3de6c33e97675ce5812f6d1f7113
internal/host/agent.go statusLoop legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): the status tick's context carries the box's lifetime judge; read sites unchanged, offsets moved;rev3=census-ruling-rootfs-apps-2;basis=main's body as of the merge of origin/main 953b9fda (its later changes, regional box names and self-serve moves plan 1 among them, under main's own census rulings), where the tick fills rootfs_ready and rootfs_blocked from armedRootfs.Load().probe, which each tick runs NestedOK's checks and asks the control socket's GET /ready/rootfs (never the store); the same four direct sites;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 Task 11 and #329 plan 3 Task 7: takes root's GET /egress reader and fills p.Egress = egressStatusProbe(egressStatus, routes, provision.PolicyReadStates()) and p.SizeCommittedMiB = sizeCommittedMiB(armedSizeSource.Load(), routes); the two added whole:Route sites are the tick's own registry list handed to those two units (decision rows), which read root's control socket and the activator's memory; no store request added; the four existing sites unchanged, offsets moved.;rev3=census-ruling-fleet-alerts-1;basis=the agent (carlos-edge.service, user carlos): the status tick passes os.Geteuid() to alertDeliveryProbe, which fills AlertDelivery.EngineBeat/EngineBeatWhy from engineBeatArmed (the env value and the euid only, no file access, root refused before the path is looked at), and fills Probes.DiskFullETAHours from diskETAProbe(&processDiskTrend, now), a Theil-Sen fit over the metrics loop's in-memory ring of disk readings; the same six sites, no read added, no store request added;rev3=census-ruling-edge-held-streams;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): the status tick's Probes gain HeldStreams: heldStreamsState(), which calls the edge's in-memory counters function (nil until the edge is ready). No file, bucket or registry access added.;rev3=census-ruling-stateless-replicas-3;basis=Fix round 1 Q20: read the detached in-memory replica snapshot source into Probes.ReplicaCopies on the existing five-minute tick. Existing six direct read sites unchanged. No additional bucket request, changed cadence or app lifecycle action.;rev3=census-ruling-agent-start-demo-3;basis=Report moved capability only when the serving edge reports readiness; report claim-seed support only with CARLOS_DEMO_CLAIM=1. Reads the explicit capability flag from the process environment; no new filesystem or registry read.;rev3=census-ruling-stateless-replicas-4-task5;basis=Task 5 fix round 1 (#511 R16 amendment): the status tick also fills Probes.ApplyFinished from systemApplyFinished(release.OptDir()), an Lstat of root's apply journal <opt>/system/router/journal.json in the root-owned, world-readable state directory: finished only when the journal is absent, any other answer unknown and so unfinished. Round 0: Probes.PrevRelease from prevReleaseOf (carlos.prev and carlos.prev.version, the files withMovesFields already reads). Reported in the private BoxMetrics block; no bucket request or cadence change.;rev3=census-ruling-offline-move-stage-refusals-339;basis=#339: the agent (carlos-edge.service, user carlos): the status tick fills p.OfflineMove = offlineMoveFactsProbe(routes); the added whole:Route site is the tick's own registry list handed to that unit, which under a non-root euid lists the names of root's <opt>/live and nothing else; no store request added.;rev3=census-ruling-platform-mail-submission;basis=Task 3 (plan gap G6 (b)): the status tick also fills Probes.MailerArmed from mailerArmed(mailwire.MailerSocket, 2s): a stat of /run/carlos-mailer/mailer.sock and, only when it is a socket, GET /v1/health on it. The agent (carlos-edge.service, user carlos), not root; reported in the private BoxMetrics block only. The same seven sites; no store request, no read of /etc/carlos-mailer (which uid carlos cannot traverse).;rev3=census-ruling-named-units-param-114;basis=named-units-param-114 Task 6: the agent (carlos-edge.service, user carlos) fills Probes.NamedUnits from readNamedUnitsStatus: rootstate.Open(/var/lib/carlos-named-units, false, true) status.json, 64 KiB cap, any error nil; report only, nothing reads it as authority; no store request added; the same sites;rev3=census-ruling-console-addr-from-install;basis=sets Probes.ConsoleFleet from consoleFleetProbe (root public store read, edge in-memory state); no read added in this unit;rev3=census-ruling-demo-disk-slice1-retention;basis=the agent (carlos-edge.service, user carlos): the status tick also fills Probes.DemoDisk from readDemoDisk(), nil unless CARLOS_DEMO_BOX is set; statfs of /data and /run, and root's public retention record (readDemoBuilds); report only; no store request added; read sites unchanged whole:Route@10707,whole:Route@12781,whole:Route@13062,whole:Route@13420,whole:Route@6583,whole:Route@6610,whole:Route@7918 1b271f453a4718ca5fb64f513ec22acdd2550bc8cb4cfb021ea9c8ec7300df64
-internal/release/adopt.go PassFilter authority B3,E3,J1,E1,E2 Signed named-unit recovery is independent of release and health history. Root rechecks canonical source, unit, process, signed target and trusted live pointer; captures attempt authority before publication; verifies readiness and resumes without repeated effects. Fixtures: TestPlan14SignedActiveFixIgnoresHistory, TestPlan14SignedActiveFixAuthority, TestPlan14SignedFixSupersedesOlderAttempt, TestPlan14ActiveRecoveryProcessCrash, TestPlan14SignedRestartWithoutHealthHistory, TestPlan14CapturedRollbackWithoutHealthHistory, TestPlan14SignedRestartRequiresTrustedLiveLink. E7 applies merge ruling 4: unbound no-census routes use the legacy pass and restart; ordinary candidates make no binding store call. Fixtures: TestR2UnguardedERecoveryUpdate, TestR2UnguardedERecoveryIncidentRecipe, TestPlan14ERecoveryBindingRefusalKeepsPromotedFix. E19: both destructive readers use the root reservation snapshot under existing release exclusion. Exact artifact and containing-tree identities are retained; missing completeness refuses destruction. Production installation/launch/kernel completeness and verified retirement remain unfinished. Fixtures: TestPlan14GenerationDeletionCannotUnpin, TestPlan14GenerationSnapshotCompleteness, TestPlan14GenerationSnapshotPermitsUnreservedRestage, TestPlan14GenerationSnapshotPinsContainingTree, TestPlan14GenerationSnapshotEmptyIsUnknown, TestPlan14GenerationConsumerMode.;rev3=PROPOSED-p3;run=8;identity=carlos adopt uid 0; legacy agent pass uid carlos;basis=resolves protected route inputs before filters, recovery and dispatch on census boxes and bypasses service-owned failure opener only there;rev3=PROPOSED-s3-change-index;identity=carlos adopt uid 0; legacy agent pass uid carlos;basis=asks the optional pointer gate (gatePointers) once per channel group before selection and reports each group's pointer outcome to it; only the agent's fast sweep arms a gate (WithPointerGate), so under carlos adopt the gate is nil and the pass is unchanged; a gate can only leave a group out of the pass, never add one; one whole-Route site added;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3: comment only, the Hibernate check is left as is for a resident;rev3=census-ruling-hunt-release-chain-integrity;basis=a digestless head is bound to its signed promotion record through stagePointerHead, and a pointer without an account binding is refused on read (verifyPointer); the ratchet it consults (Admit) now also holds a per-channel promoted_at floor that admits only a strictly later stamp or the very pointer it recorded (PointerIdentity, fix round 1), which root reads only from its own root-owned <opt>/pointer-digests and never from the agent's data dir, through instancefs.ReadBeneathLimitOrAbsent (openat2 RESOLVE_BENEATH|NO_SYMLINKS|NO_MAGICLINKS, O_NONBLOCK, regular file only, 4 KiB cap); fix round 2: the floor's identity is the sha256 of the exact signed wrapper the pointer was verified from (set at the parse site), and a floor with no identity admits nothing at its own stamp, so the floor only refuses more; no read kind is added to the unit; CI fix: an app channel pointer is now stamped to the millisecond (pointerStampGrain) so a signer's wait past the head it replaces is at most a millisecond; the floor still admits only a strictly later stamp or the pointer it recorded, compared as time.Time, so the rule and the reads are unchanged;rev3=census-ruling-demo-disk-slice1-retention;basis=the stage check's beforeWrite is cfg.stageWriteCheck (generationWriteCheck first, unchanged, then WithBeforeStage's callback for a path that holds nothing yet); no read added in this unit registry:App@10134,registry:App@27173,registry:App@29630,registry:App@30317,registry:App@30554,registry:App@31961,registry:App@6735,registry:App@9993,registry:Hibernate@30200,registry:Host@1061,registry:Host@1426,registry:Host@30370,registry:Host@31286,registry:Host@32014,registry:Host@3413,registry:Host@3480,registry:Host@3576,registry:Host@3611,registry:UpdateSettings@9871,whole:Route@10129,whole:Route@1046,whole:Route@1164,whole:Route@1188,whole:Route@1461,whole:Route@1622,whole:Route@27168,whole:Route@2726,whole:Route@2768,whole:Route@2877,whole:Route@2901,whole:Route@2932,whole:Route@29625,whole:Route@29883,whole:Route@29905,whole:Route@29952,whole:Route@29970,whole:Route@29980,whole:Route@30218,whole:Route@30239,whole:Route@30252,whole:Route@30312,whole:Route@30338,whole:Route@30412,whole:Route@30451,whole:Route@30467,whole:Route@30495,whole:Route@30549,whole:Route@30575,whole:Route@3074,whole:Route@31328,whole:Route@31382,whole:Route@3139,whole:Route@31398,whole:Route@31905,whole:Route@31956,whole:Route@31982,whole:Route@32056,whole:Route@32091,whole:Route@32107,whole:Route@3225,whole:Route@3247,whole:Route@3347,whole:Route@4425,whole:Route@5072,whole:Route@6657,whole:Route@6679,whole:Route@6730,whole:Route@6756,whole:Route@761,whole:Route@803,whole:Route@950,whole:Route@9822,whole:Route@988,whole:Route@9936,whole:Route@9981 2dd0717b7e3467741b6f9ebab282bad96ebbde81a83e54e8b64585e5cdd50067
-internal/release/adopt.go type passConfig authority E2,E3 E19: both destructive readers use the root reservation snapshot under existing release exclusion. Exact artifact and containing-tree identities are retained; missing completeness refuses destruction. Production installation/launch/kernel completeness and verified retirement remain unfinished. Fixtures: TestPlan14GenerationDeletionCannotUnpin, TestPlan14GenerationSnapshotCompleteness, TestPlan14GenerationSnapshotPermitsUnreservedRestage, TestPlan14GenerationSnapshotPinsContainingTree, TestPlan14GenerationSnapshotEmptyIsUnknown, TestPlan14GenerationConsumerMode, TestPlan14GenerationProductionModeGate, TestPlan14GenerationSnapshotPermitsFreshTree.;rev3=PROPOSED-p3;run=8;identity=carlos adopt uid 0; legacy agent pass uid carlos;basis=stores the typed census-only root update provider and per-pass resolved input authority;rev3=census-ruling-315;identity=legacy agent pass uid carlos (RootRestartsUnits; never set on carlos adopt);basis=adds the unitsToRoot bool set by RootRestartsUnits; reads nothing;rev3=PROPOSED-s3-change-index;identity=carlos adopt uid 0; legacy agent pass uid carlos;basis=adds the pointerGate field, set only by WithPointerGate (the agent's fast sweep); reads nothing;rev3=census-ruling-demo-disk-slice1-retention;basis=adds the beforeStage callback field, set only by WithBeforeStage (root's adopt pass); reads nothing b74606b6d50ab24289e91dbc36edf9e7058f7bceba544609bf72c67ec07c331e
+internal/release/adopt.go type passConfig authority E2,E3 E19: both destructive readers use the root reservation snapshot under existing release exclusion. Exact artifact and containing-tree identities are retained; missing completeness refuses destruction. Production installation/launch/kernel completeness and verified retirement remain unfinished. Fixtures: TestPlan14GenerationDeletionCannotUnpin, TestPlan14GenerationSnapshotCompleteness, TestPlan14GenerationSnapshotPermitsUnreservedRestage, TestPlan14GenerationSnapshotPinsContainingTree, TestPlan14GenerationSnapshotEmptyIsUnknown, TestPlan14GenerationConsumerMode, TestPlan14GenerationProductionModeGate, TestPlan14GenerationSnapshotPermitsFreshTree.;rev3=PROPOSED-p3;run=8;identity=carlos adopt uid 0; legacy agent pass uid carlos;basis=stores the typed census-only root update provider and per-pass resolved input authority;rev3=census-ruling-315;identity=legacy agent pass uid carlos (RootRestartsUnits; never set on carlos adopt);basis=adds the unitsToRoot bool set by RootRestartsUnits; reads nothing;rev3=PROPOSED-s3-change-index;identity=carlos adopt uid 0; legacy agent pass uid carlos;basis=adds the pointerGate field, set only by WithPointerGate (the agent's fast sweep); reads nothing;rev3=census-ruling-demo-disk-slice1-retention;basis=adds the beforeStage callback field (WithBeforeStage) and the admitRoute field (WithRouteAdmission), both set only by root's adopt pass; reads nothing 00a3c9397817c34ca0712bf64ed40ae5c65909e63ece3be7cb530addaef6c8f5
internal/status/snapshot.go CollectBox legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-rootfs-apps-2;basis=copies Probes.RootfsReady and RootfsBlocked into BoxMetrics (private, like Layout); the same 28 sites, no read added;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 Task 11 and #329 plan 3 Task 7: copies Probes.Egress and Probes.SizeCommittedMiB into BoxMetrics (private, like Layout) and counts them in the condition that builds Metrics; the same 28 sites, no read added.;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3: comment only, the Hibernate count is left as is (display);rev3=census-ruling-regional-domains-447;basis=#447 Task 7: copies Probes.AliasesRead into BoxMetrics.AliasesRead (json aliases_read, omitempty) and counts it in the condition that builds Metrics; the same 28 sites, no read added;rev3=census-ruling-fleet-alerts-1;basis=copies Probes.DiskFullETAHours into BoxMetrics.DiskFullETAHours (json disk_full_eta_hours, omitempty; private, like Layout) and counts it in the condition that builds Metrics; the same 28 sites, no read added;rev3=census-ruling-edge-held-streams;basis=copies Probes.HeldStreams into BoxMetrics.HeldStreams (json held_streams, omitempty, additive) and counts it in the condition that builds Metrics; the same 28 sites, no read added.;rev3=census-ruling-stateless-replicas-3;basis=Fix round 1 Q20: carry already-supplied ReplicaCopies into a separate optional private BoxMetrics replica_copies field; allow copy evidence alone to create the metrics block. Upstreams retains address probes only. Existing 28 Route read sites unchanged; no filesystem, bucket, console or CLI read.;rev3=census-ruling-agent-start-demo-3;basis=Report claim-seed protocol capability only when explicitly configured and runtime moved readiness only when armed; dormant status keeps its original JSON shape. Census read-site delta: unchanged (28).;rev3=census-ruling-stateless-replicas-4-task5;basis=Task 5 (#511 R16 and its amendment): copies Probes.PrevRelease and Probes.ApplyFinished into BoxMetrics (json prev_release and apply_finished, omitempty; private, like Release) and counts them in the condition that builds Metrics; the same 28 sites, no read added.;rev3=census-ruling-offline-move-stage-refusals-339;basis=#339: copies Probes.OfflineMove into BoxMetrics.OfflineMove (json offline_move, omitempty; private, like Layout) and counts it in the condition that builds Metrics; the same 28 sites, no read added.;rev3=census-ruling-platform-mail-submission;basis=Task 3: copies Probes.MailerArmed into BoxMetrics.MailerArmed (json mailer_armed, omitempty; private, like Layout) and counts it in the condition that builds Metrics; the same 28 sites, no read added.;rev3=census-ruling-named-units-param-114;basis=named-units-param-114 Task 6: copies Probes.NamedUnits into BoxMetrics.NamedUnits (json named_units, omitempty; private) and counts it in the condition that builds Metrics; the same 28 sites, no read added;rev3=census-ruling-fleet-seeded-create-2;basis=Copies Probes.SeedsFloor into BoxMetrics.SeedsFloor and counts it in the metrics gate; a pure copy of a value the agent filled, the same 28 read sites, no read added.;rev3=census-ruling-console-addr-from-install;basis=copies Probes.ConsoleFleet into BoxMetrics (private); no read added;rev3=census-ruling-demo-disk-slice1-retention;basis=copies Probes.DemoDisk into BoxMetrics.DemoDisk (json demo_disk, omitempty; private, like Layout) and counts it in the condition that builds Metrics; the same 28 sites, no read added registry:Alias@4543,registry:CertExpiresAt@3160,registry:CertExpiresAt@3396,registry:CertExpiresAt@4658,registry:DBPath@2495,registry:DBPath@2553,registry:DNSCheckedAt@3365,registry:DNSCheckedAt@4627,registry:DNSStatus@3139,registry:DNSStatus@3334,registry:DNSStatus@4597,registry:Hibernate@3853,registry:Host@2295,registry:Host@2437,registry:Host@2666,registry:Host@3280,registry:Host@3315,registry:Host@4578,registry:Kind@2473,registry:Kind@3807,registry:Platform@2152,registry:ServingVersion@2324,registry:ServingVersion@2447,registry:Socket@4066,registry:Version@2186,registry:Version@2305,whole:Route@1581,whole:RouteAlias@4440 f001b427c01c4ee280a8d848eaaf60de952ecdfb3f2c6108f7c105f89a51efbf
cli.go printDemoDisk legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=operator CLI (carlos status --live), not root: prints a published box snapshot's demo_disk numbers; reads only the decoded snapshot in hand data-literal@195 ed2577c68d95ca5a6ebba28e905a65115ff335bc36aecca1e2c415ed98fb6fff
-internal/host/alertsink.go alertClearSentence legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=the agent (user carlos), not root: the disk clear sentence names ev.Where likewise; literals only, no read data-literal@284 a37dfe74cc1b9ba4025ed6eab876bba8832880a30eb6848295612a1f24228d91
-internal/host/alertsink.go alertSentence legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=the agent (user carlos), not root: the disk sentence names ev.Where (/data, /data inodes, /run) when the box set it; literals only, no read data-literal@271 6dbee6cb9838e40098d8acb960561ea7c277a4f18363d9d8c0fbefc4faca2356
-internal/host/demodisk_status.go const#1 legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=the agent (user carlos): diskWhereData, diskWhereDataInodes, diskWhereRun, the names the disk alert gives what it measured; literals only data-literal@31,data-literal@62 4d7cf7309a63280d0c07c8936728c93d29ce2f40970d8555f3d37faef1f1e1dc
+internal/host/demodisk_status.go const#1 legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=the agent (user carlos): diskWhereData, diskWhereDataInodes, diskWhereRun, diskWhereRunInodes, the names the disk alert gives what it measured; literals only data-literal@31,data-literal@62 8f6c997ccd711c80af2e16ffd9f9f1a5e70ae76a3f9936473baba389f9f0e92a
internal/host/demodisk_status.go productionDemoDiskProbe legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=the agent (user carlos), not root: opens root's public record directory /var/lib/carlos-release/demo-retention read-only through rootstate.Open(dir, false, true) (every ancestor root-owned, not group or world writable); report only file:Open@208 f8df171d9a2ff2d96b73c63f4618d035230acc4b8f244dd7f377184686e4933f
internal/host/demodisk_status.go readDemoBuilds legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=the agent (user carlos): reads the record 'status' from that rootstate store (descriptor read, trusted owner, 1 MiB cap) and decodes it; schema 1 or an error; report only, nothing reads it as authority file:Read@174 213c08b6d79b17ca25b94b815815bd0c7dfbeaa8664aafbfc8419fab2b2679ca
internal/host/demoretention.go demoOutput.spellings legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: EvalSymlinks of an output's directory <opt>/versions/<ver>/<demo account>, every component validated (ValidVersion, BoxConfig account, validDemoName), so an output is compared under the store's spelling and its real path; reads no registry input file:EvalSymlinks@118 abd6ff6fe0d0ffdd5989669aee8fcfc27713785a0a1bb6eb168bffa6a9975619
+internal/host/demoretention.go demoRetention.admitRoute legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass, new: the demo admission asked of every route before the release pass does anything with it. Refuses a tmp-demo- route (rt.App, RouteAccount) on a box whose host.env demo settings do not validate (boxErr); and, on a demo box, a route of the demo account when the demo account is the ops account, the app is not a valid demo name, or the pass does not hold the adopt pass lock. Only refuses: a registry row can never be admitted by it that would not be otherwise; reads only the Route in hand and root's own config registry:App@443,registry:App@533,registry:App@97,whole:Route@325 9ad40d8642d06156be0eb97d7a3a27c2b1cf05e6935b0e3614f987ee38058f7a
internal/host/demoretention.go demoRetention.demoAdoptions legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: lists the registry and keeps the Host and Version of each row of the demo account whose App has the tmp-demo- prefix, to tell after the pass whether it adopted a demo version; decides only whether retention runs, never what it removes registry:App@314,registry:Host@347,registry:Version@358,whole:Route@237,whole:Route@272 1473fe874967ccf4538aed1887b15a9104427e1d0a6e1a537346146e7f7a5ea3
internal/host/demoretention.go demoRetention.listOutputs legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: ReadDir of <opt>/versions (root-owned) and of <opt>/versions/<ver>/<demo account> for each ValidVersion directory; each entry name, less .manifest.json, must pass validDemoName (tmp-demo- + demo.ValidPublicName: one path component, no "." or "..") before it is used; DirEntry.Info for sizes. ENOENT/ENOTDIR skip. Reads no registry input file:ReadDir@142,file:ReadDir@394 4febf4eebc952074eee6b0e52a97270a3e8c850e009a1db35f406c856a90a4f8
internal/host/demoretention.go demoRetention.pinSet legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: the pin set from every source: release.BoxPins over every registry row (live link chains; Version, PrevVersion, GoodVersion, settings references), previous links (linkTargets), release.GenerationPins over the generations file, and root's generation ledger (productionRootGenerationPins). Strict: any source that does not read in full is an error and nothing is deleted, except BoxPins' IncompleteRefsError, whose pins it keeps and returns so the caller holds only the apps the error covers (as adopt.go's restage does with inc.Covers). Pins only ever keep builds; what may be deleted is chosen by selection from root's own listing, never from a pin. Agent-writable inputs (the registry, the generations file under /data) therefore only ADD protection; the estimate mode (no deletion) only counts. No read added registry:App@1094,registry:App@970,registry:GoodVersion@935,registry:PrevVersion@919,registry:Version@907,whole:Route@1086,whole:Route@1357,whole:Route@453,whole:Route@822,whole:Route@866 7df9b9a3378406fe44cc7365f8c47b71683948f1548e5e1a520d68b9a3cc8006
internal/host/demoretention.go demoRetention.saveStatus legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: reads its own previous record from the public root store /var/lib/carlos-release/demo-retention (rootstate, created root-owned 0755, file 0644) to carry the backlog's start, and writes the new record there; status only, never read back as a pin or a decision file:Read@289 5bb8a4f44a6b268632d4351409ea113646844e7224b08d3862b656172a8e28d3
-internal/host/demoretention.go demoRetention.selection legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: eligibility comes only from root's facts: demoAccount (host.env CARLOS_DEMO_ACCOUNT via demo.BoxConfig, never the ops account) and listOutputs' listing of its own store. Registry rows (List; reads App, Version, the route for RouteAccount and validDemoRow) only ADD protection: their pins, and a row of the demo account that is not a valid demo binding keeps every build of its app (guarded). Adoption for "in flight" comes from root's live links (linkTargets), not rows; rows' Version is read only in the estimate when the live links do not read, and the estimate deletes nothing. The Lstat by row-derived app name is gone: no registry string reaches a filesystem path here registry:App@1375,registry:App@1400,registry:App@834,registry:Version@1349,registry:Version@1409,whole:Route@1277,whole:Route@1313,whole:Route@448,whole:Route@751,whole:Route@786,whole:Route@817 67e68dacf4ec7b66d3d5598df8e9b2301242d85cece986e38d322e2499366d57
+internal/host/demoretention.go demoRetention.selection legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: eligibility only from root's facts: demoAccount (host.env, never the ops account) and listOutputs' listing of its own store. Registry rows (List; App, Version, the route for RouteAccount and validDemoRow) only ADD protection: their pins, and a hold: a row of the demo account that is not a valid demo binding, or an app BoxPins' IncompleteRefsError covers, holds the app (nothing removed, backlog counted, named with its reason in the record, its next stage refused). Adoption for "in flight" comes from root's live links; rows' Version only in the deleting-nothing estimate. No registry string reaches a filesystem path registry:App@1553,registry:App@1578,registry:App@843,registry:Version@1527,registry:Version@1587,whole:Route@1455,whole:Route@1491,whole:Route@457,whole:Route@760,whole:Route@795,whole:Route@826 03f4f9676efdfa8971bb77e60f13dfeebf7f7ef84cf49125c1f79f7e25486f1b
internal/host/demoretention.go demoRetention.validDemoRow legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: reads a registry row's demo descriptor (DemoID, DemoHost, DemoLifetime, DemoExpiresAt), Host, App and account and checks it with demo.Config.ValidateBinding against host.env's tuple. Its only effect is protection: a row of the demo account that fails keeps all of its app's builds; it never makes anything eligible registry:App@249,registry:DemoExpiresAt@157,registry:DemoHost@106,registry:DemoID@89,registry:DemoLifetime@129,registry:DemoLifetime@266,registry:Host@257,whole:Route@244 af1de52349984707d82e62de4f196c0be50ac9a29885e42f66beed160fa5f21a
internal/host/demoretention.go linkTargets legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: ReadDir, Readlink and EvalSymlinks of the root-owned <opt>/previous and <opt>/live links, as release.LivePins reads them for the sweep (replaces previousLinkPins, same reads); an unreadable link is an error and nothing is deleted file:EvalSymlinks@509,file:ReadDir@77,file:Readlink@323 0174dc32626a8c188a893e048dcc68638192656b854c45e206076bff0b290537
-internal/host/demoretention.go productionDemoRetention legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: demo.BoxConfig from host.env (root-owned), the version store and generations file paths, root's generation ledger, and the record store opener rootstate.Open(/var/lib/carlos-release/demo-retention, true, true) file:Open@515 3717758213e219b3daee5301239dae3e5b1a433af47546e950a074ad334a91db
+internal/host/demoretention.go productionDemoRetention legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass: demo.BoxConfig from host.env (root-owned), now also keeping its error (boxErr) so a box that says it is a demo box with invalid settings refuses demo adoption; the version store and generations file paths, root's generation ledger, and the record store opener rootstate.Open(/var/lib/carlos-release/demo-retention, true, true) file:Open@528 100a780d488f0c1f9ace717410a5df3bdf8259014de08b456dc3ad4b43b2a02b
internal/host/statfs_unix.go filesystemRoom legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=the agent (user carlos): statfs of /data and /run for status and the disk alert; numbers only file:Statfs@102 bc0b7000ddb11715edd58a955d7950a1c19bfacb315b47d9575f7ac0a0a4a732
+internal/release/adopt.go WithRouteAdmission legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=new PassOption: wraps fn so a refusal is printed once per host (rt.Host) and returns whether the route is admitted; reads only the Route handed to it, no file, store or registry read registry:Host@222,registry:Host@245,registry:Host@313,whole:Route@189 f2892b15ee19d20bc2f06f0fbb91a4c1e9bc04950560c1fa42043c2ef8cb3336
+internal/release/adopt.go passConfig.routeAdmitted legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=new: true without an admission option, otherwise the admission's answer for the Route in hand; reads nothing else whole:Route@111 52cc8b59fb4addc2753c3fbf2c20df81b4021045820eec27af5bb07c188a9503
internal/release/adopt.go passConfig.stageWriteCheck legacy accepted-legacy accepted-legacy;rev3=census-ruling-demo-disk-slice1-retention;basis=root adopt pass and agent passes: generationWriteCheck unchanged first; then, only when WithBeforeStage is set (root's adopt pass only), Lstat of the VersionPath about to be written and the callback when nothing is there; an error fails the stage (nothing written, route unchanged) file:Lstat@233 92aa097f88dc4c665a3564a8cd981537d2394857967be73230a0ef39648c48fd
+internal/release/adopt.go PassFilter authority B3,E3,J1,E1,E2 Signed named-unit recovery is independent of release and health history. Root rechecks canonical source, unit, process, signed target and trusted live pointer; captures attempt authority before publication; verifies readiness and resumes without repeated effects. Fixtures: TestPlan14SignedActiveFixIgnoresHistory, TestPlan14SignedActiveFixAuthority, TestPlan14SignedFixSupersedesOlderAttempt, TestPlan14ActiveRecoveryProcessCrash, TestPlan14SignedRestartWithoutHealthHistory, TestPlan14CapturedRollbackWithoutHealthHistory, TestPlan14SignedRestartRequiresTrustedLiveLink. E7 applies merge ruling 4: unbound no-census routes use the legacy pass and restart; ordinary candidates make no binding store call. Fixtures: TestR2UnguardedERecoveryUpdate, TestR2UnguardedERecoveryIncidentRecipe, TestPlan14ERecoveryBindingRefusalKeepsPromotedFix. E19: both destructive readers use the root reservation snapshot under existing release exclusion. Exact artifact and containing-tree identities are retained; missing completeness refuses destruction. Production installation/launch/kernel completeness and verified retirement remain unfinished. Fixtures: TestPlan14GenerationDeletionCannotUnpin, TestPlan14GenerationSnapshotCompleteness, TestPlan14GenerationSnapshotPermitsUnreservedRestage, TestPlan14GenerationSnapshotPinsContainingTree, TestPlan14GenerationSnapshotEmptyIsUnknown, TestPlan14GenerationConsumerMode.;rev3=PROPOSED-p3;run=8;identity=carlos adopt uid 0; legacy agent pass uid carlos;basis=resolves protected route inputs before filters, recovery and dispatch on census boxes and bypasses service-owned failure opener only there;rev3=PROPOSED-s3-change-index;identity=carlos adopt uid 0; legacy agent pass uid carlos;basis=asks the optional pointer gate (gatePointers) once per channel group before selection and reports each group's pointer outcome to it; only the agent's fast sweep arms a gate (WithPointerGate), so under carlos adopt the gate is nil and the pass is unchanged; a gate can only leave a group out of the pass, never add one; one whole-Route site added;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3: comment only, the Hibernate check is left as is for a resident;rev3=census-ruling-hunt-release-chain-integrity;basis=a digestless head is bound to its signed promotion record through stagePointerHead, and a pointer without an account binding is refused on read (verifyPointer); the ratchet it consults (Admit) now also holds a per-channel promoted_at floor that admits only a strictly later stamp or the very pointer it recorded (PointerIdentity, fix round 1), which root reads only from its own root-owned <opt>/pointer-digests and never from the agent's data dir, through instancefs.ReadBeneathLimitOrAbsent (openat2 RESOLVE_BENEATH|NO_SYMLINKS|NO_MAGICLINKS, O_NONBLOCK, regular file only, 4 KiB cap); fix round 2: the floor's identity is the sha256 of the exact signed wrapper the pointer was verified from (set at the parse site), and a floor with no identity admits nothing at its own stamp, so the floor only refuses more; no read kind is added to the unit; CI fix: an app channel pointer is now stamped to the millisecond (pointerStampGrain) so a signer's wait past the head it replaces is at most a millisecond; the floor still admits only a strictly later stamp or the pointer it recorded, compared as time.Time, so the rule and the reads are unchanged;rev3=census-ruling-demo-disk-slice1-retention;basis=the stage check's beforeWrite is cfg.stageWriteCheck (unchanged from round 1); fix round 3: the recovery loop and the adopts predicate also require cfg.routeAdmitted(rt), so a route WithRouteAdmission refuses is kept out of recovery, selection, staging, restaging, reuse and the repoint for the whole pass, exactly as a non-adoptable route is. The two added sites pass the Route already in hand to the admission callback; no new read, and nil admission (every caller but root's adopt pass) admits every route as before registry:App@10044,registry:App@10185,registry:App@27224,registry:App@29681,registry:App@30368,registry:App@30605,registry:App@32012,registry:App@6786,registry:Hibernate@30251,registry:Host@1087,registry:Host@1452,registry:Host@30421,registry:Host@31337,registry:Host@32065,registry:Host@3464,registry:Host@3531,registry:Host@3627,registry:Host@3662,registry:UpdateSettings@9922,whole:Route@10032,whole:Route@1014,whole:Route@10180,whole:Route@1072,whole:Route@1190,whole:Route@1214,whole:Route@1487,whole:Route@1648,whole:Route@27219,whole:Route@2752,whole:Route@2794,whole:Route@2903,whole:Route@2927,whole:Route@2958,whole:Route@29676,whole:Route@2984,whole:Route@29934,whole:Route@29956,whole:Route@30003,whole:Route@30021,whole:Route@30031,whole:Route@30269,whole:Route@30290,whole:Route@30303,whole:Route@30363,whole:Route@30389,whole:Route@30463,whole:Route@30502,whole:Route@30518,whole:Route@30546,whole:Route@30600,whole:Route@30626,whole:Route@3125,whole:Route@31379,whole:Route@31433,whole:Route@31449,whole:Route@3190,whole:Route@31956,whole:Route@32007,whole:Route@32033,whole:Route@32107,whole:Route@32142,whole:Route@32158,whole:Route@3276,whole:Route@3298,whole:Route@3398,whole:Route@4476,whole:Route@5123,whole:Route@6708,whole:Route@6730,whole:Route@6781,whole:Route@6807,whole:Route@761,whole:Route@803,whole:Route@950,whole:Route@9873,whole:Route@988,whole:Route@9987 38533dde4de3f5af3e612792019549550536cbb1d130d6249bf2fa4d3ef1dbfb
@coverage . a1a96539bb89f0a450ee4e9789aa3de12fe26862edf5669cd5448257e237efa7
-@coverage internal/host 97b130ffa10ad336e1ba5abf2bf5a61c844d18e5bae098e7c11b19e2d7424729
-@coverage internal/metrics d088345e4f75cba223f315cf525cb16e32aa01805e6f035a0fd84639f95e506d
-@coverage internal/release ea6cff951c883e50055f1348e69a4fac49d7bce8579d1d9ad179e049addeeb51
+@coverage internal/host 979092eea09b61ad7aa53063c750f3a55cae8056ead20bf9cf058b534c0509eb
+@coverage internal/metrics e217708d05d3b3abf99a5f5b3f7c1770208f269c6d2008a8844ec4455b67a77e
+@coverage internal/release 4bcb33250918d87946a523b71cb64308580f5c969f1cca2208e6e87401157079
@coverage internal/status 36efea008597955202072ed20f65880ac10da54c55ac060a925539bbca0e414e