carlos / platform Public

edge: hop acceptance and the tunnel visitor in one helper (#1348)

Keeps Edge.ServeHTTP under its code-health line record: acceptIngress
does the pinned/acceptHop split and then the tunnelled request's gate
key. ServeHTTP's record drops to 379. Census proposal refreshed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 867cb78e10f9f741ac5bdf63cbc1a9b3236d3e1a parent e53b584
5 files changed, +28 −23
  • .amadan/code-health.tsv +1 −1
  • docs/superpowers/notes/census-proposal-fleet-client-address-1348.md +2 −2
  • internal/edge/edge.go +21 −16
  • internal/provision/testdata/plan14-root-reads-chain.tsv +1 −1
  • internal/provision/testdata/plan14-root-reads-fleet-client-address-1348.tsv +3 −3

CI failed — run details

CI log
=== gate ===
go: downloading go1.26.10 (linux/arm64)
go version go1.26.10 linux/arm64
opentofu: arm64, tofu 1.13.9, aws 6.73.0, archive 2.8.1
  tofu: downloading https://carlos-ci-mirror-640012953448.s3.eu-west-1.amazonaws.com/opentofu/tofu_1.13.9_linux_arm64.tar.gz
  tofu: downloaded, digest verified
  aws: downloading https://carlos-ci-mirror-640012953448.s3.eu-west-1.amazonaws.com/opentofu/terraform-provider-aws_6.73.0_linux_arm64.zip
  aws: downloaded, digest verified
  archive: downloading https://carlos-ci-mirror-640012953448.s3.eu-west-1.amazonaws.com/opentofu/terraform-provider-archive_2.8.1_linux_arm64.zip
  archive: downloaded, digest verified
  installed in /tmp/carlos-opentofu-pAP4wR
.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/cloudwatch v1.68.0
go: downloading github.com/benbjohnson/litestream v0.5.14
go: downloading github.com/aws/smithy-go v1.28.1
go: downloading golang.org/x/net v0.62.0
go: downloading github.com/superfly/ltx v0.5.1
go: downloading modernc.org/sqlite v1.55.0
go: downloading github.com/aws/aws-sdk-go-v2/service/acm v1.45.0
go: downloading github.com/aws/aws-sdk-go-v2/service/ec2 v1.324.0
go: downloading github.com/aws/aws-sdk-go-v2/service/iam v1.58.2
go: downloading github.com/aws/aws-sdk-go-v2/service/resourcegroupstaggingapi v1.37.0
go: downloading github.com/aws/aws-sdk-go-v2/service/route53 v1.64.1
go: downloading golang.org/x/sys v0.49.0
go: downloading golang.org/x/crypto v0.58.0
go: downloading golang.org/x/mod v0.41.0
go: downloading github.com/oschwald/maxminddb-golang v1.13.1
go: downloading github.com/aws/aws-sdk-go-v2/service/sesv2 v1.66.6
go: downloading github.com/pion/stun/v3 v3.1.5
go: downloading github.com/pion/randutil v0.1.0
go: downloading github.com/pion/transport/v4 v4.0.2
go: downloading github.com/pion/dtls/v3 v3.1.4
go: downloading github.com/pierrec/lz4/v4 v4.1.22
go: downloading github.com/klauspost/compress v1.20.2
go: downloading github.com/prometheus/client_golang v1.17.0
go: downloading github.com/wlynxg/anet v0.0.5
go: downloading github.com/cespare/xxhash/v2 v2.3.0
go: downloading github.com/prometheus/client_model v0.5.0
go: downloading github.com/prometheus/common v0.45.0
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/prometheus/procfs v0.12.0
go: downloading google.golang.org/protobuf v1.36.10
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 golang.org/x/crypto/x509roots/fallback v0.0.0-20260209214922-2f26647a795e
go: downloading github.com/klauspost/compress v1.20.2
go: downloading github.com/aws/aws-sdk-go-v2/service/ecs v1.91.0
go: downloading github.com/pierrec/lz4/v4 v4.1.22
go: downloading modernc.org/libc v1.74.1
go: downloading modernc.org/libc v1.74.1
go: downloading github.com/dustin/go-humanize v1.0.1
go: downloading modernc.org/memory v1.11.0
go: downloading modernc.org/mathutil v1.7.1
go: downloading github.com/google/uuid v1.6.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 (174 s, from +0 s)
go: downloading modernc.org/sqlite v1.55.0
go: downloading github.com/klauspost/compress v1.20.2
go: downloading github.com/pierrec/lz4/v4 v4.1.22
go: downloading modernc.org/libc v1.74.1
go: downloading modernc.org/mathutil v1.7.1
=== vet-tags (187 s, from +0 s)
go: downloading modernc.org/sqlite v1.55.0
go: downloading github.com/klauspost/compress v1.20.2
go: downloading github.com/pierrec/lz4/v4 v4.1.22
go: downloading modernc.org/libc v1.74.1
go: downloading modernc.org/memory v1.11.0
go: downloading github.com/dustin/go-humanize v1.0.1
go: downloading github.com/google/uuid v1.6.0
go: downloading modernc.org/mathutil v1.7.1
go: downloading github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec
=== gofmt (1 s, from +0 s)
gofmt -l .: clean
=== rest (377 s, from +14 s)
ok  	github.com/carlosframework/platform/cmd/carlos-media	127.639s
?   	github.com/carlosframework/platform/cmd/changelog	[no test files]
ok  	github.com/carlosframework/platform/cmd/console	206.240s
ok  	github.com/carlosframework/platform/cmd/mediaimage	45.145s
ok  	github.com/carlosframework/platform/cmd/moveprobe	15.824s
ok  	github.com/carlosframework/platform/cmd/pricebook-export	0.025s
ok  	github.com/carlosframework/platform/cmd/rootfswitness	0.166s
ok  	github.com/carlosframework/platform/cmd/runsc-assets	0.095s
ok  	github.com/carlosframework/platform/cmd/zddprobe	1.018s
ok  	github.com/carlosframework/platform/internal/agentsock	0.055s
ok  	github.com/carlosframework/platform/internal/alerting	0.031s
ok  	github.com/carlosframework/platform/internal/analytics	0.276s
ok  	github.com/carlosframework/platform/internal/appconfig	45.732s
ok  	github.com/carlosframework/platform/internal/apperr	0.340s
ok  	github.com/carlosframework/platform/internal/applog	0.412s
ok  	github.com/carlosframework/platform/internal/apppolicy	2.530s
ok  	github.com/carlosframework/platform/internal/assetcache	0.410s
ok  	github.com/carlosframework/platform/internal/awsinv	0.013s
ok  	github.com/carlosframework/platform/internal/awsmanaged	0.486s
ok  	github.com/carlosframework/platform/internal/awsregiongroup	0.416s
ok  	github.com/carlosframework/platform/internal/awsterminations	0.019s
ok  	github.com/carlosframework/platform/internal/backupswords	0.017s
ok  	github.com/carlosframework/platform/internal/billing	0.100s
ok  	github.com/carlosframework/platform/internal/billing/billingtest	0.088s
ok  	github.com/carlosframework/platform/internal/billingstripe	1.831s
ok  	github.com/carlosframework/platform/internal/boxchoice	0.025s
ok  	github.com/carlosframework/platform/internal/boxid	2.617s
?   	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.025s
ok  	github.com/carlosframework/platform/internal/boxself	0.166s
ok  	github.com/carlosframework/platform/internal/boxvolumes	0.030s
ok  	github.com/carlosframework/platform/internal/caps	0.093s
ok  	github.com/carlosframework/platform/internal/certwarm	0.015s
ok  	github.com/carlosframework/platform/internal/cgroup	1.359s
ok  	github.com/carlosframework/platform/internal/changelog	5.354s
ok  	github.com/carlosframework/platform/internal/clamd	0.071s
?   	github.com/carlosframework/platform/internal/cliflag	[no test files]
ok  	github.com/carlosframework/platform/internal/clireg	0.006s
ok  	github.com/carlosframework/platform/internal/codehealth	17.484s
ok  	github.com/carlosframework/platform/internal/compute	0.008s
?   	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.465s
ok  	github.com/carlosframework/platform/internal/dbdoor/dbdoortest	0.031s
ok  	github.com/carlosframework/platform/internal/dbquery	0.024s
ok  	github.com/carlosframework/platform/internal/dbreads	3.404s
?   	github.com/carlosframework/platform/internal/dbreads/dbreadstest	[no test files]
ok  	github.com/carlosframework/platform/internal/dbverify	0.021s
ok  	github.com/carlosframework/platform/internal/demo	0.017s
ok  	github.com/carlosframework/platform/internal/demobuild	3.293s
ok  	github.com/carlosframework/platform/internal/democlaim	0.418s
ok  	github.com/carlosframework/platform/internal/devbox	17.868s
ok  	github.com/carlosframework/platform/internal/dnsrec	0.041s
ok  	github.com/carlosframework/platform/internal/docsite	0.075s
ok  	github.com/carlosframework/platform/internal/domainreg	0.025s
ok  	github.com/carlosframework/platform/internal/domains	68.550s
ok  	github.com/carlosframework/platform/internal/doorkey	0.018s
ok  	github.com/carlosframework/platform/internal/economics	0.018s
ok  	github.com/carlosframework/platform/internal/edgefence	0.104s
ok  	github.com/carlosframework/platform/internal/edgeguard	0.371s
?   	github.com/carlosframework/platform/internal/edgeproof	[no test files]
ok  	github.com/carlosframework/platform/internal/edgesfile	0.080s
ok  	github.com/carlosframework/platform/internal/egressaddr	0.011s
ok  	github.com/carlosframework/platform/internal/execsandbox	112.981s
ok  	github.com/carlosframework/platform/internal/fileacl	0.009s
ok  	github.com/carlosframework/platform/internal/fleetapi	3.027s
ok  	github.com/carlosframework/platform/internal/fleetstore	0.028s
ok  	github.com/carlosframework/platform/internal/fxrate	0.037s
ok  	github.com/carlosframework/platform/internal/gate	5.198s
ok  	github.com/carlosframework/platform/internal/genselect	0.085s
ok  	github.com/carlosframework/platform/internal/geo	0.033s
ok  	github.com/carlosframework/platform/internal/geoip	0.103s
ok  	github.com/carlosframework/platform/internal/groupadmission	0.010s
ok  	github.com/carlosframework/platform/internal/grouprollaws	17.747s
ok  	github.com/carlosframework/platform/internal/hadeparture	0.013s
ok  	github.com/carlosframework/platform/internal/hafresh	0.009s
ok  	github.com/carlosframework/platform/internal/hairpin	0.226s
ok  	github.com/carlosframework/platform/internal/historyreadback	1.210s
ok  	github.com/carlosframework/platform/internal/hostactors	24.363s
ok  	github.com/carlosframework/platform/internal/hostbox	24.327s
ok  	github.com/carlosframework/platform/internal/hostclaim	3.067s
ok  	github.com/carlosframework/platform/internal/hostenv	0.047s
ok  	github.com/carlosframework/platform/internal/hostevidence	0.023s
ok  	github.com/carlosframework/platform/internal/hostexec	25.999s
ok  	github.com/carlosframework/platform/internal/hostfence	0.126s
ok  	github.com/carlosframework/platform/internal/hostfiles	25.322s
ok  	github.com/carlosframework/platform/internal/hostfloor	0.094s
ok  	github.com/carlosframework/platform/internal/hostguard	1.797s
ok  	github.com/carlosframework/platform/internal/hostops	8.005s
?   	github.com/carlosframework/platform/internal/hostops/fencerelease	[no test files]
ok  	github.com/carlosframework/platform/internal/hostops/internal/fencerelease	0.012s
ok  	github.com/carlosframework/platform/internal/hostquarantine	0.006s
ok  	github.com/carlosframework/platform/internal/hostrelocate	2.202s
ok  	github.com/carlosframework/platform/internal/hostresolve	0.629s
ok  	github.com/carlosframework/platform/internal/hostwrite	0.022s
ok  	github.com/carlosframework/platform/internal/infraview	0.006s
ok  	github.com/carlosframework/platform/internal/ingresshealth	0.024s
ok  	github.com/carlosframework/platform/internal/ingresshealth/awstg	0.023s
ok  	github.com/carlosframework/platform/internal/instancectl	55.673s
ok  	github.com/carlosframework/platform/internal/instanceexec	9.210s
ok  	github.com/carlosframework/platform/internal/instancefs	0.026s
ok  	github.com/carlosframework/platform/internal/instancekey	0.025s
ok  	github.com/carlosframework/platform/internal/instanceupdates	0.036s
ok  	github.com/carlosframework/platform/internal/interactive	0.719s
ok  	github.com/carlosframework/platform/internal/launchd	0.008s
ok  	github.com/carlosframework/platform/internal/layout	25.878s
ok  	github.com/carlosframework/platform/internal/layout/pubclass	107.260s
ok  	github.com/carlosframework/platform/internal/lbhealth	0.013s
ok  	github.com/carlosframework/platform/internal/lease	149.906s
ok  	github.com/carlosframework/platform/internal/lease/leasetest	1.369s
ok  	github.com/carlosframework/platform/internal/lease/locktest	0.051s
ok  	github.com/carlosframework/platform/internal/ledger	0.065s
ok  	github.com/carlosframework/platform/internal/mail	1.267s
ok  	github.com/carlosframework/platform/internal/mailer	0.792s
ok  	github.com/carlosframework/platform/internal/mailsubmit	1.347s
ok  	github.com/carlosframework/platform/internal/mailwire	0.011s
ok  	github.com/carlosframework/platform/internal/maintenance	0.140s
ok  	github.com/carlosframework/platform/internal/maintenanceexec	8.192s
ok  	github.com/carlosframework/platform/internal/maintenanceguard	0.243s
ok  	github.com/carlosframework/platform/internal/media	2.148s
ok  	github.com/carlosframework/platform/internal/media/mediatest	0.007s
ok  	github.com/carlosframework/platform/internal/mediaaws	62.573s
ok  	github.com/carlosframework/platform/internal/mediahandler	45.155s
ok  	github.com/carlosframework/platform/internal/mediajobs	1.415s
ok  	github.com/carlosframework/platform/internal/medialocal	10.179s
ok  	github.com/carlosframework/platform/internal/metrics	0.172s
ok  	github.com/carlosframework/platform/internal/minorunits	0.012s
ok  	github.com/carlosframework/platform/internal/moves	56.053s
ok  	github.com/carlosframework/platform/internal/moves/archive	2.668s
ok  	github.com/carlosframework/platform/internal/moves/offlinerun	0.150s
ok  	github.com/carlosframework/platform/internal/namedunits	0.056s
ok  	github.com/carlosframework/platform/internal/objstore	1.004s
ok  	github.com/carlosframework/platform/internal/ops	15.466s
ok  	github.com/carlosframework/platform/internal/pageindex	3.723s
ok  	github.com/carlosframework/platform/internal/parity	0.108s
?   	github.com/carlosframework/platform/internal/parity/cmd/parity-doc	[no test files]
ok  	github.com/carlosframework/platform/internal/park	0.599s
ok  	github.com/carlosframework/platform/internal/perf	0.185s
ok  	github.com/carlosframework/platform/internal/plans	0.122s
ok  	github.com/carlosframework/platform/internal/privatefile	0.011s
ok  	github.com/carlosframework/platform/internal/provision	236.158s
ok  	github.com/carlosframework/platform/internal/proxyproto	0.928s
ok  	github.com/carlosframework/platform/internal/publicrelease	0.057s
ok  	github.com/carlosframework/platform/internal/ratelimit	0.192s
ok  	github.com/carlosframework/platform/internal/regionlabel	0.084s
ok  	github.com/carlosframework/platform/internal/regionname	0.034s
ok  	github.com/carlosframework/platform/internal/registrar	0.014s
ok  	github.com/carlosframework/platform/internal/registrar/openprovider	0.212s
?   	github.com/carlosframework/platform/internal/registrar/registrartest	[no test files]
ok  	github.com/carlosframework/platform/internal/registry	87.180s
ok  	github.com/carlosframework/platform/internal/relay	7.664s
ok  	github.com/carlosframework/platform/internal/release	87.096s
ok  	github.com/carlosframework/platform/internal/replicagen	0.027s
ok  	github.com/carlosframework/platform/internal/replicas	0.086s
ok  	github.com/carlosframework/platform/internal/reqrec	7.140s
ok  	github.com/carlosframework/platform/internal/rollout	12.203s
ok  	github.com/carlosframework/platform/internal/rolloutwords	0.018s
ok  	github.com/carlosframework/platform/internal/rootaws	109.272s
ok  	github.com/carlosframework/platform/internal/rootfsimage	0.816s
ok  	github.com/carlosframework/platform/internal/rootparticipation	0.127s
ok  	github.com/carlosframework/platform/internal/rootstate	0.039s
ok  	github.com/carlosframework/platform/internal/runs	0.731s
ok  	github.com/carlosframework/platform/internal/s3compat	0.033s
ok  	github.com/carlosframework/platform/internal/s3fake	1.711s
ok  	github.com/carlosframework/platform/internal/safefile	0.016s
ok  	github.com/carlosframework/platform/internal/schedule	25.710s
ok  	github.com/carlosframework/platform/internal/seeds	0.102s
ok  	github.com/carlosframework/platform/internal/sim/litestreamfacts	4.677s
ok  	github.com/carlosframework/platform/internal/sim/mediajobs	47.727s
ok  	github.com/carlosframework/platform/internal/sim/regionha	26.494s
ok  	github.com/carlosframework/platform/internal/status	0.793s
ok  	github.com/carlosframework/platform/internal/steering	0.329s
ok  	github.com/carlosframework/platform/internal/stopevidence	0.681s
ok  	github.com/carlosframework/platform/internal/storecfg	0.437s
ok  	github.com/carlosframework/platform/internal/svcrole	0.009s
ok  	github.com/carlosframework/platform/internal/systemd	6.894s
?   	github.com/carlosframework/platform/internal/systemdshow	[no test files]
ok  	github.com/carlosframework/platform/internal/team	3.914s
ok  	github.com/carlosframework/platform/internal/teamcontract	0.180s
ok  	github.com/carlosframework/platform/internal/telemetry	0.031s
ok  	github.com/carlosframework/platform/internal/termfence	4.449s
ok  	github.com/carlosframework/platform/internal/timerspec	0.031s
ok  	github.com/carlosframework/platform/internal/tsidentity	4.202s
ok  	github.com/carlosframework/platform/internal/tunnelclient	0.411s
ok  	github.com/carlosframework/platform/internal/unixdial	0.014s
ok  	github.com/carlosframework/platform/internal/updatewords	0.043s
ok  	github.com/carlosframework/platform/internal/upstreamguard	0.015s
?   	github.com/carlosframework/platform/internal/upstreamguard/guardtest	[no test files]
ok  	github.com/carlosframework/platform/internal/usage	0.032s
ok  	github.com/carlosframework/platform/internal/version	0.013s
ok  	github.com/carlosframework/platform/internal/vet	3.041s
ok  	github.com/carlosframework/platform/internal/zonehost	0.034s
ok  	github.com/carlosframework/platform/internal/zonehost/route53zones	0.090s
?   	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.023s
ok  	github.com/carlosframework/platform/scripts/pathmapcheck	0.107s
ok  	github.com/carlosframework/platform/scripts/region-ha-g2/fixture	5.201s
ok  	github.com/carlosframework/platform/scripts/stateless-replicas-drill	1.203s
ok  	github.com/carlosframework/platform/scripts/witness-pointer	0.045s
=== cutover-witness (145 s, from +14 s)
ok  	github.com/carlosframework/platform	2.737s
=== internal_grouproll@0 (273 s, from +72 s)
ok  	github.com/carlosframework/platform/internal/grouproll	271.631s
=== internal_grouproll@1 (283 s, from +72 s)
ok  	github.com/carlosframework/platform/internal/grouproll	281.582s
=== internal_activator@0 (144 s, from +138 s)
ok  	github.com/carlosframework/platform/internal/activator	139.482s
=== internal_activator@1 (136 s, from +138 s)
ok  	github.com/carlosframework/platform/internal/activator	131.274s
=== internal_activator@2 (144 s, from +138 s)
ok  	github.com/carlosframework/platform/internal/activator	139.634s
=== internal_activator@3 (171 s, from +138 s)
ok  	github.com/carlosframework/platform/internal/activator	166.983s
=== root@0 (125 s, from +164 s)
ok  	github.com/carlosframework/platform	115.741s
=== root@1 (113 s, from +164 s)
ok  	github.com/carlosframework/platform	104.132s
=== root@2 (125 s, from +164 s)
ok  	github.com/carlosframework/platform	115.008s
=== root@3 (118 s, from +164 s)
ok  	github.com/carlosframework/platform	106.224s
=== root@4 (107 s, from +164 s)
ok  	github.com/carlosframework/platform	96.275s
=== internal_edge@0 (198 s, from +173 s)
ok  	github.com/carlosframework/platform/internal/edge	189.634s
=== internal_edge@1 (131 s, from +173 s)
ok  	github.com/carlosframework/platform/internal/edge	120.731s
=== internal_edge@2 (216 s, from +173 s)
ok  	github.com/carlosframework/platform/internal/edge	204.887s
=== internal_edge@3 (163 s, from +173 s)
ok  	github.com/carlosframework/platform/internal/edge	155.117s
=== internal_host@0 (139 s, from +211 s)
ok  	github.com/carlosframework/platform/internal/host	134.064s
=== internal_host@1 (147 s, from +211 s)
ok  	github.com/carlosframework/platform/internal/host	142.992s
=== internal_host@2 (264 s, from +211 s)
ok  	github.com/carlosframework/platform/internal/host	259.297s
=== internal_host@3 (198 s, from +211 s)
ok  	github.com/carlosframework/platform/internal/host	193.120s
=== internal_host@4 (209 s, from +211 s)
ok  	github.com/carlosframework/platform/internal/host	204.264s
=== internal_host@5 (164 s, from +211 s)
ok  	github.com/carlosframework/platform/internal/host	159.381s
=== internal_console@0 (185 s, from +216 s)
ok  	github.com/carlosframework/platform/internal/console	178.573s
=== internal_console@1 (200 s, from +216 s)
ok  	github.com/carlosframework/platform/internal/console	192.184s
=== internal_console@2 (199 s, from +216 s)
ok  	github.com/carlosframework/platform/internal/console	191.386s
=== internal_console@3 (248 s, from +216 s)
ok  	github.com/carlosframework/platform/internal/console	240.998s
=== internal_console@4 (189 s, from +216 s)
ok  	github.com/carlosframework/platform/internal/console	182.021s
=== internal_console@5 (199 s, from +216 s)
ok  	github.com/carlosframework/platform/internal/console	192.177s
=== internal_console@6 (199 s, from +216 s)
ok  	github.com/carlosframework/platform/internal/console	192.580s
=== internal_console@7 (202 s, from +216 s)
ok  	github.com/carlosframework/platform/internal/console	194.302s
=== internal_console@8 (204 s, from +216 s)
ok  	github.com/carlosframework/platform/internal/console	196.495s
=== internal_console@9 (209 s, from +216 s)
ok  	github.com/carlosframework/platform/internal/console	201.492s
=== internal_console@10 (213 s, from +216 s)
ok  	github.com/carlosframework/platform/internal/console	205.437s
=== internal_console@11 (227 s, from +216 s)
ok  	github.com/carlosframework/platform/internal/console	219.086s
=== internal_console@12 (278 s, from +216 s)
ok  	github.com/carlosframework/platform/internal/console	270.946s
=== internal_console@13 (196 s, from +216 s)
ok  	github.com/carlosframework/platform/internal/console	187.940s
=== internal_console@14 (195 s, from +216 s)
ok  	github.com/carlosframework/platform/internal/console	187.594s
=== internal_console@15 (243 s, from +216 s)
ok  	github.com/carlosframework/platform/internal/console	234.654s
=== internal_console@16 (227 s, from +216 s)
ok  	github.com/carlosframework/platform/internal/console	220.357s
=== internal_console@17 (200 s, from +216 s)
ok  	github.com/carlosframework/platform/internal/console	192.769s
=== internal_console@18 (206 s, from +216 s)
ok  	github.com/carlosframework/platform/internal/console	197.922s
=== internal_console@19 (206 s, from +216 s)
ok  	github.com/carlosframework/platform/internal/console	199.353s
=== internal_console@20 (200 s, from +216 s)
ok  	github.com/carlosframework/platform/internal/console	193.087s
=== internal_console@21 (221 s, from +216 s)
ok  	github.com/carlosframework/platform/internal/console	213.905s
=== internal_console@22 (213 s, from +217 s)
ok  	github.com/carlosframework/platform/internal/console	207.264s
=== internal_console@23 (213 s, from +217 s)
ok  	github.com/carlosframework/platform/internal/console	206.798s
=== lists: internal_console 215 s, internal_edge 171 s, internal_activator 137 s, internal_host 209 s, root 162 s, internal_grouproll 72 s
=== cpu: the gate used 12369 cpu-seconds in 494 s, about 25.0 of 32 cores; the machine as a whole was 84% busy
=== opentofu ===
opentofu: 35 test files in 11 suites, OpenTofu v1.13.9
  initialised in 15 s
  ok      18 s  infra/modules/box-fence-writer/tests/writer.tftest.hcl  Success! 1 passed, 0 failed.
  ok      28 s  infra/modules/deployment-buckets/tests/data_lifecycle.tftest.hcl  Success! 3 passed, 0 failed.
  ok      17 s  infra/modules/deployment-buckets/tests/db_reads.tftest.hcl  Success! 1 passed, 0 failed.
  ok      21 s  infra/modules/deployment-buckets/tests/evidence.tftest.hcl  Success! 1 passed, 0 failed.
  ok      27 s  infra/modules/deployment-buckets/tests/fence_writers.tftest.hcl  Success! 3 passed, 0 failed.
  ok      84 s  infra/modules/media-engine/tests/media_engine.tftest.hcl  Success! 24 passed, 0 failed.
  ok      33 s  infra/modules/pdf-host/tests/computed.tftest.hcl  Success! 2 passed, 0 failed.
  ok      70 s  infra/modules/pdf-host/tests/pdf_host.tftest.hcl  Success! 24 passed, 0 failed.
  ok      43 s  infra/modules/region-group-operator-document/tests/document.tftest.hcl  Success! 12 passed, 0 failed.
  ok      23 s  infra/modules/region-host/ingress/tests/fixed-targets/tests/targets.tftest.hcl  Success! 2 passed, 0 failed.
  ok      66 s  infra/modules/region-host/ingress/tests/group_ingress.tftest.hcl  Success! 30 passed, 0 failed.
  ok      46 s  infra/modules/region-host/tests/alert_publish.tftest.hcl  Success! 18 passed, 0 failed.
  ok      42 s  infra/modules/region-host/tests/alerts_topic.tftest.hcl  Success! 16 passed, 0 failed.
  ok      13 s  infra/modules/region-host/tests/analytics_prune.tftest.hcl  Success! 2 passed, 0 failed.
  ok      16 s  infra/modules/region-host/tests/console_mail.tftest.hcl  Success! 4 passed, 0 failed.
  ok      10 s  infra/modules/region-host/tests/fixed_state_unchanged.tftest.hcl  Success! 1 passed, 0 failed.
  ok      69 s  infra/modules/region-host/tests/group.tftest.hcl  Success! 32 passed, 0 failed.
  ok      11 s  infra/modules/region-host/tests/group_alarms.tftest.hcl  Success! 4 passed, 0 failed.
  ok      12 s  infra/modules/region-host/tests/group_iam.tftest.hcl  Success! 4 passed, 0 failed.
  ok       6 s  infra/modules/region-host/tests/group_isolation.tftest.hcl  Success! 1 passed, 0 failed.
  ok      35 s  infra/modules/region-host/tests/group_operator.tftest.hcl  Success! 13 passed, 0 failed.
  ok      10 s  infra/modules/region-host/tests/group_user_data.tftest.hcl  Success! 3 passed, 0 failed.
  ok      26 s  infra/modules/region-host/tests/health_alarms.tftest.hcl  Success! 10 passed, 0 failed.
  ok      11 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      21 s  infra/modules/region-host/tests/mailer.tftest.hcl  Success! 6 passed, 0 failed.
  ok      11 s  infra/modules/region-host/tests/mailer_group.tftest.hcl  Success! 2 passed, 0 failed.
  ok      13 s  infra/modules/region-host/tests/managed_fleets/group_refusal.tftest.hcl  Success! 2 passed, 0 failed.
  ok     105 s  infra/modules/region-host/tests/managed_fleets/managed_fleets.tftest.hcl  Success! 46 passed, 0 failed.
  ok      72 s  infra/modules/region-host/tests/store_conversion.tftest.hcl  Success! 27 passed, 0 failed.
  ok      17 s  infra/modules/region-host/tests/store_scanning.tftest.hcl  Success! 4 passed, 0 failed.
  ok      20 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      30 s  infra/modules/scanner-host/tests/scanner_host.tftest.hcl  Success! 14 passed, 0 failed.
opentofu: 35 files in 206 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: 65667234 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:31585
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.02s)
        --- 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/22 12:36:06 moves: T4: STORE: list: operation error S3: ListObjectsV2, https response error StatusCode: 403, RequestID: 18EA5E30FFBE8707, HostID: 0f534932614e3489affc64a7c723ecbd8022f5421e7fd232cb239c6f23229600, 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.041s
