carlos / platform Public

host: edgeAcmeDir in its own file (agent.go code-health record)

Moved unchanged out of agent.go, which had grown past its file-length
record; census overlay re-proposed for the move. Main merged before this.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 9d65ed9a2a962495f1f94f07d66dbe950634021a parent c089eff
4 files changed, +24 −21
  • internal/host/acmedir.go +20 −0
  • internal/host/agent.go +0 −17
  • internal/provision/testdata/plan14-root-reads-alias-publish-precert-1293.tsv +3 −3
  • internal/provision/testdata/plan14-root-reads-chain.tsv +1 −1

CI passed — 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-Wej1cC
.amadan/test-gate.sh
go: downloading github.com/aws/aws-sdk-go-v2/service/costexplorer v1.67.5
go: downloading github.com/aws/aws-sdk-go-v2/service/s3 v1.105.0
go: downloading github.com/aws/smithy-go v1.28.1
go: downloading github.com/benbjohnson/litestream v0.5.14
go: downloading github.com/aws/aws-sdk-go-v2/service/cloudwatch v1.68.0
go: downloading github.com/superfly/ltx v0.5.1
go: downloading golang.org/x/net v0.62.0
go: downloading modernc.org/sqlite v1.55.0
go: downloading golang.org/x/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 golang.org/x/sys v0.49.0
go: downloading github.com/aws/aws-sdk-go-v2/service/resourcegroupstaggingapi v1.37.0
go: downloading github.com/aws/aws-sdk-go-v2/service/route53 v1.64.1
go: downloading github.com/aws/aws-sdk-go-v2/service/sesv2 v1.66.6
go: downloading github.com/pion/logging v0.2.4
go: downloading github.com/pion/stun/v3 v3.1.5
go: downloading github.com/pion/turn/v4 v4.1.4
go: downloading github.com/pierrec/lz4/v4 v4.1.22
go: downloading github.com/klauspost/compress v1.20.2
go: downloading github.com/pion/dtls/v3 v3.1.4
go: downloading github.com/pion/transport/v4 v4.0.2
go: downloading github.com/prometheus/client_golang v1.17.0
go: downloading golang.org/x/sync v0.24.0
go: downloading github.com/lmittmann/tint v1.1.3
go: downloading github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.20.18
go: downloading github.com/wlynxg/anet v0.0.5
go: downloading google.golang.org/protobuf v1.36.10
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/prometheus/common v0.45.0
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/procfs v0.12.0
go: downloading github.com/pion/randutil v0.1.0
go: downloading github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0
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 golang.org/x/crypto/x509roots/fallback v0.0.0-20260209214922-2f26647a795e
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/memory v1.11.0
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.015s
?   	amadan.net/carlos/platform.git/launchctx/controlname	[no test files]
?   	amadan.net/carlos/platform.git/launchctx/wireid	[no test files]
=== vet (170 s, from +0 s)
go: downloading modernc.org/sqlite v1.55.0
go: downloading github.com/klauspost/compress v1.20.2
go: downloading golang.org/x/crypto/x509roots/fallback v0.0.0-20260209214922-2f26647a795e
go: downloading github.com/pierrec/lz4/v4 v4.1.22
go: downloading github.com/aws/aws-sdk-go-v2/service/ecs v1.91.0
go: downloading modernc.org/libc v1.74.1
go: downloading github.com/dustin/go-humanize v1.0.1
go: downloading modernc.org/mathutil v1.7.1
go: downloading github.com/google/uuid v1.6.0
go: downloading github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec
=== vet-tags (188 s, from +0 s)
go: downloading github.com/klauspost/compress v1.20.2
go: downloading modernc.org/sqlite v1.55.0
go: downloading golang.org/x/crypto/x509roots/fallback v0.0.0-20260209214922-2f26647a795e
go: downloading github.com/aws/aws-sdk-go-v2/service/ecs v1.91.0
go: downloading github.com/pierrec/lz4/v4 v4.1.22
go: downloading modernc.org/libc v1.74.1
go: downloading modernc.org/mathutil v1.7.1
=== gofmt (1 s, from +0 s)
gofmt -l .: clean
=== rest (385 s, from +14 s)
ok  	github.com/carlosframework/platform/cmd/carlos-media	121.662s
?   	github.com/carlosframework/platform/cmd/changelog	[no test files]
ok  	github.com/carlosframework/platform/cmd/console	199.734s
ok  	github.com/carlosframework/platform/cmd/mediaimage	44.221s
ok  	github.com/carlosframework/platform/cmd/moveprobe	14.563s
ok  	github.com/carlosframework/platform/cmd/pricebook-export	0.033s
ok  	github.com/carlosframework/platform/cmd/rootfswitness	0.164s
ok  	github.com/carlosframework/platform/cmd/runsc-assets	0.258s
ok  	github.com/carlosframework/platform/cmd/zddprobe	1.050s
ok  	github.com/carlosframework/platform/internal/agentsock	0.067s
ok  	github.com/carlosframework/platform/internal/alerting	0.026s
ok  	github.com/carlosframework/platform/internal/analytics	0.305s
ok  	github.com/carlosframework/platform/internal/appconfig	43.523s
ok  	github.com/carlosframework/platform/internal/apperr	0.359s
ok  	github.com/carlosframework/platform/internal/applog	0.544s
ok  	github.com/carlosframework/platform/internal/apppolicy	2.391s
ok  	github.com/carlosframework/platform/internal/assetcache	0.623s
ok  	github.com/carlosframework/platform/internal/awsinv	0.017s
ok  	github.com/carlosframework/platform/internal/awsmanaged	0.434s
ok  	github.com/carlosframework/platform/internal/awsregiongroup	0.277s
ok  	github.com/carlosframework/platform/internal/awsterminations	0.033s
ok  	github.com/carlosframework/platform/internal/backupswords	0.020s
ok  	github.com/carlosframework/platform/internal/billing	0.078s
ok  	github.com/carlosframework/platform/internal/billing/billingtest	0.046s
ok  	github.com/carlosframework/platform/internal/billingstripe	1.938s
ok  	github.com/carlosframework/platform/internal/boxchoice	0.030s
ok  	github.com/carlosframework/platform/internal/boxid	3.087s
?   	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.017s
ok  	github.com/carlosframework/platform/internal/boxself	0.238s
ok  	github.com/carlosframework/platform/internal/boxvolumes	0.040s
ok  	github.com/carlosframework/platform/internal/caps	0.129s
ok  	github.com/carlosframework/platform/internal/certwarm	0.022s
ok  	github.com/carlosframework/platform/internal/cgroup	1.475s
ok  	github.com/carlosframework/platform/internal/changelog	4.190s
ok  	github.com/carlosframework/platform/internal/clamd	0.099s
?   	github.com/carlosframework/platform/internal/cliflag	[no test files]
ok  	github.com/carlosframework/platform/internal/clireg	0.012s
ok  	github.com/carlosframework/platform/internal/codehealth	17.707s
ok  	github.com/carlosframework/platform/internal/compute	0.006s
?   	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.719s
ok  	github.com/carlosframework/platform/internal/dbdoor/dbdoortest	0.044s
ok  	github.com/carlosframework/platform/internal/dbquery	0.060s
ok  	github.com/carlosframework/platform/internal/dbreads	3.000s
?   	github.com/carlosframework/platform/internal/dbreads/dbreadstest	[no test files]
ok  	github.com/carlosframework/platform/internal/dbverify	0.045s
ok  	github.com/carlosframework/platform/internal/demo	0.010s
ok  	github.com/carlosframework/platform/internal/demobuild	3.059s
ok  	github.com/carlosframework/platform/internal/democlaim	0.416s
ok  	github.com/carlosframework/platform/internal/devbox	18.730s
ok  	github.com/carlosframework/platform/internal/dnsrec	0.013s
ok  	github.com/carlosframework/platform/internal/docsite	0.073s
ok  	github.com/carlosframework/platform/internal/domainreg	0.025s
ok  	github.com/carlosframework/platform/internal/domains	68.732s
ok  	github.com/carlosframework/platform/internal/doorkey	0.023s
ok  	github.com/carlosframework/platform/internal/economics	0.020s
ok  	github.com/carlosframework/platform/internal/edgefence	0.157s
ok  	github.com/carlosframework/platform/internal/edgeguard	0.255s
?   	github.com/carlosframework/platform/internal/edgeproof	[no test files]
ok  	github.com/carlosframework/platform/internal/edgesfile	0.102s
ok  	github.com/carlosframework/platform/internal/egressaddr	0.009s
ok  	github.com/carlosframework/platform/internal/execsandbox	95.721s
ok  	github.com/carlosframework/platform/internal/fileacl	0.011s
ok  	github.com/carlosframework/platform/internal/fleetapi	2.299s
ok  	github.com/carlosframework/platform/internal/fleetstore	0.006s
ok  	github.com/carlosframework/platform/internal/fxrate	0.031s
ok  	github.com/carlosframework/platform/internal/gate	4.134s
ok  	github.com/carlosframework/platform/internal/genselect	0.075s
ok  	github.com/carlosframework/platform/internal/geo	0.056s
ok  	github.com/carlosframework/platform/internal/geoip	0.166s
ok  	github.com/carlosframework/platform/internal/groupadmission	0.007s
ok  	github.com/carlosframework/platform/internal/grouprollaws	17.660s
ok  	github.com/carlosframework/platform/internal/hadeparture	0.026s
ok  	github.com/carlosframework/platform/internal/hafresh	0.010s
ok  	github.com/carlosframework/platform/internal/hairpin	0.214s
ok  	github.com/carlosframework/platform/internal/historyreadback	0.898s
ok  	github.com/carlosframework/platform/internal/hostactors	24.450s
ok  	github.com/carlosframework/platform/internal/hostbox	24.004s
ok  	github.com/carlosframework/platform/internal/hostclaim	3.070s
ok  	github.com/carlosframework/platform/internal/hostenv	0.057s
ok  	github.com/carlosframework/platform/internal/hostevidence	0.025s
ok  	github.com/carlosframework/platform/internal/hostexec	24.709s
ok  	github.com/carlosframework/platform/internal/hostfence	0.146s
ok  	github.com/carlosframework/platform/internal/hostfiles	27.805s
ok  	github.com/carlosframework/platform/internal/hostfloor	0.069s
ok  	github.com/carlosframework/platform/internal/hostguard	1.523s
ok  	github.com/carlosframework/platform/internal/hostops	7.188s
?   	github.com/carlosframework/platform/internal/hostops/fencerelease	[no test files]
ok  	github.com/carlosframework/platform/internal/hostops/internal/fencerelease	0.017s
ok  	github.com/carlosframework/platform/internal/hostquarantine	0.022s
ok  	github.com/carlosframework/platform/internal/hostrelocate	2.293s
ok  	github.com/carlosframework/platform/internal/hostresolve	0.885s
ok  	github.com/carlosframework/platform/internal/hostwrite	0.006s
ok  	github.com/carlosframework/platform/internal/infraview	0.005s
ok  	github.com/carlosframework/platform/internal/ingresshealth	0.011s
ok  	github.com/carlosframework/platform/internal/ingresshealth/awstg	0.019s
ok  	github.com/carlosframework/platform/internal/instancectl	55.992s
ok  	github.com/carlosframework/platform/internal/instanceexec	8.587s
ok  	github.com/carlosframework/platform/internal/instancefs	0.033s
ok  	github.com/carlosframework/platform/internal/instancekey	0.019s
ok  	github.com/carlosframework/platform/internal/instanceupdates	0.048s
ok  	github.com/carlosframework/platform/internal/interactive	0.671s
ok  	github.com/carlosframework/platform/internal/launchd	0.013s
ok  	github.com/carlosframework/platform/internal/layout	23.925s
ok  	github.com/carlosframework/platform/internal/layout/pubclass	102.222s
ok  	github.com/carlosframework/platform/internal/lbhealth	0.028s
ok  	github.com/carlosframework/platform/internal/lease	146.413s
ok  	github.com/carlosframework/platform/internal/lease/leasetest	1.249s
ok  	github.com/carlosframework/platform/internal/lease/locktest	0.020s
ok  	github.com/carlosframework/platform/internal/ledger	0.066s
ok  	github.com/carlosframework/platform/internal/mail	1.424s
ok  	github.com/carlosframework/platform/internal/mailer	0.855s
ok  	github.com/carlosframework/platform/internal/mailsubmit	1.959s
ok  	github.com/carlosframework/platform/internal/mailwire	0.009s
ok  	github.com/carlosframework/platform/internal/maintenance	0.150s
ok  	github.com/carlosframework/platform/internal/maintenanceexec	8.826s
ok  	github.com/carlosframework/platform/internal/maintenanceguard	0.347s
ok  	github.com/carlosframework/platform/internal/media	1.755s
ok  	github.com/carlosframework/platform/internal/media/mediatest	0.012s
ok  	github.com/carlosframework/platform/internal/mediaaws	64.647s
ok  	github.com/carlosframework/platform/internal/mediahandler	45.743s
ok  	github.com/carlosframework/platform/internal/mediajobs	1.033s
ok  	github.com/carlosframework/platform/internal/medialocal	10.355s
ok  	github.com/carlosframework/platform/internal/metrics	0.107s
ok  	github.com/carlosframework/platform/internal/minorunits	0.009s
ok  	github.com/carlosframework/platform/internal/moves	57.570s
ok  	github.com/carlosframework/platform/internal/moves/archive	3.232s
ok  	github.com/carlosframework/platform/internal/moves/offlinerun	0.084s
ok  	github.com/carlosframework/platform/internal/namedunits	0.048s
ok  	github.com/carlosframework/platform/internal/objstore	1.662s
ok  	github.com/carlosframework/platform/internal/ops	16.306s
ok  	github.com/carlosframework/platform/internal/pageindex	3.917s
ok  	github.com/carlosframework/platform/internal/parity	0.113s
?   	github.com/carlosframework/platform/internal/parity/cmd/parity-doc	[no test files]
ok  	github.com/carlosframework/platform/internal/park	0.528s
ok  	github.com/carlosframework/platform/internal/perf	0.187s
ok  	github.com/carlosframework/platform/internal/plans	0.136s
ok  	github.com/carlosframework/platform/internal/privatefile	0.014s
ok  	github.com/carlosframework/platform/internal/provision	243.124s
ok  	github.com/carlosframework/platform/internal/proxyproto	0.949s
ok  	github.com/carlosframework/platform/internal/publicrelease	0.062s
ok  	github.com/carlosframework/platform/internal/ratelimit	0.159s
ok  	github.com/carlosframework/platform/internal/regionlabel	0.075s
ok  	github.com/carlosframework/platform/internal/regionname	0.037s
ok  	github.com/carlosframework/platform/internal/registrar	0.009s
ok  	github.com/carlosframework/platform/internal/registrar/openprovider	0.275s
?   	github.com/carlosframework/platform/internal/registrar/registrartest	[no test files]
ok  	github.com/carlosframework/platform/internal/registry	86.279s
ok  	github.com/carlosframework/platform/internal/relay	7.816s
ok  	github.com/carlosframework/platform/internal/release	90.103s
ok  	github.com/carlosframework/platform/internal/replicagen	0.023s
ok  	github.com/carlosframework/platform/internal/replicas	0.094s
ok  	github.com/carlosframework/platform/internal/reqrec	6.077s
ok  	github.com/carlosframework/platform/internal/rollout	12.895s
ok  	github.com/carlosframework/platform/internal/rolloutwords	0.015s
ok  	github.com/carlosframework/platform/internal/rootaws	102.463s
ok  	github.com/carlosframework/platform/internal/rootfsimage	0.887s
ok  	github.com/carlosframework/platform/internal/rootparticipation	0.105s
ok  	github.com/carlosframework/platform/internal/rootstate	0.060s
ok  	github.com/carlosframework/platform/internal/runs	0.670s
ok  	github.com/carlosframework/platform/internal/s3compat	0.021s
ok  	github.com/carlosframework/platform/internal/s3fake	1.773s
ok  	github.com/carlosframework/platform/internal/safefile	0.060s
ok  	github.com/carlosframework/platform/internal/schedule	24.919s
ok  	github.com/carlosframework/platform/internal/seeds	0.076s
ok  	github.com/carlosframework/platform/internal/sim/litestreamfacts	5.189s
ok  	github.com/carlosframework/platform/internal/sim/mediajobs	49.420s
ok  	github.com/carlosframework/platform/internal/sim/regionha	24.404s
ok  	github.com/carlosframework/platform/internal/status	0.967s
ok  	github.com/carlosframework/platform/internal/steering	0.480s
ok  	github.com/carlosframework/platform/internal/stopevidence	0.886s
ok  	github.com/carlosframework/platform/internal/storecfg	0.649s
ok  	github.com/carlosframework/platform/internal/svcrole	0.028s
ok  	github.com/carlosframework/platform/internal/systemd	6.898s
?   	github.com/carlosframework/platform/internal/systemdshow	[no test files]
ok  	github.com/carlosframework/platform/internal/team	4.557s
ok  	github.com/carlosframework/platform/internal/teamcontract	0.428s
ok  	github.com/carlosframework/platform/internal/telemetry	0.043s
ok  	github.com/carlosframework/platform/internal/termfence	3.816s
ok  	github.com/carlosframework/platform/internal/timerspec	0.014s
ok  	github.com/carlosframework/platform/internal/tsidentity	4.155s
ok  	github.com/carlosframework/platform/internal/tunnelclient	0.380s
ok  	github.com/carlosframework/platform/internal/unixdial	0.016s
ok  	github.com/carlosframework/platform/internal/updatewords	0.029s
ok  	github.com/carlosframework/platform/internal/upstreamguard	0.019s
?   	github.com/carlosframework/platform/internal/upstreamguard/guardtest	[no test files]
ok  	github.com/carlosframework/platform/internal/usage	0.033s
ok  	github.com/carlosframework/platform/internal/version	0.014s
ok  	github.com/carlosframework/platform/internal/vet	3.318s
ok  	github.com/carlosframework/platform/internal/zonehost	0.022s
ok  	github.com/carlosframework/platform/internal/zonehost/route53zones	0.067s
?   	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.031s
ok  	github.com/carlosframework/platform/scripts/pathmapcheck	0.064s
ok  	github.com/carlosframework/platform/scripts/region-ha-g2/fixture	5.221s
ok  	github.com/carlosframework/platform/scripts/stateless-replicas-drill	1.247s
ok  	github.com/carlosframework/platform/scripts/witness-pointer	0.021s
=== cutover-witness (153 s, from +14 s)
ok  	github.com/carlosframework/platform	4.488s
=== internal_grouproll@0 (276 s, from +74 s)
ok  	github.com/carlosframework/platform/internal/grouproll	274.916s
=== internal_grouproll@1 (280 s, from +74 s)
ok  	github.com/carlosframework/platform/internal/grouproll	279.347s
=== internal_activator@0 (147 s, from +142 s)
ok  	github.com/carlosframework/platform/internal/activator	141.996s
=== internal_activator@1 (136 s, from +142 s)
ok  	github.com/carlosframework/platform/internal/activator	130.140s
=== internal_activator@2 (141 s, from +142 s)
ok  	github.com/carlosframework/platform/internal/activator	135.066s
=== internal_activator@3 (172 s, from +142 s)
ok  	github.com/carlosframework/platform/internal/activator	166.866s
=== root@0 (127 s, from +162 s)
ok  	github.com/carlosframework/platform	115.812s
=== root@1 (114 s, from +162 s)
ok  	github.com/carlosframework/platform	102.296s
=== root@2 (132 s, from +162 s)
ok  	github.com/carlosframework/platform	119.342s
=== root@3 (120 s, from +162 s)
ok  	github.com/carlosframework/platform	106.744s
=== root@4 (110 s, from +162 s)
ok  	github.com/carlosframework/platform	99.627s
=== internal_edge@0 (243 s, from +175 s)
ok  	github.com/carlosframework/platform/internal/edge	233.323s
=== internal_edge@1 (134 s, from +175 s)
ok  	github.com/carlosframework/platform/internal/edge	125.683s
=== internal_edge@2 (169 s, from +175 s)
ok  	github.com/carlosframework/platform/internal/edge	159.981s
=== internal_edge@3 (159 s, from +175 s)
ok  	github.com/carlosframework/platform/internal/edge	149.704s
=== internal_host@0 (135 s, from +213 s)
ok  	github.com/carlosframework/platform/internal/host	131.124s
=== internal_host@1 (282 s, from +213 s)
ok  	github.com/carlosframework/platform/internal/host	277.712s
=== internal_host@2 (251 s, from +213 s)
ok  	github.com/carlosframework/platform/internal/host	246.862s
=== internal_host@3 (209 s, from +213 s)
ok  	github.com/carlosframework/platform/internal/host	205.109s
=== internal_host@4 (126 s, from +213 s)
ok  	github.com/carlosframework/platform/internal/host	121.928s
=== internal_host@5 (164 s, from +213 s)
ok  	github.com/carlosframework/platform/internal/host	160.373s
=== internal_console@0 (156 s, from +220 s)
ok  	github.com/carlosframework/platform/internal/console	148.506s
=== internal_console@1 (161 s, from +220 s)
ok  	github.com/carlosframework/platform/internal/console	153.273s
=== internal_console@2 (206 s, from +220 s)
ok  	github.com/carlosframework/platform/internal/console	199.723s
=== internal_console@3 (241 s, from +220 s)
ok  	github.com/carlosframework/platform/internal/console	232.634s
=== internal_console@4 (189 s, from +220 s)
ok  	github.com/carlosframework/platform/internal/console	182.204s
=== internal_console@5 (193 s, from +220 s)
ok  	github.com/carlosframework/platform/internal/console	186.531s
=== internal_console@6 (221 s, from +220 s)
ok  	github.com/carlosframework/platform/internal/console	213.517s
=== internal_console@7 (201 s, from +220 s)
ok  	github.com/carlosframework/platform/internal/console	193.879s
=== internal_console@8 (213 s, from +220 s)
ok  	github.com/carlosframework/platform/internal/console	205.794s
=== internal_console@9 (204 s, from +220 s)
ok  	github.com/carlosframework/platform/internal/console	196.523s
=== internal_console@10 (215 s, from +220 s)
ok  	github.com/carlosframework/platform/internal/console	208.589s
=== internal_console@11 (202 s, from +221 s)
ok  	github.com/carlosframework/platform/internal/console	196.078s
=== internal_console@12 (305 s, from +221 s)
ok  	github.com/carlosframework/platform/internal/console	298.010s
=== internal_console@13 (195 s, from +221 s)
ok  	github.com/carlosframework/platform/internal/console	187.515s
=== internal_console@14 (196 s, from +221 s)
ok  	github.com/carlosframework/platform/internal/console	189.572s
=== internal_console@15 (208 s, from +221 s)
ok  	github.com/carlosframework/platform/internal/console	201.278s
=== internal_console@16 (199 s, from +221 s)
ok  	github.com/carlosframework/platform/internal/console	192.279s
=== internal_console@17 (225 s, from +221 s)
ok  	github.com/carlosframework/platform/internal/console	218.452s
=== internal_console@18 (236 s, from +221 s)
ok  	github.com/carlosframework/platform/internal/console	228.643s
=== internal_console@19 (231 s, from +221 s)
ok  	github.com/carlosframework/platform/internal/console	224.893s
=== internal_console@20 (193 s, from +221 s)
ok  	github.com/carlosframework/platform/internal/console	184.883s
=== internal_console@21 (216 s, from +221 s)
ok  	github.com/carlosframework/platform/internal/console	209.188s
=== internal_console@22 (206 s, from +221 s)
ok  	github.com/carlosframework/platform/internal/console	199.962s
=== internal_console@23 (222 s, from +221 s)
ok  	github.com/carlosframework/platform/internal/console	215.196s
=== lists: internal_console 219 s, internal_edge 173 s, internal_activator 141 s, internal_host 212 s, root 161 s, internal_grouproll 73 s
=== cpu: the gate used 12510 cpu-seconds in 526 s, about 23.8 of 32 cores; the machine as a whole was 79% busy
=== opentofu ===
opentofu: 36 test files in 11 suites, OpenTofu v1.13.9
  initialised in 14 s
  ok      17 s  infra/modules/box-fence-writer/tests/writer.tftest.hcl  Success! 1 passed, 0 failed.
  ok      30 s  infra/modules/deployment-buckets/tests/data_lifecycle.tftest.hcl  Success! 3 passed, 0 failed.
  ok      19 s  infra/modules/deployment-buckets/tests/db_reads.tftest.hcl  Success! 1 passed, 0 failed.
  ok      20 s  infra/modules/deployment-buckets/tests/evidence.tftest.hcl  Success! 1 passed, 0 failed.
  ok      30 s  infra/modules/deployment-buckets/tests/fence_writers.tftest.hcl  Success! 3 passed, 0 failed.
  ok      83 s  infra/modules/media-engine/tests/media_engine.tftest.hcl  Success! 24 passed, 0 failed.
  ok      36 s  infra/modules/pdf-host/tests/computed.tftest.hcl  Success! 2 passed, 0 failed.
  ok      72 s  infra/modules/pdf-host/tests/pdf_host.tftest.hcl  Success! 24 passed, 0 failed.
  ok      45 s  infra/modules/region-group-operator-document/tests/document.tftest.hcl  Success! 12 passed, 0 failed.
  ok      20 s  infra/modules/region-host/ingress/tests/fixed-targets/tests/targets.tftest.hcl  Success! 2 passed, 0 failed.
  ok      64 s  infra/modules/region-host/ingress/tests/group_ingress.tftest.hcl  Success! 30 passed, 0 failed.
  ok      43 s  infra/modules/region-host/tests/alert_publish.tftest.hcl  Success! 18 passed, 0 failed.
  ok      42 s  infra/modules/region-host/tests/alerts_topic.tftest.hcl  Success! 16 passed, 0 failed.
  ok      13 s  infra/modules/region-host/tests/analytics_prune.tftest.hcl  Success! 2 passed, 0 failed.
  ok      18 s  infra/modules/region-host/tests/console_mail.tftest.hcl  Success! 4 passed, 0 failed.
  ok       9 s  infra/modules/region-host/tests/fixed_state_unchanged.tftest.hcl  Success! 1 passed, 0 failed.
  ok      66 s  infra/modules/region-host/tests/group.tftest.hcl  Success! 32 passed, 0 failed.
  ok      10 s  infra/modules/region-host/tests/group_alarms.tftest.hcl  Success! 4 passed, 0 failed.
  ok      10 s  infra/modules/region-host/tests/group_iam.tftest.hcl  Success! 4 passed, 0 failed.
  ok       5 s  infra/modules/region-host/tests/group_isolation.tftest.hcl  Success! 1 passed, 0 failed.
  ok      33 s  infra/modules/region-host/tests/group_operator.tftest.hcl  Success! 13 passed, 0 failed.
  ok       9 s  infra/modules/region-host/tests/group_user_data.tftest.hcl  Success! 3 passed, 0 failed.
  ok      27 s  infra/modules/region-host/tests/health_alarms.tftest.hcl  Success! 10 passed, 0 failed.
  ok      10 s  infra/modules/region-host/tests/ingress_drain_read.tftest.hcl  Success! 4 passed, 0 failed.
  ok       6 s  infra/modules/region-host/tests/instance_metadata.tftest.hcl  Success! 1 passed, 0 failed.
  ok      19 s  infra/modules/region-host/tests/mailer.tftest.hcl  Success! 6 passed, 0 failed.
  ok      10 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     112 s  infra/modules/region-host/tests/managed_fleets/managed_fleets.tftest.hcl  Success! 46 passed, 0 failed.
  ok      74 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      32 s  infra/modules/region-host/tests/store_versioning.tftest.hcl  Success! 11 passed, 0 failed.
  ok      21 s  infra/modules/region-host/tests/user_data_ignored.tftest.hcl  Success! 3 passed, 0 failed.
  ok      14 s  infra/modules/region-remote-host/tests/data_lifecycle.tftest.hcl  Success! 3 passed, 0 failed.
  ok      17 s  infra/modules/region-remote-host/tests/no_deployment_bucket.tftest.hcl  Success! 5 passed, 0 failed.
  ok      27 s  infra/modules/scanner-host/tests/scanner_host.tftest.hcl  Success! 14 passed, 0 failed.
opentofu: 36 files in 210 s
opentofu: PASS
=== cross ===
--- shard 0 of 5 ---
go version go1.26.10 linux/arm64
cross-compiling darwin/arm64
--- shard 1 of 5 ---
go version go1.26.10 linux/arm64
cross-compiling darwin/amd64
--- shard 2 of 5 ---
go version go1.26.10 linux/arm64
cross-compiling linux/arm64
linux/arm64 carlos binary: 65863842 bytes (ceiling 70000000)
--- shard 3 of 5 ---
go version go1.26.10 linux/arm64
cross-compiling windows/amd64
--- shard 4 of 5 ---
go version go1.26.10 linux/arm64
cross-compiling windows/arm64
=== minio-contract ===
go version go1.26.10 linux/arm64
minio contract: arm64, minio RELEASE.2025-09-07T16-13-09Z, mc RELEASE.2025-08-13T08-35-41Z
  minio: downloading https://carlos-ci-mirror-640012953448.s3.eu-west-1.amazonaws.com/minio/minio.linux-arm64.RELEASE.2025-09-07T16-13-09Z
  minio: downloaded, digest verified
  mc: downloading https://carlos-ci-mirror-640012953448.s3.eu-west-1.amazonaws.com/minio/mc.linux-arm64.RELEASE.2025-08-13T08-35-41Z
  mc: downloaded, digest verified
  minio healthy on 127.0.0.1:32003
Added `local` successfully.
Bucket created successfully `local/contract-bucket`.
Bucket created successfully `local/denied-bucket`.
Created policy `contract-only` successfully.
Added user `scopeduser` successfully.
Attached Policies: [contract-only]
To User: scopeduser
  buckets and scoped user ready
=== RUN   TestDeliveredContractMinio
=== RUN   TestDeliveredContractMinio/put
=== RUN   TestDeliveredContractMinio/get_round-trips_the_body
=== RUN   TestDeliveredContractMinio/list_shows_the_key
=== RUN   TestDeliveredContractMinio/head_and_list_agree_on_the_version
=== RUN   TestDeliveredContractMinio/the_app_cannot_tag_its_own_object
=== RUN   TestDeliveredContractMinio/the_app_cannot_tag_its_own_object/not_by_PutObjectTagging
=== RUN   TestDeliveredContractMinio/the_app_cannot_tag_its_own_object/and_not_by_x-amz-tagging_on_upload
=== RUN   TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route
=== RUN   TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route/not_by_CreateMultipartUpload
=== RUN   TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route/not_by_CopyObject_with_a_REPLACE_tagging_directive
=== RUN   TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route/but_multipart_itself_is_allowed
=== RUN   TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route/and_copy_itself_is_allowed
=== RUN   TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route/a_POST-policy_forged_tag_with_a_matching_version_is_still_not_a_verdict
=== RUN   TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route/and_an_ordinary_tagged-with-something-else_upload_is_allowed
=== RUN   TestDeliveredContractMinio/delete_removes_it
=== RUN   TestDeliveredContractMinio/cross-bucket_denial
--- PASS: TestDeliveredContractMinio (0.03s)
    --- PASS: TestDeliveredContractMinio/put (0.00s)
    --- PASS: TestDeliveredContractMinio/get_round-trips_the_body (0.00s)
    --- PASS: TestDeliveredContractMinio/list_shows_the_key (0.00s)
    --- PASS: TestDeliveredContractMinio/head_and_list_agree_on_the_version (0.00s)
    --- PASS: TestDeliveredContractMinio/the_app_cannot_tag_its_own_object (0.00s)
        --- PASS: TestDeliveredContractMinio/the_app_cannot_tag_its_own_object/not_by_PutObjectTagging (0.00s)
        --- PASS: TestDeliveredContractMinio/the_app_cannot_tag_its_own_object/and_not_by_x-amz-tagging_on_upload (0.00s)
    --- PASS: TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route (0.01s)
        --- PASS: TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route/not_by_CreateMultipartUpload (0.00s)
        --- PASS: TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route/not_by_CopyObject_with_a_REPLACE_tagging_directive (0.00s)
        --- PASS: TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route/but_multipart_itself_is_allowed (0.00s)
        --- PASS: TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route/and_copy_itself_is_allowed (0.00s)
        --- PASS: TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route/a_POST-policy_forged_tag_with_a_matching_version_is_still_not_a_verdict (0.00s)
        --- PASS: TestDeliveredContractMinio/the_app_cannot_tag_by_any_other_route/and_an_ordinary_tagged-with-something-else_upload_is_allowed (0.00s)
    --- PASS: TestDeliveredContractMinio/delete_removes_it (0.00s)
    --- PASS: TestDeliveredContractMinio/cross-bucket_denial (0.00s)
PASS
ok  	github.com/carlosframework/platform/internal/objstore	0.037s
=== RUN   TestT4StorageProbeMinio
2026/11/23 12:16:10 moves: T4: STORE: list: operation error S3: ListObjectsV2, https response error StatusCode: 403, RequestID: 18EAABAF4BD683F4, HostID: 4aa4db92fd5687374eb09ce5f9f9e45c2d5edc19a849c3a97695bcff39743136, api error SignatureDoesNotMatch: The request signature we calculated does not match the signature you provided. Check your key and signing method.
--- PASS: TestT4StorageProbeMinio (0.01s)
PASS
ok  	github.com/carlosframework/platform/internal/host	0.046s
=== RUN   TestS3StoreMinioContract
=== RUN   TestS3StoreMinioContract/conditional_get_and_etag_listing
=== RUN   TestS3StoreMinioContract/bump_through_every_mutation_path
--- PASS: TestS3StoreMinioContract (0.04s)
    --- PASS: TestS3StoreMinioContract/conditional_get_and_etag_listing (0.01s)
    --- PASS: TestS3StoreMinioContract/bump_through_every_mutation_path (0.02s)
PASS
ok  	github.com/carlosframework/platform/internal/release	0.043s
Bucket created successfully `local/analytics-versions`.
local/analytics-versions versioning is enabled
Created policy `analytics-versions` successfully.
Added user `analyticsversions` successfully.
Attached Policies: [analytics-versions]
To User: analyticsversions
=== RUN   TestS3StoreMinioVersions
--- PASS: TestS3StoreMinioVersions (0.03s)
PASS
ok  	github.com/carlosframework/platform/internal/release	0.041s
Bucket created successfully `local/store-versioned`.
local/store-versioned versioning is enabled
Created policy `store-versioned` successfully.
Added user `storeversioned` successfully.
Attached Policies: [store-versioned]
To User: storeversioned
=== RUN   TestVersionedContractMinio
--- PASS: TestVersionedContractMinio (0.01s)
PASS
ok  	github.com/carlosframework/platform/internal/objstore	0.020s
=== RUN   TestEndToEndMinio
=== RUN   TestEndToEndMinio/plan
=== RUN   TestEndToEndMinio/roll
=== RUN   TestEndToEndMinio/replace
=== RUN   TestEndToEndMinio/remove
--- PASS: TestEndToEndMinio (0.48s)
    --- PASS: TestEndToEndMinio/plan (0.01s)
    --- PASS: TestEndToEndMinio/roll (0.13s)
    --- PASS: TestEndToEndMinio/replace (0.16s)
    --- PASS: TestEndToEndMinio/remove (0.16s)
PASS
ok  	github.com/carlosframework/platform/internal/grouproll	0.489s
Bucket created successfully `local/dbf-deploy`.
Bucket created successfully `local/dbf-data-ie`.
Bucket created successfully `local/dbf-data-uk`.
local/dbf-deploy versioning is enabled
Created policy `dbf-console` successfully.
Created policy `dbf-ukbox` successfully.
Added user `dbfconsole` successfully.
Added user `dbfukbox` successfully.
Attached Policies: [dbf-console]
To User: dbfconsole
Attached Policies: [dbf-ukbox]
To User: dbfukbox
=== RUN   TestDBForwardMinio
2026/11/23 12:16:18 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000000 txid.db=0000000000000001
2026/11/23 12:16:18 INFO ltx file uploaded system=store db=source.db replica=file level=0 minTXID=0000000000000001 maxTXID=0000000000000001 size=720
2026/11/23 12:16:18 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000001 txid.db=0000000000000001
2026/11/23 12:16:18 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000001 txid.db=0000000000000002
2026/11/23 12:16:18 INFO ltx file uploaded system=store db=source.db replica=file level=0 minTXID=0000000000000002 maxTXID=0000000000000002 size=370
2026/11/23 12:16:18 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000002 txid.db=0000000000000002
2026/11/23 12:16:18 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000002 txid.db=0000000000000003
2026/11/23 12:16:18 INFO ltx file uploaded system=store db=source.db replica=file level=0 minTXID=0000000000000003 maxTXID=0000000000000003 size=454
2026/11/23 12:16:18 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000003 txid.db=0000000000000003
2026/11/23 12:16:18 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000000 txid.db=0000000000000001
2026/11/23 12:16:18 INFO ltx file uploaded system=store db=source.db replica=file level=0 minTXID=0000000000000001 maxTXID=0000000000000001 size=720
2026/11/23 12:16:18 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000001 txid.db=0000000000000001
2026/11/23 12:16:18 console: CARLOS_SECRETS_PUBKEY is unset, so no region outside the home can be chosen automatically
2026/11/23 12:16:18 console: could not notify member@example.com of a CLI token issue: keymail: lookup member@example.com: keymail: GET /api/federation/lookup?addr=member%40example.com&from=console%40127.0.0.1%3A35953: could not determine target mailbox
    agent.go:136: dbreads: dbr_3dgwoyieq2ptl3zgchkxn7gkyq: planned 1 files (720 bytes) and restored to 1 in 12ms
    agent.go:136: dbreads: dbr_3dgwoyieq2ptl3zgchkxn7gkyq: output 5 bytes in 1 confirmed chunks in 2ms