=== RUN   TestS3StoreMinioContract
=== RUN   TestS3StoreMinioContract/conditional_get_and_etag_listing
=== RUN   TestS3StoreMinioContract/bump_through_every_mutation_path
--- PASS: TestS3StoreMinioContract (0.03s)
    --- 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.042s
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.039s
=== RUN   TestEndToEndMinio
=== RUN   TestEndToEndMinio/plan
=== RUN   TestEndToEndMinio/roll
=== RUN   TestEndToEndMinio/replace
=== RUN   TestEndToEndMinio/remove
--- PASS: TestEndToEndMinio (0.46s)
    --- PASS: TestEndToEndMinio/plan (0.01s)
    --- PASS: TestEndToEndMinio/roll (0.12s)
    --- PASS: TestEndToEndMinio/replace (0.15s)
    --- PASS: TestEndToEndMinio/remove (0.15s)
PASS
ok  	github.com/carlosframework/platform/internal/grouproll	0.467s
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/22 12:36:11 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000000 txid.db=0000000000000001
2026/11/22 12:36:11 INFO ltx file uploaded system=store db=source.db replica=file level=0 minTXID=0000000000000001 maxTXID=0000000000000001 size=720
2026/11/22 12:36:11 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000001 txid.db=0000000000000001
2026/11/22 12:36:11 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000001 txid.db=0000000000000002
2026/11/22 12:36:11 INFO ltx file uploaded system=store db=source.db replica=file level=0 minTXID=0000000000000002 maxTXID=0000000000000002 size=370
2026/11/22 12:36:11 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000002 txid.db=0000000000000002
2026/11/22 12:36:11 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000002 txid.db=0000000000000003
2026/11/22 12:36:11 INFO ltx file uploaded system=store db=source.db replica=file level=0 minTXID=0000000000000003 maxTXID=0000000000000003 size=454
2026/11/22 12:36:11 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000003 txid.db=0000000000000003
2026/11/22 12:36:11 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000000 txid.db=0000000000000001
2026/11/22 12:36:11 INFO ltx file uploaded system=store db=source.db replica=file level=0 minTXID=0000000000000001 maxTXID=0000000000000001 size=720
2026/11/22 12:36:11 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000001 txid.db=0000000000000001
2026/11/22 12:36:12 console: CARLOS_SECRETS_PUBKEY is unset, so no region outside the home can be chosen automatically
2026/11/22 12:36:12 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%3A35829: could not determine target mailbox
    agent.go:136: dbreads: dbr_kipzu4nvnev6643r2rq2fojtwe: planned 3 files (1544 bytes) and restored to 3 in 13ms
    agent.go:136: dbreads: dbr_kipzu4nvnev6643r2rq2fojtwe: output 5 bytes in 1 confirmed chunks in 1ms
2026/11/22 12:36:13 console: db read dbr_kipzu4nvnev6643r2rq2fojtwe: relayed 1 chunks (102 bytes) in 1.005s, ended done
    agent.go:136: dbreads: dbr_kkpvatnuea6waie4ig36riigh4: planned 1 files (720 bytes) and restored to 1 in 11ms
    agent.go:136: dbreads: dbr_kkpvatnuea6waie4ig36riigh4: output 5 bytes in 1 confirmed chunks in 1ms
2026/11/22 12:36:14 console: db read dbr_kkpvatnuea6waie4ig36riigh4: relayed 1 chunks (102 bytes) in 1.005s, ended done
    agent.go:136: dbreads: dbr_c27dkcg22mxwyhozsbqidcai2i: planned 3 files (1544 bytes) and held through 3 in 12ms
    agent.go:136: dbreads: dbr_c27dkcg22mxwyhozsbqidcai2i: output 1544 bytes in 1 confirmed chunks in 1ms
2026/11/22 12:36:15 console: db read dbr_c27dkcg22mxwyhozsbqidcai2i: relayed 1 chunks (1641 bytes) in 1.005s, ended done
=== RUN   TestDBForwardMinio/by_disconnect
=== NAME  TestDBForwardMinio
    agent.go:136: dbreads: dbr_rlnyh7cz26s5ix6yv62ahph3v4: planned 3 files (1544 bytes) and restored to 3 in 12ms
2026/11/22 12:36:15 console: db read dbr_rlnyh7cz26s5ix6yv62ahph3v4: relayed 0 chunks (0 bytes) in 32ms, ended client gone
    agent.go:136: dbreads: dbr_rlnyh7cz26s5ix6yv62ahph3v4: output 5 bytes in 1 confirmed chunks in 104ms
=== RUN   TestDBForwardMinio/by_timeout
=== NAME  TestDBForwardMinio
    agent.go:136: dbreads: dbr_5lxdynlypuh52fomdr25kqdtey: planned 3 files (1544 bytes) and restored to 3 in 12ms
2026/11/22 12:36:35 console: db read dbr_5lxdynlypuh52fomdr25kqdtey: relayed 0 chunks (0 bytes) in 19.633s, ended no-result
    agent.go:136: dbreads: dbr_5lxdynlypuh52fomdr25kqdtey: output 5 bytes in 1 confirmed chunks in 19.608s
--- PASS: TestDBForwardMinio (23.30s)
    --- PASS: TestDBForwardMinio/by_disconnect (0.24s)
    --- PASS: TestDBForwardMinio/by_timeout (19.74s)