2026/11/23 12:16:19 console: db read dbr_3dgwoyieq2ptl3zgchkxn7gkyq: relayed 1 chunks (102 bytes) in 1.005s, ended done
    agent.go:136: dbreads: dbr_k752inglpcftdyhjejf32dhqta: planned 3 files (1544 bytes) and restored to 3 in 14ms
    agent.go:136: dbreads: dbr_k752inglpcftdyhjejf32dhqta: output 5 bytes in 1 confirmed chunks in 2ms
2026/11/23 12:16:20 console: db read dbr_k752inglpcftdyhjejf32dhqta: relayed 1 chunks (102 bytes) in 1.005s, ended done
    agent.go:136: dbreads: dbr_hjgmkh2aglj75v4d4ynamjnite: planned 3 files (1544 bytes) and held through 3 in 14ms
    agent.go:136: dbreads: dbr_hjgmkh2aglj75v4d4ynamjnite: output 1544 bytes in 1 confirmed chunks in 1ms
2026/11/23 12:16:21 console: db read dbr_hjgmkh2aglj75v4d4ynamjnite: relayed 1 chunks (1641 bytes) in 1.005s, ended done
=== RUN   TestDBForwardMinio/by_disconnect
=== NAME  TestDBForwardMinio
    agent.go:136: dbreads: dbr_azretldgp5jntdabjabsxc256m: planned 3 files (1544 bytes) and restored to 3 in 15ms
2026/11/23 12:16:21 console: db read dbr_azretldgp5jntdabjabsxc256m: relayed 0 chunks (0 bytes) in 35ms, ended client gone
    agent.go:136: dbreads: dbr_azretldgp5jntdabjabsxc256m: output 5 bytes in 1 confirmed chunks in 105ms
=== RUN   TestDBForwardMinio/by_timeout
=== NAME  TestDBForwardMinio
    agent.go:136: dbreads: dbr_jb4glxvqe322ablwzzbyuw5pt4: planned 3 files (1544 bytes) and restored to 3 in 14ms
2026/11/23 12:16:41 console: db read dbr_jb4glxvqe322ablwzzbyuw5pt4: relayed 0 chunks (0 bytes) in 19.239s, ended no-result
    agent.go:136: dbreads: dbr_jb4glxvqe322ablwzzbyuw5pt4: output 5 bytes in 1 confirmed chunks in 19.212s
--- PASS: TestDBForwardMinio (22.92s)
    --- PASS: TestDBForwardMinio/by_disconnect (0.25s)
    --- PASS: TestDBForwardMinio/by_timeout (19.35s)
PASS
ok  	github.com/carlosframework/platform/internal/console	22.963s
Bucket created successfully `local/media-transfers`.
Bucket created successfully `local/media-transfer-results`.
Created policy `media-transfers` successfully.
Added user `mediatransfers` successfully.
Attached Policies: [media-transfers]
To User: mediatransfers
=== RUN   TestMediaTransfersMinio
    upload.go:117: codec: the store already holds video.mp4
    upload.go:117: codec: the store already holds video.m3u8
    upload.go:117: codec: the store already holds poster.jpg
--- PASS: TestMediaTransfersMinio (0.06s)
PASS
ok  	github.com/carlosframework/platform/internal/mediaaws	0.062s
Bucket created successfully `local/media-local-store`.
Bucket created successfully `local/media-local-results`.
Created policy `media-local` successfully.
Added user `medialocal` successfully.
Attached Policies: [media-local]
To User: medialocal
=== RUN   TestLocalEndToEndMinio
--- PASS: TestLocalEndToEndMinio (0.55s)
PASS
ok  	github.com/carlosframework/platform/internal/medialocal	0.550s
=== RUN   TestHeldHandoverTwoBoxMinio
2026/11/23 12:16:46 edge: mesh key: minted
2026/11/23 12:16:46 provision: minted sidecar route bot0.shop.bac.sidecar.internal (app "shop" acct "bac" args ["work"])
2026/11/23 12:16:46 provision: minted sidecar route bot0.shop.bac.sidecar.internal (app "shop" acct "bac" args ["work"])
2026/11/23 12:16:46 tenant admission is open. accepting tenant work
2026/11/23 12:16:46 activator: HA placement host=shop-281e1c8b.example.test kind=Place ref=annie reason=roomiest generation=2026-11-23T12:16:46Z lock_generation=0
2026/11/23 12:16:46 lease: t8-281e1c8b/shop-281e1c8b.example.test: HA lease acquired in 4ms (first wake)
2026/11/23 12:16:46 activator: shop-281e1c8b.example.test: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/23 12:16:46 activator: shop-281e1c8b.example.test: started carlos-instance@shop\x2d281e1c8b.example.test.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 6ms, control socket 0s, key gate 0s, logs 0s) 6ms, launch file 0s, gate 0s, root start 1ms)
2026/11/23 12:16:46 activator: shop-281e1c8b.example.test: carlos-instance@shop\x2d281e1c8b.example.test.service launched in 7ms, healthy 0s later
2026/11/23 12:16:46 activator: shop-281e1c8b.example.test: woke in 21ms: checks 0s, lease 5ms, restore 0s, identity 0s, protect 0s, spawn 7ms, replicate 8ms
2026/11/23 12:16:46 lease: t8-281e1c8b/plain-281e1c8b.example.test: acquired in 1ms (client 0s, lock read and write 1ms)
2026/11/23 12:16:46 activator: no replica for plain-281e1c8b.example.test in s3://contract-bucket/t8-281e1c8b/plain-281e1c8b.example.test — booting fresh
2026/11/23 12:16:46 activator: plain-281e1c8b.example.test: started carlos-instance@plain\x2d281e1c8b.example.test.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 1ms, instance key 0s, env 4ms, control socket 0s, key gate 0s, logs 0s) 5ms, launch file 0s, gate 0s, root start 1ms)
2026/11/23 12:16:46 activator: plain-281e1c8b.example.test: carlos-instance@plain\x2d281e1c8b.example.test.service launched in 7ms, healthy 0s later
2026/11/23 12:16:46 activator: plain-281e1c8b.example.test: woke in 94ms: checks 0s, lease 1ms, restore 19ms, identity 0s, protect 0s, spawn 7ms, replicate 66ms
2026/11/23 12:16:46 lease: t8-281e1c8b/bot0.shop.bac.sidecar.internal: HA lease acquired in 4ms (first wake)
2026/11/23 12:16:46 activator: bot0.shop.bac.sidecar.internal: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/23 12:16:46 activator: bot0.shop.bac.sidecar.internal: woke in 20ms: checks 0s, lease 4ms, restore 0s, identity 0s, protect 0s, spawn 7ms, settle 0s, replicate 8ms
2026/11/23 12:16:46 activator: next-due probe plain-281e1c8b.example.test: decode /api/next-due: invalid character 'a' looking for beginning of value — recording none (it sleeps until a request)
2026/11/23 12:16:46 activator: plain-281e1c8b.example.test hibernated
2026/11/23 12:16:46 activator: bot0.shop.bac.sidecar.internal: released with a marker (clean true, txid 1, files 3:e8cac54e5136521f16230ab2ab06338e0713830bb70ee0e40727e801724a6675) in 7ms: files 1ms, sync 3ms, record 1ms, marker 2ms
2026/11/23 12:16:46 activator: bot0.shop.bac.sidecar.internal hibernated
2026/11/23 12:16:46 activator: next-due probe shop-281e1c8b.example.test: decode /api/next-due: invalid character 'a' looking for beginning of value — recording none (it sleeps until a request)
2026/11/23 12:16:46 activator: shop-281e1c8b.example.test: released with a marker (clean true, txid 1, files 3:82eee819a0139a94a9aae2f79540729e2449c0e432e6d41fa5e86a3cbd397888) in 5ms: files 1ms, sync 2ms, record 1ms, marker 2ms
2026/11/23 12:16:46 activator: shop-281e1c8b.example.test hibernated
2026/11/23 12:16:46 lease: t8-281e1c8b/shop-281e1c8b.example.test: HA lease acquired in 3ms (clean marker)
2026/11/23 12:16:46 activator: shop-281e1c8b.example.test: restored (other-box)
2026/11/23 12:16:46 activator: shop-281e1c8b.example.test: started carlos-instance@shop\x2d281e1c8b.example.test.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 1ms, control socket 0s, key gate 0s, logs 0s) 1ms, launch file 0s, gate 0s, root start 1ms)
2026/11/23 12:16:46 activator: shop-281e1c8b.example.test: carlos-instance@shop\x2d281e1c8b.example.test.service launched in 2ms, healthy 0s later
2026/11/23 12:16:46 activator: shop-281e1c8b.example.test: woke in 87ms: checks 0s, lease 4ms, restore 24ms, identity 0s, protect 0s, spawn 2ms, replicate 57ms
2026/11/23 12:16:46 edge: ha-take shop-281e1c8b.example.test from annie (txn t8-witness, marker generation 1): holder betty, generation 2
2026/11/23 12:16:46 edge: forward shop-281e1c8b.example.test: annie handed the request over to betty; sending it there (occurrence #1)
    hadrain_twobox_minio_linux_test.go:1238: drain report: {V:1 Transaction:t8-witness Incarnation:60281a7f8a9686510613cf629299ed4e Step:move Result:ok Reasons:[] Fence:t8-witness StartedAt:2026-11-23 12:16:46.38201964 +0000 UTC FinishedAt:2026-11-23 12:16:46.530228825 +0000 UTC Acked:[betty carol] Departed:[] Moved:[{Host:shop-281e1c8b.example.test Holder:betty Gen:2 Confirmed:take}] Released:[{Host:plain-281e1c8b.example.test Kind:other Marker:true Clean:true Reason:} {Host:bot0.shop.bac.sidecar.internal Kind:worker Marker:true Clean:true Reason:}] Unclean:[] Left:[] Holds:{LongestMS:117 Todays:0 RefusedAtOnce:1} Closed:0 Quiet:{DrainQuiet:{Waking:0 Stopping:0 Recovering:0 Owed:0} Held:[]}}
    hadrain_twobox_minio_linux_test.go:1239: driver calls: [begin shop-281e1c8b.example.test <nil> stop plain-281e1c8b.example.test marker=true clean=true <nil> stop bot0.shop.bac.sidecar.internal marker=true clean=true <nil> releasing shop-281e1c8b.example.test <nil> stop shop-281e1c8b.example.test marker=true clean=true <nil> taken shop-281e1c8b.example.test betty <nil> end-moves]
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-281e1c8b/bot0.shop.bac.sidecar.internal/0001/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-281e1c8b/bot0.shop.bac.sidecar.internal/0001/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-281e1c8b/bot0.shop.bac.sidecar.internal/0000/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-281e1c8b/bot0.shop.bac.sidecar.internal/0002/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-281e1c8b/bot0.shop.bac.sidecar.internal/0003/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-281e1c8b/shop-281e1c8b.example.test/lock.json
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: DELETE /contract-bucket/t8-281e1c8b/plain-281e1c8b.example.test/lock.json
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-281e1c8b/bot0.shop.bac.sidecar.internal/0009/0000000000000001-0000000000000001.ltx
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-281e1c8b/bot0.shop.bac.sidecar.internal/lock.json
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-281e1c8b/shop-281e1c8b.example.test/0009/0000000000000001-0000000000000001.ltx
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-281e1c8b/shop-281e1c8b.example.test/lock.json
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-281e1c8b/shop-281e1c8b.example.test/lock.json
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-281e1c8b/shop-281e1c8b.example.test/lock.json
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-281e1c8b/shop-281e1c8b.example.test/head.json
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-281e1c8b/shop-281e1c8b.example.test/generations/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-281e1c8b/shop-281e1c8b.example.test/0009/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-281e1c8b/shop-281e1c8b.example.test/0008/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-281e1c8b/shop-281e1c8b.example.test/0007/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-281e1c8b/shop-281e1c8b.example.test/0006/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-281e1c8b/shop-281e1c8b.example.test/0005/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-281e1c8b/shop-281e1c8b.example.test/0004/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-281e1c8b/shop-281e1c8b.example.test/0003/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-281e1c8b/shop-281e1c8b.example.test/0002/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-281e1c8b/shop-281e1c8b.example.test/0001/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-281e1c8b/shop-281e1c8b.example.test/0000/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-281e1c8b/shop-281e1c8b.example.test/0009/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-281e1c8b/shop-281e1c8b.example.test/0008/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-281e1c8b/shop-281e1c8b.example.test/0007/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-281e1c8b/shop-281e1c8b.example.test/0006/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-281e1c8b/shop-281e1c8b.example.test/0005/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-281e1c8b/shop-281e1c8b.example.test/0004/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-281e1c8b/shop-281e1c8b.example.test/0003/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-281e1c8b/shop-281e1c8b.example.test/0002/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-281e1c8b/shop-281e1c8b.example.test/0001/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-281e1c8b/shop-281e1c8b.example.test/0000/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-281e1c8b/shop-281e1c8b.example.test/0009/0000000000000001-0000000000000001.ltx
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-281e1c8b/shop-281e1c8b.example.test/files/0/manifest.json
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-281e1c8b/shop-281e1c8b.example.test/files/0/objects/0000000000000001-854812cb33bd8db78a9864c317ca35c884137041ba8e06c030f18ef2f053bb58
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-281e1c8b/shop-281e1c8b.example.test/files/0/objects/0000000000000003-67b45e3706a1348fe89f29a3c30abd1e0c349576609cfd41bc7330350d1005c3
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-281e1c8b/shop-281e1c8b.example.test/0000/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-281e1c8b/shop-281e1c8b.example.test/0000/0000000000000001-0000000000000001.ltx
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-281e1c8b/shop-281e1c8b.example.test/0009/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-281e1c8b/shop-281e1c8b.example.test/0000/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-281e1c8b/shop-281e1c8b.example.test/0009/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-281e1c8b/shop-281e1c8b.example.test/0001/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-281e1c8b/shop-281e1c8b.example.test/0000/0000000000000002-0000000000000002.ltx
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-281e1c8b/shop-281e1c8b.example.test/0001/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-281e1c8b/shop-281e1c8b.example.test/0002/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-281e1c8b/shop-281e1c8b.example.test/0003/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-281e1c8b/shop-281e1c8b.example.test/lock.json
    hadrain_twobox_minio_linux_test.go:1243: drain took 191ms; S3 calls 50 (DELETE lock=1 GET files=3 GET head=1 GET lock=3 GET replica=2 LIST replica=34 PUT lock=3 PUT replica=3); deployment store calls 20 (GET edges=14 LIST edges=4 PUT edges=2)
    hadrain_twobox_minio_linux_test.go:1367: the fenced A's start gate answers 503 "This service is unavailable. Try again later.\n" (Retry-After "10")
2026/11/23 12:16:46 lease: t8-281e1c8b/plain-281e1c8b.example.test: acquired in 2ms (client 0s, lock read and write 1ms)
2026/11/23 12:16:46 activator: plain-281e1c8b.example.test: started carlos-instance@plain\x2d281e1c8b.example.test.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 0s, control socket 0s, key gate 0s, logs 0s) 0s, launch file 0s, gate 0s, root start 1ms)
2026/11/23 12:16:46 activator: plain-281e1c8b.example.test: carlos-instance@plain\x2d281e1c8b.example.test.service launched in 1ms, healthy 0s later
2026/11/23 12:16:46 lease: /tmp/carlos-minio-contract-WpxLzc/g/dw60075470/data/instances/plain-281e1c8b.example.test/plain-281e1c8b.example.test.db: continuity with the last clean close not proven; snapshot 1-0000000000000001 written before serving
2026/11/23 12:16:46 activator: plain-281e1c8b.example.test: woke in 9ms: checks 0s, lease 2ms, restore 0s, identity 0s, protect 1ms, spawn 2ms, replicate 5ms
2026/11/23 12:16:46 activator: next-due probe shop-281e1c8b.example.test: decode /api/next-due: invalid character 'b' looking for beginning of value — recording none (it sleeps until a request)
2026/11/23 12:16:46 activator: shop-281e1c8b.example.test: released with a marker (clean true, txid 2, files 3:82eee819a0139a94a9aae2f79540729e2449c0e432e6d41fa5e86a3cbd397888) in 4ms: files 1ms, sync 0s, record 1ms, marker 2ms
2026/11/23 12:16:46 activator: shop-281e1c8b.example.test hibernated
2026/11/23 12:16:46 tenant admission is closed for shutdown
2026/11/23 12:16:46 activator: next-due probe plain-281e1c8b.example.test: decode /api/next-due: invalid character 'a' looking for beginning of value — recording none (it sleeps until a request)
2026/11/23 12:16:46 activator: plain-281e1c8b.example.test hibernated
--- PASS: TestHeldHandoverTwoBoxMinio (0.57s)
=== RUN   TestHeldHandoverLostLeaseMinio
2026/11/23 12:16:46 edge: mesh key: minted
2026/11/23 12:16:46 provision: minted sidecar route bot0.shop.bac.sidecar.internal (app "shop" acct "bac" args ["work"])
2026/11/23 12:16:46 provision: minted sidecar route bot0.shop.bac.sidecar.internal (app "shop" acct "bac" args ["work"])
2026/11/23 12:16:46 tenant admission is open. accepting tenant work
2026/11/23 12:16:46 activator: HA placement host=shop-adddbae8.example.test kind=Place ref=annie reason=roomiest generation=2026-11-23T12:16:46Z lock_generation=0
2026/11/23 12:16:46 lease: t8-adddbae8/shop-adddbae8.example.test: HA lease acquired in 3ms (first wake)
2026/11/23 12:16:46 activator: shop-adddbae8.example.test: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/23 12:16:46 activator: shop-adddbae8.example.test: started carlos-instance@shop\x2dadddbae8.example.test.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 6ms, control socket 0s, key gate 0s, logs 0s) 6ms, launch file 0s, gate 0s, root start 1ms)
2026/11/23 12:16:46 activator: shop-adddbae8.example.test: carlos-instance@shop\x2dadddbae8.example.test.service launched in 7ms, healthy 0s later
2026/11/23 12:16:46 activator: shop-adddbae8.example.test: woke in 17ms: checks 0s, lease 4ms, restore 0s, identity 0s, protect 0s, spawn 7ms, replicate 5ms
2026/11/23 12:16:46 activator: next-due probe shop-adddbae8.example.test: decode /api/next-due: invalid character 'a' looking for beginning of value — recording none (it sleeps until a request)
2026/11/23 12:16:46 activator: final checkpoint shop-adddbae8.example.test: lease: release marker owed for s3://contract-bucket/t8-adddbae8/shop-adddbae8.example.test/lock.json (If-Match "7f2c97ec21ba672d5e03b524063427fb"): lease: write release marker: operation error S3: PutObject, https response error StatusCode: 503, RequestID: , HostID: , api error ServiceUnavailable: witness: refused
2026/11/23 12:16:46 activator: shop-adddbae8.example.test hibernated
2026/11/23 12:16:46 activator: handover of shop-adddbae8.example.test left: released without a marker; its held requests get today's answer
    hadrain_twobox_minio_linux_test.go:1469: the held request's hold ended "shop-adddbae8.example.test client 4 "
    hadrain_twobox_minio_linux_test.go:1486: driver calls: [begin shop-adddbae8.example.test <nil> releasing shop-adddbae8.example.test <nil> stop shop-adddbae8.example.test marker=false clean=false <nil> left shop-adddbae8.example.test released without a marker]
    hadrain_twobox_minio_linux_test.go:1487: a request after the loss: 503 "This instance cannot wake right now. Please try again shortly.\n" (Retry-After "10", holder "none", 0s, err <nil>)