PASS
ok  	github.com/carlosframework/platform/internal/console	23.345s
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.05s)
PASS
ok  	github.com/carlosframework/platform/internal/mediaaws	0.059s
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.53s)
PASS
ok  	github.com/carlosframework/platform/internal/medialocal	0.540s
=== RUN   TestHeldHandoverTwoBoxMinio
2026/11/22 12:36:39 edge: mesh key: minted
2026/11/22 12:36:39 provision: minted sidecar route bot0.shop.bac.sidecar.internal (app "shop" acct "bac" args ["work"])
2026/11/22 12:36:39 provision: minted sidecar route bot0.shop.bac.sidecar.internal (app "shop" acct "bac" args ["work"])
2026/11/22 12:36:40 tenant admission is open. accepting tenant work
2026/11/22 12:36:40 activator: HA placement host=shop-ade4c4e8.example.test kind=Place ref=annie reason=roomiest generation=2026-11-22T12:36:40Z lock_generation=0
2026/11/22 12:36:40 lease: t8-ade4c4e8/shop-ade4c4e8.example.test: HA lease acquired in 4ms (first wake)
2026/11/22 12:36:40 activator: shop-ade4c4e8.example.test: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/22 12:36:40 activator: shop-ade4c4e8.example.test: started carlos-instance@shop\x2dade4c4e8.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/22 12:36:40 activator: shop-ade4c4e8.example.test: carlos-instance@shop\x2dade4c4e8.example.test.service launched in 7ms, healthy 0s later
2026/11/22 12:36:40 activator: shop-ade4c4e8.example.test: woke in 67ms: checks 0s, lease 5ms, restore 0s, identity 0s, protect 0s, spawn 7ms, replicate 55ms
2026/11/22 12:36:40 lease: t8-ade4c4e8/plain-ade4c4e8.example.test: acquired in 1ms (client 0s, lock read and write 1ms)
2026/11/22 12:36:40 activator: no replica for plain-ade4c4e8.example.test in s3://contract-bucket/t8-ade4c4e8/plain-ade4c4e8.example.test — booting fresh
2026/11/22 12:36:40 activator: plain-ade4c4e8.example.test: started carlos-instance@plain\x2dade4c4e8.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/22 12:36:40 activator: plain-ade4c4e8.example.test: carlos-instance@plain\x2dade4c4e8.example.test.service launched in 7ms, healthy 0s later
2026/11/22 12:36:40 activator: plain-ade4c4e8.example.test: woke in 42ms: checks 0s, lease 2ms, restore 19ms, identity 0s, protect 0s, spawn 7ms, replicate 15ms
2026/11/22 12:36:40 lease: t8-ade4c4e8/bot0.shop.bac.sidecar.internal: HA lease acquired in 4ms (first wake)
2026/11/22 12:36:40 activator: bot0.shop.bac.sidecar.internal: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/22 12:36:40 activator: bot0.shop.bac.sidecar.internal: woke in 19ms: checks 0s, lease 4ms, restore 0s, identity 0s, protect 0s, spawn 7ms, settle 0s, replicate 7ms
2026/11/22 12:36:40 activator: next-due probe plain-ade4c4e8.example.test: decode /api/next-due: invalid character 'a' looking for beginning of value — recording none (it sleeps until a request)
2026/11/22 12:36:40 activator: plain-ade4c4e8.example.test hibernated
2026/11/22 12:36:40 activator: next-due probe shop-ade4c4e8.example.test: decode /api/next-due: invalid character 'a' looking for beginning of value — recording none (it sleeps until a request)
2026/11/22 12:36:40 activator: bot0.shop.bac.sidecar.internal: released with a marker (clean true, txid 1, files 3:3e999ca7162cfd3b6c249d2ec01c5611f3e0802d4bba457dc24ee729a63b3dc1) in 9ms: files 1ms, sync 4ms, record 1ms, marker 3ms
2026/11/22 12:36:40 activator: bot0.shop.bac.sidecar.internal hibernated
2026/11/22 12:36:40 activator: shop-ade4c4e8.example.test: released with a marker (clean true, txid 1, files 3:d884e90bf88cdc0cb7fc43b6a66b8db40c9fa8088f4dddf6d9cb9a5f7a395265) in 8ms: files 1ms, sync 5ms, record 1ms, marker 2ms
2026/11/22 12:36:40 activator: shop-ade4c4e8.example.test hibernated
2026/11/22 12:36:40 lease: t8-ade4c4e8/shop-ade4c4e8.example.test: HA lease acquired in 2ms (clean marker)
2026/11/22 12:36:40 activator: shop-ade4c4e8.example.test: restored (other-box)
2026/11/22 12:36:40 activator: shop-ade4c4e8.example.test: started carlos-instance@shop\x2dade4c4e8.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/22 12:36:40 activator: shop-ade4c4e8.example.test: carlos-instance@shop\x2dade4c4e8.example.test.service launched in 2ms, healthy 0s later
2026/11/22 12:36:40 activator: shop-ade4c4e8.example.test: woke in 85ms: checks 0s, lease 3ms, restore 23ms, identity 0s, protect 0s, spawn 2ms, replicate 56ms
2026/11/22 12:36:40 edge: ha-take shop-ade4c4e8.example.test from annie (txn t8-witness, marker generation 1): holder betty, generation 2
2026/11/22 12:36:40 edge: forward shop-ade4c4e8.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:b98fe05afba8fb727474312db7422a39 Step:move Result:ok Reasons:[] Fence:t8-witness StartedAt:2026-11-22 12:36:40.252045929 +0000 UTC FinishedAt:2026-11-22 12:36:40.39997869 +0000 UTC Acked:[betty carol] Departed:[] Moved:[{Host:shop-ade4c4e8.example.test Holder:betty Gen:2 Confirmed:take}] Released:[{Host:plain-ade4c4e8.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-ade4c4e8.example.test <nil> stop plain-ade4c4e8.example.test marker=true clean=true <nil> releasing shop-ade4c4e8.example.test <nil> stop bot0.shop.bac.sidecar.internal marker=true clean=true <nil> stop shop-ade4c4e8.example.test marker=true clean=true <nil> taken shop-ade4c4e8.example.test betty <nil> end-moves]
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-ade4c4e8/bot0.shop.bac.sidecar.internal/0009/0000000000000001-0000000000000001.ltx
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ade4c4e8/bot0.shop.bac.sidecar.internal/0009/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ade4c4e8/bot0.shop.bac.sidecar.internal/0001/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ade4c4e8/bot0.shop.bac.sidecar.internal/0002/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ade4c4e8/bot0.shop.bac.sidecar.internal/0003/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-ade4c4e8/shop-ade4c4e8.example.test/lock.json
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: DELETE /contract-bucket/t8-ade4c4e8/plain-ade4c4e8.example.test/lock.json
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-ade4c4e8/bot0.shop.bac.sidecar.internal/0009/0000000000000001-0000000000000001.ltx
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-ade4c4e8/bot0.shop.bac.sidecar.internal/lock.json
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-ade4c4e8/shop-ade4c4e8.example.test/0009/0000000000000001-0000000000000001.ltx
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-ade4c4e8/shop-ade4c4e8.example.test/lock.json
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-ade4c4e8/shop-ade4c4e8.example.test/lock.json
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-ade4c4e8/shop-ade4c4e8.example.test/lock.json
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-ade4c4e8/shop-ade4c4e8.example.test/head.json
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ade4c4e8/shop-ade4c4e8.example.test/generations/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ade4c4e8/shop-ade4c4e8.example.test/0009/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ade4c4e8/shop-ade4c4e8.example.test/0008/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ade4c4e8/shop-ade4c4e8.example.test/0007/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ade4c4e8/shop-ade4c4e8.example.test/0006/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ade4c4e8/shop-ade4c4e8.example.test/0005/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ade4c4e8/shop-ade4c4e8.example.test/0004/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ade4c4e8/shop-ade4c4e8.example.test/0003/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ade4c4e8/shop-ade4c4e8.example.test/0002/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ade4c4e8/shop-ade4c4e8.example.test/0001/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ade4c4e8/shop-ade4c4e8.example.test/0000/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ade4c4e8/shop-ade4c4e8.example.test/0009/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ade4c4e8/shop-ade4c4e8.example.test/0008/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ade4c4e8/shop-ade4c4e8.example.test/0007/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ade4c4e8/shop-ade4c4e8.example.test/0006/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ade4c4e8/shop-ade4c4e8.example.test/0005/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ade4c4e8/shop-ade4c4e8.example.test/0004/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ade4c4e8/shop-ade4c4e8.example.test/0003/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ade4c4e8/shop-ade4c4e8.example.test/0002/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ade4c4e8/shop-ade4c4e8.example.test/0001/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ade4c4e8/shop-ade4c4e8.example.test/0000/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-ade4c4e8/shop-ade4c4e8.example.test/0009/0000000000000001-0000000000000001.ltx
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-ade4c4e8/shop-ade4c4e8.example.test/files/0/manifest.json
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-ade4c4e8/shop-ade4c4e8.example.test/files/0/objects/0000000000000001-c180e54175ac17abc982053ebdd9f5efe93a88282885f7c82585807cc3880ebf
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-ade4c4e8/shop-ade4c4e8.example.test/files/0/objects/0000000000000003-8f9a8a64c92658504f452a9fd9047984645719f5bccf2ac8a2a6ca382b6956dd
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ade4c4e8/shop-ade4c4e8.example.test/0000/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-ade4c4e8/shop-ade4c4e8.example.test/0000/0000000000000001-0000000000000001.ltx
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ade4c4e8/shop-ade4c4e8.example.test/0009/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ade4c4e8/shop-ade4c4e8.example.test/0000/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ade4c4e8/shop-ade4c4e8.example.test/0009/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ade4c4e8/shop-ade4c4e8.example.test/0001/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ade4c4e8/shop-ade4c4e8.example.test/0001/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ade4c4e8/shop-ade4c4e8.example.test/0000/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ade4c4e8/shop-ade4c4e8.example.test/0002/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ade4c4e8/shop-ade4c4e8.example.test/0000/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-ade4c4e8/shop-ade4c4e8.example.test/0000/0000000000000002-0000000000000002.ltx
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ade4c4e8/shop-ade4c4e8.example.test/0003/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-ade4c4e8/shop-ade4c4e8.example.test/0001/0000000000000001-0000000000000001.ltx
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ade4c4e8/shop-ade4c4e8.example.test/0001/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-ade4c4e8/shop-ade4c4e8.example.test/0000/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-ade4c4e8/shop-ade4c4e8.example.test/lock.json
    hadrain_twobox_minio_linux_test.go:1243: drain took 201ms; S3 calls 55 (DELETE lock=1 GET files=3 GET head=1 GET lock=3 GET replica=2 LIST replica=37 PUT lock=3 PUT replica=5); 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/22 12:36:40 lease: t8-ade4c4e8/plain-ade4c4e8.example.test: acquired in 1ms (client 0s, lock read and write 1ms)
2026/11/22 12:36:40 activator: plain-ade4c4e8.example.test: started carlos-instance@plain\x2dade4c4e8.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/22 12:36:40 activator: plain-ade4c4e8.example.test: carlos-instance@plain\x2dade4c4e8.example.test.service launched in 1ms, healthy 0s later
2026/11/22 12:36:40 lease: /tmp/carlos-minio-contract-jPzU7P/g/dw2621982828/data/instances/plain-ade4c4e8.example.test/plain-ade4c4e8.example.test.db: continuity with the last clean close not proven; snapshot 1-0000000000000001 written before serving
2026/11/22 12:36:40 activator: plain-ade4c4e8.example.test: woke in 7ms: checks 0s, lease 2ms, restore 0s, identity 0s, protect 0s, spawn 1ms, replicate 4ms
2026/11/22 12:36:40 activator: next-due probe shop-ade4c4e8.example.test: decode /api/next-due: invalid character 'b' looking for beginning of value — recording none (it sleeps until a request)
2026/11/22 12:36:40 activator: shop-ade4c4e8.example.test: released with a marker (clean true, txid 2, files 3:d884e90bf88cdc0cb7fc43b6a66b8db40c9fa8088f4dddf6d9cb9a5f7a395265) in 3ms: files 0s, sync 0s, record 1ms, marker 2ms
2026/11/22 12:36:40 activator: shop-ade4c4e8.example.test hibernated
2026/11/22 12:36:40 tenant admission is closed for shutdown
2026/11/22 12:36:40 activator: next-due probe plain-ade4c4e8.example.test: decode /api/next-due: invalid character 'a' looking for beginning of value — recording none (it sleeps until a request)
2026/11/22 12:36:40 activator: plain-ade4c4e8.example.test hibernated
--- PASS: TestHeldHandoverTwoBoxMinio (0.55s)
=== RUN   TestHeldHandoverLostLeaseMinio
2026/11/22 12:36:40 edge: mesh key: minted
2026/11/22 12:36:40 provision: minted sidecar route bot0.shop.bac.sidecar.internal (app "shop" acct "bac" args ["work"])
2026/11/22 12:36:40 provision: minted sidecar route bot0.shop.bac.sidecar.internal (app "shop" acct "bac" args ["work"])
2026/11/22 12:36:40 tenant admission is open. accepting tenant work
2026/11/22 12:36:40 activator: HA placement host=shop-e5b6a127.example.test kind=Place ref=annie reason=roomiest generation=2026-11-22T12:36:40Z lock_generation=0
2026/11/22 12:36:40 lease: t8-e5b6a127/shop-e5b6a127.example.test: HA lease acquired in 3ms (first wake)
2026/11/22 12:36:40 activator: shop-e5b6a127.example.test: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/22 12:36:40 activator: shop-e5b6a127.example.test: started carlos-instance@shop\x2de5b6a127.example.test.service memory.max=536870912 (build 0s, prepare (dirs 0s, admin token 0s, instance key 0s, env 5ms, control socket 0s, key gate 0s, logs 0s) 6ms, launch file 0s, gate 0s, root start 1ms)
2026/11/22 12:36:40 activator: shop-e5b6a127.example.test: carlos-instance@shop\x2de5b6a127.example.test.service launched in 7ms, healthy 0s later
2026/11/22 12:36:40 activator: shop-e5b6a127.example.test: woke in 67ms: checks 0s, lease 4ms, restore 0s, identity 0s, protect 0s, spawn 7ms, replicate 56ms
2026/11/22 12:36:40 activator: next-due probe shop-e5b6a127.example.test: decode /api/next-due: invalid character 'a' looking for beginning of value — recording none (it sleeps until a request)
2026/11/22 12:36:40 activator: final checkpoint shop-e5b6a127.example.test: lease: release marker owed for s3://contract-bucket/t8-e5b6a127/shop-e5b6a127.example.test/lock.json (If-Match "2c34200b6c495b8d81fe516903b7bb36"): lease: write release marker: operation error S3: PutObject, https response error StatusCode: 503, RequestID: , HostID: , api error ServiceUnavailable: witness: refused
2026/11/22 12:36:40 activator: shop-e5b6a127.example.test hibernated
2026/11/22 12:36:40 activator: handover of shop-e5b6a127.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-e5b6a127.example.test client 4 "
    hadrain_twobox_minio_linux_test.go:1486: driver calls: [begin shop-e5b6a127.example.test <nil> releasing shop-e5b6a127.example.test <nil> stop shop-e5b6a127.example.test marker=false clean=false <nil> left shop-e5b6a127.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/22 12:36:40 tenant admission is closed for shutdown
2026/11/22 12:36:40 http: proxy error: context canceled
--- PASS: TestHeldHandoverLostLeaseMinio (0.32s)
PASS
ok  	github.com/carlosframework/platform/internal/host	0.909s
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/22 12:36:41 lease: instances/gen-1795351001938452102.shop.example.com: HA lease acquired in 5ms (first wake)
2026/11/22 12:36:41 lease: instances/gen-1795351001938452102.shop.example.com: HA lease acquired in 3ms (holder terminated)
    gentake_minio_test.go:308: a second create-only copy onto instances/gen-1795351001938452102.shop.example.com/g-00000000000000000002/0000/0000000000000001-0000000000000001.ltx: <nil> (destination condition honoured: false)
2026/11/22 12:36:41 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/22 12:36:42 http: proxy error: context canceled
2026/11/22 12:36:42 ERROR retention enforcement failed system=store db=w.example.com.db error="enforce snapshot retention: remove ltx files: lease: a write has waited too long to reach storage (write fence)"
2026/11/22 12:36:42 http: proxy error: context canceled
=== RUN   TestGenerationTakeMinio/switch-412
2026/11/22 12:36:42 lease: instances/gen-1795351002058048078.shop.example.com: HA lease acquired in 3ms (first wake)
2026/11/22 12:36:42 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/22 12:36:42 lease: instances/gen-1795351002058048078.shop.example.com: HA lease acquired in 2ms (clean marker)
=== RUN   TestGenerationTakeMinio/copy-version
=== RUN   TestGenerationTakeMinio/store-time
2026/11/22 12:36:42 lease: instances/gen-1795351002104106607.shop.example.com: HA lease acquired in 3ms (first wake)
2026/11/22 12:36:42 ERROR retention enforcement failed system=store db=seed.db error="enforce snapshot retention: remove ltx files: lease: invalid or changed generation binding"
2026/11/22 12:36:42 lease: instances/gen-1795351002104106607.shop.example.com: HA lease acquired in 2ms (clean marker)
2026/11/22 12:36:42 lease: instances/gen-1795351002104106607.shop.example.com: HA lease acquired in 2ms (unclean marker)
2026/11/22 12:36:42 lease: instances/gen-1795351002104106607.shop.example.com: HA lease acquired in 2ms (unclean marker)
2026/11/22 12:36:42 lease: instances/gen-1795351002104106607.shop.example.com: HA lease acquired in 2ms (unclean marker)
2026/11/22 12:36:42 lease: instances/gen-1795351002104106607.shop.example.com: HA lease acquired in 2ms (unclean marker)
=== RUN   TestGenerationTakeMinio/skew
--- PASS: TestGenerationTakeMinio (0.32s)
    --- PASS: TestGenerationTakeMinio/take (0.12s)
    --- PASS: TestGenerationTakeMinio/switch-412 (0.04s)
    --- PASS: TestGenerationTakeMinio/copy-version (0.01s)
    --- PASS: TestGenerationTakeMinio/store-time (0.14s)
    --- PASS: TestGenerationTakeMinio/skew (0.01s)
PASS
ok  	github.com/carlosframework/platform/internal/lease	0.329s
minio contract: PASS
=== staticcheck ===
go version go1.26.10 linux/arm64
go: downloading honnef.co/go/tools v0.8.2
go: downloading golang.org/x/exp/typeparams v0.0.0-20231108232855-2478ac86f678
go: downloading github.com/BurntSushi/toml v1.4.1-0.20240526193622-a339e1f7089c
go: downloading golang.org/x/sync v0.23.0
go: downloading golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa
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 1m46.923s
    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  4184  6365  . apimode.go
          file-lines  3782  7198  internal/activator activator.go
          file-lines  3530  4459  . apimode_test.go
          file-lines  3261  3864  internal/registry registry_test.go
          file-lines  3211  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   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   358   362  internal/registry (*Registry).haJournal
          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 (203 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/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/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         18573 at   45 sites  functions over 300 code lines (blank and comment-only lines not counted)
    codehealth_test.go:115: file-lines         30752 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 internal/activator activator.go -: 3782 in the code, the record allows 3783 (make code-health-record lowers it)
    codehealth_test.go:119: below the record: file-lines internal/host agent.go -: 3211 in the code, the record allows 3214 (make code-health-record lowers it)
--- PASS: TestCodeHealth (106.93s)
PASS
ok  	github.com/carlosframework/platform/internal/codehealth	108.240s
=== code-health-record ===
go version go1.26.10 linux/arm64
code-health record: comparing with the merge base d3266e8e6fbbad5367453a9d75ed016182b84a84 (main is 3d7f95385db1f2f5a085dc60fd799af93139163b)
=== 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 (14 s, from +13 s)
ok  	github.com/carlosframework/platform/internal/systemd	13.439s
=== internal_rootaws@0 (26 s, from +34 s)
ok  	github.com/carlosframework/platform/internal/rootaws	24.884s
=== internal_activator@0 (288 s, from +109 s)
ok  	github.com/carlosframework/platform/internal/activator	286.306s
=== internal_activator@1 (251 s, from +109 s)
ok  	github.com/carlosframework/platform/internal/activator	248.935s
=== internal_activator@2 (301 s, from +109 s)
ok  	github.com/carlosframework/platform/internal/activator	299.304s
=== internal_activator@3 (362 s, from +109 s)
ok  	github.com/carlosframework/platform/internal/activator	360.144s
=== internal_activator@4 (285 s, from +109 s)
ok  	github.com/carlosframework/platform/internal/activator	282.734s
=== internal_activator@5 (287 s, from +109 s)
ok  	github.com/carlosframework/platform/internal/activator	284.610s
=== internal_activator@6 (311 s, from +109 s)
ok  	github.com/carlosframework/platform/internal/activator	309.033s
=== internal_activator@7 (422 s, from +109 s)
ok  	github.com/carlosframework/platform/internal/activator	420.207s
=== internal_edge@0 (84 s, from +129 s)
ok  	github.com/carlosframework/platform/internal/edge	80.838s
=== internal_edge@1 (79 s, from +129 s)
ok  	github.com/carlosframework/platform/internal/edge	75.789s
=== internal_edge@2 (205 s, from +129 s)
ok  	github.com/carlosframework/platform/internal/edge	201.145s
=== internal_edge@3 (144 s, from +129 s)
ok  	github.com/carlosframework/platform/internal/edge	140.564s
=== internal_edge@4 (142 s, from +129 s)
ok  	github.com/carlosframework/platform/internal/edge	139.067s
=== internal_edge@5 (233 s, from +129 s)
ok  	github.com/carlosframework/platform/internal/edge	229.376s
=== internal_edge@6 (205 s, from +129 s)
ok  	github.com/carlosframework/platform/internal/edge	201.230s
=== internal_edge@7 (297 s, from +129 s)
2026/11/22 12:44:16 edge: mesh key: minted
2026/11/22 12:44:18 edge: mesh key: minted
2026/11/22 12:44:19 edge: backhaul to betty (127.0.0.1) is at its in-flight cap (0) — answering 503 + Retry-After: 2 (occurrence #1)
2026/11/22 12:44:19 edge: mesh key: minted
2026/11/22 12:44:20 edge: backhaul to betty is at least half full (32 of 64 slots) and client 192.0.2.1/32 holds 32 of them — refused the request (fair share 8) (occurrence #1)
2026/11/22 12:44:20 edge: mesh key: minted
2026/11/22 12:44:21 edge: mesh key: minted
2026/11/22 12:44:21 edge: mesh key: minted
2026/11/22 12:44:23 edge: mesh key: minted
2026/11/22 12:44:31 edge: cert sweep: removed control/certs/abc123+http-01 — spent challenge token
2026/11/22 12:44:31 edge: cert sweep: removed control/certs/www.customer.test+token — spent challenge token
2026/11/22 12:44:31 edge: cert sweep: removed control/certs/dead.customer.test — certificate expired 2026-10-22 for dead.customer.test
2026/11/22 12:44:31 edge: wildcard *.go.tito.io: acme register: Get "http://127.0.0.1:34185/directory": dial tcp 127.0.0.1:34185: connect: connection refused — per-host issuance keeps covering; retrying in 1h0m0s
2026/11/22 12:44:31 edge: cert warm for old.example.org rate-limited by the CA — backing off 12h0m0s (the whole deployment shares one ACME account)
2026/11/22 12:44:31 edge: cert warm for shop.example.com rate-limited by the CA — backing off 12h0m0s (the whole deployment shares one ACME account)
2026/11/22 12:44:31 edge: cert warmed for store.example.net
2026/11/22 12:44:31 edge: cert warm: cleared the outcome record for old.example.org (detached)
2026/11/22 12:44:31 edge: cert warm: cleared the outcome record for shop.example.com (detached)
2026/11/22 12:44:31 edge: cert warm for bad.customer.test: order failed — retrying in 1h0m0s
2026/11/22 12:44:33 edge: mesh key: minted
2026/11/22 12:44:35 http: proxy error: edge: devbox socket owner mismatch
2026/11/22 12:44:39 edge: static cache /tmp/TestStatusRouteCacheServesStaleOnStoreError2930342090/003/cache: first start with the lock; sweeping from the next start
2026/11/22 12:44:39 edge: status status/fleet.json: store read failed outside TTL (dirstore: status/fleet.json: file does not exist) — serving stale copy fetched at 2026-11-22T12:44:39Z
2026/11/22 12:44:42 edge: route shop.example.com is not served: forward row on a box that is not the hub (occurrence #1)
2026/11/22 12:44:42 edge: tunnel pi/pi-1: connected from 127.0.0.1:52264
2026/11/22 12:44:44 edge: tunnel home/box-1: connected from 127.0.0.1:60326
2026/11/22 12:44:44 edge: plan throttle: refused an upgrade for shop.example.com (the account is slowed down until the month ends) (occurrence #1)
2026/11/22 12:44:44 edge: fleet home proxy error: context canceled
2026/11/22 12:44:45 edge: route bad-hand.example.com is not served: account "baj" does not own fleet "home" (occurrence #1)
2026/11/22 12:44:45 edge: route bad.example.com is not served: account "baj" does not own fleet "home" (occurrence #1)
2026/11/22 12:44:45 edge: route good.example.com: fleet-placed row has no account; served on fleet "home" as before accounts (occurrence #1)
2026/11/22 12:44:46 edge: tunnel home/box-1: connected from 127.0.0.1:37350
2026/11/22 12:44:47 edge: tunnel pi/pi-1: ping failed (EOF) — dropping channel
2026/11/22 12:44:49 edge: tunnel home/box-1: ping failed (EOF) — dropping channel
2026/11/22 12:44:50 edge: geoip blob ed972738 rejected: digest mismatch
2026/11/22 12:44:50 edge: geoip blob unavailable; keeping the loaded database
2026/11/22 12:44:50 edge: geoip database b3760190 (GeoIP2-Country, built 2026-02-04) loaded
2026/11/22 12:44:50 edge: geoip database ed972738 (GeoIP2-City, built 2026-02-04) loaded
2026/11/22 12:44:51 edge: tunnel home/box-1: ping failed (EOF) — dropping channel
2026/11/22 12:45:56 edge: mesh key: minted
2026/11/22 12:45:57 edge: mesh key: minted
2026/11/22 12:46:06 edge: tunnel link:000000020000/home: connected from 127.0.0.1:40642
2026/11/22 12:46:07 edge: tunnel link:000000020001/home: connected from 127.0.0.1:40668
2026/11/22 12:46:07 edge: tunnel link:000000020001/home: connected from 127.0.0.1:40682
2026/11/22 12:46:07 edge: tunnel link:000000020001/home: connected from 127.0.0.1:40692
2026/11/22 12:46:08 edge: tunnel link:000000030001/home: connected from 127.0.0.1:40708
2026/11/22 12:46:08 edge: tunnel link:000000030000/home: connected from 127.0.0.1:40726
2026/11/22 12:46:09 edge: tunnel link:000000040000/home: connected from 127.0.0.1:40750
2026/11/22 12:46:09 edge: tunnel link:000000040000/home: connected from 127.0.0.1:40764
2026/11/22 12:46:09 edge: tunnel link:000000040001/home: connected from 127.0.0.1:40776
2026/11/22 12:46:09 edge: tunnel link:000000040001/home: connected from 127.0.0.1:40782
2026/11/22 12:46:09 edge: tunnel link:000000040000/home: connected from 127.0.0.1:40784
2026/11/22 12:46:10 edge: tunnel link:000000050000/home: connected from 127.0.0.1:40806
2026/11/22 12:46:10 edge: tunnel link:000000050000/home: connected from 127.0.0.1:40814
2026/11/22 12:46:11 edge: tunnel link:000000020000/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:40642: use of closed network connection) — dropping channel
2026/11/22 12:46:12 edge: tunnel link:000000020001/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:40668: use of closed network connection) — dropping channel
2026/11/22 12:46:12 edge: tunnel link:000000020001/home: ping failed (EOF) — dropping channel
2026/11/22 12:46:12 edge: tunnel link:000000020001/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:40692: use of closed network connection) — dropping channel
2026/11/22 12:46:13 edge: tunnel link:000000070002/home: connected from 127.0.0.1:40834
2026/11/22 12:46:13 edge: tunnel link:000000070002/home: connected from 127.0.0.1:40836
2026/11/22 12:46:13 edge: tunnel link:000000030001/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:40708: use of closed network connection) — dropping channel
2026/11/22 12:46:13 edge: tunnel link:000000030000/home: ping failed (EOF) — dropping channel
2026/11/22 12:46:13 edge: tunnel link:000000080001/home: connected from 127.0.0.1:40848
2026/11/22 12:46:14 edge: tunnel link:000000080000/home: connected from 127.0.0.1:40872
2026/11/22 12:46:14 edge: tunnel link:000000080000/home: connected from 127.0.0.1:40886
2026/11/22 12:46:14 edge: tunnel link:000000080000/home: connected from 127.0.0.1:40900
2026/11/22 12:46:14 edge: tunnel link:000000040000/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:40750: use of closed network connection) — dropping channel
2026/11/22 12:46:14 edge: tunnel link:000000040000/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:40764: use of closed network connection) — dropping channel
2026/11/22 12:46:14 edge: tunnel link:000000040001/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:40776: use of closed network connection) — dropping channel
2026/11/22 12:46:14 edge: tunnel link:000000040001/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:40782: use of closed network connection) — dropping channel
2026/11/22 12:46:14 edge: tunnel link:000000040000/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:40784: use of closed network connection) — dropping channel
2026/11/22 12:46:15 edge: tunnel link:000000090002/home: connected from 127.0.0.1:40938
2026/11/22 12:46:15 edge: tunnel link:000000050000/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:40806: use of closed network connection) — dropping channel
2026/11/22 12:46:15 edge: tunnel link:000000050000/home: ping failed (EOF) — dropping channel
2026/11/22 12:46:16 edge: tunnel link:0000000a0001/home: connected from 127.0.0.1:59898
2026/11/22 12:46:16 edge: tunnel link:0000000a0000/home: connected from 127.0.0.1:59910
2026/11/22 12:46:16 edge: tunnel link:0000000a0001/home: connected from 127.0.0.1:59936
2026/11/22 12:46:16 edge: tunnel link:0000000a0000/home: connected from 127.0.0.1:59968
2026/11/22 12:46:18 edge: tunnel link:0000000b0000/home: connected from 127.0.0.1:60004
2026/11/22 12:46:18 edge: tunnel link:0000000b0000/home: connected from 127.0.0.1:60016
2026/11/22 12:46:18 edge: tunnel link:000000070002/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:40834: use of closed network connection) — dropping channel
2026/11/22 12:46:18 edge: tunnel link:000000070002/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:40836: use of closed network connection) — dropping channel
2026/11/22 12:46:18 edge: tunnel link:000000080001/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:40848: use of closed network connection) — dropping channel
2026/11/22 12:46:18 edge: tunnel link:0000000c0000/home: credential revoked during registration — closing
2026/11/22 12:46:18 edge: tunnel link:0000000c0000/home: connected from 127.0.0.1:60058
2026/11/22 12:46:19 edge: tunnel link:0000000c0000/home: credential revoked during registration — closing
2026/11/22 12:46:19 edge: tunnel link:000000080000/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:40872: use of closed network connection) — dropping channel
2026/11/22 12:46:19 edge: tunnel link:0000000c0000/home: connected from 127.0.0.1:60066
2026/11/22 12:46:19 edge: tunnel link:000000080000/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:40886: use of closed network connection) — dropping channel
2026/11/22 12:46:19 edge: tunnel link:000000080000/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:40900: use of closed network connection) — dropping channel
2026/11/22 12:46:20 edge: tunnel link:0000000d0001/home: connected from 127.0.0.1:60070
2026/11/22 12:46:20 edge: tunnel link:0000000d0000/home: connected from 127.0.0.1:60098
2026/11/22 12:46:20 edge: tunnel link:000000090002/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:40938: use of closed network connection) — dropping channel
2026/11/22 12:46:21 edge: tunnel link:0000000e0002/home: connected from 127.0.0.1:60116
2026/11/22 12:46:21 edge: tunnel link:0000000a0001/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:59898: use of closed network connection) — dropping channel
2026/11/22 12:46:21 edge: tunnel link:0000000e0000/home: connected from 127.0.0.1:60118
2026/11/22 12:46:21 edge: tunnel link:0000000a0000/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:59910: use of closed network connection) — dropping channel
2026/11/22 12:46:21 edge: tunnel link:0000000a0001/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:59936: use of closed network connection) — dropping channel
2026/11/22 12:46:21 edge: tunnel link:0000000a0000/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:59968: use of closed network connection) — dropping channel
2026/11/22 12:46:22 edge: tunnel link:0000000f0000/home: credential revoked during registration — closing
2026/11/22 12:46:23 edge: tunnel link:0000000b0000/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:60004: use of closed network connection) — dropping channel
2026/11/22 12:46:23 edge: tunnel link:0000000b0000/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:60016: use of closed network connection) — dropping channel
2026/11/22 12:46:23 edge: tunnel link:0000000c0000/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:60058: use of closed network connection) — dropping channel
2026/11/22 12:46:24 edge: tunnel link:0000000c0000/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:60066: use of closed network connection) — dropping channel
2026/11/22 12:46:25 edge: tunnel link:0000000d0001/home: ping failed (EOF) — dropping channel
2026/11/22 12:46:25 edge: tunnel link:000000110000/home: credential revoked during registration — closing
2026/11/22 12:46:25 edge: tunnel link:0000000d0000/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:60098: use of closed network connection) — dropping channel
2026/11/22 12:46:26 edge: tunnel link:0000000e0002/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:60116: use of closed network connection) — dropping channel
2026/11/22 12:46:26 edge: tunnel link:0000000e0000/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:60118: use of closed network connection) — dropping channel
2026/11/22 12:46:26 edge: tunnel link:000000130001/home: connected from 127.0.0.1:34490
2026/11/22 12:46:26 edge: tunnel link:000000130002/home: connected from 127.0.0.1:34504
2026/11/22 12:46:27 edge: tunnel link:000000140001/home: connected from 127.0.0.1:34532
2026/11/22 12:46:28 edge: tunnel link:000000140000/home: credential revoked during registration — closing
2026/11/22 12:46:29 edge: tunnel link:000000140001/home: connected from 127.0.0.1:34614
2026/11/22 12:46:30 edge: tunnel link:000000150002/home: connected from 127.0.0.1:34628
2026/11/22 12:46:30 edge: tunnel link:000000150001/home: connected from 127.0.0.1:34636
2026/11/22 12:46:30 edge: tunnel link:000000150002/home: connected from 127.0.0.1:34638
2026/11/22 12:46:30 edge: tunnel link:000000150000/home: connected from 127.0.0.1:34718
2026/11/22 12:46:31 edge: tunnel link:000000150001/home: connected from 127.0.0.1:34726
2026/11/22 12:46:31 edge: tunnel link:000000160000/home: connected from 127.0.0.1:34738
2026/11/22 12:46:31 edge: tunnel link:000000130001/home: ping failed (EOF) — dropping channel
2026/11/22 12:46:31 edge: tunnel link:000000130002/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:34504: use of closed network connection) — dropping channel
2026/11/22 12:46:31 edge: tunnel link:000000160000/home: connected from 127.0.0.1:34744
2026/11/22 12:46:32 edge: tunnel link:000000170002/home: connected from 127.0.0.1:34772
2026/11/22 12:46:32 edge: tunnel link:000000170000/home: connected from 127.0.0.1:34782
2026/11/22 12:46:32 edge: tunnel link:000000140001/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:34532: use of closed network connection) — dropping channel
2026/11/22 12:46:33 edge: tunnel link:000000170001/home: connected from 127.0.0.1:34796
2026/11/22 12:46:33 edge: tunnel link:000000170000/home: credential revoked during registration — closing
2026/11/22 12:46:34 edge: tunnel link:000000180000/home: connected from 127.0.0.1:34852
2026/11/22 12:46:34 edge: tunnel link:000000180001/home: connected from 127.0.0.1:34858
2026/11/22 12:46:34 edge: tunnel link:000000140001/home: ping failed (EOF) — dropping channel
2026/11/22 12:46:34 edge: tunnel link:000000190000/home: connected from 127.0.0.1:34902
2026/11/22 12:46:34 edge: tunnel link:000000190001/home: connected from 127.0.0.1:34908
2026/11/22 12:46:35 edge: tunnel link:000000150002/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:34628: use of closed network connection) — dropping channel
2026/11/22 12:46:35 edge: tunnel link:000000150001/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:34636: use of closed network connection) — dropping channel
2026/11/22 12:46:35 edge: tunnel link:000000150002/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:34638: use of closed network connection) — dropping channel
2026/11/22 12:46:35 edge: tunnel link:000000190001/home: connected from 127.0.0.1:34936
2026/11/22 12:46:35 edge: tunnel link:000000150000/home: ping failed (EOF) — dropping channel
2026/11/22 12:46:36 edge: tunnel link:000000150001/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:34726: use of closed network connection) — dropping channel
2026/11/22 12:46:36 edge: tunnel link:0000001a0001/home: connected from 127.0.0.1:56460
2026/11/22 12:46:36 edge: tunnel link:000000160000/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:34738: use of closed network connection) — dropping channel
2026/11/22 12:46:36 edge: tunnel link:0000001a0002/home: connected from 127.0.0.1:56464
2026/11/22 12:46:36 edge: tunnel link:000000160000/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:34744: use of closed network connection) — dropping channel
2026/11/22 12:46:37 edge: tunnel link:000000170002/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:34772: use of closed network connection) — dropping channel
2026/11/22 12:46:37 edge: tunnel link:000000170000/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:34782: use of closed network connection) — dropping channel
2026/11/22 12:46:38 edge: tunnel link:0000001b0000/home: connected from 127.0.0.1:56484
2026/11/22 12:46:38 edge: tunnel link:0000001b0001/home: connected from 127.0.0.1:56492
2026/11/22 12:46:38 edge: tunnel link:000000170001/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:34796: use of closed network connection) — dropping channel
2026/11/22 12:46:38 edge: tunnel link:0000001b0001/home: connected from 127.0.0.1:56504
2026/11/22 12:46:39 edge: tunnel link:000000180000/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:34852: use of closed network connection) — dropping channel
2026/11/22 12:46:39 edge: tunnel link:000000180001/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:34858: use of closed network connection) — dropping channel
2026/11/22 12:46:39 edge: tunnel link:0000001c0000/home: connected from 127.0.0.1:56514
2026/11/22 12:46:39 edge: tunnel link:0000001c0002/home: connected from 127.0.0.1:56524
2026/11/22 12:46:39 edge: tunnel link:000000190000/home: ping failed (EOF) — dropping channel
2026/11/22 12:46:39 edge: tunnel link:000000190001/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:34908: use of closed network connection) — dropping channel
2026/11/22 12:46:40 edge: tunnel link:0000001c0001/home: connected from 127.0.0.1:56532
2026/11/22 12:46:40 edge: tunnel link:0000001c0000/home: connected from 127.0.0.1:56546
2026/11/22 12:46:40 edge: tunnel link:000000190001/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:34936: use of closed network connection) — dropping channel
2026/11/22 12:46:41 edge: tunnel link:0000001a0001/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:56460: use of closed network connection) — dropping channel
2026/11/22 12:46:41 edge: tunnel link:0000001a0002/home: ping failed (EOF) — dropping channel
2026/11/22 12:46:43 edge: tunnel link:0000001b0000/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:56484: use of closed network connection) — dropping channel
2026/11/22 12:46:43 edge: tunnel link:0000001b0001/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:56492: use of closed network connection) — dropping channel
2026/11/22 12:46:43 edge: tunnel link:0000001b0001/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:56504: use of closed network connection) — dropping channel
2026/11/22 12:46:44 edge: tunnel link:000000200000/home: connected from 127.0.0.1:56576
2026/11/22 12:46:44 edge: tunnel link:0000001c0000/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:56514: use of closed network connection) — dropping channel
2026/11/22 12:46:44 edge: tunnel link:000000200002/home: connected from 127.0.0.1:56580
2026/11/22 12:46:44 edge: tunnel link:0000001c0002/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:56524: use of closed network connection) — dropping channel
2026/11/22 12:46:44 edge: tunnel link:000000200000/home: connected from 127.0.0.1:56592
2026/11/22 12:46:45 edge: tunnel link:0000001c0001/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:56532: use of closed network connection) — dropping channel
2026/11/22 12:46:45 edge: tunnel link:0000001c0000/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:56546: use of closed network connection) — dropping channel
2026/11/22 12:46:45 edge: tunnel link:000000210000/home: connected from 127.0.0.1:56646
2026/11/22 12:46:45 edge: tunnel link:000000210000/home: connected from 127.0.0.1:56658
2026/11/22 12:46:47 edge: tunnel link:000000230000/home: connected from 127.0.0.1:56652
2026/11/22 12:46:47 edge: tunnel link:000000230000/home: connected from 127.0.0.1:56676
2026/11/22 12:46:47 edge: tunnel link:000000230000/home: credential revoked during registration — closing
2026/11/22 12:46:48 edge: tunnel link:000000230000/home: connected from 127.0.0.1:56716
2026/11/22 12:46:49 edge: tunnel link:000000200000/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:56576: use of closed network connection) — dropping channel
2026/11/22 12:46:49 edge: tunnel link:000000200002/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:56580: use of closed network connection) — dropping channel
2026/11/22 12:46:49 edge: tunnel link:000000200000/home: ping failed (EOF) — dropping channel
2026/11/22 12:46:50 edge: tunnel link:000000240001/home: connected from 127.0.0.1:56728
2026/11/22 12:46:50 edge: tunnel link:000000240001/home: connected from 127.0.0.1:56734
2026/11/22 12:46:50 edge: tunnel link:000000210000/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:56646: use of closed network connection) — dropping channel
2026/11/22 12:46:50 edge: tunnel link:000000210000/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:56658: use of closed network connection) — dropping channel
2026/11/22 12:46:50 edge: tunnel link:000000250000/home: connected from 127.0.0.1:56738
2026/11/22 12:46:51 edge: tunnel link:000000250000/home: connected from 127.0.0.1:56746
2026/11/22 12:46:51 edge: tunnel link:000000250000/home: connected from 127.0.0.1:56750
2026/11/22 12:46:52 edge: tunnel link:000000230000/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:56652: use of closed network connection) — dropping channel
2026/11/22 12:46:52 edge: tunnel link:000000230000/home: ping failed (EOF) — dropping channel
2026/11/22 12:46:53 edge: tunnel link:000000230000/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:56716: use of closed network connection) — dropping channel
2026/11/22 12:46:53 edge: tunnel link:000000260000/home: connected from 127.0.0.1:56816
2026/11/22 12:46:53 edge: tunnel link:000000260001/home: connected from 127.0.0.1:56832
2026/11/22 12:46:54 edge: tunnel link:000000270001/home: connected from 127.0.0.1:56854
2026/11/22 12:46:55 edge: tunnel link:000000240001/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:56728: use of closed network connection) — dropping channel
2026/11/22 12:46:55 edge: tunnel link:000000240001/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:56734: use of closed network connection) — dropping channel
2026/11/22 12:46:55 edge: tunnel link:000000280000/home: connected from 127.0.0.1:56860
2026/11/22 12:46:55 edge: tunnel link:000000280000/home: connected from 127.0.0.1:56874
2026/11/22 12:46:55 edge: tunnel link:000000250000/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:56738: use of closed network connection) — dropping channel
2026/11/22 12:46:56 edge: tunnel link:000000250000/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:56746: use of closed network connection) — dropping channel
2026/11/22 12:46:56 edge: tunnel link:000000250000/home: ping failed (EOF) — dropping channel
2026/11/22 12:46:58 edge: tunnel link:000000260000/home: ping failed (EOF) — dropping channel
2026/11/22 12:46:58 edge: tunnel link:000000260001/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:56832: use of closed network connection) — dropping channel
2026/11/22 12:46:59 edge: tunnel link:0000002b0000/home: connected from 127.0.0.1:41730
2026/11/22 12:46:59 edge: tunnel link:0000002b0000/home: connected from 127.0.0.1:41742
2026/11/22 12:46:59 edge: tunnel link:000000270001/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:56854: use of closed network connection) — dropping channel
2026/11/22 12:47:00 edge: tunnel link:000000280000/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:56860: use of closed network connection) — dropping channel
2026/11/22 12:47:00 edge: tunnel link:000000280000/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:56874: use of closed network connection) — dropping channel
2026/11/22 12:47:02 edge: tunnel link:0000002e0000/home: connected from 127.0.0.1:41820
2026/11/22 12:47:04 edge: tunnel link:0000002b0000/home: ping failed (EOF) — dropping channel
2026/11/22 12:47:04 edge: tunnel link:0000002b0000/home: ping failed (EOF) — dropping channel
2026/11/22 12:47:04 edge: tunnel link:000000300000/home: connected from 127.0.0.1:41928
2026/11/22 12:47:04 edge: tunnel link:000000300000/home: connected from 127.0.0.1:41944
2026/11/22 12:47:04 edge: tunnel link:000000300000/home: connected from 127.0.0.1:41956
2026/11/22 12:47:05 edge: tunnel link:000000310000/home: connected from 127.0.0.1:41966
2026/11/22 12:47:06 edge: tunnel link:000000320000/home: connected from 127.0.0.1:34464
2026/11/22 12:47:06 edge: tunnel link:000000320000/home: connected from 127.0.0.1:34480
2026/11/22 12:47:06 edge: tunnel link:000000320000/home: connected from 127.0.0.1:34508
2026/11/22 12:47:06 edge: tunnel link:000000320000/home: credential revoked during registration — closing
2026/11/22 12:47:07 edge: tunnel link:0000002e0000/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:41820: use of closed network connection) — dropping channel
2026/11/22 12:47:07 edge: probe shop.example.com 127.0.0.1:43843 down (dial: Get "http://127.0.0.1:43843/healthz": dial tcp 127.0.0.1:43843: connect: connection refused)
2026/11/22 12:47:07 edge: static shop/devbox: t1 _headers: over the 262144 byte limit — serving without its rules
2026/11/22 12:47:07 edge: static shop/devbox: t1 _redirects: over the 262144 byte limit — serving without its rules
2026/11/22 12:47:09 edge: tunnel link:000000300000/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:41928: use of closed network connection) — dropping channel
2026/11/22 12:47:09 edge: tunnel link:000000300000/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:41944: use of closed network connection) — dropping channel
2026/11/22 12:47:09 edge: tunnel link:000000300000/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:41956: use of closed network connection) — dropping channel
2026/11/22 12:47:10 edge: tunnel link:000000310000/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:41966: use of closed network connection) — dropping channel
2026/11/22 12:47:11 edge: tunnel link:000000320000/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:34464: use of closed network connection) — dropping channel
2026/11/22 12:47:11 edge: tunnel link:000000320000/home: ping failed (EOF) — dropping channel
2026/11/22 12:47:11 edge: tunnel link:000000320000/home: ping failed (read tcp 127.0.0.1:37765->127.0.0.1:34508: use of closed network connection) — dropping channel
2026/11/22 12:47:22 edge: mesh key: minted
2026/11/22 12:47:23 edge: publishing issued certs to control/certs/* in the deployment bucket
2026/11/22 12:47:23 edge: publishing issued certs to control/certs/* in the deployment bucket
2026/11/22 12:47:24 edge: publishing issued certs to control/certs/* in the deployment bucket
2026/11/22 12:47:24 edge: mesh key: minted
2026/11/22 12:47:25 edge: publishing issued certs to control/certs/* in the deployment bucket
2026/11/22 12:47:26 edge: publishing issued certs to control/certs/* in the deployment bucket
2026/11/22 12:47:27 edge: publishing issued certs to control/certs/* in the deployment bucket
2026/11/22 12:47:28 edge: gate login on hub.example refused: its page's prefix "acme" names tenant.example, served on another box, and the password is judged only there (occurrence #1)
2026/11/22 12:47:28 edge: mesh key: minted
2026/11/22 12:47:29 edge: publishing issued certs to control/certs/* in the deployment bucket
2026/11/22 12:47:30 edge: publishing issued certs to control/certs/* in the deployment bucket
2026/11/22 12:47:30 edge: publishing issued certs to control/certs/* in the deployment bucket
2026/11/22 12:47:31 edge: mesh key: minted
2026/11/22 12:47:32 edge: publishing issued certs to control/certs/* in the deployment bucket
2026/11/22 12:47:33 edge: publishing issued certs to control/certs/* in the deployment bucket
2026/11/22 12:47:33 edge: publishing issued certs to control/certs/* in the deployment bucket
2026/11/22 12:47:34 edge: mesh key: minted
2026/11/22 12:47:35 edge: publishing issued certs to control/certs/* in the deployment bucket
2026/11/22 12:47:35 edge: stale hop refusal on box dennis for hub.example (#1) — the sending edge's home map has not caught up yet
2026/11/22 12:47:41 edge: plan throttle: refused an upgrade for throttled.example (the account is slowed down until the month ends) (occurrence #1)
2026/11/22 12:47:48 http: TLS handshake error from 127.0.0.1:51072: proxyproto: connection closed: read tcp 127.0.0.1:46801->127.0.0.1:51072: use of closed network connection
2026/11/22 12:47:48 http: TLS handshake error from 127.0.0.1:36780: proxyproto: connection closed: proxyproto: malformed header: reading fixed part: read tcp 127.0.0.1:40911->127.0.0.1:36780: use of closed network connection
2026/11/22 12:47:48 http: TLS handshake error from 127.0.0.1:36768: proxyproto: connection closed: read tcp 127.0.0.1:40911->127.0.0.1:36768: use of closed network connection
2026/11/22 12:47:50 edge: dec.example.com: ignored 1 malformed Carlos-Purge target(s), first "/%2Fa.example.com/x": a target must be an absolute path, "*" or "all", and may never carry a host (occurrence #1)
2026/11/22 12:47:51 edge: a.example.com declared 1 Carlos-Purge-Host value(s) this edge does not serve, first "c.example.com" — skipped, the rest of the declaration is honoured (occurrence #1)
2026/11/22 12:47:51 edge: a.example.com declared 1 Carlos-Purge-Host value(s) this edge does not serve, first "c.example.com" — skipped, the rest of the declaration is honoured (occurrence #1)
2026/11/22 12:47:54 edge: rate limit: refused a request for shop.example.com (fair-share), client 203.0.113.1/32 (occurrence #1)
2026/11/22 12:47:59 edge: route shop.example.com is not served: replica set row on a box that is not the hub (occurrence #1)
2026/11/22 12:48:00 edge: tunnel pi/box-00: connected from 127.0.0.1:36758
2026/11/22 12:48:01 edge: tunnel pi/box-01: connected from 127.0.0.1:36770
2026/11/22 12:48:02 edge: route shop.example.com is not served: replica set row on a box that is not the hub (occurrence #1)
2026/11/22 12:48:03 edge: tunnel pi/box-00: connected from 127.0.0.1:52040
2026/11/22 12:48:04 edge: tunnel pi/box-01: connected from 127.0.0.1:52054
2026/11/22 12:48:05 edge: tunnel pi/box-00: ping failed (read tcp 127.0.0.1:38021->127.0.0.1:36758: use of closed network connection) — dropping channel
2026/11/22 12:48:06 edge: tunnel pi/box-01: ping failed (EOF) — dropping channel
2026/11/22 12:48:08 edge: tunnel pi/box-00: ping failed (EOF) — dropping channel
2026/11/22 12:48:09 edge: tunnel pi/box-01: ping failed (EOF) — dropping channel
2026/11/22 12:48:09 httputil: ReverseProxy read error during body copy: io: read/write on closed pipe
2026/11/22 12:48:10 edge: static cache /tmp/TestStaticRewriteToHardFile1589272413/004/cache: first start with the lock; sweeping from the next start
2026/11/22 12:48:10 INFO edge: static site=bab/site version=v1 bytes=152 seconds=0.000
2026/11/22 12:48:11 edge: static cache /tmp/TestStaticRewriteToHardFile1589272413/008/cache: first start with the lock; sweeping from the next start
2026/11/22 12:48:11 INFO edge: static site=bab/site version=v1 bytes=152 seconds=0.000
2026/11/22 12:48:12 edge: static cache /tmp/TestStaticRewriteToHardFile1589272413/012/cache: first start with the lock; sweeping from the next start
2026/11/22 12:48:12 INFO edge: static site=bab/site version=v1 bytes=152 seconds=0.001
2026/11/22 12:48:13 edge: static cache /tmp/TestStaticHeadersFiestaFile3063974/004/cache: first start with the lock; sweeping from the next start
2026/11/22 12:48:13 INFO edge: static site=bab/site version=v1 bytes=396 seconds=0.001
2026/11/22 12:48:13 INFO edge: static site=bab/site version=v1 bytes=106 seconds=0.000
2026/11/22 12:48:13 edge: status status/index.html: dirstore: status/index.html: file does not exist
2026/11/22 12:48:13 edge: status status/fleet.json: dirstore: status/fleet.json: file does not exist
2026/11/22 12:48:13 edge: status status/status.css: dirstore: status/status.css: file does not exist
--- FAIL: TestTunnelledForwardedFallback (11.27s)
    tunnel_client_addr_test.go:243: an 11th attempt from the same visitor: 401, want 429
2026/11/22 12:48:27 edge: tunnel t1: connected from 127.0.0.1:41072
2026/11/22 12:48:31 edge: tunnel home/box-1: connected from 127.0.0.1:37606
2026/11/22 12:48:33 edge: tunnel home/box-1: connected from 127.0.0.1:35188
2026/11/22 12:48:34 edge: fleet home proxy error: context canceled
2026/11/22 12:48:34 http: proxy error: context canceled
2026/11/22 12:48:34 edge: wildcard *.bad.carlos.exciting.io: cannot publish the DNS-01 challenge: fake: no zone found for _acme-challenge.bad.carlos.exciting.io: no zone for this name in the configured DNS provider — per-host issuance keeps covering; retrying in 12h0m0s
2026/11/22 12:48:34 edge: mesh key: minted
2026/11/22 12:48:35 edge: publishing issued certs to control/certs/* in the deployment bucket
2026/11/22 12:48:35 edge: publishing issued certs to control/certs/* in the deployment bucket
2026/11/22 12:48:36 edge: tunnel home/box-1: ping failed (read tcp 127.0.0.1:44483->127.0.0.1:37606: read: connection reset by peer) — dropping channel
2026/11/22 12:48:36 edge: publishing issued certs to control/certs/* in the deployment bucket
2026/11/22 12:48:36 edge: mesh key: minted
2026/11/22 12:48:37 edge: publishing issued certs to control/certs/* in the deployment bucket
2026/11/22 12:48:38 edge: tunnel home/box-1: ping failed (EOF) — dropping channel
2026/11/22 12:48:38 edge: publishing issued certs to control/certs/* in the deployment bucket
2026/11/22 12:48:39 edge: publishing issued certs to control/certs/* in the deployment bucket
2026/11/22 12:48:39 activator: LEASE HELD for ha.forward.test by "box/v1;ref=betty;iid=i-b;pid=7;ha=1" — a previous incarnation hasn't released; refusing to wake (retry after 59m57.397857403s)
2026/11/22 12:48:39 edge: backhaul holder learned for ha.forward.test: betty (occurrence #1)
2026/11/22 12:48:39 edge: backhaul holder for ha.forward.test: annie to betty (occurrence #1)
2026/11/22 12:48:39 edge: mesh key: minted
2026/11/22 12:48:40 edge: publishing issued certs to control/certs/* in the deployment bucket
2026/11/22 12:48:41 edge: publishing issued certs to control/certs/* in the deployment bucket
2026/11/22 12:48:42 edge: publishing issued certs to control/certs/* in the deployment bucket
2026/11/22 12:48:42 activator: LEASE HELD for ha.forward.test by "box/v1;ref=betty;iid=i-b;pid=7;ha=1" — a previous incarnation hasn't released; refusing to wake (retry after 59m57.400603216s)
2026/11/22 12:48:42 edge: backhaul holder learned for ha.forward.test: betty (occurrence #1)
2026/11/22 12:48:42 edge: backhaul holder for ha.forward.test: annie to betty (occurrence #1)
2026/11/22 12:48:42 edge: mesh key: minted
2026/11/22 12:48:42 edge: tunnel t1: ping failed (EOF) — dropping channel
2026/11/22 12:48:43 edge: publishing issued certs to control/certs/* in the deployment bucket
2026/11/22 12:48:44 edge: publishing issued certs to control/certs/* in the deployment bucket
2026/11/22 12:48:44 edge: publishing issued certs to control/certs/* in the deployment bucket
2026/11/22 12:48:44 activator: LEASE HELD for ha.forward.test by "box/v1;ref=betty;iid=i-b;pid=7;ha=1" — a previous incarnation hasn't released; refusing to wake (retry after 59m57.405384527s)
2026/11/22 12:48:44 edge: backhaul holder learned for ha.forward.test: betty (occurrence #1)
2026/11/22 12:48:44 edge: backhaul holder for ha.forward.test: annie to betty (occurrence #1)
2026/11/22 12:48:45 edge: mesh key: minted
2026/11/22 12:48:46 edge: publishing issued certs to control/certs/* in the deployment bucket
2026/11/22 12:48:46 edge: publishing issued certs to control/certs/* in the deployment bucket
2026/11/22 12:48:47 edge: publishing issued certs to control/certs/* in the deployment bucket
2026/11/22 12:48:47 activator: LEASE HELD for ha.forward.test by "box/v1;ref=betty;iid=i-b;pid=7;ha=1" — a previous incarnation hasn't released; refusing to wake (retry after 59m57.407791561s)
2026/11/22 12:48:47 edge: backhaul holder learned for ha.forward.test: betty (occurrence #1)
2026/11/22 12:48:47 edge: backhaul holder for ha.forward.test: annie to betty (occurrence #1)
2026/11/22 12:48:47 edge: mesh key: minted
2026/11/22 12:48:48 edge: publishing issued certs to control/certs/* in the deployment bucket
2026/11/22 12:48:49 edge: publishing issued certs to control/certs/* in the deployment bucket
2026/11/22 12:48:50 edge: publishing issued certs to control/certs/* in the deployment bucket
2026/11/22 12:48:50 activator: LEASE HELD for ha.forward.test by "box/v1;ref=betty;iid=i-b;pid=7;ha=1" — a previous incarnation hasn't released; refusing to wake (retry after 59m57.4104861s)
2026/11/22 12:48:50 edge: backhaul holder learned for ha.forward.test: betty (occurrence #1)
2026/11/22 12:48:50 edge: backhaul holder for ha.forward.test: annie to betty (occurrence #1)
2026/11/22 12:48:51 edge: route shop.example: fleet-placed row has no account; served on fleet "pi" as before accounts (occurrence #1)
2026/11/22 12:48:51 edge: registry watcher armed (2s fingerprint poll)
2026/11/22 12:48:51 edge: tunnel pi/box-b: connected from 127.0.0.1:34236
2026/11/22 12:48:51 edge: tunnel pi/box-a: connected from 127.0.0.1:34246
2026/11/22 12:48:53 edge: tunnel pi/box-b: connected from 127.0.0.1:34266
2026/11/22 12:48:53 edge: registry changed — reloaded (1 route(s))
2026/11/22 12:48:55 edge: registry changed — reloaded (1 route(s))
2026/11/22 12:48:56 edge: tunnel pi/box-b: ping failed (EOF) — dropping channel
2026/11/22 12:48:57 edge: registry changed — reloaded (1 route(s))
2026/11/22 12:48:58 edge: tunnel pi/box-b: ping failed (read tcp 127.0.0.1:35453->127.0.0.1:34266: use of closed network connection) — dropping channel
2026/11/22 12:49:00 edge: static cache /tmp/TestFleetBoxCatchallYieldsToAnotherTenantsClaim538852460/003/cache: first start with the lock; sweeping from the next start
2026/11/22 12:49:00 edge: registry watcher armed (2s fingerprint poll)
2026/11/22 12:49:00 edge: tunnel orchard/box-a: connected from 127.0.0.1:37052
2026/11/22 12:49:00 edge: tunnel orchard/box-b: connected from 127.0.0.1:37050
2026/11/22 12:49:01 edge: tunnel pi/box-a: ping failed (EOF) — dropping channel
FAIL
FAIL	github.com/carlosframework/platform/internal/edge	294.018s
FAIL
=== internal_edge@8 (202 s, from +129 s)
ok  	github.com/carlosframework/platform/internal/edge	198.576s
=== internal_edge@9 (255 s, from +129 s)
ok  	github.com/carlosframework/platform/internal/edge	251.870s
=== internal_edge@10 (231 s, from +129 s)
ok  	github.com/carlosframework/platform/internal/edge	227.856s
=== internal_edge@11 (225 s, from +129 s)
ok  	github.com/carlosframework/platform/internal/edge	221.540s
=== internal_edge@12 (251 s, from +129 s)
ok  	github.com/carlosframework/platform/internal/edge	247.597s
=== internal_edge@13 (253 s, from +129 s)
ok  	github.com/carlosframework/platform/internal/edge	249.901s
=== internal_edge@14 (204 s, from +129 s)
ok  	github.com/carlosframework/platform/internal/edge	200.344s
=== internal_edge@15 (252 s, from +129 s)
ok  	github.com/carlosframework/platform/internal/edge	248.411s
=== internal_host@0 (15 s, from +189 s)
ok  	github.com/carlosframework/platform/internal/host	11.162s
=== internal_host@1 (9 s, from +189 s)
ok  	github.com/carlosframework/platform/internal/host	5.510s
=== lists: internal_edge 129 s, internal_activator 109 s, internal_host 188 s, internal_rootaws 33 s, internal_systemd 13 s
=== cpu: the gate used 7498 cpu-seconds in 531 s, about 14.1 of 32 cores; the machine as a whole was 44% busy

Failure summary:
--- internal_edge@7
--- FAIL: TestTunnelledForwardedFallback (11.27s)
    tunnel_client_addr_test.go:243: an 11th attempt from the same visitor: 401, want 429
FAIL	github.com/carlosframework/platform/internal/edge	294.018s

FAILED: internal_edge@7
make: *** [Makefile:154: race] Error 1

amadan: step race failed: exit status 2

amadan: job failed at step race — its output is above, not at the tail of this log

Intent

Human

<task-notification> <task-id>btrkyjki7</task-id> <tool-use-id>toolu_01EmD6muw2DUoZjuGubu9HRc</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/92b455b5-5f98-4e74-88b4-5388c3c18f62/tasks/btrkyjki7.output</output-file> <status>completed</status> <summary>Background command "Poll CI on the branch until it finishes" completed (exit code 0)</summary> </task-notification>

Attributed to this commit: 23.1 g CO₂e (2,866,687 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on fleet-client-address-1348, never backward from it. A turn that produced more than one commit books all of its tokens to the last one, and a concurrent session on this branch can add to the same figure. Some of it was priced using the shared default rate, because no model-specific factor row exists yet for at least one model involved. The Carbon view has the repo total, which is never derived from this attribution.

diff --git a/.amadan/code-health.tsv b/.amadan/code-health.tsv
index 7b99e06ea..653e5c781 100644
--- a/.amadan/code-health.tsv
+++ b/.amadan/code-health.tsv
@@ -2186,7 +2186,7 @@ func-lines internal/console (*Store).migrate - 335
func-lines internal/console TestDemoProtectionsSourceToLimitAndTakedown - 412
func-lines internal/console TestDemoSourceToLiveAndUpdate - 383
func-lines internal/console TestHAP2ProductionDoors - 304
-func-lines internal/edge (*Edge).ServeHTTP - 384
+func-lines internal/edge (*Edge).ServeHTTP - 379
func-lines internal/edge TestDemoAPIAliasBoundary - 360
func-lines internal/edge TestRegionalNameNeverLeavesItsRegion - 330
func-lines internal/edge TestTunnelWebSocketEndToEnd - 327
diff --git a/docs/superpowers/notes/census-proposal-fleet-client-address-1348.md b/docs/superpowers/notes/census-proposal-fleet-client-address-1348.md
index 37504a5f7..a345a0892 100644
--- a/docs/superpowers/notes/census-proposal-fleet-client-address-1348.md
+++ b/docs/superpowers/notes/census-proposal-fleet-client-address-1348.md
@@ -4,7 +4,7 @@ Ruling `census-ruling-fleet-client-address-1348`. The independent reviewer appro
| unit | change | read sites | what changed |
|---|---|---|---|
-| `internal/edge/edge.go` `Edge.ServeHTTP` | body | unchanged (53) | after hop acceptance, a request a tunnel delivered (tunnelclient mark, not a link pin) whose X-Forwarded-For hubVisitor accepts (every entry an IP) carries its last entry as the gate attempt key (gate.WithClientAddr), as ServeLinked does (#1348); a context value on the request, memory only, no read, dial or store access added; no check weakened |
+| `internal/edge/edge.go` `Edge.ServeHTTP` | body | unchanged (53) | hop acceptance moved into acceptIngress (pinned: dropHopHeaders; else acceptHop), which then, for a request a tunnel delivered (tunnelclient mark) whose X-Forwarded-For hubVisitor accepts (every entry an IP), carries its last entry as the gate attempt key (gate.WithClientAddr), as ServeLinked does (#1348); a context value on the request, memory only, no read, dial or store access added; no check weakened |
Envelopes re-pinned: `internal/edge`, `internal/gate`.
@@ -14,6 +14,6 @@ Recorded dispositions, which each change must still satisfy:
- `internal/edge/edge.go` `Edge.ServeHTTP`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-seeded-instances;basis=the edge inside the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body with the import gate checked after the door's scope and a gated row left out of the response cache; serving only;rev3=census-ruling-edge-request-records;basis=one more call in the observer defer, observeRecords(up.route, ...), passing on the route the defer already holds; no new kind of read;rev3=census-ruling-design-edge-rate-limit-358;basis=calls rateAdmit twice, and an admitted request holds a slot on both paths: on the upgrade path before the activator or proxy (the handshake holds its slot through slotWriter, given back at the first final answer or at the reverse proxy's hijack on a 101, so an open WebSocket is not counted; released by a defer), and on the ordinary path after the response-cache check and before the activator and proxy (an admitted request holds a slot through slotWriter, released by a defer); a refusal is a 429 written there and returns; the upgrade path's comment now names slotWriter as its one wrapper; one comment on the door mark reworded; read sites unchanged (22: main's 21 plus edge-request-records' observeRecords pass of the route), offsets moved; no read added;rev3=census-ruling-plans-4c-box-throttle;basis=calls planThrottleAdmit before the response cache, and on an upgrade trackUpgrade then planUpgradeAdmit (plans 4c, Astra findings 1 and 2); the new reads live in those units (plans-4c-units decision). The same read sites here.;rev3=census-ruling-plans-4d-lapse;basis=calls planDisabledAdmit right after the import gate, passing the final upstream's route and the request host; a turned-off route gets the fixed disabled page before the meter, gate, cache and activator (plans 4d). The new read lives in that unit (plans-4d-units decision); one more whole-row pass here.;rev3=census-ruling-edge-protection-2;basis=runs the guard, a pure in-memory matcher on r.URL.Path and RawQuery (internal/edgeguard), once per request after the meter and observer defer and before the password gate, the upgrade branch, the cache and the activator, for a request that is not a door call, a backhauled door hop or a tunnel delivery; a matched block answers a 404 itself through guardDecide; the two new sites are one expression, up.route.Kind == "static" (a static route this box serves checks only the hard tier here and leaves the probe tier to serveTree), a read of the route row the edge already resolved; no new kind of read;rev3=census-ruling-edge-asset-cache-3;basis=the asset cache's three hooks (asset cache plan 3): the request's reserved asset headers are deleted at entry (the fill assertion kept only beside a verified hop); on the exact-remote and lookup-miss branches the far catch (serveAssetFar) is tried before backhaulTo and backhaul; after the observer defer and main's hard and probe checks, a verified hop with a valid fill assertion is answered by serveAssetFillForHop; after the upgrade branch and before gzip and the shared cache, the local catch (serveAssetLocal); the observer defer skips only the usage meter for an acknowledged home fill (out.unbilled); the new reads live in the new units of the edge-asset-cache-3-decisions overlay; the same route row and read sites (25); no read added;rev3=census-ruling-regional-domains-447;basis=#447 Task 5: straight after lookupUpstreamPath it calls regionalGate (regional.go), which for an entry built from a regional_domains row answers 503 to a hop or a deny entry before any arm that can leave the box (the exact-home backhaul, the far asset catch, the door dial, the miss backhaul), and lets a star match through only to the exact-home arm when ExactHome names another box for that distinct exact name; after the exact-home arm a regional deny entry the arm did not answer is refused (regionalRefuse, 503); refusals only, on the route map the edge already holds; read sites unchanged (25);rev3=census-ruling-static-headers;basis=the shared response cache is no longer looked up or filled for a static-kind route: one more read of the route row the edge already resolved (up.route.Kind == "static") in the cacheable expression; a refusal only, nothing new opened or followed;rev3=census-ruling-region-ha-p1b2;basis=region HA P1b-2 (N-HA10): one call, frontForwardHA, right after the route lookup's !ok block and before the login POST; same reads;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 4: loginPost and cacheable treat a forward row as not this box's to answer (IsForward(), +whole:Route x2): no login form and no shared cache for a forward host. Serving only.;rev3=census-ruling-tunnel-websockets;basis=Deletes the Carlos-Upgrade marker header from incoming requests and puts the upgrade admission (host, path, the entry tenancy, all in hand) on a tunnel arm request. For a login POST on an ungated ArmTunnel row it reads the visitor request body (bounded by gate.MaxFormBody, 413 past it; a request body, not a file) and resolves next against the entry Reload built (Gate, Route); the bytes pass on only when loginPassesThrough holds (spec 7, Tasks 3, 5 and 6).;rev3=census-ruling-console-protection-tab;basis=one more call in the observer defer, observeGuardCount(up.route, out), beside the observeRecords call that files the guard Match: it passes on the route row the defer already holds (+whole:Route) and the request outcome to the usage meter, which counts the check in memory. Called whether or not the request was unbilled, as observeRecords is. Nothing is opened, read or followed; no new kind of read; no check, refusal or serving decision changes.;rev3=census-ruling-probe-burst-limit;basis=answers a probe-burst notice POST (serveBurstNotice) ahead of every route for a non-door caller; builds the guard state for up.route and stamps its account and app (RouteAccount, App) for the cool-down's this-app/other-app label; for a catalogue match on a non-static or tunnelled route, offers the burst rule (in-memory limiter, burstDecide: 429 or a watch verdict, never a block for a fleet or forward row); the observer defer calls noteBurst(up.route, ...); the added sites are the route value already in hand (+registry:App, +whole:Route x5); no new root read or write kind;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): parses the request's query once (stripHoldMarker) to record the carlos_hold=1 mark in the request context; calls classifyHold on the upstream already resolved from the loaded map (the +whole:Route is that in-memory Route), including a second pass for a login POST; gives a marked request on a door-refused route the plain 404; adds the hold branch (planThrottleAdmit, rateAdmit, serveHeld) after the gate; and excludes marked requests from the shared cache. Reads only the request and the already-loaded upstream map; no registry or bucket read added.;rev3=census-ruling-region-ha-p3a;basis=Complete the P3a cut: an exact peer name with no dial target answers the approved admission 503 before local wildcard dispatch or asset serving. ExactHome and lookupHome stop fallback at a present non-dial entry; backhaulTo refuses an empty target before signing or dialing. Retain Task 3 local admission and fixed platform/unit exemptions. Two added whole Route uses feed the local in-memory admission predicate; existing Route values and store/path reads are unchanged.;rev3=census-ruling-stateless-coordinator-route;basis=P24/P25: POST only, exact /api/fleet/replicas/ prefix on the reserved tunnel host calls the existing local console proxy only for an unescaped, already-clean path; malformed forms remain on the hub. No new read sites relative to origin/main. Merge with main 3487d6f6 retains its region HA admission checks before routing and after login target lookup, its empty-home refusal, and their two existing whole:Route reads; these change this unit's digest relative to the previously approved branch tip 92b24a7d.;rev3=census-ruling-stateless-replicas-3;basis=Task 1a: pass the already-resolved Route to the reserved replica-probe handler after acceptHop and existing admissionRefuses, requiring tunnel context plus private marker and refusing door/backhaul ingress. Added whole Route use only; scrub marker before forwarding; HA calls remain unchanged.;rev3=census-ruling-region-ha-p3b;basis=Resolve local aliases/catch-alls with cached peer name ownership before serving. Add registry Account/App/ClaimStamp/Host/Incarnation/ServingSeq and six whole Route references for NameClaim; inputs are agent registry rows/edges publications used by unprivileged edge, not root permits. Closed owners retain names and return 503; aware remote owner cannot fall through on missing transport, while legacy hop/door behavior remains. Merge 45cebde4 retains authenticated replica probes after local admission and before ordinary name resolution; probe authentication still requires the tunnel context.;rev3=census-ruling-agent-start-demo-2;basis=edge.go:1901 enters the protected demo path before ordinary exits; :2012-2015 rechecks the selected marked Route after lookup. Added whole Route use routes demos through serving checks, counters and policy; no new registry query or file open in this unit.;rev3=census-ruling-demo-api-site-route;basis=Reserve the configured site API namespace after hop verification and control-header scrubbing, before ordinary static, cache, billing and tenant dispatch. Validate hop field shape and delegate only allowlisted operations to the dedicated console path with verified client attribution and console admission. The alias helper enables HTTP/1.1 full duplex so an early console refusal does not wait for upload EOF. Existing 56 read sites unchanged; no new registry, bucket or file read.;rev3=census-ruling-region-ha-g2-fixes;basis=Consult HA ingress after region admission and before miss/alias backhaul; no new direct read; routing-only metadata does not create an upstream.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3/W4: backhaul and door calls pass the owner the door checked into backhaulTo; the §6.5 holder follow (once, GET/HEAD or an unswitched upgrade, no body) and one connect-failure fallback dial only boxes in the holder region's view (same Region/Placement/DataBucket, HomeEligible, fresh) for that owner. Holder name comes only from the TLS-verified signed hop answer; app-set X-Carlos-Holder stays stripped. Routing only; the receiving box still re-checks the lease. No new read site.;rev3=census-ruling-edge-page-cache-1;basis=attaches an in-memory page mark holder to every request to an instance route (the +registry:Kind check of up.route.Kind), wraps the hold and upgrade branches in pageDiagnostics, asks servePage after the plan throttle (a hit answered from the page index over the asset store), keeps an opted-in instance out of the LRU (pagesOptedIn), wraps the response in the page writer, and wraps the proxy's writer in assetInformationalScrub on the remaining arms; the page reads are in the new pagecache.go units;rev3=census-ruling-region-ha-held-build;basis=first branch: a request for the reserved control paths /.carlos/ha-drain and /.carlos/ha-take goes to serveHAControl and returns (refused unless a signed ask); no request on those paths reaches a route, a forward or an app; no read added here. region HA held-requests Task 2: X-Carlos-Replayable is read from verified hops only and deleted from every request; just before frontForwardHA, moveGate runs for an HA hibernating route (route HA, Host and the whole Route passed in memory) and can only hold, refuse with an existing answer or front-forward to the confirmed holder; ReleaseMoveTicket before serveHeld; no store or filesystem read added; region HA held-requests Task 5: after the HA control-path branch, every request is counted by the connection drain (conns.track: a cancellable request context, and Connection: close only while draining); memory only; no read added; Task 5 fix 1: after the drain's final barrier a new request is refused at once through handoverExit with the existing answerHolderUnreachable, never forwarded; the tracked request also carries its connection (from ConnContext) so the drain can close it at its bound; memory only; no read added;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 3: the inbound strip also deletes tunnelclient.LinkAppHeader (Carlos-Link-App) from every client request, beside Carlos-Tunnel-Upgrade; a header delete, no read added; linked deployments slice 1 Task 8: a request carrying a link pin (ServeLinked, set only by the home agent's link handler from its own registry's published set) skips the edge's own handlers (HA control, demo handling, the steering probe, the tunnel hub, hop acceptance, the burst notice, the demo API alias, the replica probe), takes its upstream from selectUpstream (the pinned exact entry or a 502), never enters the alias/catch-all backhaul block, the HA front forward, the local asset catch, the page cache or the response LRU; the two lookupUpstreamPath calls become selectUpstream; no read added;rev3=census-ruling-stateless-replicas-4-r28;basis=R28 (#511): for a request whose host has no entry (the lookup miss), after the replica-probe branch, calls refuseRetiredCopy(r, host): within the grace of a host whose replica copy this box retired, the fleet tunnel stream is refused with REFUSED_STREAM (tunnelclient.Refuse) and nothing is written; any other miss gets the unknown-host answer as before; memory only, a refusal only, no read added;rev3=census-ruling-static-site-geo-962;basis=discussion #962: after planDisabledAdmit and before the page mark holder and the observer, a request whose cleaned path is /.carlos/geo (not a linked request) is answered by serveGeoAnswer from the request's geo answer already on the context (decideGeo), 200 JSON no-store or 405, and returns; merged with main (no new read);rev3=census-ruling-fleet-unrouted-503;basis=a request the hub tunnel delivered (tunnelclient mark, not a link channel) for a host this box neither routes nor backhauls answers 503 Retry-After 2 instead of the unknown-host 404; no new read, dial or store access; unmarked requests unchanged (#1008);rev3=census-ruling-fleet-unrouted-503-fix1;basis=a request the hub delivered over this fleet box's channel (MarkFleetChannel, set by the box's own tunnel loop for a "<fleet>/<label>" channel, plus the tunnel client mark) for a host this box neither routes nor backhauls, and not under a platform domain, answers 503 Retry-After 2 instead of the unknown-host 404; fixed log key; no new read, dial or store access; every other request unchanged (#1008);rev3=census-ruling-fix-dbforward-reuse-1032;basis=the drain tracking call now takes withDeclaredBodyEnd(r) instead of r: an HTTP/1 request with a declared Content-Length is served from there on with a body that answers EOF itself after those bytes (#1032), so a proxy transport's confirming read after sending the body upstream no longer lands on the server's closed request body and tears down the upstream connection; HTTP/2 requests are left as they are (Astra r1 P2); memory only, no read, dial or store access added;rev3=census-ruling-fleet-seeded-create-2;basis=The hub's door routing asks boxConsolePath(r) instead of the inline /api/fleet/replicas/ test, so POST /api/fleet/seeds/ goes to the local console by the same rule (POST only, clean path, no RawPath) as the replica doors. Serving only; no read of a path a tenant names; the same 65 read sites.;rev3=census-ruling-path-routes-across-boxes;basis=#186: selection returns requestSelection; a Remote selection is dispatched by servePathRemote (one signed hop, never from a verified hop, door call or pin); the ownership block moved to serveNameOwner/nameOwnerVerdict (pathhop.go), so its route reads left; login re-selection via loginLookupPath plus refuseLoginAcross; LRU also requires pathLRUAllowed; no read added
-Seal: `f959a3626e83650aaad1880eecc3feddebdbd78474937f4c619df658eb46a1d6` → `0ed4c50ab4258fbaf82c7b097948ae6240d6aa48795afea4fd2a057b225d277a`.
+Seal: `f959a3626e83650aaad1880eecc3feddebdbd78474937f4c619df658eb46a1d6` → `48a04f3c1f1c8df4df07e1ee2ff12bd50c2a9a2c1b41b92900579b41101158c1`.
Overlay: `internal/provision/testdata/plan14-root-reads-fleet-client-address-1348.tsv`, appended to `internal/provision/testdata/plan14-root-reads-chain.tsv`.
diff --git a/internal/edge/edge.go b/internal/edge/edge.go
index 3546f9996..4f8ecad05 100644
--- a/internal/edge/edge.go
+++ b/internal/edge/edge.go
@@ -1961,6 +1961,26 @@ func (e *Edge) ServeLinked(w http.ResponseWriter, r *http.Request, want LinkedTa
e.ServeHTTP(w, r)
}
+// acceptIngress is ServeHTTP's hop acceptance and its tunnel visitor. A
+// linked request (pinned) is never a hop: its hop vocabulary is dropped
+// unread, as acceptHop drops a client's. Any other request goes through
+// acceptHop. Then a request a tunnel delivered is keyed by the gate's
+// attempt limiter on the client the hub observed, not on the tunnel's
+// address every visitor shares (#1348), as ServeLinked keys a linked one.
+func (e *Edge) acceptIngress(r *http.Request, host string, pinned bool) (*http.Request, bool) {
+ if pinned {
+ dropHopHeaders(r)
+ return r, false
+ }
+ r, hopped := e.acceptHop(r, host)
+ if fromTunnel(r.Context()) {
+ if visitor, _, ok := hubVisitor(r.Header); ok {
+ r = r.WithContext(gate.WithClientAddr(r.Context(), visitor))
+ }
+ }
+ return r, hopped
+}
+
// hubVisitor is the visitor of a request a hub delivered over a tunnel, a
// linked one included: the last X-Forwarded-For entry, the client address
// the hub observed (the hub writes the chain itself in tunnelRewrite and
@@ -2257,22 +2277,7 @@ func (e *Edge) ServeHTTP(w http.ResponseWriter, r *http.Request) {
demoHopPresent = len(markers) != 0 || len(proofs) != 0
demoHopWellFormed = !demoHopPresent || (len(markers) == 1 && markers[0] == "1" && len(proofs) == 1 && proofs[0] != "")
}
- // A linked request is never a hop: its hop vocabulary is dropped
- // unread, as acceptHop drops a client's.
- hopped := false
- if pinned {
- dropHopHeaders(r)
- } else {
- r, hopped = e.acceptHop(r, host)
- }
- // A request a tunnel delivered is keyed by the gate's attempt limiter on
- // the client the hub observed, not on the tunnel's address every visitor
- // shares (#1348), as ServeLinked keys a linked one.
- if !pinned && fromTunnel(r.Context()) {
- if visitor, _, ok := hubVisitor(r.Header); ok {
- r = r.WithContext(gate.WithClientAddr(r.Context(), visitor))
- }
- }
+ r, hopped := e.acceptIngress(r, host, pinned)
// A probe-burst notice from another edge (burst_notice.go) is answered
// here, ahead of every route, so it never reaches a tenant's app. Only a
// POST to its path carrying its header is one: anything else, that path
diff --git a/internal/provision/testdata/plan14-root-reads-chain.tsv b/internal/provision/testdata/plan14-root-reads-chain.tsv
index 95f6682ff..d473801b3 100644
--- a/internal/provision/testdata/plan14-root-reads-chain.tsv
+++ b/internal/provision/testdata/plan14-root-reads-chain.tsv
@@ -274,4 +274,4 @@ plan14-root-reads-media-spike-fixes.tsv 194e88ad9cd7413c93b1181c0ac1e962107039ad
plan14-root-reads-media-spike-values.tsv 194e88ad9cd7413c93b1181c0ac1e962107039ad84525e065893a8c14cdb3138
plan14-root-reads-path-routes-across-boxes.tsv f959a3626e83650aaad1880eecc3feddebdbd78474937f4c619df658eb46a1d6
plan14-root-reads-headers-security-allowlist.tsv f959a3626e83650aaad1880eecc3feddebdbd78474937f4c619df658eb46a1d6
-plan14-root-reads-fleet-client-address-1348.tsv 0ed4c50ab4258fbaf82c7b097948ae6240d6aa48795afea4fd2a057b225d277a
+plan14-root-reads-fleet-client-address-1348.tsv 48a04f3c1f1c8df4df07e1ee2ff12bd50c2a9a2c1b41b92900579b41101158c1
diff --git a/internal/provision/testdata/plan14-root-reads-fleet-client-address-1348.tsv b/internal/provision/testdata/plan14-root-reads-fleet-client-address-1348.tsv
index c3f38adb0..445201310 100644
--- a/internal/provision/testdata/plan14-root-reads-fleet-client-address-1348.tsv
+++ b/internal/provision/testdata/plan14-root-reads-fleet-client-address-1348.tsv
@@ -1,6 +1,6 @@
# Census overlay fleet-client-address-1348, written by census-propose (#369). census-ruling-fleet-client-address-1348, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-fleet-client-address-1348.md.
# 1 body, 0 sites, 2 envelope: each changed unit re-frozen at its existing disposition with its claim appended.
-@legacy b91473bf5e0f505780fd27cc51b41e5b29cad578db5c5b25e1e579240dbff021 internal/edge/edge.go Edge.ServeHTTP legacy accepted-legacy accepted-legacy;rev3=census-ruling-seeded-instances;basis=the edge inside the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body with the import gate checked after the door's scope and a gated row left out of the response cache; serving only;rev3=census-ruling-edge-request-records;basis=one more call in the observer defer, observeRecords(up.route, ...), passing on the route the defer already holds; no new kind of read;rev3=census-ruling-design-edge-rate-limit-358;basis=calls rateAdmit twice, and an admitted request holds a slot on both paths: on the upgrade path before the activator or proxy (the handshake holds its slot through slotWriter, given back at the first final answer or at the reverse proxy's hijack on a 101, so an open WebSocket is not counted; released by a defer), and on the ordinary path after the response-cache check and before the activator and proxy (an admitted request holds a slot through slotWriter, released by a defer); a refusal is a 429 written there and returns; the upgrade path's comment now names slotWriter as its one wrapper; one comment on the door mark reworded; read sites unchanged (22: main's 21 plus edge-request-records' observeRecords pass of the route), offsets moved; no read added;rev3=census-ruling-plans-4c-box-throttle;basis=calls planThrottleAdmit before the response cache, and on an upgrade trackUpgrade then planUpgradeAdmit (plans 4c, Astra findings 1 and 2); the new reads live in those units (plans-4c-units decision). The same read sites here.;rev3=census-ruling-plans-4d-lapse;basis=calls planDisabledAdmit right after the import gate, passing the final upstream's route and the request host; a turned-off route gets the fixed disabled page before the meter, gate, cache and activator (plans 4d). The new read lives in that unit (plans-4d-units decision); one more whole-row pass here.;rev3=census-ruling-edge-protection-2;basis=runs the guard, a pure in-memory matcher on r.URL.Path and RawQuery (internal/edgeguard), once per request after the meter and observer defer and before the password gate, the upgrade branch, the cache and the activator, for a request that is not a door call, a backhauled door hop or a tunnel delivery; a matched block answers a 404 itself through guardDecide; the two new sites are one expression, up.route.Kind == "static" (a static route this box serves checks only the hard tier here and leaves the probe tier to serveTree), a read of the route row the edge already resolved; no new kind of read;rev3=census-ruling-edge-asset-cache-3;basis=the asset cache's three hooks (asset cache plan 3): the request's reserved asset headers are deleted at entry (the fill assertion kept only beside a verified hop); on the exact-remote and lookup-miss branches the far catch (serveAssetFar) is tried before backhaulTo and backhaul; after the observer defer and main's hard and probe checks, a verified hop with a valid fill assertion is answered by serveAssetFillForHop; after the upgrade branch and before gzip and the shared cache, the local catch (serveAssetLocal); the observer defer skips only the usage meter for an acknowledged home fill (out.unbilled); the new reads live in the new units of the edge-asset-cache-3-decisions overlay; the same route row and read sites (25); no read added;rev3=census-ruling-regional-domains-447;basis=#447 Task 5: straight after lookupUpstreamPath it calls regionalGate (regional.go), which for an entry built from a regional_domains row answers 503 to a hop or a deny entry before any arm that can leave the box (the exact-home backhaul, the far asset catch, the door dial, the miss backhaul), and lets a star match through only to the exact-home arm when ExactHome names another box for that distinct exact name; after the exact-home arm a regional deny entry the arm did not answer is refused (regionalRefuse, 503); refusals only, on the route map the edge already holds; read sites unchanged (25);rev3=census-ruling-static-headers;basis=the shared response cache is no longer looked up or filled for a static-kind route: one more read of the route row the edge already resolved (up.route.Kind == "static") in the cacheable expression; a refusal only, nothing new opened or followed;rev3=census-ruling-region-ha-p1b2;basis=region HA P1b-2 (N-HA10): one call, frontForwardHA, right after the route lookup's !ok block and before the login POST; same reads;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 4: loginPost and cacheable treat a forward row as not this box's to answer (IsForward(), +whole:Route x2): no login form and no shared cache for a forward host. Serving only.;rev3=census-ruling-tunnel-websockets;basis=Deletes the Carlos-Upgrade marker header from incoming requests and puts the upgrade admission (host, path, the entry tenancy, all in hand) on a tunnel arm request. For a login POST on an ungated ArmTunnel row it reads the visitor request body (bounded by gate.MaxFormBody, 413 past it; a request body, not a file) and resolves next against the entry Reload built (Gate, Route); the bytes pass on only when loginPassesThrough holds (spec 7, Tasks 3, 5 and 6).;rev3=census-ruling-console-protection-tab;basis=one more call in the observer defer, observeGuardCount(up.route, out), beside the observeRecords call that files the guard Match: it passes on the route row the defer already holds (+whole:Route) and the request outcome to the usage meter, which counts the check in memory. Called whether or not the request was unbilled, as observeRecords is. Nothing is opened, read or followed; no new kind of read; no check, refusal or serving decision changes.;rev3=census-ruling-probe-burst-limit;basis=answers a probe-burst notice POST (serveBurstNotice) ahead of every route for a non-door caller; builds the guard state for up.route and stamps its account and app (RouteAccount, App) for the cool-down's this-app/other-app label; for a catalogue match on a non-static or tunnelled route, offers the burst rule (in-memory limiter, burstDecide: 429 or a watch verdict, never a block for a fleet or forward row); the observer defer calls noteBurst(up.route, ...); the added sites are the route value already in hand (+registry:App, +whole:Route x5); no new root read or write kind;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): parses the request's query once (stripHoldMarker) to record the carlos_hold=1 mark in the request context; calls classifyHold on the upstream already resolved from the loaded map (the +whole:Route is that in-memory Route), including a second pass for a login POST; gives a marked request on a door-refused route the plain 404; adds the hold branch (planThrottleAdmit, rateAdmit, serveHeld) after the gate; and excludes marked requests from the shared cache. Reads only the request and the already-loaded upstream map; no registry or bucket read added.;rev3=census-ruling-region-ha-p3a;basis=Complete the P3a cut: an exact peer name with no dial target answers the approved admission 503 before local wildcard dispatch or asset serving. ExactHome and lookupHome stop fallback at a present non-dial entry; backhaulTo refuses an empty target before signing or dialing. Retain Task 3 local admission and fixed platform/unit exemptions. Two added whole Route uses feed the local in-memory admission predicate; existing Route values and store/path reads are unchanged.;rev3=census-ruling-stateless-coordinator-route;basis=P24/P25: POST only, exact /api/fleet/replicas/ prefix on the reserved tunnel host calls the existing local console proxy only for an unescaped, already-clean path; malformed forms remain on the hub. No new read sites relative to origin/main. Merge with main 3487d6f6 retains its region HA admission checks before routing and after login target lookup, its empty-home refusal, and their two existing whole:Route reads; these change this unit's digest relative to the previously approved branch tip 92b24a7d.;rev3=census-ruling-stateless-replicas-3;basis=Task 1a: pass the already-resolved Route to the reserved replica-probe handler after acceptHop and existing admissionRefuses, requiring tunnel context plus private marker and refusing door/backhaul ingress. Added whole Route use only; scrub marker before forwarding; HA calls remain unchanged.;rev3=census-ruling-region-ha-p3b;basis=Resolve local aliases/catch-alls with cached peer name ownership before serving. Add registry Account/App/ClaimStamp/Host/Incarnation/ServingSeq and six whole Route references for NameClaim; inputs are agent registry rows/edges publications used by unprivileged edge, not root permits. Closed owners retain names and return 503; aware remote owner cannot fall through on missing transport, while legacy hop/door behavior remains. Merge 45cebde4 retains authenticated replica probes after local admission and before ordinary name resolution; probe authentication still requires the tunnel context.;rev3=census-ruling-agent-start-demo-2;basis=edge.go:1901 enters the protected demo path before ordinary exits; :2012-2015 rechecks the selected marked Route after lookup. Added whole Route use routes demos through serving checks, counters and policy; no new registry query or file open in this unit.;rev3=census-ruling-demo-api-site-route;basis=Reserve the configured site API namespace after hop verification and control-header scrubbing, before ordinary static, cache, billing and tenant dispatch. Validate hop field shape and delegate only allowlisted operations to the dedicated console path with verified client attribution and console admission. The alias helper enables HTTP/1.1 full duplex so an early console refusal does not wait for upload EOF. Existing 56 read sites unchanged; no new registry, bucket or file read.;rev3=census-ruling-region-ha-g2-fixes;basis=Consult HA ingress after region admission and before miss/alias backhaul; no new direct read; routing-only metadata does not create an upstream.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3/W4: backhaul and door calls pass the owner the door checked into backhaulTo; the §6.5 holder follow (once, GET/HEAD or an unswitched upgrade, no body) and one connect-failure fallback dial only boxes in the holder region's view (same Region/Placement/DataBucket, HomeEligible, fresh) for that owner. Holder name comes only from the TLS-verified signed hop answer; app-set X-Carlos-Holder stays stripped. Routing only; the receiving box still re-checks the lease. No new read site.;rev3=census-ruling-edge-page-cache-1;basis=attaches an in-memory page mark holder to every request to an instance route (the +registry:Kind check of up.route.Kind), wraps the hold and upgrade branches in pageDiagnostics, asks servePage after the plan throttle (a hit answered from the page index over the asset store), keeps an opted-in instance out of the LRU (pagesOptedIn), wraps the response in the page writer, and wraps the proxy's writer in assetInformationalScrub on the remaining arms; the page reads are in the new pagecache.go units;rev3=census-ruling-region-ha-held-build;basis=first branch: a request for the reserved control paths /.carlos/ha-drain and /.carlos/ha-take goes to serveHAControl and returns (refused unless a signed ask); no request on those paths reaches a route, a forward or an app; no read added here. region HA held-requests Task 2: X-Carlos-Replayable is read from verified hops only and deleted from every request; just before frontForwardHA, moveGate runs for an HA hibernating route (route HA, Host and the whole Route passed in memory) and can only hold, refuse with an existing answer or front-forward to the confirmed holder; ReleaseMoveTicket before serveHeld; no store or filesystem read added; region HA held-requests Task 5: after the HA control-path branch, every request is counted by the connection drain (conns.track: a cancellable request context, and Connection: close only while draining); memory only; no read added; Task 5 fix 1: after the drain's final barrier a new request is refused at once through handoverExit with the existing answerHolderUnreachable, never forwarded; the tracked request also carries its connection (from ConnContext) so the drain can close it at its bound; memory only; no read added;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 3: the inbound strip also deletes tunnelclient.LinkAppHeader (Carlos-Link-App) from every client request, beside Carlos-Tunnel-Upgrade; a header delete, no read added; linked deployments slice 1 Task 8: a request carrying a link pin (ServeLinked, set only by the home agent's link handler from its own registry's published set) skips the edge's own handlers (HA control, demo handling, the steering probe, the tunnel hub, hop acceptance, the burst notice, the demo API alias, the replica probe), takes its upstream from selectUpstream (the pinned exact entry or a 502), never enters the alias/catch-all backhaul block, the HA front forward, the local asset catch, the page cache or the response LRU; the two lookupUpstreamPath calls become selectUpstream; no read added;rev3=census-ruling-stateless-replicas-4-r28;basis=R28 (#511): for a request whose host has no entry (the lookup miss), after the replica-probe branch, calls refuseRetiredCopy(r, host): within the grace of a host whose replica copy this box retired, the fleet tunnel stream is refused with REFUSED_STREAM (tunnelclient.Refuse) and nothing is written; any other miss gets the unknown-host answer as before; memory only, a refusal only, no read added;rev3=census-ruling-static-site-geo-962;basis=discussion #962: after planDisabledAdmit and before the page mark holder and the observer, a request whose cleaned path is /.carlos/geo (not a linked request) is answered by serveGeoAnswer from the request's geo answer already on the context (decideGeo), 200 JSON no-store or 405, and returns; merged with main (no new read);rev3=census-ruling-fleet-unrouted-503;basis=a request the hub tunnel delivered (tunnelclient mark, not a link channel) for a host this box neither routes nor backhauls answers 503 Retry-After 2 instead of the unknown-host 404; no new read, dial or store access; unmarked requests unchanged (#1008);rev3=census-ruling-fleet-unrouted-503-fix1;basis=a request the hub delivered over this fleet box's channel (MarkFleetChannel, set by the box's own tunnel loop for a "<fleet>/<label>" channel, plus the tunnel client mark) for a host this box neither routes nor backhauls, and not under a platform domain, answers 503 Retry-After 2 instead of the unknown-host 404; fixed log key; no new read, dial or store access; every other request unchanged (#1008);rev3=census-ruling-fix-dbforward-reuse-1032;basis=the drain tracking call now takes withDeclaredBodyEnd(r) instead of r: an HTTP/1 request with a declared Content-Length is served from there on with a body that answers EOF itself after those bytes (#1032), so a proxy transport's confirming read after sending the body upstream no longer lands on the server's closed request body and tears down the upstream connection; HTTP/2 requests are left as they are (Astra r1 P2); memory only, no read, dial or store access added;rev3=census-ruling-fleet-seeded-create-2;basis=The hub's door routing asks boxConsolePath(r) instead of the inline /api/fleet/replicas/ test, so POST /api/fleet/seeds/ goes to the local console by the same rule (POST only, clean path, no RawPath) as the replica doors. Serving only; no read of a path a tenant names; the same 65 read sites.;rev3=census-ruling-path-routes-across-boxes;basis=#186: selection returns requestSelection; a Remote selection is dispatched by servePathRemote (one signed hop, never from a verified hop, door call or pin); the ownership block moved to serveNameOwner/nameOwnerVerdict (pathhop.go), so its route reads left; login re-selection via loginLookupPath plus refuseLoginAcross; LRU also requires pathLRUAllowed; no read added;rev3=census-ruling-fleet-client-address-1348;basis=after hop acceptance, a request a tunnel delivered (tunnelclient mark, not a link pin) whose X-Forwarded-For hubVisitor accepts (every entry an IP) carries its last entry as the gate attempt key (gate.WithClientAddr), as ServeLinked does (#1348); a context value on the request, memory only, no read, dial or store access added; no check weakened file:ReadAll@19618,registry:App@26895,registry:Gate@18592,registry:Gate@31286,registry:Gate@31346,registry:Gate@31404,registry:HA@14336,registry:HA@14678,registry:Host@14717,registry:Host@31389,registry:ImportGate@40281,registry:Kind@23929,registry:Kind@25757,registry:Kind@29195,registry:Kind@40223,registry:Kind@40252,whole:Route@14339,whole:Route@14433,whole:Route@14681,whole:Route@14720,whole:Route@18487,whole:Route@18598,whole:Route@20897,whole:Route@21681,whole:Route@22139,whole:Route@22331,whole:Route@23932,whole:Route@25760,whole:Route@26821,whole:Route@26887,whole:Route@26898,whole:Route@27151,whole:Route@27246,whole:Route@27322,whole:Route@27366,whole:Route@27668,whole:Route@27698,whole:Route@29198,whole:Route@29483,whole:Route@31289,whole:Route@31349,whole:Route@31392,whole:Route@31407,whole:Route@32618,whole:Route@34906,whole:Route@40226,whole:Route@40255,whole:Route@40284,whole:Route@40316,whole:Route@42783,whole:Route@8932,whole:Route@9031,whole:Route@9137 58935eefbf1467e4410d255a47537bcb594548d318d54d670865eccbb5979b89
-internal/edge/edge.go Edge.ServeHTTP legacy accepted-legacy accepted-legacy;rev3=census-ruling-seeded-instances;basis=the edge inside the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body with the import gate checked after the door's scope and a gated row left out of the response cache; serving only;rev3=census-ruling-edge-request-records;basis=one more call in the observer defer, observeRecords(up.route, ...), passing on the route the defer already holds; no new kind of read;rev3=census-ruling-design-edge-rate-limit-358;basis=calls rateAdmit twice, and an admitted request holds a slot on both paths: on the upgrade path before the activator or proxy (the handshake holds its slot through slotWriter, given back at the first final answer or at the reverse proxy's hijack on a 101, so an open WebSocket is not counted; released by a defer), and on the ordinary path after the response-cache check and before the activator and proxy (an admitted request holds a slot through slotWriter, released by a defer); a refusal is a 429 written there and returns; the upgrade path's comment now names slotWriter as its one wrapper; one comment on the door mark reworded; read sites unchanged (22: main's 21 plus edge-request-records' observeRecords pass of the route), offsets moved; no read added;rev3=census-ruling-plans-4c-box-throttle;basis=calls planThrottleAdmit before the response cache, and on an upgrade trackUpgrade then planUpgradeAdmit (plans 4c, Astra findings 1 and 2); the new reads live in those units (plans-4c-units decision). The same read sites here.;rev3=census-ruling-plans-4d-lapse;basis=calls planDisabledAdmit right after the import gate, passing the final upstream's route and the request host; a turned-off route gets the fixed disabled page before the meter, gate, cache and activator (plans 4d). The new read lives in that unit (plans-4d-units decision); one more whole-row pass here.;rev3=census-ruling-edge-protection-2;basis=runs the guard, a pure in-memory matcher on r.URL.Path and RawQuery (internal/edgeguard), once per request after the meter and observer defer and before the password gate, the upgrade branch, the cache and the activator, for a request that is not a door call, a backhauled door hop or a tunnel delivery; a matched block answers a 404 itself through guardDecide; the two new sites are one expression, up.route.Kind == "static" (a static route this box serves checks only the hard tier here and leaves the probe tier to serveTree), a read of the route row the edge already resolved; no new kind of read;rev3=census-ruling-edge-asset-cache-3;basis=the asset cache's three hooks (asset cache plan 3): the request's reserved asset headers are deleted at entry (the fill assertion kept only beside a verified hop); on the exact-remote and lookup-miss branches the far catch (serveAssetFar) is tried before backhaulTo and backhaul; after the observer defer and main's hard and probe checks, a verified hop with a valid fill assertion is answered by serveAssetFillForHop; after the upgrade branch and before gzip and the shared cache, the local catch (serveAssetLocal); the observer defer skips only the usage meter for an acknowledged home fill (out.unbilled); the new reads live in the new units of the edge-asset-cache-3-decisions overlay; the same route row and read sites (25); no read added;rev3=census-ruling-regional-domains-447;basis=#447 Task 5: straight after lookupUpstreamPath it calls regionalGate (regional.go), which for an entry built from a regional_domains row answers 503 to a hop or a deny entry before any arm that can leave the box (the exact-home backhaul, the far asset catch, the door dial, the miss backhaul), and lets a star match through only to the exact-home arm when ExactHome names another box for that distinct exact name; after the exact-home arm a regional deny entry the arm did not answer is refused (regionalRefuse, 503); refusals only, on the route map the edge already holds; read sites unchanged (25);rev3=census-ruling-static-headers;basis=the shared response cache is no longer looked up or filled for a static-kind route: one more read of the route row the edge already resolved (up.route.Kind == "static") in the cacheable expression; a refusal only, nothing new opened or followed;rev3=census-ruling-region-ha-p1b2;basis=region HA P1b-2 (N-HA10): one call, frontForwardHA, right after the route lookup's !ok block and before the login POST; same reads;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 4: loginPost and cacheable treat a forward row as not this box's to answer (IsForward(), +whole:Route x2): no login form and no shared cache for a forward host. Serving only.;rev3=census-ruling-tunnel-websockets;basis=Deletes the Carlos-Upgrade marker header from incoming requests and puts the upgrade admission (host, path, the entry tenancy, all in hand) on a tunnel arm request. For a login POST on an ungated ArmTunnel row it reads the visitor request body (bounded by gate.MaxFormBody, 413 past it; a request body, not a file) and resolves next against the entry Reload built (Gate, Route); the bytes pass on only when loginPassesThrough holds (spec 7, Tasks 3, 5 and 6).;rev3=census-ruling-console-protection-tab;basis=one more call in the observer defer, observeGuardCount(up.route, out), beside the observeRecords call that files the guard Match: it passes on the route row the defer already holds (+whole:Route) and the request outcome to the usage meter, which counts the check in memory. Called whether or not the request was unbilled, as observeRecords is. Nothing is opened, read or followed; no new kind of read; no check, refusal or serving decision changes.;rev3=census-ruling-probe-burst-limit;basis=answers a probe-burst notice POST (serveBurstNotice) ahead of every route for a non-door caller; builds the guard state for up.route and stamps its account and app (RouteAccount, App) for the cool-down's this-app/other-app label; for a catalogue match on a non-static or tunnelled route, offers the burst rule (in-memory limiter, burstDecide: 429 or a watch verdict, never a block for a fleet or forward row); the observer defer calls noteBurst(up.route, ...); the added sites are the route value already in hand (+registry:App, +whole:Route x5); no new root read or write kind;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): parses the request's query once (stripHoldMarker) to record the carlos_hold=1 mark in the request context; calls classifyHold on the upstream already resolved from the loaded map (the +whole:Route is that in-memory Route), including a second pass for a login POST; gives a marked request on a door-refused route the plain 404; adds the hold branch (planThrottleAdmit, rateAdmit, serveHeld) after the gate; and excludes marked requests from the shared cache. Reads only the request and the already-loaded upstream map; no registry or bucket read added.;rev3=census-ruling-region-ha-p3a;basis=Complete the P3a cut: an exact peer name with no dial target answers the approved admission 503 before local wildcard dispatch or asset serving. ExactHome and lookupHome stop fallback at a present non-dial entry; backhaulTo refuses an empty target before signing or dialing. Retain Task 3 local admission and fixed platform/unit exemptions. Two added whole Route uses feed the local in-memory admission predicate; existing Route values and store/path reads are unchanged.;rev3=census-ruling-stateless-coordinator-route;basis=P24/P25: POST only, exact /api/fleet/replicas/ prefix on the reserved tunnel host calls the existing local console proxy only for an unescaped, already-clean path; malformed forms remain on the hub. No new read sites relative to origin/main. Merge with main 3487d6f6 retains its region HA admission checks before routing and after login target lookup, its empty-home refusal, and their two existing whole:Route reads; these change this unit's digest relative to the previously approved branch tip 92b24a7d.;rev3=census-ruling-stateless-replicas-3;basis=Task 1a: pass the already-resolved Route to the reserved replica-probe handler after acceptHop and existing admissionRefuses, requiring tunnel context plus private marker and refusing door/backhaul ingress. Added whole Route use only; scrub marker before forwarding; HA calls remain unchanged.;rev3=census-ruling-region-ha-p3b;basis=Resolve local aliases/catch-alls with cached peer name ownership before serving. Add registry Account/App/ClaimStamp/Host/Incarnation/ServingSeq and six whole Route references for NameClaim; inputs are agent registry rows/edges publications used by unprivileged edge, not root permits. Closed owners retain names and return 503; aware remote owner cannot fall through on missing transport, while legacy hop/door behavior remains. Merge 45cebde4 retains authenticated replica probes after local admission and before ordinary name resolution; probe authentication still requires the tunnel context.;rev3=census-ruling-agent-start-demo-2;basis=edge.go:1901 enters the protected demo path before ordinary exits; :2012-2015 rechecks the selected marked Route after lookup. Added whole Route use routes demos through serving checks, counters and policy; no new registry query or file open in this unit.;rev3=census-ruling-demo-api-site-route;basis=Reserve the configured site API namespace after hop verification and control-header scrubbing, before ordinary static, cache, billing and tenant dispatch. Validate hop field shape and delegate only allowlisted operations to the dedicated console path with verified client attribution and console admission. The alias helper enables HTTP/1.1 full duplex so an early console refusal does not wait for upload EOF. Existing 56 read sites unchanged; no new registry, bucket or file read.;rev3=census-ruling-region-ha-g2-fixes;basis=Consult HA ingress after region admission and before miss/alias backhaul; no new direct read; routing-only metadata does not create an upstream.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3/W4: backhaul and door calls pass the owner the door checked into backhaulTo; the §6.5 holder follow (once, GET/HEAD or an unswitched upgrade, no body) and one connect-failure fallback dial only boxes in the holder region's view (same Region/Placement/DataBucket, HomeEligible, fresh) for that owner. Holder name comes only from the TLS-verified signed hop answer; app-set X-Carlos-Holder stays stripped. Routing only; the receiving box still re-checks the lease. No new read site.;rev3=census-ruling-edge-page-cache-1;basis=attaches an in-memory page mark holder to every request to an instance route (the +registry:Kind check of up.route.Kind), wraps the hold and upgrade branches in pageDiagnostics, asks servePage after the plan throttle (a hit answered from the page index over the asset store), keeps an opted-in instance out of the LRU (pagesOptedIn), wraps the response in the page writer, and wraps the proxy's writer in assetInformationalScrub on the remaining arms; the page reads are in the new pagecache.go units;rev3=census-ruling-region-ha-held-build;basis=first branch: a request for the reserved control paths /.carlos/ha-drain and /.carlos/ha-take goes to serveHAControl and returns (refused unless a signed ask); no request on those paths reaches a route, a forward or an app; no read added here. region HA held-requests Task 2: X-Carlos-Replayable is read from verified hops only and deleted from every request; just before frontForwardHA, moveGate runs for an HA hibernating route (route HA, Host and the whole Route passed in memory) and can only hold, refuse with an existing answer or front-forward to the confirmed holder; ReleaseMoveTicket before serveHeld; no store or filesystem read added; region HA held-requests Task 5: after the HA control-path branch, every request is counted by the connection drain (conns.track: a cancellable request context, and Connection: close only while draining); memory only; no read added; Task 5 fix 1: after the drain's final barrier a new request is refused at once through handoverExit with the existing answerHolderUnreachable, never forwarded; the tracked request also carries its connection (from ConnContext) so the drain can close it at its bound; memory only; no read added;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 3: the inbound strip also deletes tunnelclient.LinkAppHeader (Carlos-Link-App) from every client request, beside Carlos-Tunnel-Upgrade; a header delete, no read added; linked deployments slice 1 Task 8: a request carrying a link pin (ServeLinked, set only by the home agent's link handler from its own registry's published set) skips the edge's own handlers (HA control, demo handling, the steering probe, the tunnel hub, hop acceptance, the burst notice, the demo API alias, the replica probe), takes its upstream from selectUpstream (the pinned exact entry or a 502), never enters the alias/catch-all backhaul block, the HA front forward, the local asset catch, the page cache or the response LRU; the two lookupUpstreamPath calls become selectUpstream; no read added;rev3=census-ruling-stateless-replicas-4-r28;basis=R28 (#511): for a request whose host has no entry (the lookup miss), after the replica-probe branch, calls refuseRetiredCopy(r, host): within the grace of a host whose replica copy this box retired, the fleet tunnel stream is refused with REFUSED_STREAM (tunnelclient.Refuse) and nothing is written; any other miss gets the unknown-host answer as before; memory only, a refusal only, no read added;rev3=census-ruling-static-site-geo-962;basis=discussion #962: after planDisabledAdmit and before the page mark holder and the observer, a request whose cleaned path is /.carlos/geo (not a linked request) is answered by serveGeoAnswer from the request's geo answer already on the context (decideGeo), 200 JSON no-store or 405, and returns; merged with main (no new read);rev3=census-ruling-fleet-unrouted-503;basis=a request the hub tunnel delivered (tunnelclient mark, not a link channel) for a host this box neither routes nor backhauls answers 503 Retry-After 2 instead of the unknown-host 404; no new read, dial or store access; unmarked requests unchanged (#1008);rev3=census-ruling-fleet-unrouted-503-fix1;basis=a request the hub delivered over this fleet box's channel (MarkFleetChannel, set by the box's own tunnel loop for a "<fleet>/<label>" channel, plus the tunnel client mark) for a host this box neither routes nor backhauls, and not under a platform domain, answers 503 Retry-After 2 instead of the unknown-host 404; fixed log key; no new read, dial or store access; every other request unchanged (#1008);rev3=census-ruling-fix-dbforward-reuse-1032;basis=the drain tracking call now takes withDeclaredBodyEnd(r) instead of r: an HTTP/1 request with a declared Content-Length is served from there on with a body that answers EOF itself after those bytes (#1032), so a proxy transport's confirming read after sending the body upstream no longer lands on the server's closed request body and tears down the upstream connection; HTTP/2 requests are left as they are (Astra r1 P2); memory only, no read, dial or store access added;rev3=census-ruling-fleet-seeded-create-2;basis=The hub's door routing asks boxConsolePath(r) instead of the inline /api/fleet/replicas/ test, so POST /api/fleet/seeds/ goes to the local console by the same rule (POST only, clean path, no RawPath) as the replica doors. Serving only; no read of a path a tenant names; the same 65 read sites.;rev3=census-ruling-path-routes-across-boxes;basis=#186: selection returns requestSelection; a Remote selection is dispatched by servePathRemote (one signed hop, never from a verified hop, door call or pin); the ownership block moved to serveNameOwner/nameOwnerVerdict (pathhop.go), so its route reads left; login re-selection via loginLookupPath plus refuseLoginAcross; LRU also requires pathLRUAllowed; no read added;rev3=census-ruling-fleet-client-address-1348;basis=after hop acceptance, a request a tunnel delivered (tunnelclient mark, not a link pin) whose X-Forwarded-For hubVisitor accepts (every entry an IP) carries its last entry as the gate attempt key (gate.WithClientAddr), as ServeLinked does (#1348); a context value on the request, memory only, no read, dial or store access added; no check weakened file:ReadAll@19618,registry:App@26895,registry:Gate@18592,registry:Gate@31286,registry:Gate@31346,registry:Gate@31404,registry:HA@14336,registry:HA@14678,registry:Host@14717,registry:Host@31389,registry:ImportGate@40281,registry:Kind@23929,registry:Kind@25757,registry:Kind@29195,registry:Kind@40223,registry:Kind@40252,whole:Route@14339,whole:Route@14433,whole:Route@14681,whole:Route@14720,whole:Route@18487,whole:Route@18598,whole:Route@20897,whole:Route@21681,whole:Route@22139,whole:Route@22331,whole:Route@23932,whole:Route@25760,whole:Route@26821,whole:Route@26887,whole:Route@26898,whole:Route@27151,whole:Route@27246,whole:Route@27322,whole:Route@27366,whole:Route@27668,whole:Route@27698,whole:Route@29198,whole:Route@29483,whole:Route@31289,whole:Route@31349,whole:Route@31392,whole:Route@31407,whole:Route@32618,whole:Route@34906,whole:Route@40226,whole:Route@40255,whole:Route@40284,whole:Route@40316,whole:Route@42783,whole:Route@8932,whole:Route@9031,whole:Route@9137 58935eefbf1467e4410d255a47537bcb594548d318d54d670865eccbb5979b89
-@coverage internal/edge 891708be480c3d2580319141f68988b6f24ba890d791f10b1767cd8f6d3936ea
+@legacy 19e4b3a3e14be4028f087fd216f52fb871bf0d59bcd9ba1c6efd5934897d5a67 internal/edge/edge.go Edge.ServeHTTP legacy accepted-legacy accepted-legacy;rev3=census-ruling-seeded-instances;basis=the edge inside the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body with the import gate checked after the door's scope and a gated row left out of the response cache; serving only;rev3=census-ruling-edge-request-records;basis=one more call in the observer defer, observeRecords(up.route, ...), passing on the route the defer already holds; no new kind of read;rev3=census-ruling-design-edge-rate-limit-358;basis=calls rateAdmit twice, and an admitted request holds a slot on both paths: on the upgrade path before the activator or proxy (the handshake holds its slot through slotWriter, given back at the first final answer or at the reverse proxy's hijack on a 101, so an open WebSocket is not counted; released by a defer), and on the ordinary path after the response-cache check and before the activator and proxy (an admitted request holds a slot through slotWriter, released by a defer); a refusal is a 429 written there and returns; the upgrade path's comment now names slotWriter as its one wrapper; one comment on the door mark reworded; read sites unchanged (22: main's 21 plus edge-request-records' observeRecords pass of the route), offsets moved; no read added;rev3=census-ruling-plans-4c-box-throttle;basis=calls planThrottleAdmit before the response cache, and on an upgrade trackUpgrade then planUpgradeAdmit (plans 4c, Astra findings 1 and 2); the new reads live in those units (plans-4c-units decision). The same read sites here.;rev3=census-ruling-plans-4d-lapse;basis=calls planDisabledAdmit right after the import gate, passing the final upstream's route and the request host; a turned-off route gets the fixed disabled page before the meter, gate, cache and activator (plans 4d). The new read lives in that unit (plans-4d-units decision); one more whole-row pass here.;rev3=census-ruling-edge-protection-2;basis=runs the guard, a pure in-memory matcher on r.URL.Path and RawQuery (internal/edgeguard), once per request after the meter and observer defer and before the password gate, the upgrade branch, the cache and the activator, for a request that is not a door call, a backhauled door hop or a tunnel delivery; a matched block answers a 404 itself through guardDecide; the two new sites are one expression, up.route.Kind == "static" (a static route this box serves checks only the hard tier here and leaves the probe tier to serveTree), a read of the route row the edge already resolved; no new kind of read;rev3=census-ruling-edge-asset-cache-3;basis=the asset cache's three hooks (asset cache plan 3): the request's reserved asset headers are deleted at entry (the fill assertion kept only beside a verified hop); on the exact-remote and lookup-miss branches the far catch (serveAssetFar) is tried before backhaulTo and backhaul; after the observer defer and main's hard and probe checks, a verified hop with a valid fill assertion is answered by serveAssetFillForHop; after the upgrade branch and before gzip and the shared cache, the local catch (serveAssetLocal); the observer defer skips only the usage meter for an acknowledged home fill (out.unbilled); the new reads live in the new units of the edge-asset-cache-3-decisions overlay; the same route row and read sites (25); no read added;rev3=census-ruling-regional-domains-447;basis=#447 Task 5: straight after lookupUpstreamPath it calls regionalGate (regional.go), which for an entry built from a regional_domains row answers 503 to a hop or a deny entry before any arm that can leave the box (the exact-home backhaul, the far asset catch, the door dial, the miss backhaul), and lets a star match through only to the exact-home arm when ExactHome names another box for that distinct exact name; after the exact-home arm a regional deny entry the arm did not answer is refused (regionalRefuse, 503); refusals only, on the route map the edge already holds; read sites unchanged (25);rev3=census-ruling-static-headers;basis=the shared response cache is no longer looked up or filled for a static-kind route: one more read of the route row the edge already resolved (up.route.Kind == "static") in the cacheable expression; a refusal only, nothing new opened or followed;rev3=census-ruling-region-ha-p1b2;basis=region HA P1b-2 (N-HA10): one call, frontForwardHA, right after the route lookup's !ok block and before the login POST; same reads;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 4: loginPost and cacheable treat a forward row as not this box's to answer (IsForward(), +whole:Route x2): no login form and no shared cache for a forward host. Serving only.;rev3=census-ruling-tunnel-websockets;basis=Deletes the Carlos-Upgrade marker header from incoming requests and puts the upgrade admission (host, path, the entry tenancy, all in hand) on a tunnel arm request. For a login POST on an ungated ArmTunnel row it reads the visitor request body (bounded by gate.MaxFormBody, 413 past it; a request body, not a file) and resolves next against the entry Reload built (Gate, Route); the bytes pass on only when loginPassesThrough holds (spec 7, Tasks 3, 5 and 6).;rev3=census-ruling-console-protection-tab;basis=one more call in the observer defer, observeGuardCount(up.route, out), beside the observeRecords call that files the guard Match: it passes on the route row the defer already holds (+whole:Route) and the request outcome to the usage meter, which counts the check in memory. Called whether or not the request was unbilled, as observeRecords is. Nothing is opened, read or followed; no new kind of read; no check, refusal or serving decision changes.;rev3=census-ruling-probe-burst-limit;basis=answers a probe-burst notice POST (serveBurstNotice) ahead of every route for a non-door caller; builds the guard state for up.route and stamps its account and app (RouteAccount, App) for the cool-down's this-app/other-app label; for a catalogue match on a non-static or tunnelled route, offers the burst rule (in-memory limiter, burstDecide: 429 or a watch verdict, never a block for a fleet or forward row); the observer defer calls noteBurst(up.route, ...); the added sites are the route value already in hand (+registry:App, +whole:Route x5); no new root read or write kind;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): parses the request's query once (stripHoldMarker) to record the carlos_hold=1 mark in the request context; calls classifyHold on the upstream already resolved from the loaded map (the +whole:Route is that in-memory Route), including a second pass for a login POST; gives a marked request on a door-refused route the plain 404; adds the hold branch (planThrottleAdmit, rateAdmit, serveHeld) after the gate; and excludes marked requests from the shared cache. Reads only the request and the already-loaded upstream map; no registry or bucket read added.;rev3=census-ruling-region-ha-p3a;basis=Complete the P3a cut: an exact peer name with no dial target answers the approved admission 503 before local wildcard dispatch or asset serving. ExactHome and lookupHome stop fallback at a present non-dial entry; backhaulTo refuses an empty target before signing or dialing. Retain Task 3 local admission and fixed platform/unit exemptions. Two added whole Route uses feed the local in-memory admission predicate; existing Route values and store/path reads are unchanged.;rev3=census-ruling-stateless-coordinator-route;basis=P24/P25: POST only, exact /api/fleet/replicas/ prefix on the reserved tunnel host calls the existing local console proxy only for an unescaped, already-clean path; malformed forms remain on the hub. No new read sites relative to origin/main. Merge with main 3487d6f6 retains its region HA admission checks before routing and after login target lookup, its empty-home refusal, and their two existing whole:Route reads; these change this unit's digest relative to the previously approved branch tip 92b24a7d.;rev3=census-ruling-stateless-replicas-3;basis=Task 1a: pass the already-resolved Route to the reserved replica-probe handler after acceptHop and existing admissionRefuses, requiring tunnel context plus private marker and refusing door/backhaul ingress. Added whole Route use only; scrub marker before forwarding; HA calls remain unchanged.;rev3=census-ruling-region-ha-p3b;basis=Resolve local aliases/catch-alls with cached peer name ownership before serving. Add registry Account/App/ClaimStamp/Host/Incarnation/ServingSeq and six whole Route references for NameClaim; inputs are agent registry rows/edges publications used by unprivileged edge, not root permits. Closed owners retain names and return 503; aware remote owner cannot fall through on missing transport, while legacy hop/door behavior remains. Merge 45cebde4 retains authenticated replica probes after local admission and before ordinary name resolution; probe authentication still requires the tunnel context.;rev3=census-ruling-agent-start-demo-2;basis=edge.go:1901 enters the protected demo path before ordinary exits; :2012-2015 rechecks the selected marked Route after lookup. Added whole Route use routes demos through serving checks, counters and policy; no new registry query or file open in this unit.;rev3=census-ruling-demo-api-site-route;basis=Reserve the configured site API namespace after hop verification and control-header scrubbing, before ordinary static, cache, billing and tenant dispatch. Validate hop field shape and delegate only allowlisted operations to the dedicated console path with verified client attribution and console admission. The alias helper enables HTTP/1.1 full duplex so an early console refusal does not wait for upload EOF. Existing 56 read sites unchanged; no new registry, bucket or file read.;rev3=census-ruling-region-ha-g2-fixes;basis=Consult HA ingress after region admission and before miss/alias backhaul; no new direct read; routing-only metadata does not create an upstream.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3/W4: backhaul and door calls pass the owner the door checked into backhaulTo; the §6.5 holder follow (once, GET/HEAD or an unswitched upgrade, no body) and one connect-failure fallback dial only boxes in the holder region's view (same Region/Placement/DataBucket, HomeEligible, fresh) for that owner. Holder name comes only from the TLS-verified signed hop answer; app-set X-Carlos-Holder stays stripped. Routing only; the receiving box still re-checks the lease. No new read site.;rev3=census-ruling-edge-page-cache-1;basis=attaches an in-memory page mark holder to every request to an instance route (the +registry:Kind check of up.route.Kind), wraps the hold and upgrade branches in pageDiagnostics, asks servePage after the plan throttle (a hit answered from the page index over the asset store), keeps an opted-in instance out of the LRU (pagesOptedIn), wraps the response in the page writer, and wraps the proxy's writer in assetInformationalScrub on the remaining arms; the page reads are in the new pagecache.go units;rev3=census-ruling-region-ha-held-build;basis=first branch: a request for the reserved control paths /.carlos/ha-drain and /.carlos/ha-take goes to serveHAControl and returns (refused unless a signed ask); no request on those paths reaches a route, a forward or an app; no read added here. region HA held-requests Task 2: X-Carlos-Replayable is read from verified hops only and deleted from every request; just before frontForwardHA, moveGate runs for an HA hibernating route (route HA, Host and the whole Route passed in memory) and can only hold, refuse with an existing answer or front-forward to the confirmed holder; ReleaseMoveTicket before serveHeld; no store or filesystem read added; region HA held-requests Task 5: after the HA control-path branch, every request is counted by the connection drain (conns.track: a cancellable request context, and Connection: close only while draining); memory only; no read added; Task 5 fix 1: after the drain's final barrier a new request is refused at once through handoverExit with the existing answerHolderUnreachable, never forwarded; the tracked request also carries its connection (from ConnContext) so the drain can close it at its bound; memory only; no read added;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 3: the inbound strip also deletes tunnelclient.LinkAppHeader (Carlos-Link-App) from every client request, beside Carlos-Tunnel-Upgrade; a header delete, no read added; linked deployments slice 1 Task 8: a request carrying a link pin (ServeLinked, set only by the home agent's link handler from its own registry's published set) skips the edge's own handlers (HA control, demo handling, the steering probe, the tunnel hub, hop acceptance, the burst notice, the demo API alias, the replica probe), takes its upstream from selectUpstream (the pinned exact entry or a 502), never enters the alias/catch-all backhaul block, the HA front forward, the local asset catch, the page cache or the response LRU; the two lookupUpstreamPath calls become selectUpstream; no read added;rev3=census-ruling-stateless-replicas-4-r28;basis=R28 (#511): for a request whose host has no entry (the lookup miss), after the replica-probe branch, calls refuseRetiredCopy(r, host): within the grace of a host whose replica copy this box retired, the fleet tunnel stream is refused with REFUSED_STREAM (tunnelclient.Refuse) and nothing is written; any other miss gets the unknown-host answer as before; memory only, a refusal only, no read added;rev3=census-ruling-static-site-geo-962;basis=discussion #962: after planDisabledAdmit and before the page mark holder and the observer, a request whose cleaned path is /.carlos/geo (not a linked request) is answered by serveGeoAnswer from the request's geo answer already on the context (decideGeo), 200 JSON no-store or 405, and returns; merged with main (no new read);rev3=census-ruling-fleet-unrouted-503;basis=a request the hub tunnel delivered (tunnelclient mark, not a link channel) for a host this box neither routes nor backhauls answers 503 Retry-After 2 instead of the unknown-host 404; no new read, dial or store access; unmarked requests unchanged (#1008);rev3=census-ruling-fleet-unrouted-503-fix1;basis=a request the hub delivered over this fleet box's channel (MarkFleetChannel, set by the box's own tunnel loop for a "<fleet>/<label>" channel, plus the tunnel client mark) for a host this box neither routes nor backhauls, and not under a platform domain, answers 503 Retry-After 2 instead of the unknown-host 404; fixed log key; no new read, dial or store access; every other request unchanged (#1008);rev3=census-ruling-fix-dbforward-reuse-1032;basis=the drain tracking call now takes withDeclaredBodyEnd(r) instead of r: an HTTP/1 request with a declared Content-Length is served from there on with a body that answers EOF itself after those bytes (#1032), so a proxy transport's confirming read after sending the body upstream no longer lands on the server's closed request body and tears down the upstream connection; HTTP/2 requests are left as they are (Astra r1 P2); memory only, no read, dial or store access added;rev3=census-ruling-fleet-seeded-create-2;basis=The hub's door routing asks boxConsolePath(r) instead of the inline /api/fleet/replicas/ test, so POST /api/fleet/seeds/ goes to the local console by the same rule (POST only, clean path, no RawPath) as the replica doors. Serving only; no read of a path a tenant names; the same 65 read sites.;rev3=census-ruling-path-routes-across-boxes;basis=#186: selection returns requestSelection; a Remote selection is dispatched by servePathRemote (one signed hop, never from a verified hop, door call or pin); the ownership block moved to serveNameOwner/nameOwnerVerdict (pathhop.go), so its route reads left; login re-selection via loginLookupPath plus refuseLoginAcross; LRU also requires pathLRUAllowed; no read added;rev3=census-ruling-fleet-client-address-1348;basis=hop acceptance moved into acceptIngress (pinned: dropHopHeaders; else acceptHop), which then, for a request a tunnel delivered (tunnelclient mark) whose X-Forwarded-For hubVisitor accepts (every entry an IP), carries its last entry as the gate attempt key (gate.WithClientAddr), as ServeLinked does (#1348); a context value on the request, memory only, no read, dial or store access added; no check weakened file:ReadAll@19091,registry:App@26368,registry:Gate@18065,registry:Gate@30759,registry:Gate@30819,registry:Gate@30877,registry:HA@13809,registry:HA@14151,registry:Host@14190,registry:Host@30862,registry:ImportGate@39754,registry:Kind@23402,registry:Kind@25230,registry:Kind@28668,registry:Kind@39696,registry:Kind@39725,whole:Route@13812,whole:Route@13906,whole:Route@14154,whole:Route@14193,whole:Route@17960,whole:Route@18071,whole:Route@20370,whole:Route@21154,whole:Route@21612,whole:Route@21804,whole:Route@23405,whole:Route@25233,whole:Route@26294,whole:Route@26360,whole:Route@26371,whole:Route@26624,whole:Route@26719,whole:Route@26795,whole:Route@26839,whole:Route@27141,whole:Route@27171,whole:Route@28671,whole:Route@28956,whole:Route@30762,whole:Route@30822,whole:Route@30865,whole:Route@30880,whole:Route@32091,whole:Route@34379,whole:Route@39699,whole:Route@39728,whole:Route@39757,whole:Route@39789,whole:Route@42256,whole:Route@8405,whole:Route@8504,whole:Route@8610 3b450b21a2e2b49ccac127eb9917fdc5a2dfdec1c490ccf89151f443f8b37825
+internal/edge/edge.go Edge.ServeHTTP legacy accepted-legacy accepted-legacy;rev3=census-ruling-seeded-instances;basis=the edge inside the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body with the import gate checked after the door's scope and a gated row left out of the response cache; serving only;rev3=census-ruling-edge-request-records;basis=one more call in the observer defer, observeRecords(up.route, ...), passing on the route the defer already holds; no new kind of read;rev3=census-ruling-design-edge-rate-limit-358;basis=calls rateAdmit twice, and an admitted request holds a slot on both paths: on the upgrade path before the activator or proxy (the handshake holds its slot through slotWriter, given back at the first final answer or at the reverse proxy's hijack on a 101, so an open WebSocket is not counted; released by a defer), and on the ordinary path after the response-cache check and before the activator and proxy (an admitted request holds a slot through slotWriter, released by a defer); a refusal is a 429 written there and returns; the upgrade path's comment now names slotWriter as its one wrapper; one comment on the door mark reworded; read sites unchanged (22: main's 21 plus edge-request-records' observeRecords pass of the route), offsets moved; no read added;rev3=census-ruling-plans-4c-box-throttle;basis=calls planThrottleAdmit before the response cache, and on an upgrade trackUpgrade then planUpgradeAdmit (plans 4c, Astra findings 1 and 2); the new reads live in those units (plans-4c-units decision). The same read sites here.;rev3=census-ruling-plans-4d-lapse;basis=calls planDisabledAdmit right after the import gate, passing the final upstream's route and the request host; a turned-off route gets the fixed disabled page before the meter, gate, cache and activator (plans 4d). The new read lives in that unit (plans-4d-units decision); one more whole-row pass here.;rev3=census-ruling-edge-protection-2;basis=runs the guard, a pure in-memory matcher on r.URL.Path and RawQuery (internal/edgeguard), once per request after the meter and observer defer and before the password gate, the upgrade branch, the cache and the activator, for a request that is not a door call, a backhauled door hop or a tunnel delivery; a matched block answers a 404 itself through guardDecide; the two new sites are one expression, up.route.Kind == "static" (a static route this box serves checks only the hard tier here and leaves the probe tier to serveTree), a read of the route row the edge already resolved; no new kind of read;rev3=census-ruling-edge-asset-cache-3;basis=the asset cache's three hooks (asset cache plan 3): the request's reserved asset headers are deleted at entry (the fill assertion kept only beside a verified hop); on the exact-remote and lookup-miss branches the far catch (serveAssetFar) is tried before backhaulTo and backhaul; after the observer defer and main's hard and probe checks, a verified hop with a valid fill assertion is answered by serveAssetFillForHop; after the upgrade branch and before gzip and the shared cache, the local catch (serveAssetLocal); the observer defer skips only the usage meter for an acknowledged home fill (out.unbilled); the new reads live in the new units of the edge-asset-cache-3-decisions overlay; the same route row and read sites (25); no read added;rev3=census-ruling-regional-domains-447;basis=#447 Task 5: straight after lookupUpstreamPath it calls regionalGate (regional.go), which for an entry built from a regional_domains row answers 503 to a hop or a deny entry before any arm that can leave the box (the exact-home backhaul, the far asset catch, the door dial, the miss backhaul), and lets a star match through only to the exact-home arm when ExactHome names another box for that distinct exact name; after the exact-home arm a regional deny entry the arm did not answer is refused (regionalRefuse, 503); refusals only, on the route map the edge already holds; read sites unchanged (25);rev3=census-ruling-static-headers;basis=the shared response cache is no longer looked up or filled for a static-kind route: one more read of the route row the edge already resolved (up.route.Kind == "static") in the cacheable expression; a refusal only, nothing new opened or followed;rev3=census-ruling-region-ha-p1b2;basis=region HA P1b-2 (N-HA10): one call, frontForwardHA, right after the route lookup's !ok block and before the login POST; same reads;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 4: loginPost and cacheable treat a forward row as not this box's to answer (IsForward(), +whole:Route x2): no login form and no shared cache for a forward host. Serving only.;rev3=census-ruling-tunnel-websockets;basis=Deletes the Carlos-Upgrade marker header from incoming requests and puts the upgrade admission (host, path, the entry tenancy, all in hand) on a tunnel arm request. For a login POST on an ungated ArmTunnel row it reads the visitor request body (bounded by gate.MaxFormBody, 413 past it; a request body, not a file) and resolves next against the entry Reload built (Gate, Route); the bytes pass on only when loginPassesThrough holds (spec 7, Tasks 3, 5 and 6).;rev3=census-ruling-console-protection-tab;basis=one more call in the observer defer, observeGuardCount(up.route, out), beside the observeRecords call that files the guard Match: it passes on the route row the defer already holds (+whole:Route) and the request outcome to the usage meter, which counts the check in memory. Called whether or not the request was unbilled, as observeRecords is. Nothing is opened, read or followed; no new kind of read; no check, refusal or serving decision changes.;rev3=census-ruling-probe-burst-limit;basis=answers a probe-burst notice POST (serveBurstNotice) ahead of every route for a non-door caller; builds the guard state for up.route and stamps its account and app (RouteAccount, App) for the cool-down's this-app/other-app label; for a catalogue match on a non-static or tunnelled route, offers the burst rule (in-memory limiter, burstDecide: 429 or a watch verdict, never a block for a fleet or forward row); the observer defer calls noteBurst(up.route, ...); the added sites are the route value already in hand (+registry:App, +whole:Route x5); no new root read or write kind;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): parses the request's query once (stripHoldMarker) to record the carlos_hold=1 mark in the request context; calls classifyHold on the upstream already resolved from the loaded map (the +whole:Route is that in-memory Route), including a second pass for a login POST; gives a marked request on a door-refused route the plain 404; adds the hold branch (planThrottleAdmit, rateAdmit, serveHeld) after the gate; and excludes marked requests from the shared cache. Reads only the request and the already-loaded upstream map; no registry or bucket read added.;rev3=census-ruling-region-ha-p3a;basis=Complete the P3a cut: an exact peer name with no dial target answers the approved admission 503 before local wildcard dispatch or asset serving. ExactHome and lookupHome stop fallback at a present non-dial entry; backhaulTo refuses an empty target before signing or dialing. Retain Task 3 local admission and fixed platform/unit exemptions. Two added whole Route uses feed the local in-memory admission predicate; existing Route values and store/path reads are unchanged.;rev3=census-ruling-stateless-coordinator-route;basis=P24/P25: POST only, exact /api/fleet/replicas/ prefix on the reserved tunnel host calls the existing local console proxy only for an unescaped, already-clean path; malformed forms remain on the hub. No new read sites relative to origin/main. Merge with main 3487d6f6 retains its region HA admission checks before routing and after login target lookup, its empty-home refusal, and their two existing whole:Route reads; these change this unit's digest relative to the previously approved branch tip 92b24a7d.;rev3=census-ruling-stateless-replicas-3;basis=Task 1a: pass the already-resolved Route to the reserved replica-probe handler after acceptHop and existing admissionRefuses, requiring tunnel context plus private marker and refusing door/backhaul ingress. Added whole Route use only; scrub marker before forwarding; HA calls remain unchanged.;rev3=census-ruling-region-ha-p3b;basis=Resolve local aliases/catch-alls with cached peer name ownership before serving. Add registry Account/App/ClaimStamp/Host/Incarnation/ServingSeq and six whole Route references for NameClaim; inputs are agent registry rows/edges publications used by unprivileged edge, not root permits. Closed owners retain names and return 503; aware remote owner cannot fall through on missing transport, while legacy hop/door behavior remains. Merge 45cebde4 retains authenticated replica probes after local admission and before ordinary name resolution; probe authentication still requires the tunnel context.;rev3=census-ruling-agent-start-demo-2;basis=edge.go:1901 enters the protected demo path before ordinary exits; :2012-2015 rechecks the selected marked Route after lookup. Added whole Route use routes demos through serving checks, counters and policy; no new registry query or file open in this unit.;rev3=census-ruling-demo-api-site-route;basis=Reserve the configured site API namespace after hop verification and control-header scrubbing, before ordinary static, cache, billing and tenant dispatch. Validate hop field shape and delegate only allowlisted operations to the dedicated console path with verified client attribution and console admission. The alias helper enables HTTP/1.1 full duplex so an early console refusal does not wait for upload EOF. Existing 56 read sites unchanged; no new registry, bucket or file read.;rev3=census-ruling-region-ha-g2-fixes;basis=Consult HA ingress after region admission and before miss/alias backhaul; no new direct read; routing-only metadata does not create an upstream.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3/W4: backhaul and door calls pass the owner the door checked into backhaulTo; the §6.5 holder follow (once, GET/HEAD or an unswitched upgrade, no body) and one connect-failure fallback dial only boxes in the holder region's view (same Region/Placement/DataBucket, HomeEligible, fresh) for that owner. Holder name comes only from the TLS-verified signed hop answer; app-set X-Carlos-Holder stays stripped. Routing only; the receiving box still re-checks the lease. No new read site.;rev3=census-ruling-edge-page-cache-1;basis=attaches an in-memory page mark holder to every request to an instance route (the +registry:Kind check of up.route.Kind), wraps the hold and upgrade branches in pageDiagnostics, asks servePage after the plan throttle (a hit answered from the page index over the asset store), keeps an opted-in instance out of the LRU (pagesOptedIn), wraps the response in the page writer, and wraps the proxy's writer in assetInformationalScrub on the remaining arms; the page reads are in the new pagecache.go units;rev3=census-ruling-region-ha-held-build;basis=first branch: a request for the reserved control paths /.carlos/ha-drain and /.carlos/ha-take goes to serveHAControl and returns (refused unless a signed ask); no request on those paths reaches a route, a forward or an app; no read added here. region HA held-requests Task 2: X-Carlos-Replayable is read from verified hops only and deleted from every request; just before frontForwardHA, moveGate runs for an HA hibernating route (route HA, Host and the whole Route passed in memory) and can only hold, refuse with an existing answer or front-forward to the confirmed holder; ReleaseMoveTicket before serveHeld; no store or filesystem read added; region HA held-requests Task 5: after the HA control-path branch, every request is counted by the connection drain (conns.track: a cancellable request context, and Connection: close only while draining); memory only; no read added; Task 5 fix 1: after the drain's final barrier a new request is refused at once through handoverExit with the existing answerHolderUnreachable, never forwarded; the tracked request also carries its connection (from ConnContext) so the drain can close it at its bound; memory only; no read added;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 3: the inbound strip also deletes tunnelclient.LinkAppHeader (Carlos-Link-App) from every client request, beside Carlos-Tunnel-Upgrade; a header delete, no read added; linked deployments slice 1 Task 8: a request carrying a link pin (ServeLinked, set only by the home agent's link handler from its own registry's published set) skips the edge's own handlers (HA control, demo handling, the steering probe, the tunnel hub, hop acceptance, the burst notice, the demo API alias, the replica probe), takes its upstream from selectUpstream (the pinned exact entry or a 502), never enters the alias/catch-all backhaul block, the HA front forward, the local asset catch, the page cache or the response LRU; the two lookupUpstreamPath calls become selectUpstream; no read added;rev3=census-ruling-stateless-replicas-4-r28;basis=R28 (#511): for a request whose host has no entry (the lookup miss), after the replica-probe branch, calls refuseRetiredCopy(r, host): within the grace of a host whose replica copy this box retired, the fleet tunnel stream is refused with REFUSED_STREAM (tunnelclient.Refuse) and nothing is written; any other miss gets the unknown-host answer as before; memory only, a refusal only, no read added;rev3=census-ruling-static-site-geo-962;basis=discussion #962: after planDisabledAdmit and before the page mark holder and the observer, a request whose cleaned path is /.carlos/geo (not a linked request) is answered by serveGeoAnswer from the request's geo answer already on the context (decideGeo), 200 JSON no-store or 405, and returns; merged with main (no new read);rev3=census-ruling-fleet-unrouted-503;basis=a request the hub tunnel delivered (tunnelclient mark, not a link channel) for a host this box neither routes nor backhauls answers 503 Retry-After 2 instead of the unknown-host 404; no new read, dial or store access; unmarked requests unchanged (#1008);rev3=census-ruling-fleet-unrouted-503-fix1;basis=a request the hub delivered over this fleet box's channel (MarkFleetChannel, set by the box's own tunnel loop for a "<fleet>/<label>" channel, plus the tunnel client mark) for a host this box neither routes nor backhauls, and not under a platform domain, answers 503 Retry-After 2 instead of the unknown-host 404; fixed log key; no new read, dial or store access; every other request unchanged (#1008);rev3=census-ruling-fix-dbforward-reuse-1032;basis=the drain tracking call now takes withDeclaredBodyEnd(r) instead of r: an HTTP/1 request with a declared Content-Length is served from there on with a body that answers EOF itself after those bytes (#1032), so a proxy transport's confirming read after sending the body upstream no longer lands on the server's closed request body and tears down the upstream connection; HTTP/2 requests are left as they are (Astra r1 P2); memory only, no read, dial or store access added;rev3=census-ruling-fleet-seeded-create-2;basis=The hub's door routing asks boxConsolePath(r) instead of the inline /api/fleet/replicas/ test, so POST /api/fleet/seeds/ goes to the local console by the same rule (POST only, clean path, no RawPath) as the replica doors. Serving only; no read of a path a tenant names; the same 65 read sites.;rev3=census-ruling-path-routes-across-boxes;basis=#186: selection returns requestSelection; a Remote selection is dispatched by servePathRemote (one signed hop, never from a verified hop, door call or pin); the ownership block moved to serveNameOwner/nameOwnerVerdict (pathhop.go), so its route reads left; login re-selection via loginLookupPath plus refuseLoginAcross; LRU also requires pathLRUAllowed; no read added;rev3=census-ruling-fleet-client-address-1348;basis=hop acceptance moved into acceptIngress (pinned: dropHopHeaders; else acceptHop), which then, for a request a tunnel delivered (tunnelclient mark) whose X-Forwarded-For hubVisitor accepts (every entry an IP), carries its last entry as the gate attempt key (gate.WithClientAddr), as ServeLinked does (#1348); a context value on the request, memory only, no read, dial or store access added; no check weakened file:ReadAll@19091,registry:App@26368,registry:Gate@18065,registry:Gate@30759,registry:Gate@30819,registry:Gate@30877,registry:HA@13809,registry:HA@14151,registry:Host@14190,registry:Host@30862,registry:ImportGate@39754,registry:Kind@23402,registry:Kind@25230,registry:Kind@28668,registry:Kind@39696,registry:Kind@39725,whole:Route@13812,whole:Route@13906,whole:Route@14154,whole:Route@14193,whole:Route@17960,whole:Route@18071,whole:Route@20370,whole:Route@21154,whole:Route@21612,whole:Route@21804,whole:Route@23405,whole:Route@25233,whole:Route@26294,whole:Route@26360,whole:Route@26371,whole:Route@26624,whole:Route@26719,whole:Route@26795,whole:Route@26839,whole:Route@27141,whole:Route@27171,whole:Route@28671,whole:Route@28956,whole:Route@30762,whole:Route@30822,whole:Route@30865,whole:Route@30880,whole:Route@32091,whole:Route@34379,whole:Route@39699,whole:Route@39728,whole:Route@39757,whole:Route@39789,whole:Route@42256,whole:Route@8405,whole:Route@8504,whole:Route@8610 3b450b21a2e2b49ccac127eb9917fdc5a2dfdec1c490ccf89151f443f8b37825
+@coverage internal/edge 49f213dddaa3a722c2ae43aa97e3271084b6a93594fc6732e95628369afb48e8
@coverage internal/gate 7b140d60ca2a8c62fa47279c0a747c076bc755595680c97037736f555ae40fbf