2026/11/23 12:16:46 tenant admission is closed for shutdown
2026/11/23 12:16:46 http: proxy error: context canceled
--- PASS: TestHeldHandoverLostLeaseMinio (0.27s)
PASS
ok  	github.com/carlosframework/platform/internal/host	0.883s
Bucket created successfully `local/gen-take`.
local/gen-take versioning is enabled
Created policy `gen-take` successfully.
Added user `gentake` successfully.
Attached Policies: [gen-take]
To User: gentake
=== RUN   TestGenerationTakeMinio
=== RUN   TestGenerationTakeMinio/take
2026/11/23 12:16:48 lease: instances/gen-1795436208094290114.shop.example.com: HA lease acquired in 5ms (first wake)
2026/11/23 12:16:48 ERROR retention enforcement failed system=store db=w.example.com.db error="enforce snapshot retention: remove ltx files: lease: invalid or changed generation binding"
2026/11/23 12:16:48 lease: instances/gen-1795436208094290114.shop.example.com: HA lease acquired in 3ms (holder terminated)
    gentake_minio_test.go:308: a second create-only copy onto instances/gen-1795436208094290114.shop.example.com/g-00000000000000000002/0009/0000000000000001-0000000000000001.ltx: <nil> (destination condition honoured: false)
2026/11/23 12:16:48 ERROR retention enforcement failed system=store db=w.example.com.db error="enforce snapshot retention: remove ltx files: lease: invalid or changed generation binding"
=== RUN   TestGenerationTakeMinio/switch-412
2026/11/23 12:16:48 lease: instances/gen-1795436208271975863.shop.example.com: HA lease acquired in 3ms (first wake)
2026/11/23 12:16:48 ERROR retention enforcement failed system=store db=seed.db error="enforce snapshot retention: remove ltx files: lease: invalid or changed generation binding"
2026/11/23 12:16:48 lease: instances/gen-1795436208271975863.shop.example.com: HA lease acquired in 3ms (clean marker)
=== RUN   TestGenerationTakeMinio/copy-version
=== RUN   TestGenerationTakeMinio/store-time
2026/11/23 12:16:48 lease: instances/gen-1795436208369258236.shop.example.com: HA lease acquired in 3ms (first wake)
2026/11/23 12:16:48 ERROR retention enforcement failed system=store db=seed.db error="enforce snapshot retention: fetch ltx files: lease: a write has waited too long to reach storage (write fence)"
2026/11/23 12:16:48 lease: instances/gen-1795436208369258236.shop.example.com: HA lease acquired in 3ms (clean marker)
2026/11/23 12:16:48 lease: instances/gen-1795436208369258236.shop.example.com: HA lease acquired in 2ms (unclean marker)
2026/11/23 12:16:48 lease: instances/gen-1795436208369258236.shop.example.com: HA lease acquired in 2ms (unclean marker)
2026/11/23 12:16:48 lease: instances/gen-1795436208369258236.shop.example.com: HA lease acquired in 2ms (unclean marker)
2026/11/23 12:16:48 lease: instances/gen-1795436208369258236.shop.example.com: HA lease acquired in 3ms (unclean marker)
=== RUN   TestGenerationTakeMinio/skew
--- PASS: TestGenerationTakeMinio (0.39s)
    --- PASS: TestGenerationTakeMinio/take (0.18s)
    --- PASS: TestGenerationTakeMinio/switch-412 (0.09s)
    --- PASS: TestGenerationTakeMinio/copy-version (0.01s)
    --- PASS: TestGenerationTakeMinio/store-time (0.10s)
    --- PASS: TestGenerationTakeMinio/skew (0.01s)
PASS
ok  	github.com/carlosframework/platform/internal/lease	0.401s
minio contract: PASS
=== staticcheck ===
go version go1.26.10 linux/arm64
go: downloading honnef.co/go/tools v0.8.2
go: downloading github.com/BurntSushi/toml v1.4.1-0.20240526193622-a339e1f7089c
go: downloading golang.org/x/exp/typeparams v0.0.0-20231108232855-2478ac86f678
go: downloading golang.org/x/sync v0.23.0
go: downloading golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa
staticcheck: clean
=== govulncheck ===
go version go1.26.10 linux/arm64
go: downloading golang.org/x/vuln v1.8.0
go: downloading golang.org/x/telemetry v0.0.0-20260908163034-4bcc4b2ee518
go: downloading golang.org/x/tools v0.50.0
govulncheck: scanned github.com/carlosframework/platform, amadan.net/carlos/platform.git/launchctx
GO-2026-6859  called  stdlib@v1.26.10, fixed in v1.26.11
    HTTP/1 server crash due to MaxBytesReader header race in net/http
    excepted until 2027-01-31 (.amadan/govulncheck-exceptions.tsv:9): net/http MaxBytesReader header race, fixed in go1.26.11. CI and releases stay on go1.26.10 because 1.26.11 deadlocks the edge's Expect: 100-continue path (#897, .amadan/go-toolchain.sh); #904 checked every production MaxBytesReader site and found it unreachable.
GO-2026-5932  required  golang.org/x/crypto@v0.58.0, fixed in v0.58.1-0.20261009181718-2f1f834330b2
    The golang.org/x/crypto/openpgp package is unmaintained, unsafe by design, and has known security issues
    not fatal: no call path to the vulnerable code
govulncheck: clean (2 finding(s), none called outside .amadan/govulncheck-exceptions.tsv)
=== code-health ===
go version go1.26.10 linux/arm64
    codehealth_test.go:42: scanned in 1m47.761s
    codehealth_test.go:107: line metrics (code lines, then physical):
          file-lines  5471  7324  internal/activator activator_test.go
          file-lines  4219  7040  internal/console server.go
          file-lines  4182  6363  . apimode.go
          file-lines  3783  7200  internal/activator activator.go
          file-lines  3530  4459  . apimode_test.go
          file-lines  3261  3864  internal/registry registry_test.go
          file-lines  3205  6356  internal/host agent.go
          file-lines  3094  3992  internal/provision reconcile_test.go
          func-lines   870   891  internal/host plan14InstalledClaimLaunch
          func-lines   811  1275  internal/provision Reconcile
          func-lines   769  1242  internal/console (*Server).handleAPIInstanceCreate
          func-lines   688  1232  internal/host runAgent
          func-lines   570   903  internal/activator (*Service).doWakeOnce
          func-lines   538   546  internal/host runServingParkPeerNamespace
          func-lines   519   712  . runRoute
          func-lines   509   569  internal/host TestPagingIsRateLimited
          func-lines   494   809  internal/release adoptHost
          func-lines   441   500  internal/host TestRootInstanceStopExecStop
          func-lines   421   436  internal/host (*ClaimWakeAssembly).Build
          func-lines   421   437  internal/team TestFixture
          func-lines   412   414  internal/console TestDemoProtectionsSourceToLimitAndTakedown
          func-lines   408   485  . TestFleetAppServesThroughTheHub
          func-lines   402   406  internal/registry (*Registry).haJournal
          func-lines   400   868  internal/provision rootReadArchivedChain
          func-lines   399   732  internal/release PassFilter
          func-lines   390   398  internal/host runFilesSeedPreparationWithLive
          func-lines   383   406  internal/console TestDemoSourceToLiveAndUpdate
          func-lines   379   898  internal/edge (*Edge).ServeHTTP
          func-lines   378   600  internal/console (*Server).handleAPIShip
          func-lines   374   377  internal/host plan14RequiredArtifactsRootRunner
          func-lines   371   417  internal/host TestRootEgressKernelProof
          func-lines   367   635  cmd/console serve
          func-lines   364   371  internal/host testRootMigrationBootstrap
          func-lines   360   362  internal/edge TestDemoAPIAliasBoundary
          func-lines   357   358  internal/registry (*Registry).dispatchRemote
          func-lines   355   372  internal/host TestRootSandboxUpdateFromOldBox
          func-lines   343   354  internal/analytics Prune
          func-lines   340   353  internal/host newColdRootHarness
          func-lines   335   557  internal/console (*Store).migrate
          func-lines   334   334  internal/host TestPlan12RecoveryRestoreSourceDatabase
          func-lines   330   371  internal/edge TestRegionalNameNeverLeavesItsRegion
          func-lines   329   471  . runDeploy
          func-lines   329   329  internal/host TestPlan12RecoveryRestoreSourceDatabase.func1
          func-lines   327   369  internal/edge TestTunnelWebSocketEndToEnd
          func-lines   325   455  internal/objstore TestDeliveredContractMinio
          func-lines   320   654  internal/appconfig SyncExecWithCallbacks
          func-lines   315   318  internal/host plan14TimerIntention
          func-lines   311   314  internal/host plan14TimerIntention.func1
          func-lines   310   315  internal/hostbox ColdHandover.Run
          func-lines   308   309  internal/host rootFilesSeedIsolatedWitness
          func-lines   305   323  internal/host hairpinKernelWitness
          func-lines   304   308  internal/console TestHAP2ProductionDoors
          func-lines   302   329  internal/host TestRootG2PoolIngress
        release-importers: . cmd/console internal/activator internal/analytics internal/appconfig internal/apperr internal/applog internal/apppolicy internal/boxid internal/boxvolumes internal/console internal/dbreads internal/dbreads/dbreadstest internal/dbverify internal/demobuild internal/domains internal/doorkey internal/edge internal/edgeproof internal/edgesfile internal/fleetapi internal/grouproll internal/grouprollaws internal/historyreadback internal/host internal/hostactors internal/hostbox internal/hostclaim internal/hostevidence internal/hostexec internal/hostfence internal/hostfiles internal/hostfloor internal/hostguard internal/hostops internal/hostrelocate internal/hostresolve internal/instancectl internal/instanceupdates internal/interactive internal/layout internal/lease internal/ledger internal/mail internal/mailer internal/mailsubmit internal/metrics internal/moves internal/objstore internal/ops internal/park internal/plans internal/provision internal/relay internal/rollout internal/rootfsimage internal/runs internal/s3fake internal/schedule internal/seeds internal/status internal/telemetry internal/usage internal/vet scripts/pathmapcheck scripts/witness-pointer
        not scanned (205 files):
          cmd/carlos-media/drill_other.go: built only for other systems or tags
          cmd/carlos-media/harden_other.go: built only for other systems or tags
          cmd/console/servelock_windows.go: built only for other systems or tags
          cmd/moveprobe/detach_windows.go: built only for other systems or tags
          cmd/rootfswitness/mmap_other.go: built only for other systems or tags
          devbox_acl_other.go: built only for other systems or tags
          devbox_envfile_darwin_test.go: built only for other systems or tags
          devbox_envfile_other.go: built only for other systems or tags
          interactive_term_darwin.go: built only for other systems or tags
          interactive_term_other.go: built only for other systems or tags
          internal/activator/claimprocess_root_other.go: built only for other systems or tags
          internal/activator/escrow_stamp_other.go: built only for other systems or tags
          internal/activator/fleetreserve_other.go: built only for other systems or tags
          internal/activator/harecord_other.go: built only for other systems or tags
          internal/activator/ownenv_other.go: built only for other systems or tags
          internal/activator/pty_other.go: built only for other systems or tags
          internal/activator/race_on_test.go: built only for other systems or tags
          internal/activator/rolelaunch_other.go: built only for other systems or tags
          internal/assetcache/statfs_other.go: built only for other systems or tags
          internal/boxself/io_other.go: built only for other systems or tags
          internal/cgroup/cleanup_other.go: built only for other systems or tags
          internal/cgroup/cleanup_other_test.go: built only for other systems or tags
          internal/cgroup/hostprocs_other.go: built only for other systems or tags
          internal/cgroup/recreate_other.go: built only for other systems or tags
          internal/cgroup/role_other.go: built only for other systems or tags
          internal/cgroup/shim_other.go: built only for other systems or tags
          internal/cgroup/strict_other.go: built only for other systems or tags
          internal/cgroup/verify_other.go: built only for other systems or tags
          internal/console/claim_sql_identity_other.go: built only for other systems or tags
          internal/console/geoipverify_other.go: built only for other systems or tags
          internal/console/hostreports_process_other.go: built only for other systems or tags
          internal/console/replicaview_other.go: built only for other systems or tags
          internal/console/restore_sim_nice_other_test.go: built only for other systems or tags
          internal/console/scalecost_other_test.go: built only for other systems or tags
          internal/console/seedscratch_windows.go: built only for other systems or tags
          internal/dbreads/worker_other.go: built only for other systems or tags
          internal/demobuild/security_other.go: built only for other systems or tags
          internal/democlaim/source_other.go: built only for other systems or tags
          internal/devbox/peer_darwin.go: built only for other systems or tags
          internal/devbox/peer_darwin_test.go: built only for other systems or tags
          internal/devbox/peer_other.go: built only for other systems or tags
          internal/devbox/socketcheck_other.go: built only for other systems or tags
          internal/edge/devboxpeer_other.go: built only for other systems or tags
          internal/edge/hairpin_other.go: built only for other systems or tags
          internal/edge/heldbudget_other.go: built only for other systems or tags
          internal/edge/purge_listen_unix.go: built only for other systems or tags
          internal/edge/purge_listen_windows.go: built only for other systems or tags
          internal/edge/race_on_test.go: built only for other systems or tags
          internal/edge/static_artifact_other.go: built only for other systems or tags
          internal/edge/static_recordlock_other.go: built only for other systems or tags
          internal/edge/static_sweep_other.go: built only for other systems or tags
          internal/execsandbox/cleanup_other.go: built only for other systems or tags
          internal/execsandbox/file_other.go: built only for other systems or tags
          internal/execsandbox/oci_other.go: built only for other systems or tags
          internal/fileacl/fileacl_darwin.go: built only for other systems or tags
          internal/fileacl/fileacl_darwin_amd64.s: built only for other systems or tags
          internal/fileacl/fileacl_darwin_arm64.s: built only for other systems or tags
          internal/fileacl/fileacl_darwin_test.go: built only for other systems or tags
          internal/grouproll/state_other.go: built only for other systems or tags
          internal/grouprollaws/pty_darwin.go: built only for other systems or tags
          internal/grouprollaws/pty_other.go: built only for other systems or tags
          internal/hairpin/native_other.go: built only for other systems or tags
          internal/host/applylock_other_test.go: built only for other systems or tags
          internal/host/bootstrapfs_other.go: built only for other systems or tags
          internal/host/boxroles_config_other.go: built only for other systems or tags
          internal/host/claimfilesseed_delegation_other.go: built only for other systems or tags
          internal/host/claimfilesseed_transport_other.go: built only for other systems or tags
          internal/host/claimjournal_containment_other.go: built only for other systems or tags
          internal/host/claimjournal_migration_other.go: built only for other systems or tags
          internal/host/claimlaunch_kernel_other.go: built only for other systems or tags
          internal/host/claimlaunch_rev2_other_test.go: built only for other systems or tags
          internal/host/claimproduction_other.go: built only for other systems or tags
          internal/host/claimready_other.go: built only for other systems or tags
          internal/host/claimroleassembly_other.go: built only for other systems or tags
          internal/host/claimservingartifact_other.go: built only for other systems or tags
          internal/host/claimservinghandover_reboot_other.go: built only for other systems or tags
          internal/host/claimservinghandover_reboot_other_test.go: built only for other systems or tags
          internal/host/claimservingpark_other.go: built only for other systems or tags
          internal/host/claimstate_other.go: built only for other systems or tags
          internal/host/claimstop_kernel_other.go: built only for other systems or tags
          internal/host/claimtoken_inventory_other.go: built only for other systems or tags
          internal/host/claimunit_dropin_other.go: built only for other systems or tags
          internal/host/claimunit_files_other.go: built only for other systems or tags
          internal/host/claimunit_migrate_other.go: built only for other systems or tags
          internal/host/claimunit_ready_other.go: built only for other systems or tags
          internal/host/claimunit_socket_migration_other.go: built only for other systems or tags
          internal/host/dbreads_other.go: built only for other systems or tags
          internal/host/egress_rail_other.go: built only for other systems or tags
          internal/host/fileowner_other.go: built only for other systems or tags
          internal/host/flock_windows.go: built only for other systems or tags
          internal/host/group_config_other.go: built only for other systems or tags
          internal/host/group_maintenance_other.go: built only for other systems or tags
          internal/host/group_maintenance_verbs_other.go: built only for other systems or tags
          internal/host/group_receipt_other.go: built only for other systems or tags
          internal/host/hadrain_call_other.go: built only for other systems or tags
          internal/host/hadrain_socket_other.go: built only for other systems or tags
          internal/host/hadrainfence_other.go: built only for other systems or tags
          internal/host/headroom_other.go: built only for other systems or tags
          internal/host/installchannel_other.go: built only for other systems or tags
          internal/host/metrics_nested_other.go: built only for other systems or tags
          internal/host/movesfloor_other.go: built only for other systems or tags
          internal/host/movesfloorgate_other.go: built only for other systems or tags
          internal/host/movesheldrelease_other.go: built only for other systems or tags
          internal/host/movesmeasure_other.go: built only for other systems or tags
          internal/host/offcloudcredentials_other.go: built only for other systems or tags
          internal/host/registrychild_exec_other.go: built only for other systems or tags
          internal/host/registrychild_other.go: built only for other systems or tags
          internal/host/registryowner_chown_other.go: built only for other systems or tags
          internal/host/registryowner_descriptor_unix.go: built only for other systems or tags
          internal/host/replicahealth_other.go: built only for other systems or tags
          internal/host/rootgeneration_census_other.go: built only for other systems or tags
          internal/host/rootgeneration_kernel_other.go: built only for other systems or tags
          internal/host/rootgeneration_payload_other.go: built only for other systems or tags
          internal/host/rootgeneration_retired_other.go: built only for other systems or tags
          internal/host/rootmigration_production_other.go: built only for other systems or tags
          internal/host/runscset_other.go: built only for other systems or tags
          internal/host/sandboxenv_other.go: built only for other systems or tags
          internal/host/statfs_windows.go: built only for other systems or tags
          internal/host/systemapply_other.go: built only for other systems or tags
          internal/hostbox/census_vendor_other.go: built only for other systems or tags
          internal/hostbox/inventory_identity_other.go: built only for other systems or tags
          internal/hostbox/journalmigration_other.go: built only for other systems or tags
          internal/hostbox/journalnamespace_other.go: built only for other systems or tags
          internal/hostbox/journaltrust_other.go: built only for other systems or tags
          internal/hostbox/migration_census_other.go: built only for other systems or tags
          internal/hostbox/typedpark_other.go: built only for other systems or tags
          internal/hostenv/group_other.go: built only for other systems or tags
          internal/hostenv/write_other.go: built only for other systems or tags
          internal/hostenv/write_other_test.go: built only for other systems or tags
          internal/hostexec/clock_other.go: built only for other systems or tags
          internal/hostexec/clock_other_test.go: built only for other systems or tags
          internal/hostexec/local_other.go: built only for other systems or tags
          internal/hostexec/pending_other.go: built only for other systems or tags
          internal/hostexec/probe_other.go: built only for other systems or tags
          internal/hostexec/rootprocess_other.go: built only for other systems or tags
          internal/hostfiles/dir_other.go: built only for other systems or tags
          internal/hostfiles/refuse_other.go: built only for other systems or tags
          internal/hostfiles/watch_other.go: built only for other systems or tags
          internal/hostfloor/controllers_other.go: built only for other systems or tags
          internal/hostfloor/image_other.go: built only for other systems or tags
          internal/hostguard/flock_other.go: built only for other systems or tags
          internal/hostguard/flock_other_test.go: built only for other systems or tags
          internal/hostguard/record_other.go: built only for other systems or tags
          internal/instancectl/claimexec_other.go: built only for other systems or tags
          internal/instancectl/claimexec_socket_other.go: built only for other systems or tags
          internal/instancectl/claimlaunch_snapshot_other.go: built only for other systems or tags
          internal/instancectl/claimnetwork_other.go: built only for other systems or tags
          internal/instancectl/demo_snapshot_other.go: built only for other systems or tags
          internal/instancectl/egress_cgroup_other.go: built only for other systems or tags
          internal/instancectl/egress_dropin_other.go: built only for other systems or tags
          internal/instancectl/fleetsize_other.go: built only for other systems or tags
          internal/instancectl/gvisorprobe_other.go: built only for other systems or tags
          internal/instancectl/peer_other.go: built only for other systems or tags
          internal/instancectl/peer_tuple_other.go: built only for other systems or tags
          internal/instancectl/rootfs_identity_other.go: built only for other systems or tags
          internal/instanceexec/claimexec_other.go: built only for other systems or tags
          internal/instanceexec/exec_rootfs_other.go: built only for other systems or tags
          internal/instanceexec/probe_gvisor_other.go: built only for other systems or tags
          internal/instanceexec/probe_hardening_other.go: built only for other systems or tags
          internal/instanceexec/probe_other.go: built only for other systems or tags
          internal/instanceexec/probe_rootfs_other.go: built only for other systems or tags
          internal/instanceexec/sandbox_other.go: built only for other systems or tags
          internal/instanceexec/scope_other.go: built only for other systems or tags
          internal/instanceexec/stop_other.go: built only for other systems or tags
          internal/instanceexec/tty_other.go: built only for other systems or tags
          internal/instancefs/instancefs_other.go: built only for other systems or tags
          internal/launchd/activate_darwin.go: built only for other systems or tags
          internal/launchd/activate_darwin_amd64.s: built only for other systems or tags
          internal/launchd/activate_darwin_arm64.s: built only for other systems or tags
          internal/launchd/activate_darwin_test.go: built only for other systems or tags
          internal/layout/journal_other.go: built only for other systems or tags
          internal/layout/links_other.go: built only for other systems or tags
          internal/mailer/keys_other.go: built only for other systems or tags
          internal/maintenanceexec/run_other.go: built only for other systems or tags
          internal/mediahandler/collect_other.go: built only for other systems or tags
          internal/mediahandler/procs_other.go: built only for other systems or tags
          internal/medialocal/runner_other.go: built only for other systems or tags
          internal/moves/archive/open_other.go: built only for other systems or tags
          internal/moves/archive/sync_other.go: built only for other systems or tags
          internal/ops/flock_windows.go: built only for other systems or tags
          internal/park/local_other.go: built only for other systems or tags
          internal/privatefile/io_other.go: built only for other systems or tags
          internal/proxyproto/peek_other.go: built only for other systems or tags
          internal/relay/race_on_test.go: built only for other systems or tags
          internal/release/consumedfence_other.go: built only for other systems or tags
          internal/release/digestcache_other.go: built only for other systems or tags
          internal/rootaws/credentials_other.go: built only for other systems or tags
          internal/rootaws/open_darwin.go: built only for other systems or tags
          internal/rootfsimage/dir_other.go: built only for other systems or tags
          internal/rootstate/authoritydir_other.go: built only for other systems or tags
          internal/rootstate/authorityfile_other.go: built only for other systems or tags
          internal/rootstate/file_other.go: built only for other systems or tags
          internal/rootstate/link_other.go: built only for other systems or tags
          internal/rootstate/persistent_other.go: built only for other systems or tags
          internal/rootstate/state_other.go: built only for other systems or tags
          internal/safefile/file_other.go: built only for other systems or tags
          internal/safefile/reap_other.go: built only for other systems or tags
          internal/stopevidence/fds_other.go: built only for other systems or tags
          internal/stopevidence/fds_other_test.go: built only for other systems or tags
          internal/stopevidence/holders_other.go: built only for other systems or tags
          internal/stopevidence/reconstruct_other.go: built only for other systems or tags
          internal/team/storelock_other.go: built only for other systems or tags
          internal/team/storelock_windows.go: built only for other systems or tags
          move_offline_run_other.go: built only for other systems or tags
          system_group_other.go: built only for other systems or tags
        
    codehealth_test.go:115: fatal               1094 at  474 sites  log.Fatal*, (*log.Logger).Fatal* and os.Exit in the root package's production files
    codehealth_test.go:115: sleep               1005 at  811 sites  time.Sleep in test files
    codehealth_test.go:115: db-no-context        885 at  703 sites  database calls with no context (dbOpWithoutContext) in production files
    codehealth_test.go:115: host-context         188 at  142 sites  context.Background and context.TODO in internal/host production files
    codehealth_test.go:115: func-lines         18617 at   45 sites  functions over 300 code lines (blank and comment-only lines not counted)
    codehealth_test.go:115: file-lines         30745 at    8 sites  files over 3,000 code lines, counted the same way
    codehealth_test.go:115: release-importers     66 at    1 sites  packages whose production files import internal/release
    codehealth_test.go:119: below the record: file-lines . apimode.go -: 4182 in the code, the record allows 4184 (make code-health-record lowers it)
    codehealth_test.go:119: below the record: file-lines internal/host agent.go -: 3205 in the code, the record allows 3214 (make code-health-record lowers it)
--- PASS: TestCodeHealth (107.76s)
PASS
ok  	github.com/carlosframework/platform/internal/codehealth	108.828s
=== code-health-record ===
go version go1.26.10 linux/arm64
code-health record: comparing with the merge base f5c3c84166c10cb883da4dbb1f7aae3f56d8319c (main is f5c3c84166c10cb883da4dbb1f7aae3f56d8319c)
=== RUN   TestRecordAgainstBase
--- PASS: TestRecordAgainstBase (0.01s)
PASS
ok  	github.com/carlosframework/platform/internal/codehealth	0.008s
code-health record: no line went up without a reason
=== race ===
go version go1.26.10 linux/arm64
GATE_RACE=1 .amadan/test-gate.sh
=== internal_systemd@0 (13 s, from +14 s)
ok  	github.com/carlosframework/platform/internal/systemd	13.281s
=== internal_rootaws@0 (26 s, from +33 s)
ok  	github.com/carlosframework/platform/internal/rootaws	25.285s
=== internal_activator@0 (264 s, from +110 s)
ok  	github.com/carlosframework/platform/internal/activator	261.559s
=== internal_activator@1 (260 s, from +110 s)
ok  	github.com/carlosframework/platform/internal/activator	257.863s
=== internal_activator@2 (310 s, from +110 s)
ok  	github.com/carlosframework/platform/internal/activator	308.329s
=== internal_activator@3 (386 s, from +110 s)
ok  	github.com/carlosframework/platform/internal/activator	383.485s
=== internal_activator@4 (296 s, from +110 s)
ok  	github.com/carlosframework/platform/internal/activator	294.353s
=== internal_activator@5 (325 s, from +110 s)
ok  	github.com/carlosframework/platform/internal/activator	322.835s
=== internal_activator@6 (302 s, from +110 s)
ok  	github.com/carlosframework/platform/internal/activator	299.775s
=== internal_activator@7 (407 s, from +110 s)
ok  	github.com/carlosframework/platform/internal/activator	404.452s
=== internal_edge@0 (85 s, from +131 s)
ok  	github.com/carlosframework/platform/internal/edge	81.463s
=== internal_edge@1 (75 s, from +131 s)
ok  	github.com/carlosframework/platform/internal/edge	71.547s
=== internal_edge@2 (205 s, from +131 s)
ok  	github.com/carlosframework/platform/internal/edge	201.415s
=== internal_edge@3 (164 s, from +131 s)
ok  	github.com/carlosframework/platform/internal/edge	160.117s
=== internal_edge@4 (166 s, from +131 s)
ok  	github.com/carlosframework/platform/internal/edge	162.095s
=== internal_edge@5 (220 s, from +131 s)
ok  	github.com/carlosframework/platform/internal/edge	216.681s
=== internal_edge@6 (198 s, from +131 s)
ok  	github.com/carlosframework/platform/internal/edge	194.068s
=== internal_edge@7 (218 s, from +131 s)
ok  	github.com/carlosframework/platform/internal/edge	214.665s
=== internal_edge@8 (233 s, from +131 s)
ok  	github.com/carlosframework/platform/internal/edge	229.628s
=== internal_edge@9 (268 s, from +131 s)
ok  	github.com/carlosframework/platform/internal/edge	264.454s
=== internal_edge@10 (242 s, from +131 s)
ok  	github.com/carlosframework/platform/internal/edge	238.725s
=== internal_edge@11 (289 s, from +131 s)
ok  	github.com/carlosframework/platform/internal/edge	285.796s
=== internal_edge@12 (244 s, from +131 s)
ok  	github.com/carlosframework/platform/internal/edge	239.957s
=== internal_edge@13 (259 s, from +131 s)
ok  	github.com/carlosframework/platform/internal/edge	255.829s
=== internal_edge@14 (163 s, from +131 s)
ok  	github.com/carlosframework/platform/internal/edge	159.442s
=== internal_edge@15 (252 s, from +131 s)
ok  	github.com/carlosframework/platform/internal/edge	248.598s
=== internal_host@0 (14 s, from +191 s)
ok  	github.com/carlosframework/platform/internal/host	11.029s
=== internal_host@1 (9 s, from +191 s)
ok  	github.com/carlosframework/platform/internal/host	5.814s
=== lists: internal_edge 130 s, internal_activator 110 s, internal_host 190 s, internal_rootaws 33 s, internal_systemd 13 s
=== cpu: the gate used 7628 cpu-seconds in 517 s, about 14.8 of 32 cores; the machine as a whole was 46% busy
=== gitleaks ===
go version go1.26.10 linux/arm64
go: downloading github.com/zricethezav/gitleaks/v8 v8.30.1
go: downloading github.com/hashicorp/go-version v1.7.0
go: downloading github.com/Masterminds/sprig/v3 v3.3.0
go: downloading github.com/charmbracelet/lipgloss v0.5.0
go: downloading github.com/rs/zerolog v1.33.0
go: downloading golang.org/x/exp v0.0.0-20250218142911-aa4b98e5adaa
go: downloading github.com/spf13/cobra v1.9.1
go: downloading github.com/spf13/viper v1.19.0
go: downloading github.com/fatih/semgroup v1.2.0
go: downloading github.com/mholt/archives v0.1.2
go: downloading github.com/h2non/filetype v1.1.3
go: downloading github.com/gitleaks/go-gitdiff v0.9.1
go: downloading github.com/BobuSumisu/aho-corasick v1.0.3
go: downloading github.com/pierrec/lz4/v4 v4.1.21
go: downloading golang.org/x/text v0.22.0
go: downloading github.com/klauspost/compress v1.17.11
go: downloading github.com/klauspost/pgzip v1.2.6
go: downloading github.com/STARRY-S/zip v0.2.1
go: downloading github.com/ulikunitz/xz v0.5.12
go: downloading github.com/minio/minlz v1.0.0
go: downloading github.com/sorairolake/lzip-go v0.3.5
go: downloading github.com/andybalholm/brotli v1.1.2-0.20250424173009-453214e765f3
go: downloading github.com/dsnet/compress v0.0.2-0.20230904184137-39efe44ab707
go: downloading github.com/nwaples/rardecode/v2 v2.1.0
go: downloading github.com/therootcompany/xz v1.0.1
go: downloading github.com/bodgit/sevenzip v1.6.0
go: downloading golang.org/x/sync v0.11.0
go: downloading github.com/lucasb-eyer/go-colorful v1.2.0
go: downloading github.com/mattn/go-runewidth v0.0.14
go: downloading github.com/muesli/reflow v0.2.1-0.20210115123740-9e1d0d53df68
go: downloading github.com/muesli/termenv v0.15.1
go: downloading github.com/fsnotify/fsnotify v1.8.0
go: downloading github.com/mitchellh/mapstructure v1.5.0
go: downloading github.com/sagikazarmark/slog-shim v0.1.0
go: downloading github.com/spf13/afero v1.12.0
go: downloading github.com/spf13/cast v1.7.1
go: downloading github.com/spf13/pflag v1.0.6
go: downloading dario.cat/mergo v1.0.1
go: downloading github.com/Masterminds/goutils v1.1.1
go: downloading github.com/Masterminds/semver/v3 v3.3.0
go: downloading github.com/huandu/xstrings v1.5.0
go: downloading github.com/mitchellh/copystructure v1.2.0
go: downloading github.com/shopspring/decimal v1.4.0
go: downloading golang.org/x/crypto v0.35.0
go: downloading github.com/mattn/go-colorable v0.1.14
go: downloading github.com/subosito/gotenv v1.6.0
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading gopkg.in/ini.v1 v1.67.0
go: downloading github.com/magiconair/properties v1.8.9
go: downloading github.com/pelletier/go-toml/v2 v2.2.3
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading github.com/rivo/uniseg v0.2.0
go: downloading github.com/bodgit/plumbing v1.3.0
go: downloading github.com/bodgit/windows v1.0.1
go: downloading github.com/hashicorp/go-multierror v1.1.1
go: downloading go4.org v0.0.0-20230225012048-214862532bf5
go: downloading golang.org/x/sys v0.30.0
go: downloading github.com/mitchellh/reflectwalk v1.0.2
go: downloading github.com/aymanbagabas/go-osc52/v2 v2.0.1
go: downloading github.com/hashicorp/golang-lru/v2 v2.0.7
go: downloading github.com/hashicorp/errwrap v1.1.0
self-test: reported source file: a key
self-test: reported source file: a 64-hex key
self-test: reported source file: a census-shaped entry
self-test: reported source file: a key marked gitleaks:allow
self-test: reported source file: a test's fake value outside tests
self-test: reported allowed file: another key beside its allowed value
self-test: reported a tracked file named gitleaks-gate-sentinel.env
self-test: reported 97 near misses of the names notscanned.go lists
self-test: skipped  the 32 files notscanned.go lists
self-test: refused  a notscanned.go entry git does not track
self-test: refused  a config that does not parse
self-test: refused  a config that does not exist
self-test: refused  a missing gitleaks binary
self-test: 6 planted keys reported, 130 tracked files judged, 3 broken setups refused
gitleaks: scanned 11334 tracked files; 32 not scanned, by exact path (scripts/gitleaks-gate/notscanned.go)
gitleaks: clean
diff --git a/internal/host/acmedir.go b/internal/host/acmedir.go
new file mode 100644
index 000000000..273563983
--- /dev/null
+++ b/internal/host/acmedir.go
@@ -0,0 +1,20 @@
+package host
+
+import "path/filepath"
+
+// edgeAcmeDir is the edge's certificate cache directory: the agent's
+// -acme-cache flag when given (the edge honours the same flag), otherwise
+// $CARLOS_DATA_DIR/acme ("/data" when unset), the edge's own default. The one
+// derivation for every agent reader of that cache: the domains sweep's
+// cert_expires_at stamp and the edges-file writer's pre-issued alias check
+// (#1293) must read the directory the edge actually serves from.
+func edgeAcmeDir(getenv func(string) string, acmeCacheFlag string) string {
+ if acmeCacheFlag != "" {
+ return acmeCacheFlag
+ }
+ dd := getenv("CARLOS_DATA_DIR")
+ if dd == "" {
+ dd = "/data"
+ }
+ return filepath.Join(dd, "acme")
+}
diff --git a/internal/host/agent.go b/internal/host/agent.go
index b38bc772c..b453edb7d 100644
--- a/internal/host/agent.go
+++ b/internal/host/agent.go
@@ -4028,23 +4028,6 @@ func countExpiredCanaries(ctx context.Context, routes []registry.Route, store re
// the edge actually mints into when the operator moved it off the default.
// "" = flag not given; domainsTickConfig then derives the edge's own default
// ($CARLOS_DATA_DIR/acme).
-// edgeAcmeDir is the edge's certificate cache directory: the agent's
-// -acme-cache flag when given (the edge honours the same flag), otherwise
-// $CARLOS_DATA_DIR/acme ("/data" when unset), the edge's own default. The one
-// derivation for every agent reader of that cache: the domains sweep's
-// cert_expires_at stamp and the edges-file writer's pre-issued alias check
-// (#1293) must read the directory the edge actually serves from.
-func edgeAcmeDir(getenv func(string) string, acmeCacheFlag string) string {
- if acmeCacheFlag != "" {
- return acmeCacheFlag
- }
- dd := getenv("CARLOS_DATA_DIR")
- if dd == "" {
- dd = "/data"
- }
- return filepath.Join(dd, "acme")
-}
-
func peekAcmeCache(args []string) string {
fs := flag.NewFlagSet("agent", flag.ContinueOnError)
fs.SetOutput(io.Discard)
diff --git a/internal/provision/testdata/plan14-root-reads-alias-publish-precert-1293.tsv b/internal/provision/testdata/plan14-root-reads-alias-publish-precert-1293.tsv
index 51fa8c0e9..66db847e8 100644
--- a/internal/provision/testdata/plan14-root-reads-alias-publish-precert-1293.tsv
+++ b/internal/provision/testdata/plan14-root-reads-alias-publish-precert-1293.tsv
@@ -3,14 +3,14 @@
# 3 new dispositions: 0 reads re-frozen at their disposition with the claim, 2 new units frozen accepted-legacy, 1 quiet units retired while they read nothing, 0 other.
@legacy 68b6a36b116b67087a57c727659810163456a951e35ec4a36f3d671912136335 internal/edge/edge.go RunWithActivatorReady legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-certwarm-wake;basis=registers the cert warm's nudge on OnReload and on the home map's new served-hosts wake (#386); nudge only sends on a buffered channel; no read added, same 5 sites;rev3=census-ruling-edge-roll-blip;basis=the :80/:443 (and dev) listeners are bound on the calling goroutine with net.Listen via listen()/listenAddr (same empty-address defaults as ListenAndServe) before the serve goroutines, which now call Serve/ServeTLS on them, and one log line names the bound addresses; no read added, same 5 sites;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): the inline home-map arming (newHomeMap, one boot Refresh, Store, run) moves unchanged into the new Edge.ArmHomeMap and is called here as e.ArmHomeMap(); same refresh, same timeout, same order. The reads are moved, none added.;rev3=census-ruling-agent-start-demo-1;basis=Logs the combined explicit wildcard parents through demoWildcardDomains; no new watcher or read loop.;rev3=census-ruling-region-ha-p3a;basis=P3a Task 3: invoke the local admission Close before HTTP/HTTPS draining and door shutdown in both dev and normal listeners. Preserve merged main's startup behavior and its census basis; the same five read sites, no new reads.;rev3=census-ruling-stateless-replicas-3;basis=Task 1b: defer stopping and joining the edge's replica jobs at shutdown. Existing five direct read sites unchanged; no new reader or authority.;rev3=census-ruling-region-ha-p3b;basis=Wrap dev, HTTP and HTTPS listeners through ConfigureGroupHairpin before serving. Indirectly read protected root boot identity and group-ingress.json; kernel local/peer addresses mark local ingress, never HTTP headers. Agent edge uses verified public source for accounting; direct read sites unchanged and absent marker keeps original listeners. CI fix removes interface enumeration: local peer must match snapshot primary IPv4, an ingress IPv4 installed locally by root, or loopback; kernel destination must still be an ingress EIP on port 80/443. Merge 45cebde4 retains deferred stopReplicaProbes alongside group listener wrapping and shutdown admission closure.;rev3=census-ruling-demo-api-site-route;basis=Change the startup failure context from load routes to initialize because origin validation now runs during construction. Existing five read sites unchanged; no new read or runtime authority.;rev3=census-ruling-region-ha-graceful-terminate-t2;basis=Invoke the agent shutdown timestamp hook synchronously at SIGTERM/SIGINT receipt before closing admission in dev and TLS paths. No read added.;rev3=census-ruling-region-ha-held-build;basis=region HA held-requests Task 5: registers the https and http servers with the connection drain (conns.serve) so a drain can close idle keep-alive connections; no read added;rev3=census-ruling-warm-set-published-724;basis=#724: the inline cert warm construction (newCertWarm over warmSet and dnsGate, then OnReload and setServedWake registering warm.nudge) moves unchanged into the new Edge.newIssuerWarm in certwarm.go and is called here with the same apps domain, parents, perHostCert, warmResolver, edgeIPs and store; the loop still starts here. The warm set it wires now reads the published edges files through the home map (OwnServedHosts and ServedHosts, both already polled) instead of the local route table, regional names aside. It is a different source, not a subset: an attached name not yet published as pointing is no longer listed, while a name the route table has already dropped stays listed until this box's next edges file write and the home map's next poll catch up (HostPolicy still refuses an order for a name the registry no longer holds). A name published not pointing is not a warm candidate at all, whether or not its certificate is cached: the warm neither looks it up, orders it nor re-arms its renewal until its home box publishes it pointing again (a cached certificate keeps serving and re-arms on a handshake at the issuer). The warm reads the set only after the issuer gate, and the read is in memory (route table and the home map's last snapshot); it also drops a DNS-miss entry for a name that has left the set before probing it. It keeps a failure record while any box publishes the exact name (the home map DeployedHosts: every box's file, own included, pointing or not, the same in-memory snapshot) or the name is a regional route-table name, and prunes it only once no box publishes it. That retention set has no apps-domain or wildcard filter (those stay on candidacy only), so a name published not pointing, or one a wildcard parent starts covering, keeps the record that explains its backoff; the set is never a source of candidates. No read site added in this unit, same 5 sites.;rev3=census-ruling-w6-ingress-drain;basis=the two public servers are built by e.publicServers (internal/edge/ingressdrain.go): :443 as before (same handler, TLS config and ReadHeaderTimeout 10 s), :80 now wrapped by plainTracked so the ingress drain can count and close its requests (its barrier is never §25's); Serve's error test is listenerFailed(err) = err != nil && !errors.Is(err, http.ErrServerClosed) (was err != ErrServerClosed), so a graceful Shutdown by the drain is not fatal. New Edge.plain connDrain field. Same flags, addresses and listeners; read sites unchanged (5); no read added.;rev3=census-ruling-edge-ppv2;basis=Edge process (uid carlos), not root. Edge gains the proxy atomic.Pointer. Outside dev mode, before either public listener binds and before the ready hook hands the Edge to the agent, calls e.loadProxyIngress(os.Getenv, dataDir): CARLOS_INGRESS_PROXY_SOURCES from the edge's own environment (carlos-edge.service loads the root-owned 0600 host.env) through hostenv.ParseProxySources; blank leaves the edge unarmed with nothing read; a non-empty list arms it and Lstats <dataDir>/edge/trust-barrier (armProxyIngress); a value that does not parse is log.Fatal. After the hairpin configuration, wrapProxyIngress wraps both public listeners outermost (returns them untouched when unarmed); when armed it logs the armed line and starts runProxyJournal (counters to the journal, no reads). The existing 5 read sites are unchanged.;rev3=census-ruling-audit-request-path;basis=the dev-mode http.Server gains IdleTimeout: publicIdleTimeout (120 s) beside its ReadHeaderTimeout; comment updated. Same 5 read sites, no read added.;rev3=census-ruling-precert-dns01-1293;basis=the edge process (carlos-edge.service, user carlos), not root: after the cert warm starts, calls e.newPreIssuerFromEnv(certCache, mirror, wm) and, when it returns non-nil, starts its loop and logs one line. newPreIssuerFromEnv (precert.go) reads CARLOS_DNS01_ZONES and CARLOS_DNS01_ACCOUNTS from the edge environment (the root-owned host.env); either unset or invalid = nil, nothing else read. Only claims of the named accounts qualify. Armed, the loop runs only while this box holds the issuer gate: it lists domains/ claims in the deployment bucket through a ClaimCache, and for proven claims under the listed zones orders a certificate over DNS-01 through the existing DNS provider seam (dnsProviderFromEnv, same IAM-scoped _acme-challenge TXT writes the wildcard manager already makes), writing the result through the existing publishing cache (local acme dir + control/certs/<host>). No root read; the existing 5 read sites are unchanged.;rev3=census-ruling-alias-publish-precert-1293;basis=the edge process (carlos-edge.service, user carlos), not root: the pre-issuer start log now reads its zones from p.scope.Zones (the zones and accounts moved into the shared edge.DNS01Scope); no behaviour change, no read added, the existing 5 read sites unchanged. data-literal@129,data-literal@148,data-literal@284,data-literal@417,file:Open@1013 59e23002365aaecb99ac7b0f5719095ade566b0e5d4b965fa8671574fa6f1996
@legacy 046f72ed4a9c6af5f13a820ddf815cda09320ac5a777f348d97b2568345f1dd8 internal/domains/certusable.go UsablePerHostCert legacy accepted-legacy accepted-legacy;rev3=census-ruling-alias-publish-precert-1293;basis=new: reads <acmeDir>/<host> for the box agent edges-file writer (#1293): host must pass validHostShape (lowercase DNS labels joined by dots, so exactly one file directly under acmeDir; empty, dot segments and separators refused), Lstat first and only a regular file under 64 KiB is opened (no symlink followed), read through a 64 KiB LimitReader, parsed only by tls.X509KeyPair and reduced to a boolean (key matches leaf, leaf names host, inside its validity). acmeDir is $CARLOS_DATA_DIR/acme from the operator environment, the edge cache root already reads in hostCertExpiry. Nothing executed, followed or written. file:Lstat@177,file:Open@289,file:ReadAll@365 2457e0a19f95249ab2ff4cc0b8cb0203a7c2e05b2eba56ad5f01c2918779d267
-@legacy 2548f61289755c46e0f216176d53a8dbbfa8f8b42fad908ffb8f06444629e663 internal/host/agent.go edgeAcmeDir legacy accepted-legacy accepted-legacy;rev3=census-ruling-alias-publish-precert-1293;basis=new: the "/data" default and the "acme" join move here unchanged from domainsTickConfig (its two data literals); returns the -acme-cache flag when given, else $CARLOS_DATA_DIR (default /data) + /acme. A path computation from operator configuration; it reads nothing. data-literal@142,data-literal@183 c69fdf6215d9a5c40fdc190c5b7699e953f4f00bbc3163094503668a02f9ebf4
+@legacy 2bf2aeee10655ba96827962edb8bc5838f667f122666281ed08472b6f8ddd479 internal/host/acmedir.go edgeAcmeDir legacy accepted-legacy accepted-legacy;rev3=census-ruling-alias-publish-precert-1293;basis=new: (in its own file so agent.go stays inside its code-health length record) the "/data" default and the "acme" join move here unchanged from domainsTickConfig (its two data literals); returns the -acme-cache flag when given, else $CARLOS_DATA_DIR (default /data) + /acme. A path computation from operator configuration; it reads nothing. data-literal@142,data-literal@183 c69fdf6215d9a5c40fdc190c5b7699e953f4f00bbc3163094503668a02f9ebf4
internal/edge/edge.go RunWithActivatorReady legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-certwarm-wake;basis=registers the cert warm's nudge on OnReload and on the home map's new served-hosts wake (#386); nudge only sends on a buffered channel; no read added, same 5 sites;rev3=census-ruling-edge-roll-blip;basis=the :80/:443 (and dev) listeners are bound on the calling goroutine with net.Listen via listen()/listenAddr (same empty-address defaults as ListenAndServe) before the serve goroutines, which now call Serve/ServeTLS on them, and one log line names the bound addresses; no read added, same 5 sites;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): the inline home-map arming (newHomeMap, one boot Refresh, Store, run) moves unchanged into the new Edge.ArmHomeMap and is called here as e.ArmHomeMap(); same refresh, same timeout, same order. The reads are moved, none added.;rev3=census-ruling-agent-start-demo-1;basis=Logs the combined explicit wildcard parents through demoWildcardDomains; no new watcher or read loop.;rev3=census-ruling-region-ha-p3a;basis=P3a Task 3: invoke the local admission Close before HTTP/HTTPS draining and door shutdown in both dev and normal listeners. Preserve merged main's startup behavior and its census basis; the same five read sites, no new reads.;rev3=census-ruling-stateless-replicas-3;basis=Task 1b: defer stopping and joining the edge's replica jobs at shutdown. Existing five direct read sites unchanged; no new reader or authority.;rev3=census-ruling-region-ha-p3b;basis=Wrap dev, HTTP and HTTPS listeners through ConfigureGroupHairpin before serving. Indirectly read protected root boot identity and group-ingress.json; kernel local/peer addresses mark local ingress, never HTTP headers. Agent edge uses verified public source for accounting; direct read sites unchanged and absent marker keeps original listeners. CI fix removes interface enumeration: local peer must match snapshot primary IPv4, an ingress IPv4 installed locally by root, or loopback; kernel destination must still be an ingress EIP on port 80/443. Merge 45cebde4 retains deferred stopReplicaProbes alongside group listener wrapping and shutdown admission closure.;rev3=census-ruling-demo-api-site-route;basis=Change the startup failure context from load routes to initialize because origin validation now runs during construction. Existing five read sites unchanged; no new read or runtime authority.;rev3=census-ruling-region-ha-graceful-terminate-t2;basis=Invoke the agent shutdown timestamp hook synchronously at SIGTERM/SIGINT receipt before closing admission in dev and TLS paths. No read added.;rev3=census-ruling-region-ha-held-build;basis=region HA held-requests Task 5: registers the https and http servers with the connection drain (conns.serve) so a drain can close idle keep-alive connections; no read added;rev3=census-ruling-warm-set-published-724;basis=#724: the inline cert warm construction (newCertWarm over warmSet and dnsGate, then OnReload and setServedWake registering warm.nudge) moves unchanged into the new Edge.newIssuerWarm in certwarm.go and is called here with the same apps domain, parents, perHostCert, warmResolver, edgeIPs and store; the loop still starts here. The warm set it wires now reads the published edges files through the home map (OwnServedHosts and ServedHosts, both already polled) instead of the local route table, regional names aside. It is a different source, not a subset: an attached name not yet published as pointing is no longer listed, while a name the route table has already dropped stays listed until this box's next edges file write and the home map's next poll catch up (HostPolicy still refuses an order for a name the registry no longer holds). A name published not pointing is not a warm candidate at all, whether or not its certificate is cached: the warm neither looks it up, orders it nor re-arms its renewal until its home box publishes it pointing again (a cached certificate keeps serving and re-arms on a handshake at the issuer). The warm reads the set only after the issuer gate, and the read is in memory (route table and the home map's last snapshot); it also drops a DNS-miss entry for a name that has left the set before probing it. It keeps a failure record while any box publishes the exact name (the home map DeployedHosts: every box's file, own included, pointing or not, the same in-memory snapshot) or the name is a regional route-table name, and prunes it only once no box publishes it. That retention set has no apps-domain or wildcard filter (those stay on candidacy only), so a name published not pointing, or one a wildcard parent starts covering, keeps the record that explains its backoff; the set is never a source of candidates. No read site added in this unit, same 5 sites.;rev3=census-ruling-w6-ingress-drain;basis=the two public servers are built by e.publicServers (internal/edge/ingressdrain.go): :443 as before (same handler, TLS config and ReadHeaderTimeout 10 s), :80 now wrapped by plainTracked so the ingress drain can count and close its requests (its barrier is never §25's); Serve's error test is listenerFailed(err) = err != nil && !errors.Is(err, http.ErrServerClosed) (was err != ErrServerClosed), so a graceful Shutdown by the drain is not fatal. New Edge.plain connDrain field. Same flags, addresses and listeners; read sites unchanged (5); no read added.;rev3=census-ruling-edge-ppv2;basis=Edge process (uid carlos), not root. Edge gains the proxy atomic.Pointer. Outside dev mode, before either public listener binds and before the ready hook hands the Edge to the agent, calls e.loadProxyIngress(os.Getenv, dataDir): CARLOS_INGRESS_PROXY_SOURCES from the edge's own environment (carlos-edge.service loads the root-owned 0600 host.env) through hostenv.ParseProxySources; blank leaves the edge unarmed with nothing read; a non-empty list arms it and Lstats <dataDir>/edge/trust-barrier (armProxyIngress); a value that does not parse is log.Fatal. After the hairpin configuration, wrapProxyIngress wraps both public listeners outermost (returns them untouched when unarmed); when armed it logs the armed line and starts runProxyJournal (counters to the journal, no reads). The existing 5 read sites are unchanged.;rev3=census-ruling-audit-request-path;basis=the dev-mode http.Server gains IdleTimeout: publicIdleTimeout (120 s) beside its ReadHeaderTimeout; comment updated. Same 5 read sites, no read added.;rev3=census-ruling-precert-dns01-1293;basis=the edge process (carlos-edge.service, user carlos), not root: after the cert warm starts, calls e.newPreIssuerFromEnv(certCache, mirror, wm) and, when it returns non-nil, starts its loop and logs one line. newPreIssuerFromEnv (precert.go) reads CARLOS_DNS01_ZONES and CARLOS_DNS01_ACCOUNTS from the edge environment (the root-owned host.env); either unset or invalid = nil, nothing else read. Only claims of the named accounts qualify. Armed, the loop runs only while this box holds the issuer gate: it lists domains/ claims in the deployment bucket through a ClaimCache, and for proven claims under the listed zones orders a certificate over DNS-01 through the existing DNS provider seam (dnsProviderFromEnv, same IAM-scoped _acme-challenge TXT writes the wildcard manager already makes), writing the result through the existing publishing cache (local acme dir + control/certs/<host>). No root read; the existing 5 read sites are unchanged.;rev3=census-ruling-alias-publish-precert-1293;basis=the edge process (carlos-edge.service, user carlos), not root: the pre-issuer start log now reads its zones from p.scope.Zones (the zones and accounts moved into the shared edge.DNS01Scope); no behaviour change, no read added, the existing 5 read sites unchanged. data-literal@129,data-literal@148,data-literal@284,data-literal@417,file:Open@1013 59e23002365aaecb99ac7b0f5719095ade566b0e5d4b965fa8671574fa6f1996
internal/host/agent.go runAgent authority B,C,D,F rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): builds the box's lifetime judge once (newBoxJudge, nil with host claims on) and hands it to the seed placement, the moves and runs workers and every loop it starts; read sites unchanged, offsets moved; B,C,D,F authority retained; self-serve moves 1 Task 8: derives the box's lifetimes switch from the judge once (lifetimes := boxJudge != nil) and hands it to the edges file loop; read sites unchanged, offsets moved;rev3=census-ruling-plans-4d-lapse;basis=arms two more plans hooks from the same snapshot: e.SetPlanDisabledFor(planDisabledFor) beside SetPlanGovernedFor, and svc.SetDisabledFor(planDisabledRoute) beside SetMaxRunFor (plans 4d); the reads live in those units (plans-4d-units decision); read sites unchanged, offsets moved;rev3=census-ruling-rootfs-apps-2;basis=main's body as of the merge of origin/main 9b81d97b (with main's plan rate ceiling, edge request records, regional box names, self-serve moves plan 1, plans 4d-1 lapse and its other later changes under main's own census rulings) plus the rootfs placement wiring in the activator start: an agentRootfs built from eb.NestedOK, CARLOS_DEPLOYMENT_SINGLE_TENANT, CARLOS_POOLS, the claim flag, swapArming's answer, the control client's /ready/rootfs and, on a fleet box whose identity resolved, fleetOwnerCheck over the deploy store main already opens for the fleet label (fleetStore), then arm and armedRootfs.Store; this body reads nothing new itself; the closures it wires read later, at a rootfs wake and each status tick: GET /ready/rootfs over the control socket, NestedOK's checks, and release.FleetOwnerKey for the judged row's own account and this box's fleet from the deploy store;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 Tasks 7 and 11, #329 plan 3 Task 7 and plan 1 Task 7's policy cache: the control client is built once and handed to eb.Control, to the status tick (egressStatus) and to a new egressNudgeLoop goroutine; armSizeSource(svc, "/sys/fs/cgroup") after the activator Service; armPolicyCache() after armChangeIndex; statusLoop takes egressStatus. The reads are those units' own (decision rows); this body reads nothing new: the same five sites, offsets moved, in the agent; B,C,D,F authority retained.;rev3=census-ruling-remote-instance-metrics;basis=builds the metrics loop's owners closure (metricsOwners over the agent's registry, the activator and cgm.Leftover) when an activator exists and hands it to metricsLoop; reads nothing new itself;rev3=census-ruling-edge-asset-cache-3;basis=adds file:Statfs. runAgent keeps its authority (B,C,D,F). The new site is assetcache.Statfs, an exported assetcache.FS interface value (var Statfs FS = statfsFS{}), not a function value and not a call in runAgent: the ready hook passes it to armEdgeAssetCache as the store's filesystem, and armEdgeAssetCache calls its Space method on the configured data directory (dataDir(): $CARLOS_DATA_DIR, else /data), which calls unix.Statfs there (statfsFS.Space, accepted legacy at census-ruling-edge-asset-cache-2). No request-supplied pathname reaches it.;rev3=census-ruling-remote-metrics-nested;basis=main's body (merged origin/main acfa4f80, under main's own census rulings) plus: snapshots the nested layout (snapshotNestedUnits over /sys/fs/cgroup/carlos.slice/carlos-instances.slice) once at start, before the activator, and hands the metrics loop a unitSources struct (stamped units, routeHostNames, that root and the snapshot); reads nothing new itself;rev3=census-ruling-region-ha-p1a;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): wires region HA P1a into the activator: cfg.Record = haRecordFacts(openDeployStore, boxJudge) (the box's lifetime judge this body already builds with newBoxJudge, nil with host claims on; CI fix) and cfg.Self = lease.CurrentSelf; eb.Lifetimes (the process's lifetime index), eb.Registry, eb.StartupSwept (seedSweptAtStart.Load), eb.FilesStore from newProductionFilesStore (now lease.NewFilesStore, rootaws-loaded, a log line on failure) and lease.SetObligationDir(<data>/.ha-owed) (logged on failure; HA acquires then refuse); this body reads nothing new itself, the same five sites; the reads are those units' own (haRecordFacts and lease's SetObligationDir are new rows on this card); merge of origin/main d7ae1d76: main's own later changes to this body are kept as main has them, under main's rulings (census-ruling-remote-instance-metrics: the metricsOwners closure for metricsLoop; census-ruling-edge-asset-cache-3: the +file:Statfs site, assetcache.Statfs handed to the asset ready hook); this branch's change is the same as above;rev3=census-ruling-region-ha-p1b1;basis=region HA P1b-1: builds one termfence.Confirmer (Self from lease.CurrentSelf at each call, EC2 DescribeInstances method only, client from rootaws.LoadDefaultConfig with retries off, built lazily on first use) and sets eb.OwnerTerminated; this body reads nothing new itself, the same six sites;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 7: the startup Sweep literal hands its answer to startupSwept, which logs as before and, only on a clean sweep, marks rootfs admission swept (MarkRootfsSwept); same Sweep call, no read added;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (controller ruling after branch review R1, and Paul's R2 ruling): sets svc.Fleet = fleetWakeFor(os.Getenv, identity, identErr, fleetStore) from the identity it already resolves once and the deployment store the fleet loops already opened, and logs an ERROR naming the identity error when the box is on a fleet with an invalid identity. fleetWakeFor reads CARLOS_REGION and CARLOS_FLEET from the same environment. Read sites unchanged (6). Agent, not root; a platform box is unchanged.;rev3=census-ruling-rootfs-apps-6;basis=rootfs Plan 6 Task 12: one call more beside armRunsPass, armInteractivePass(svc, reg, rolloutSink, boxJudge), in the same activator Configure hook, handing it the same box judge; fix round 1 (Astra P2, shutdown): after svc.Shutdown(ctx), shutdownInteractive(ctx) ends and joins every interactive session under the same shutdown budget; the worker's own reads are its units' (interactive.go); this body reads nothing new, the same six sites; merge of origin/main 6f1f6ca6: main's svc.Fleet = fleetWakeFor(...) and its invalid-identity ERROR line are kept as main has them (census-ruling-managed-fleets-1b); this branch's change is the same as above; read sites unchanged (6);rev3=census-ruling-fix-set-aside-exdev;basis=set-aside EXDEV fix: one field more on the agent ExecBackend literal, RawInstanceDir: layout.RawInstanceDir (a pure path join: <dataDir>/.instances/<InstanceID(host)>), so the start rule set-aside moves a copy out through the raw directory instead of through the nosymfollow bind; this body reads nothing new, the same six sites;rev3=census-ruling-durability-3a-escrow;basis=durability 3a Task 3: one more assignment beside eb.FilesStore: eb.EscrowKey = haEscrowKey(os.Getenv("CARLOS_SECRETS_KEY")), the agent's own environment parsed by appconfig.ParsePrivateKey as the moves pass parses it (unset or unparseable: a log line and nil, and HA publication refuses on the box). No path is opened or read, no read site added; the same six sites, offsets moved; B,C,D,F authority retained. Durability 3a Task 4: one more goroutine beside configSyncLoop: go escrowLoop(agentCtx, reg, svc), the escrow sweep every 30 s over the same registry and Service. This body reads nothing new itself; the same six sites, offsets moved; B,C,D,F authority retained. Durability 3a Task 5: one more call beside eb.EscrowKey: wireRawSecretPages(eb, PageOperator, metricsBoxLabel(os.Getenv, readMachineID())), which sets eb.OnRawSecret to page an operator (alerting.Page through PageOperator, LevelIncident) on its own goroutine with a 20 s timeout; metricsBoxLabel and readMachineID are the reads this body already makes for the moves refusal log; no new read site; the same six sites, offsets moved; B,C,D,F authority retained. Merge of origin/main 90c4d3aa: main's own later changes to this body are kept as main has them, under main's rulings; this branch's change is the same as above. Merge of origin/main 00bf5b8c (fleet set-aside EXDEV fix): main's change to this body is kept as main has it, under its own census ruling; this branch's change is unchanged.;rev3=census-ruling-probe-burst-limit;basis=two more sink wirings beside setAnalyticsSink: setProtectionSink(e.SetProtectionRecordOnly) and setAssetOwnersSource(e.AssetOwners), function values the telemetry pass calls; this body reads nothing new, the same six sites; authority B,C,D,F retained; no new root read or write kind;rev3=census-ruling-region-ha-p1b3a;basis=Arm HA placement exactly once on the existing Service before activatorStart and edges publication, wiring AwakeApps and the PageOperator callback; existing six read sites unchanged, no new root authority.;rev3=census-ruling-stateless-replicas-1;basis=Final review I3: start the concrete coordinator's renewal worker with agent setup; existing closeReplicaCoordinator shutdown cancels and joins it before release. No new read sites or credentials. Merge origin/main c59715e7: retain main's armHAPlacement(svc, PageOperator) wiring beside the existing activator setup; stateless coordinator and shutdown wiring remain. Same read sites; no new root read or credential.;rev3=census-ruling-edge-held-streams;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): in the edge-ready callback, calls act.SetHeldWakeHook(e.HeldWake) when act is non-nil (installing the non-blocking wake callback) and stores e.HeldStreamsForStatus in heldStreamsSource. Wiring of in-memory callbacks only; no read added.;rev3=census-ruling-region-ha-p1b3b-t;basis=Wire Service.SetDutyView to the live edge DutySnapshot in the ready callback. No new read; no new loop or cloud operation. B2 wires the registry as the persistent DutyStore before service startup; no new cloud or filesystem path. B3b: arm one journal-backed termination consumer before service startup using agentCtx and the shared confirmer; expose edge tick and join at edge shutdown. No new direct read sites.;rev3=census-ruling-agent-start-demo-1;basis=Passes the existing registry, data store and hibernation prefix into the demo worker, and the existing instance-control client into the demo before-exec hook. No alternate data store or polling loop. Merge resolution against origin/main 9bd45488 retains main's HA departure controller, lifecycle and duty wiring alongside the demo data store and worker; no read site added by the resolution.;rev3=census-ruling-region-ha-p3a;basis=P3a Task 3: install closed fixed admission before every launch source, bind activator/backend and edge, wire the real termination Started lifecycle and role reader after the change index; close before cancellation/child shutdown. No new external reads or cloud authority. Fix R1: move bind/lifecycle/edge-option wiring into wireAgentAdmission and worker listing into runWorkerBootPassAfterAdmission. Worker boot waits for admission before listing then uses unchanged bounded wakes and per-host serialization; whole Route read moves to the helper. No new storage, cloud, or root execution authority. Preserve merged main's agent wiring and census basis; the branch removes one whole Route use by moving worker iteration to the helper, with no added read kind.;rev3=census-ruling-stateless-replicas-2;basis=Slice 3b: arms a fleet-only worker using the existing registry, activator, backend and authenticated console transport. Owned worker stops and joins at shutdown. No new bucket reader. merge of origin/main 9b8b2c50: retain HA duty/departure lifecycle, wake-slot and existing agent wiring alongside the replica placement worker; no new read introduced by resolution. merge of origin/main 6be08467: Retain main demo configuration, admission, build and expiry wiring alongside the replica worker; merge-only body change, no additional read. merge of origin/main 7920cccf: Retain main box-role/group admission wiring and boot publication beside the owned replica worker and shutdown; main moves the boot registry List into runWorkerBootPassAfterAdmission, removing its inline whole Route site. No new read introduced by conflict resolution.;rev3=census-ruling-stateless-replicas-3;basis=Task 1 fix round 1 M3: retain the private snapshot source and cancel/join ownership, but use the replica-health-specific retry loop. It logs its first failure only and retains the existing exponential backoff capped at 30 seconds; unsupported builds return nil. Existing five direct read sites unchanged; no new credentials, bucket reader or app lifecycle action. Fix round 1 Q20: publish Edge.ReplicaSnapshots as a separate in-memory status source, leaving the tenant-visible Upstreams source unchanged. No new external reader or authority.;rev3=census-ruling-region-ha-p3b;basis=Load root-written group marker/configuration, configure signed boot binding and agent receipt completer, wire cancellable admission into departure work and expose cached GroupReaderSnapshot. New indirect boot reads use protected root files; agent-owned receipt controls duplicate initial completion only, never root restart permission. Same five direct sites. Merge 45cebde4 retains the replica health socket lifecycle and setReplicaSource beside GroupReaderSnapshot; no extra read beyond main.;rev3=census-ruling-agent-start-demo-2;basis=agent.go:309-329 opens demo-traffic.db beside the operator-configured registry when a demo domain exists, closes it at shutdown and wires drain-before-purge; :1010-1019 shares the worker and write gate; :1164-1177 installs the fleet identity and closed-until-worker serving callback. One added whole Route pass; the new indirect filesystem/SQL reads are claimed in openDemoTraffic and worker/store units. No request chooses the database pathname.;rev3=census-ruling-region-ha-p1b3b-s;basis=Wire the service duty view to authoritative cached sidecar manifest placement in LifetimeIndex and the edge sidecar projection; missing policy denies duty. Existing instance duty wiring remains.;rev3=census-ruling-region-ha-g2-t3;basis=T3a: wire eb.Page = PageOperator beside OwnerTerminated before departures arm, so suspect-holder pages work if departure setup fails; no new read; existing nine sites and authority unchanged; pages through the existing sink. T3b: publish the same backend through an atomic pointer for the metrics observer, and clear it on return; no new external read or authority.;rev3=census-ruling-agent-start-demo-3;basis=Wire the claim activator and root snapshot client into the demo worker; pass moved readiness to status reporting. Census read-site delta: unchanged (9).;rev3=census-ruling-region-ha-g2-fixes;basis=Wire local pool evidence, live withdrawal activator, startup ingress scan and alias publication, and edge lookup; no new direct sites; new indirect record/claim reads use existing store/judge paths described in ingress helpers.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3: starts the existing record-view backstop loop with a departure-inventory listener (non-blocking, coalesced signal) even without an armed RecordView; it requests the existing full pass (backstopFullDue) there. Same nine read sites; no new read or authority.;rev3=census-ruling-region-ha-graceful-terminate-t2;basis=Derive one signal-time deadline with a 90-second budget; cap departure stop and startup/seed/service shutdown joins by it. No read added.;rev3=census-ruling-static-sweep-periodic;basis=in the edge-ready callback, publishes e.LargestStaticTree in staticTreeSource for the disk alert line (diskAlertFrac in the metrics loop); in-memory wiring only, no read added; read sites unchanged (9);rev3=census-ruling-edge-page-cache-1;basis=wires the exec backend's CurrentInputs into the edge cache (wireCurrentInputs) and, in the ready hook after armEdgeAssetCache (whose returned store it now keeps), calls armEdgePageCache, which does nothing unless CARLOS_PAGE_CACHE=1; read sites unchanged (9); no read added;rev3=census-ruling-gvisor-demos;basis=Capture sandbox resolution and refusal once; log errors once; gate route admission and BeforeExec before process launch. No new root read. Task 5: pass the once-captured sandbox effective mode/config error into ExecBackend, UnitBackend and the immutable Client expectation. Same startup environment/registry reads; swapArming declines gVisor before placement. Task 8: arm read-only status projection with the existing Client.SandboxStatus callback. Agent status now queries the existing root /ready endpoint; no new root authority or guest-file input. Merge2 e8a1ddde: retain main wireCurrentInputs and armEdgePageCache through the existing asset-store ready hook alongside branch once-captured sandbox mode, wake gates and root status wiring. No new direct read; main page-cache helpers retain their own census overlays.;rev3=census-ruling-region-ha-held-build;basis=wires the drain state: svc.SetDrainingSource(boxDrain.IsDraining), svc.SetPeerDrainView(e.PeerDraining), e.SetPeerDrainedHook(svc.DropHoldersNaming); in-memory only; no read added; region HA held-requests Task 5: on group members, starts the drain driver over the activator, the edge and boxDrain, and serves its root-only drain socket; no read added beyond the socket's own Branch review r1: the drain state follows the root start fence on group members (the fence reader is the existing fenceLocation.read, a root-owned fixed path); e.SetPeerUndrainedHook(svc.AllowHoldersNaming) beside the drained hook (memory only); the drain socket serves only the agent's own user. No read added.;rev3=census-ruling-security-review-mitigations;basis=Wire the cached operator flat-layout choice into the exec backend's new-resident refusal; no read source added, existing authority retained.;rev3=census-ruling-w6-ingress-drain;basis=agent (user carlos), not root. Builds the ingress drain (newIngressDrain) with arming read at ask time from os.Getenv (CARLOS_REGION_HA, CARLOS_INGRESS_TARGET_GROUPS, both from the root-owned host.env), the fixed admission and lease.CurrentSelf (existing IMDS identity); its reader is awstg.Load, the box role's credentials calling ELB DescribeTargetHealth/DescribeTargetGroupAttributes (new AWS reads, by the agent). Wires admission.closeStartsForIngressDrain, the lbhealth drain condition, ingress.setEdge, and ingress.shutdownStarted in WithShutdownStarted. The drain socket (/run/carlos/.ha-drain/drain.sock, agent-user only, existing) is now also served on a fixed box with the drain configured (was group members only), routing /v1/ingress/* to the ingress drain and the group drain verbs to 404 there. armHADepartures now takes fixtureDepartureGetenv() and MakeQueue fixtureDepartureQueue(), which in a production (non-rootrunner) build are os.Getenv and nil, as before. Read sites unchanged (9).;rev3=census-ruling-stateless-replicas-4-task1;basis=Arms the fleet-only replica swap worker next to the placement worker: same console URL and fleet token as the existing replicaCoordinatorAPI, the existing activator Service; stops and joins at shutdown. No new read site, credential or bucket reader.;rev3=census-ruling-stateless-replicas-4-task2;basis=Task 2: sets deployWorker.step to the rollout scheduler answer for the record permit (replicaStepOf over armedRollout), an in-memory callback; no read site, credential or bucket reader added.;rev3=census-ruling-stateless-replicas-4-task2-fix2;basis=Task 2 fix round 2: the swap worker step is armedReplicaStep, the same lazy scheduler lookup as before as a named function; no read site added.;rev3=census-ruling-stateless-replicas-4-merge-main;basis=Merge of main 5fac2ff1: both sides changed it. Main (01d6ca78, linked-deployments-slice1) starts linkLoop beside tunnelLoop; this branch keeps its replica coordinator wiring. Both kept as-is; no read added.;rev3=census-ruling-stateless-replicas-4-final;basis=#511 final wave item 2: wires the swap worker's drive (armedReplicaDrive, the armed rollout manager's DriveReplicaRelease); no read added;rev3=census-ruling-stateless-replicas-4-merge-main2;basis=Merge of main af871da0 (v0.34.49): both sides changed it. Main (178dcfe5, member-backups-2a) moves the inline duty-view closure into armDutyView/dutyView and starts verifyAssignLoop; its sites drop by registry:Host and whole:Route x2 as main recorded them. This branch keeps its replica coordinator, swap worker and drive wiring. Both kept as-is; no read added.;rev3=census-ruling-stateless-replicas-4-drill3;basis=drill 3 R24: makes one in-memory channel, closes it (once) inside the edge's existing shutdown-started callback after ingress.shutdownStarted, and passes it to tunnelLoop, which drains only a fleet channel name; no read added, same six sites; touches no admission, lease, ingress drain, listener or file; the agent process, no root decision;rev3=census-ruling-edge-ppv2;basis=Agent (uid carlos), not root. memwatchLoop now gets edgeProxyCounters(&demoEdge) (in-process counters, no read). The drain socket's driver is newAgentDrainSocket(ingress, e, os.Getenv), which attaches the edge trust handler only when CARLOS_INGRESS_PROXY_SOURCES in the agent's environment (from the root-owned host.env) parses to a non-empty list; the socket is served when drainSocketServed: a group member or a configured ingress drain (both as before), or a box armed for PROXY protocol (new). The socket's path and agent-user-only permissions are unchanged. Read sites unchanged (6).;rev3=census-ruling-same-box-edge-fence;basis=Agent (uid carlos), not root. One added line: armEdgeFenceStatus(ctl.EdgeFence), beside the existing armExecSandboxStatus, so the layout report can ask root's /ready for the edge fence state over the control socket client the agent already holds. No read added.;rev3=census-ruling-platform-mail-submission;basis=Task 4: sets eb.Mail = mailsubmit.SocketForwarder{} on every box, and eb.MailSwitch to a mailSwitchCache's On that opens the deploy store itself through openDeployStore, retried at most once a minute with an error line until it opens (review round 1, Task 4 P3), armed for the serial-move refresh (armedMailSwitch). Task 6: also sets the ExecBackend's ManifestOf, the same staged-manifest read as TierOf (rt.App and RouteAccount(rt), hence +registry:App and +whole:Route), for the spawn-time check of decision 10, which logs and emits an event and never refuses. Agent, not root. Fable final P2-2: eb.MailSwitch is the cache's State (three-valued: on, off, unknown) in place of On; an unreadable switch is unknown, never off. No read added.;rev3=census-ruling-fleet-drain-followups;basis=P3 (#1008 T9): one call after armChangeIndex, requestBootFullPass(v, &backstopFullDue), which stores true in the existing in-memory backstopFullDue flag only when no record view is armed, so the fast loop runs its existing full pass on its first tick instead of instancesLoop a minute later; armed boxes unchanged. No read added; read sites unchanged (8); agent, not root.;rev3=census-ruling-fleet-first-reconcile-speed;basis=Startup timing log lines only: runDuties builds a step logger (newStartupLog, which reads the in-memory agent start time) and logs one line after the wait on the activator startup latch and after each existing duty before go fastConvergeLoop. One newStartupLog().at line in the edge ready hook before go tunnelLoop. No read added; read sites unchanged (8). Agent, not root.;rev3=census-ruling-ha-1192;basis=sets the group drain driver's departed hook to armedPeerDeparted (the armed departure controller's PeerDeparted: local registry identity + departure journal); no new read;rev3=census-ruling-replica-wake-gap-r3;basis=Calls lease.SetContinuityDir(<data dir>/.continuity) beside the existing obligation store: the agent's own 0700 directory for clean records, outside every instance tree (#1290 round 3). No new read; failure is logged and every start then takes a full image.;rev3=census-ruling-fleet-restart-wake;basis=Fleet restart wake Task 2: cfg.ReplicaRecord = replicaRecordFacts(boxLifetimes, cfg.Record): hands the existing judged record read (haRecordFacts over openDeployStore and boxJudge) as the live read on a lifetime index miss. No read site added here; agent, not root.;rev3=census-ruling-alias-publish-precert-1293;basis=starts edgesFileLoop with one more argument, edgeAcmeDir(os.Getenv, peekAcmeCache(args)): the agent's own -acme-cache flag (already parsed for domainsLoop) or $CARLOS_DATA_DIR/acme; a string computed from the operator's command line and environment, no read. Same 8 read sites. file:Exec@22002,file:Open@2191,file:Statfs@58453,registry:App@13299,registry:App@13677,whole:Route@13291,whole:Route@13669,whole:Route@51668 1a8ab6710ec49bfb31045fc06b89b0490d61823d2ba2db269929c76974de1c32
internal/domains/certusable.go UsablePerHostCert legacy accepted-legacy accepted-legacy;rev3=census-ruling-alias-publish-precert-1293;basis=new: reads <acmeDir>/<host> for the box agent edges-file writer (#1293): host must pass validHostShape (lowercase DNS labels joined by dots, so exactly one file directly under acmeDir; empty, dot segments and separators refused), Lstat first and only a regular file under 64 KiB is opened (no symlink followed), read through a 64 KiB LimitReader, parsed only by tls.X509KeyPair and reduced to a boolean (key matches leaf, leaf names host, inside its validity). acmeDir is $CARLOS_DATA_DIR/acme from the operator environment, the edge cache root already reads in hostCertExpiry. Nothing executed, followed or written. file:Lstat@177,file:Open@289,file:ReadAll@365 2457e0a19f95249ab2ff4cc0b8cb0203a7c2e05b2eba56ad5f01c2918779d267
-internal/host/agent.go edgeAcmeDir legacy accepted-legacy accepted-legacy;rev3=census-ruling-alias-publish-precert-1293;basis=new: the "/data" default and the "acme" join move here unchanged from domainsTickConfig (its two data literals); returns the -acme-cache flag when given, else $CARLOS_DATA_DIR (default /data) + /acme. A path computation from operator configuration; it reads nothing. data-literal@142,data-literal@183 c69fdf6215d9a5c40fdc190c5b7699e953f4f00bbc3163094503668a02f9ebf4
+internal/host/acmedir.go edgeAcmeDir legacy accepted-legacy accepted-legacy;rev3=census-ruling-alias-publish-precert-1293;basis=new: (in its own file so agent.go stays inside its code-health length record) the "/data" default and the "acme" join move here unchanged from domainsTickConfig (its two data literals); returns the -acme-cache flag when given, else $CARLOS_DATA_DIR (default /data) + /acme. A path computation from operator configuration; it reads nothing. data-literal@142,data-literal@183 c69fdf6215d9a5c40fdc190c5b7699e953f4f00bbc3163094503668a02f9ebf4
internal/host/edgesfile.go edgesFileWriteClaims authority F,J1 rev3=census-ruling-self-serve-moves-1;basis=root-route;kept=F;scope=protected-decision-only; the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): region-ha-2a's body, which with the box's lifetimes switch on also publishes each served row's lifetime pair (registry:Incarnation and registry:ServingSeq, two new sites on the rows it already lists) and an alias's or served catch-all's primary's pair, and names that primary as target_host whatever the switch; a report the edge orders unstamped entries by, not a decision; no record, /data, release or claim read added; F,J1 authority retained; self-serve moves 1 Task 8;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 Task 8: takes a localAddrs reader (instancectl.LocalAddresses in production, which reads /proc/net/fib_trie and /proc/net/if_inet6 in the agent) and publishes its non-loopback entries as the edges file's addrs before the write gate (boxAddrs, no read of its own), so an address change writes once. The same 44 sites, offsets moved; no record, /data, release or claim read added; a report the console's egress grant check reads, not a root decision; F,J1 authority retained.;rev3=census-ruling-edge-asset-cache-3;basis=starts with assets = assets.active(), so a policy whose box has not opened its asset store publishes no assets blocks and reads no manifests, and copies the decision's Primary (the route host the block was decided for, drift D4) into the published assets block; read sites unchanged (44); no read added. Merged onto main's #328 body, which takes the localAddrs reader: the assets.active() line sits after that signature and the loop passes pub and instancectl.LocalAddresses;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: the claims argument (*edgesClaims) becomes addrs (AddressSource) and the applyEdgesClaims(ctx, claims, routes, hosts) call is deleted with edgesclaims.go, which is the one whole:Route site removed: no host claim is read and every served row publishes as with region HA off; the box-address publication is the same code reading addrs.BoxAddresses() instead of claims.addrs; a report the edge reads, not a root decision; no read added; merge of origin/main d7ae1d76: main's edge asset cache plan 3 body is kept (census-ruling-edge-asset-cache-3): the first line is assets = assets.active(), so a policy whose store has not opened publishes no assets blocks and reads no manifests, and edgesFileLoop passes pub (assets.active() for that tick) in the assets argument; main's claims *edgesClaims argument is this branch's addrs AddressSource, and no edgesClaims, applyEdgesClaims or hostclaim reference remains;rev3=census-ruling-alias-wake-338;basis=#338 follow-up: skips publishing a platform alias edge.PlatformAliasFold refuses (and so anything attached to it); reads the same route listing;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 6 and its fix rounds: publishes by FleetArmVerdict (via fleetRefusedFor): withheld rows left out; a forward host's path rows left out of its owner; no assets for forward rows; the alias loop replays Reload's alias fold from the served rows so a chained alias carries its root primary's owner; certRefused and parentRefused leave out a refused claim's wildcard parent (+registry:Alias x5, +registry:Host x4, +whole:Route, +whole:RouteAlias x2, +whole:RoutePath x7, +whole:WildcardDomain). Rows already read in the pass; keeps authority F,J1; publishes less, never more.;rev3=census-ruling-probe-burst-limit;basis=sets the constant BurstNotices=true on the box's own edges file (this build's edge answers probe-burst notices, so peers may send them); not from config or any read; the same 65 sites; a report other edges read, not a root decision; F,J1 authority retained; no new root read or write kind;rev3=census-ruling-region-ha-p3a;basis=Publish one injected role snapshot with box_role/admitted/drained; retain legacy route and alias rows during booting, cutting namespace withdrawal under the 2026-11-04 ruling; acknowledge the exact published tuple only after PUT; existing registry reads unchanged.;rev3=census-ruling-region-ha-p2b;basis=region HA P2b-1 T0 (Q1 ruling): before building the comparison copy and the body, a nil NamedPools on the identity becomes []string{} so the additive named_pools field is always an explicit array; the list itself is computed once at arm by edgesFileEligibility from the same provisionTickConfig(os.Getenv) parse as serves_shared_pool (CARLOS_POOLS through provision.ParseBoxPools, filtered to nonempty provision.ValidPool names, sorted, unique). A report the console reads for create admission, not a root decision; no record, /data, release or claim read added; read sites unchanged (65); F,J1 authority retained. One-off cost: the first pass after the upgrade writes once per box (seeded gate null vs []).;rev3=census-ruling-region-ha-p3b;basis=Require cached GroupReadersReady before first group publication and append additive names-2 capability even for supplied identities. Agent writes the same edges object/index with existing registry reads; known readers come from root boot configuration, snapshot from existing fold, no added GET/LIST or root authority.;rev3=census-ruling-region-ha-g2-fixes;basis=Omit non-forward, non-platform-alias rows outside local served pools from home publication; added Host/Pool field reads and local configuration use, existing registry/store operations retained.;rev3=census-ruling-edge-page-cache-1;basis=prunes the manifest cache through the new atomic pointer (assets.manifests.Load().prune(...), nil-safe); nothing else changes; read sites unchanged (67); no read added;rev3=census-ruling-region-ha-held-build;basis=writes also when DrainPublishRequired, and reports the written drain state, its ha_drain mark (transaction and publication id) and generation to DrainSource (in-memory); the file gains ha_drained and ha_drain beside the existing draining; no read added. held-requests Task 4: sets the constant ha_take=1 on the box's own file when its in-memory capabilities include region-ha-1 (this build's edge answers take requests); not from config or any read; a report other edges read, not a root decision; no read added;rev3=census-ruling-warm-set-published-724;basis=#724: the agent as carlos: reads PLATFORM_APPS_DOMAIN from the environment once per pass (the variable domainsLoop already reads) and sets an additive dns_pointing mark on each published custom name through dnsPointingMark: true on a published alias (registry:Alias, already published only when its dns_status is pointing), and on a route with a hostname outside the apps domain whether its registry:DNSStatus is pointing (registry:Host, registry:DNSStatus on rows the pass already lists). No mark under the apps domain, on a wildcard row, or with no apps domain set. A report the issuer cert warm reads to leave a not-yet-pointing custom name out of its set, not a root decision; it publishes the same names as before. No record, /data, release or claim read added; no new registry query; F,J1 authority retained. One-off cost: the first pass after the upgrade writes once on a box homing a custom name.;rev3=census-ruling-held-floor-capability;basis=held floor capability (region HA §25.9, agent manager 8a3d302, 2026-11-10): sets the constant ha_handover=1 on the box's own edges file on every pass, whatever its capabilities (this build understands the held-requests headers and the drain acknowledgement); the group roll floor reads it. Not from config or any read; ha_take unchanged; a report other tools read, not a root decision; no read added; F,J1 authority retained. One-off cost: the first pass after the upgrade writes once per box.;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 3: fleetArmInputs now returns edge.ForwardOwners (this box's fleets table and its active links, registry LinkOwners, read only where tunnels are on), passed to edge.FleetArmVerdict as before, so the hub's eligible link-placed forward rows are published for backhaul like fleet rows; same listing and verdict, no read added in the unit;rev3=census-ruling-path-routes-across-boxes;basis=#186 spec 5.1: publishes route_account, route_app, path_front, path_target (registry.PathFront/PathTarget over the route row) on exact real route rows only (never a platform alias or a '*.' row); additive omitempty fields read from the registry route rows already loaded; adds reads of Route.Host and Route.App;rev3=census-ruling-alias-publish-precert-1293;basis=the box agent (root) writing its own control/edges/<box>.json: an alias not yet stamped pointing is also published (marked dns_pointing false) when edge.DNS01Scope allows its name and account and domains.UsablePerHostCert finds a usable per-host certificate for it. New inputs: CARLOS_DNS01_ZONES and CARLOS_DNS01_ACCOUNTS from the agent environment (root-owned host.env, operator-only), and ident.AcmeDir, set once at arm by runAgent from edgeAcmeDir (the agent's own -acme-cache flag, else $CARLOS_DATA_DIR/acme, the same derivation the domains sweep uses); empty publishes nothing early. New read, via domains.UsablePerHostCert: <AcmeDir>/<alias> for an alias inside the operator scope only, where the name must pass validHostShape (lowercase DNS labels, so one file directly under acme/, no separators or dot segments); Lstat first and only a regular file under 64 KiB is opened (a symlink is not followed); the bytes are only parsed by tls.X509KeyPair and reduced to a boolean, never executed, followed or written. That directory is the edge cache (written by carlos-edge, user carlos) the agent already reads as root in domains hostCertExpiry; same read sites otherwise. registry:Account@11361,registry:Account@18525,registry:Alias@10737,registry:Alias@10756,registry:Alias@10855,registry:Alias@11134,registry:Alias@11169,registry:Alias@11231,registry:Alias@11352,registry:Alias@11410,registry:Alias@11752,registry:Alias@11909,registry:Alias@11979,registry:Alias@12011,registry:Alias@12915,registry:Alias@13006,registry:Alias@15998,registry:Alias@16048,registry:App@18537,registry:App@6228,registry:DNSStatus@11285,registry:DNSStatus@11918,registry:DNSStatus@5744,registry:Host@10782,registry:Host@10830,registry:Host@15901,registry:Host@15921,registry:Host@16186,registry:Host@16266,registry:Host@16301,registry:Host@16350,registry:Host@16812,registry:Host@16847,registry:Host@17955,registry:Host@4189,registry:Host@4292,registry:Host@4338,registry:Host@4397,registry:Host@5736,registry:Host@6155,registry:Host@6323,registry:Host@7293,registry:Incarnation@5943,registry:Platform@5251,registry:Pool@4252,registry:Provisioned@5265,registry:Replica@5289,registry:ServingSeq@5958,registry:Status@2953,whole:Route@1026,whole:Route@1839,whole:Route@19995,whole:Route@20820,whole:Route@20995,whole:Route@2323,whole:Route@6224,whole:Route@6284,whole:Route@6308,whole:Route@7378,whole:Route@750,whole:RouteAlias@10620,whole:RouteAlias@10702,whole:RouteAlias@11119,whole:RouteAlias@15952,whole:RouteAlias@20017,whole:RouteAlias@21010,whole:RoutePath@20010,whole:RoutePath@21003,whole:RoutePath@7162,whole:RoutePath@7194,whole:RoutePath@7241,whole:RoutePath@7269,whole:RoutePath@7307,whole:RoutePath@7327,whole:RoutePath@7339,whole:RoutePath@7393,whole:WildcardDomain@15879,whole:WildcardDomain@16255 b0273836ab317d59baed4021281a6dee9e596e83437f8fb86a57b05017e2a9ac
@remove internal/host/agent.go domainsTickConfig
@removed internal/host/agent.go domainsTickConfig H3 census-ruling-alias-publish-precert-1293;basis=its AcmeDir default now comes from edgeAcmeDir(getenv, "") instead of the inline /data + acme join: the same value (pinned by TestEdgeAcmeDirIsTheSweepsDefault); its two data literals moved to edgeAcmeDir, so it reads nothing now.
@coverage internal/domains de77b6ec665cd5bbc0a4e42fbb57b0b0116b116648bf7c52939c93587007d720
@coverage internal/edge 08ea555047a9b3cdb042cf2d34a463e64f8fbbb5d22cf31f7137a7024f04b64a
-@coverage internal/host 58f7d962983162a0defbed94f14d8658e81c01bc006659adb42ebdb37420ff07
+@coverage internal/host 514dbe9e8c9a2892d04fa0236270992ca19d6d0a344f987dd6cd5de88409d329
diff --git a/internal/provision/testdata/plan14-root-reads-chain.tsv b/internal/provision/testdata/plan14-root-reads-chain.tsv
index 2c03b270f..df64a5376 100644
--- a/internal/provision/testdata/plan14-root-reads-chain.tsv
+++ b/internal/provision/testdata/plan14-root-reads-chain.tsv
@@ -284,4 +284,4 @@ plan14-root-reads-egress-allow-cidr-console.tsv 9fb6041c2fe2f33edf7cc2a0fb6dc050
plan14-root-reads-ha-departure-evidence.tsv 924ffc4037d32d7b46af1e373bad1476fc7305833fc6c06d50d5c8c3ab5ac177
plan14-root-reads-stateless-scale-2-fleet-sizes.tsv 00fe607a04674579005013fae1e275cb0434ce54493b1efbe678aed59a12366b
plan14-root-reads-store-versioning.tsv 841361b89e20c3763149e8784cdebb037dcc4b828b24196a01d3e300ff319661
-plan14-root-reads-alias-publish-precert-1293.tsv 5115b6b1ed19c0acc648f068e17a291f8c2da0137c6c5f321f533713fbfb4d31
+plan14-root-reads-alias-publish-precert-1293.tsv c25a6eac6ece70098b052b6451deff684c29ff8cfcd24ba37625f01028dedf88