carlos / platform Public

media: fix the three defects the conversion spike found

mediaimage push accepts ECR's 201 on a blob PATCH (the spec says 202),
so the first push reaches ECR. The media-engine module writes the empty
lists ECS answers and fully qualified DNS Firewall names, so a plan
after an apply settles instead of replacing all four task definitions.
The fmp4 fixtures are the spike's arm64 regeneration, and the muxer test
compares every argument. Census-ruling-media-spike-fixes, Astra approved.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Squashed from media-spike-fixes into main.
claude agent, operated by paul@keymail.dev bddf7b1e86250934718d71f046325b81d9c64591 parent 1b83d68
23 files changed, +1,773 −1,491
  • cmd/mediaimage/mediaimage_test.go +89 −5
  • cmd/mediaimage/push.go +43 −9
  • docs/superpowers/notes/CENSUS-REVIEW-BRIEF-media-spike-fixes.md +13 −0
  • docs/superpowers/notes/CENSUS-REVIEW-RESULT-media-spike-fixes.md +15 −0
  • docs/superpowers/notes/census-claims-media-spike-fixes.tsv +5 −0
  • docs/superpowers/notes/census-proposal-media-spike-fixes.md +23 −0
  • infra/modules/media-engine/ecs.tf +15 −1
  • infra/modules/media-engine/network.tf +13 −6
  • infra/modules/media-engine/tests/media_engine.tftest.hcl +28 −11
  • internal/mediaaws/module_test.go +48 −0
  • internal/mediaaws/testdata/media-engine-rendered.json +4 −4
  • internal/mediahandler/fmp4_test.go +68 −36
  • internal/mediahandler/realencode_test.go +0 −22
  • internal/mediahandler/testdata/fmp4/args.txt +1 −1
  • internal/mediahandler/testdata/fmp4/audio.mp4 binary
  • internal/mediahandler/testdata/fmp4/audio.mp4.packets.csv +421 −421
  • internal/mediahandler/testdata/fmp4/provenance.txt +13 −12
  • internal/mediahandler/testdata/fmp4/video-noaudio.mp4 binary
  • internal/mediahandler/testdata/fmp4/video-noaudio.mp4.packets.csv +270 −270
  • internal/mediahandler/testdata/fmp4/video.mp4 binary
  • internal/mediahandler/testdata/fmp4/video.mp4.packets.csv +693 −693
  • internal/provision/testdata/plan14-root-reads-chain.tsv +1 −0
  • internal/provision/testdata/plan14-root-reads-media-spike-fixes.tsv +10 −0

CI passed — run details

CI log
=== gate ===
go: downloading go1.26.10 (linux/arm64)
go version go1.26.10 linux/arm64
opentofu: arm64, tofu 1.13.9, aws 6.73.0, archive 2.8.1
  tofu: downloading https://carlos-ci-mirror-640012953448.s3.eu-west-1.amazonaws.com/opentofu/tofu_1.13.9_linux_arm64.tar.gz
  tofu: downloaded, digest verified
  aws: downloading https://carlos-ci-mirror-640012953448.s3.eu-west-1.amazonaws.com/opentofu/terraform-provider-aws_6.73.0_linux_arm64.zip
  aws: downloaded, digest verified
  archive: downloading https://carlos-ci-mirror-640012953448.s3.eu-west-1.amazonaws.com/opentofu/terraform-provider-archive_2.8.1_linux_arm64.zip
  archive: downloaded, digest verified
  installed in /tmp/carlos-opentofu-NvK7rC
.amadan/test-gate.sh
go: downloading github.com/aws/aws-sdk-go-v2 v1.44.0
go: downloading github.com/aws/aws-sdk-go-v2/service/costexplorer v1.67.5
go: downloading github.com/aws/aws-sdk-go-v2/service/s3 v1.105.0
go: downloading github.com/aws/smithy-go v1.28.1
go: downloading github.com/benbjohnson/litestream v0.5.14
go: downloading github.com/aws/aws-sdk-go-v2/service/cloudwatch v1.68.0
go: downloading github.com/superfly/ltx v0.5.1
go: downloading golang.org/x/net v0.62.0
go: downloading modernc.org/sqlite v1.55.0
go: downloading golang.org/x/sys v0.49.0
go: downloading github.com/aws/aws-sdk-go-v2/config v1.32.6
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/crypto v0.58.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/logging v0.2.4
go: downloading github.com/pion/turn/v4 v4.1.4
go: downloading github.com/pierrec/lz4/v4 v4.1.22
go: downloading github.com/klauspost/compress v1.20.2
go: downloading github.com/pion/dtls/v3 v3.1.4
go: downloading github.com/pion/transport/v4 v4.0.2
go: downloading github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.23
go: downloading github.com/wlynxg/anet v0.0.5
go: downloading github.com/prometheus/client_golang v1.17.0
go: downloading github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.20.18
go: downloading github.com/lmittmann/tint v1.1.3
go: downloading github.com/prometheus/common v0.45.0
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/prometheus/client_model v0.5.0
go: downloading github.com/prometheus/procfs v0.12.0
go: downloading github.com/cespare/xxhash/v2 v2.3.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 github.com/aws/aws-sdk-go-v2/service/ecs v1.91.0
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/libc v1.74.1
go: downloading github.com/dustin/go-humanize v1.0.1
go: downloading modernc.org/memory v1.11.0
go: downloading github.com/google/uuid v1.6.0
go: downloading modernc.org/mathutil v1.7.1
go: downloading github.com/dustin/go-humanize v1.0.1
go: downloading modernc.org/mathutil v1.7.1
go: downloading github.com/google/uuid v1.6.0
=== 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 (175 s, from +0 s)
go: downloading modernc.org/sqlite v1.55.0
go: downloading github.com/klauspost/compress v1.20.2
go: downloading golang.org/x/crypto/x509roots/fallback v0.0.0-20260209214922-2f26647a795e
go: downloading github.com/aws/aws-sdk-go-v2/service/ecs v1.91.0
go: downloading github.com/pierrec/lz4/v4 v4.1.22
go: downloading modernc.org/libc v1.74.1
go: downloading github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec
=== vet-tags (186 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
=== gofmt (1 s, from +0 s)
gofmt -l .: clean
=== rest (378 s, from +15 s)
ok  	github.com/carlosframework/platform/cmd/carlos-media	122.487s
?   	github.com/carlosframework/platform/cmd/changelog	[no test files]
ok  	github.com/carlosframework/platform/cmd/console	201.198s
ok  	github.com/carlosframework/platform/cmd/mediaimage	42.928s
ok  	github.com/carlosframework/platform/cmd/moveprobe	16.538s
ok  	github.com/carlosframework/platform/cmd/pricebook-export	0.047s
ok  	github.com/carlosframework/platform/cmd/rootfswitness	0.192s
ok  	github.com/carlosframework/platform/cmd/runsc-assets	0.155s
ok  	github.com/carlosframework/platform/cmd/zddprobe	0.990s
ok  	github.com/carlosframework/platform/internal/agentsock	0.060s
ok  	github.com/carlosframework/platform/internal/alerting	0.020s
ok  	github.com/carlosframework/platform/internal/analytics	0.261s
ok  	github.com/carlosframework/platform/internal/appconfig	42.810s
ok  	github.com/carlosframework/platform/internal/apperr	0.552s
ok  	github.com/carlosframework/platform/internal/applog	0.686s
ok  	github.com/carlosframework/platform/internal/apppolicy	2.413s
ok  	github.com/carlosframework/platform/internal/assetcache	0.601s
ok  	github.com/carlosframework/platform/internal/awsinv	0.067s
ok  	github.com/carlosframework/platform/internal/awsmanaged	0.621s
ok  	github.com/carlosframework/platform/internal/awsregiongroup	0.180s
ok  	github.com/carlosframework/platform/internal/awsterminations	0.015s
ok  	github.com/carlosframework/platform/internal/backupswords	0.006s
ok  	github.com/carlosframework/platform/internal/billing	0.137s
ok  	github.com/carlosframework/platform/internal/billing/billingtest	0.069s
ok  	github.com/carlosframework/platform/internal/billingstripe	2.250s
ok  	github.com/carlosframework/platform/internal/boxchoice	0.034s
ok  	github.com/carlosframework/platform/internal/boxid	2.206s
?   	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.161s
ok  	github.com/carlosframework/platform/internal/boxvolumes	0.048s
ok  	github.com/carlosframework/platform/internal/caps	0.068s
ok  	github.com/carlosframework/platform/internal/certwarm	0.018s
ok  	github.com/carlosframework/platform/internal/cgroup	1.416s
ok  	github.com/carlosframework/platform/internal/changelog	4.313s
ok  	github.com/carlosframework/platform/internal/clamd	0.076s
?   	github.com/carlosframework/platform/internal/cliflag	[no test files]
ok  	github.com/carlosframework/platform/internal/clireg	0.024s
ok  	github.com/carlosframework/platform/internal/codehealth	18.655s
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	11.798s
ok  	github.com/carlosframework/platform/internal/dbdoor/dbdoortest	0.029s
ok  	github.com/carlosframework/platform/internal/dbquery	0.010s
ok  	github.com/carlosframework/platform/internal/dbreads	2.856s
?   	github.com/carlosframework/platform/internal/dbreads/dbreadstest	[no test files]
ok  	github.com/carlosframework/platform/internal/dbverify	0.016s
ok  	github.com/carlosframework/platform/internal/demo	0.012s
ok  	github.com/carlosframework/platform/internal/demobuild	3.904s
ok  	github.com/carlosframework/platform/internal/democlaim	0.537s
ok  	github.com/carlosframework/platform/internal/devbox	16.615s
ok  	github.com/carlosframework/platform/internal/dnsrec	0.015s
ok  	github.com/carlosframework/platform/internal/docsite	0.195s
ok  	github.com/carlosframework/platform/internal/domainreg	0.014s
ok  	github.com/carlosframework/platform/internal/domains	64.392s
ok  	github.com/carlosframework/platform/internal/doorkey	0.022s
ok  	github.com/carlosframework/platform/internal/economics	0.014s
ok  	github.com/carlosframework/platform/internal/edgefence	0.102s
ok  	github.com/carlosframework/platform/internal/edgeguard	0.327s
?   	github.com/carlosframework/platform/internal/edgeproof	[no test files]
ok  	github.com/carlosframework/platform/internal/edgesfile	0.067s
ok  	github.com/carlosframework/platform/internal/egressaddr	0.008s
ok  	github.com/carlosframework/platform/internal/execsandbox	94.956s
ok  	github.com/carlosframework/platform/internal/fileacl	0.005s
ok  	github.com/carlosframework/platform/internal/fleetapi	2.371s
ok  	github.com/carlosframework/platform/internal/fleetstore	0.013s
ok  	github.com/carlosframework/platform/internal/fxrate	0.033s
ok  	github.com/carlosframework/platform/internal/gate	5.742s
ok  	github.com/carlosframework/platform/internal/genselect	0.144s
ok  	github.com/carlosframework/platform/internal/geo	0.075s
ok  	github.com/carlosframework/platform/internal/geoip	0.146s
ok  	github.com/carlosframework/platform/internal/groupadmission	0.025s
ok  	github.com/carlosframework/platform/internal/grouprollaws	17.100s
ok  	github.com/carlosframework/platform/internal/hadeparture	0.020s
ok  	github.com/carlosframework/platform/internal/hafresh	0.018s
ok  	github.com/carlosframework/platform/internal/hairpin	0.233s
ok  	github.com/carlosframework/platform/internal/historyreadback	1.387s
ok  	github.com/carlosframework/platform/internal/hostactors	22.027s
ok  	github.com/carlosframework/platform/internal/hostbox	22.489s
ok  	github.com/carlosframework/platform/internal/hostclaim	2.738s
ok  	github.com/carlosframework/platform/internal/hostenv	0.034s
ok  	github.com/carlosframework/platform/internal/hostevidence	0.022s
ok  	github.com/carlosframework/platform/internal/hostexec	26.195s
ok  	github.com/carlosframework/platform/internal/hostfence	0.188s
ok  	github.com/carlosframework/platform/internal/hostfiles	26.946s
ok  	github.com/carlosframework/platform/internal/hostfloor	0.112s
ok  	github.com/carlosframework/platform/internal/hostguard	1.706s
ok  	github.com/carlosframework/platform/internal/hostops	8.805s
?   	github.com/carlosframework/platform/internal/hostops/fencerelease	[no test files]
ok  	github.com/carlosframework/platform/internal/hostops/internal/fencerelease	0.011s
ok  	github.com/carlosframework/platform/internal/hostquarantine	0.005s
ok  	github.com/carlosframework/platform/internal/hostrelocate	2.810s
ok  	github.com/carlosframework/platform/internal/hostresolve	0.849s
ok  	github.com/carlosframework/platform/internal/hostwrite	0.006s
ok  	github.com/carlosframework/platform/internal/infraview	0.014s
ok  	github.com/carlosframework/platform/internal/ingresshealth	0.015s
ok  	github.com/carlosframework/platform/internal/ingresshealth/awstg	0.014s
ok  	github.com/carlosframework/platform/internal/instancectl	55.074s
ok  	github.com/carlosframework/platform/internal/instanceexec	9.138s
ok  	github.com/carlosframework/platform/internal/instancefs	0.057s
ok  	github.com/carlosframework/platform/internal/instancekey	0.021s
ok  	github.com/carlosframework/platform/internal/instanceupdates	0.058s
ok  	github.com/carlosframework/platform/internal/interactive	0.800s
ok  	github.com/carlosframework/platform/internal/launchd	0.021s
ok  	github.com/carlosframework/platform/internal/layout	25.538s
ok  	github.com/carlosframework/platform/internal/layout/pubclass	99.088s
ok  	github.com/carlosframework/platform/internal/lbhealth	0.029s
ok  	github.com/carlosframework/platform/internal/lease	151.689s
ok  	github.com/carlosframework/platform/internal/lease/leasetest	1.552s
ok  	github.com/carlosframework/platform/internal/lease/locktest	0.024s
ok  	github.com/carlosframework/platform/internal/ledger	0.078s
ok  	github.com/carlosframework/platform/internal/mail	1.265s
ok  	github.com/carlosframework/platform/internal/mailer	0.851s
ok  	github.com/carlosframework/platform/internal/mailsubmit	1.841s
ok  	github.com/carlosframework/platform/internal/mailwire	0.013s
ok  	github.com/carlosframework/platform/internal/maintenance	0.216s
ok  	github.com/carlosframework/platform/internal/maintenanceexec	7.688s
ok  	github.com/carlosframework/platform/internal/maintenanceguard	0.407s
ok  	github.com/carlosframework/platform/internal/media	2.545s
ok  	github.com/carlosframework/platform/internal/media/mediatest	0.012s
ok  	github.com/carlosframework/platform/internal/mediaaws	62.381s
ok  	github.com/carlosframework/platform/internal/mediahandler	44.589s
ok  	github.com/carlosframework/platform/internal/mediajobs	1.439s
ok  	github.com/carlosframework/platform/internal/medialocal	9.739s
ok  	github.com/carlosframework/platform/internal/metrics	0.127s
ok  	github.com/carlosframework/platform/internal/minorunits	0.020s
ok  	github.com/carlosframework/platform/internal/moves	54.677s
ok  	github.com/carlosframework/platform/internal/moves/archive	4.019s
ok  	github.com/carlosframework/platform/internal/moves/offlinerun	0.076s
ok  	github.com/carlosframework/platform/internal/namedunits	0.029s
ok  	github.com/carlosframework/platform/internal/objstore	0.830s
ok  	github.com/carlosframework/platform/internal/ops	14.720s
ok  	github.com/carlosframework/platform/internal/pageindex	3.871s
ok  	github.com/carlosframework/platform/internal/parity	0.141s
?   	github.com/carlosframework/platform/internal/parity/cmd/parity-doc	[no test files]
ok  	github.com/carlosframework/platform/internal/park	0.796s
ok  	github.com/carlosframework/platform/internal/perf	0.211s
ok  	github.com/carlosframework/platform/internal/plans	0.116s
ok  	github.com/carlosframework/platform/internal/privatefile	0.014s
ok  	github.com/carlosframework/platform/internal/provision	235.782s
ok  	github.com/carlosframework/platform/internal/proxyproto	0.953s
ok  	github.com/carlosframework/platform/internal/publicrelease	0.038s
ok  	github.com/carlosframework/platform/internal/ratelimit	0.240s
ok  	github.com/carlosframework/platform/internal/regionlabel	0.079s
ok  	github.com/carlosframework/platform/internal/regionname	0.012s
ok  	github.com/carlosframework/platform/internal/registrar	0.005s
ok  	github.com/carlosframework/platform/internal/registrar/openprovider	0.269s
?   	github.com/carlosframework/platform/internal/registrar/registrartest	[no test files]
ok  	github.com/carlosframework/platform/internal/registry	81.260s
ok  	github.com/carlosframework/platform/internal/relay	7.621s
ok  	github.com/carlosframework/platform/internal/release	80.638s
ok  	github.com/carlosframework/platform/internal/replicagen	0.024s
ok  	github.com/carlosframework/platform/internal/replicas	0.107s
ok  	github.com/carlosframework/platform/internal/reqrec	5.477s
ok  	github.com/carlosframework/platform/internal/rollout	13.312s
ok  	github.com/carlosframework/platform/internal/rolloutwords	0.023s
ok  	github.com/carlosframework/platform/internal/rootaws	100.484s
ok  	github.com/carlosframework/platform/internal/rootfsimage	0.870s
ok  	github.com/carlosframework/platform/internal/rootparticipation	0.101s
ok  	github.com/carlosframework/platform/internal/rootstate	0.055s
ok  	github.com/carlosframework/platform/internal/runs	0.740s
ok  	github.com/carlosframework/platform/internal/s3compat	0.017s
ok  	github.com/carlosframework/platform/internal/s3fake	0.850s
ok  	github.com/carlosframework/platform/internal/safefile	0.020s
ok  	github.com/carlosframework/platform/internal/schedule	23.606s
ok  	github.com/carlosframework/platform/internal/seeds	0.059s
ok  	github.com/carlosframework/platform/internal/sim/litestreamfacts	5.167s
ok  	github.com/carlosframework/platform/internal/sim/mediajobs	46.134s
ok  	github.com/carlosframework/platform/internal/sim/regionha	24.550s
ok  	github.com/carlosframework/platform/internal/status	0.868s
ok  	github.com/carlosframework/platform/internal/steering	0.503s
ok  	github.com/carlosframework/platform/internal/stopevidence	0.726s
ok  	github.com/carlosframework/platform/internal/storecfg	0.536s
ok  	github.com/carlosframework/platform/internal/svcrole	0.039s
ok  	github.com/carlosframework/platform/internal/systemd	6.939s
?   	github.com/carlosframework/platform/internal/systemdshow	[no test files]
ok  	github.com/carlosframework/platform/internal/team	5.016s
ok  	github.com/carlosframework/platform/internal/teamcontract	0.147s
ok  	github.com/carlosframework/platform/internal/telemetry	0.034s
ok  	github.com/carlosframework/platform/internal/termfence	3.917s
ok  	github.com/carlosframework/platform/internal/timerspec	0.021s
ok  	github.com/carlosframework/platform/internal/tsidentity	4.195s
ok  	github.com/carlosframework/platform/internal/tunnelclient	0.452s
ok  	github.com/carlosframework/platform/internal/unixdial	0.031s
ok  	github.com/carlosframework/platform/internal/updatewords	0.079s
ok  	github.com/carlosframework/platform/internal/upstreamguard	0.037s
?   	github.com/carlosframework/platform/internal/upstreamguard/guardtest	[no test files]
ok  	github.com/carlosframework/platform/internal/usage	0.035s
ok  	github.com/carlosframework/platform/internal/version	0.014s
ok  	github.com/carlosframework/platform/internal/vet	3.286s
ok  	github.com/carlosframework/platform/internal/zonehost	0.027s
ok  	github.com/carlosframework/platform/internal/zonehost/route53zones	0.075s
?   	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/region-ha-g2/fixture	5.204s
ok  	github.com/carlosframework/platform/scripts/stateless-replicas-drill	1.263s
ok  	github.com/carlosframework/platform/scripts/witness-pointer	0.017s
=== cutover-witness (160 s, from +15 s)
ok  	github.com/carlosframework/platform	2.084s
=== internal_grouproll@0 (275 s, from +74 s)
ok  	github.com/carlosframework/platform/internal/grouproll	273.929s
=== internal_grouproll@1 (282 s, from +74 s)
ok  	github.com/carlosframework/platform/internal/grouproll	280.566s
=== internal_activator@0 (145 s, from +149 s)
ok  	github.com/carlosframework/platform/internal/activator	138.411s
=== internal_activator@1 (136 s, from +149 s)
ok  	github.com/carlosframework/platform/internal/activator	130.152s
=== internal_activator@2 (141 s, from +149 s)
ok  	github.com/carlosframework/platform/internal/activator	134.787s
=== internal_activator@3 (172 s, from +149 s)
ok  	github.com/carlosframework/platform/internal/activator	166.258s
=== internal_edge@0 (186 s, from +175 s)
ok  	github.com/carlosframework/platform/internal/edge	177.335s
=== internal_edge@1 (127 s, from +175 s)
ok  	github.com/carlosframework/platform/internal/edge	117.020s
=== internal_edge@2 (146 s, from +175 s)
ok  	github.com/carlosframework/platform/internal/edge	135.851s
=== internal_edge@3 (203 s, from +175 s)
ok  	github.com/carlosframework/platform/internal/edge	195.093s
=== root@0 (120 s, from +176 s)
ok  	github.com/carlosframework/platform	110.146s
=== root@1 (109 s, from +176 s)
ok  	github.com/carlosframework/platform	98.630s
=== root@2 (135 s, from +176 s)
ok  	github.com/carlosframework/platform	125.706s
=== root@3 (109 s, from +176 s)
ok  	github.com/carlosframework/platform	99.331s
=== root@4 (97 s, from +176 s)
ok  	github.com/carlosframework/platform	86.949s
=== internal_host@0 (239 s, from +217 s)
ok  	github.com/carlosframework/platform/internal/host	234.964s
=== internal_host@1 (191 s, from +217 s)
ok  	github.com/carlosframework/platform/internal/host	185.975s
=== internal_host@2 (236 s, from +217 s)
ok  	github.com/carlosframework/platform/internal/host	231.370s
=== internal_host@3 (158 s, from +217 s)
ok  	github.com/carlosframework/platform/internal/host	153.788s
=== internal_host@4 (139 s, from +217 s)
ok  	github.com/carlosframework/platform/internal/host	134.709s
=== internal_host@5 (200 s, from +217 s)
ok  	github.com/carlosframework/platform/internal/host	194.825s
=== internal_console@0 (187 s, from +223 s)
ok  	github.com/carlosframework/platform/internal/console	180.094s
=== internal_console@1 (163 s, from +223 s)
ok  	github.com/carlosframework/platform/internal/console	156.658s
=== internal_console@2 (190 s, from +223 s)
ok  	github.com/carlosframework/platform/internal/console	182.414s
=== internal_console@3 (228 s, from +223 s)
ok  	github.com/carlosframework/platform/internal/console	220.498s
=== internal_console@4 (178 s, from +223 s)
ok  	github.com/carlosframework/platform/internal/console	169.562s
=== internal_console@5 (197 s, from +223 s)
ok  	github.com/carlosframework/platform/internal/console	189.725s
=== internal_console@6 (195 s, from +223 s)
ok  	github.com/carlosframework/platform/internal/console	188.334s
=== internal_console@7 (189 s, from +223 s)
ok  	github.com/carlosframework/platform/internal/console	181.230s
=== internal_console@8 (207 s, from +223 s)
ok  	github.com/carlosframework/platform/internal/console	199.773s
=== internal_console@9 (235 s, from +223 s)
ok  	github.com/carlosframework/platform/internal/console	228.673s
=== internal_console@10 (244 s, from +223 s)
ok  	github.com/carlosframework/platform/internal/console	236.699s
=== internal_console@11 (199 s, from +223 s)
ok  	github.com/carlosframework/platform/internal/console	191.086s
=== internal_console@12 (297 s, from +223 s)
ok  	github.com/carlosframework/platform/internal/console	289.321s
=== internal_console@13 (188 s, from +223 s)
ok  	github.com/carlosframework/platform/internal/console	180.575s
=== internal_console@14 (191 s, from +223 s)
ok  	github.com/carlosframework/platform/internal/console	183.977s
=== internal_console@15 (205 s, from +223 s)
ok  	github.com/carlosframework/platform/internal/console	197.187s
=== internal_console@16 (191 s, from +223 s)
ok  	github.com/carlosframework/platform/internal/console	184.912s
=== internal_console@17 (191 s, from +223 s)
ok  	github.com/carlosframework/platform/internal/console	183.795s
=== internal_console@18 (222 s, from +223 s)
ok  	github.com/carlosframework/platform/internal/console	215.394s
=== internal_console@19 (193 s, from +223 s)
ok  	github.com/carlosframework/platform/internal/console	185.508s
=== internal_console@20 (194 s, from +223 s)
ok  	github.com/carlosframework/platform/internal/console	187.327s
=== internal_console@21 (205 s, from +223 s)
ok  	github.com/carlosframework/platform/internal/console	198.456s
=== internal_console@22 (200 s, from +223 s)
ok  	github.com/carlosframework/platform/internal/console	191.946s
=== internal_console@23 (213 s, from +223 s)
ok  	github.com/carlosframework/platform/internal/console	205.314s
=== lists: internal_console 221 s, internal_edge 174 s, internal_activator 148 s, internal_host 216 s, root 175 s, internal_grouproll 73 s
=== cpu: the gate used 12341 cpu-seconds in 520 s, about 23.7 of 32 cores; the machine as a whole was 79% busy
=== opentofu ===
opentofu: 35 test files in 11 suites, OpenTofu v1.13.9
  initialised in 14 s
  ok      17 s  infra/modules/box-fence-writer/tests/writer.tftest.hcl  Success! 1 passed, 0 failed.
  ok      25 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      17 s  infra/modules/deployment-buckets/tests/evidence.tftest.hcl  Success! 1 passed, 0 failed.
  ok      30 s  infra/modules/deployment-buckets/tests/fence_writers.tftest.hcl  Success! 3 passed, 0 failed.
  ok      89 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      72 s  infra/modules/pdf-host/tests/pdf_host.tftest.hcl  Success! 24 passed, 0 failed.
  ok      46 s  infra/modules/region-group-operator-document/tests/document.tftest.hcl  Success! 12 passed, 0 failed.
  ok      22 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      49 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      19 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      72 s  infra/modules/region-host/tests/group.tftest.hcl  Success! 32 passed, 0 failed.
  ok      10 s  infra/modules/region-host/tests/group_alarms.tftest.hcl  Success! 4 passed, 0 failed.
  ok       9 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      37 s  infra/modules/region-host/tests/group_operator.tftest.hcl  Success! 13 passed, 0 failed.
  ok       8 s  infra/modules/region-host/tests/group_user_data.tftest.hcl  Success! 3 passed, 0 failed.
  ok      29 s  infra/modules/region-host/tests/health_alarms.tftest.hcl  Success! 10 passed, 0 failed.
  ok      10 s  infra/modules/region-host/tests/ingress_drain_read.tftest.hcl  Success! 4 passed, 0 failed.
  ok       5 s  infra/modules/region-host/tests/instance_metadata.tftest.hcl  Success! 1 passed, 0 failed.
  ok      25 s  infra/modules/region-host/tests/mailer.tftest.hcl  Success! 6 passed, 0 failed.
  ok      15 s  infra/modules/region-host/tests/mailer_group.tftest.hcl  Success! 2 passed, 0 failed.
  ok      17 s  infra/modules/region-host/tests/managed_fleets/group_refusal.tftest.hcl  Success! 2 passed, 0 failed.
  ok     109 s  infra/modules/region-host/tests/managed_fleets/managed_fleets.tftest.hcl  Success! 46 passed, 0 failed.
  ok      71 s  infra/modules/region-host/tests/store_conversion.tftest.hcl  Success! 27 passed, 0 failed.
  ok      16 s  infra/modules/region-host/tests/store_scanning.tftest.hcl  Success! 4 passed, 0 failed.
  ok      16 s  infra/modules/region-host/tests/user_data_ignored.tftest.hcl  Success! 3 passed, 0 failed.
  ok      12 s  infra/modules/region-remote-host/tests/data_lifecycle.tftest.hcl  Success! 3 passed, 0 failed.
  ok      13 s  infra/modules/region-remote-host/tests/no_deployment_bucket.tftest.hcl  Success! 5 passed, 0 failed.
  ok      25 s  infra/modules/scanner-host/tests/scanner_host.tftest.hcl  Success! 14 passed, 0 failed.
opentofu: 35 files in 208 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: 65470626 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:32029
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.040s
=== RUN   TestT4StorageProbeMinio
2026/11/21 18:57:49 moves: T4: STORE: list: operation error S3: ListObjectsV2, https response error StatusCode: 403, RequestID: 18EA247123CCE134, HostID: 3f94c9ef136c7c10a18e08e5252e7d61eccf15674306708150b5fa431511b7de, 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.047s
=== RUN   TestS3StoreMinioContract
=== RUN   TestS3StoreMinioContract/conditional_get_and_etag_listing
=== RUN   TestS3StoreMinioContract/bump_through_every_mutation_path
--- PASS: TestS3StoreMinioContract (0.04s)
    --- PASS: TestS3StoreMinioContract/conditional_get_and_etag_listing (0.01s)
    --- PASS: TestS3StoreMinioContract/bump_through_every_mutation_path (0.02s)
PASS
ok  	github.com/carlosframework/platform/internal/release	0.045s
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.04s)
PASS
ok  	github.com/carlosframework/platform/internal/release	0.043s
=== RUN   TestEndToEndMinio
=== RUN   TestEndToEndMinio/plan
=== RUN   TestEndToEndMinio/roll
=== RUN   TestEndToEndMinio/replace
=== RUN   TestEndToEndMinio/remove
--- PASS: TestEndToEndMinio (0.50s)
    --- PASS: TestEndToEndMinio/plan (0.01s)
    --- PASS: TestEndToEndMinio/roll (0.13s)
    --- PASS: TestEndToEndMinio/replace (0.17s)
    --- PASS: TestEndToEndMinio/remove (0.16s)
PASS
ok  	github.com/carlosframework/platform/internal/grouproll	0.508s
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/21 18:57:55 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000000 txid.db=0000000000000001
2026/11/21 18:57:55 INFO ltx file uploaded system=store db=source.db replica=file level=0 minTXID=0000000000000001 maxTXID=0000000000000001 size=720
2026/11/21 18:57:55 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000001 txid.db=0000000000000001
2026/11/21 18:57:55 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000001 txid.db=0000000000000002
2026/11/21 18:57:55 INFO ltx file uploaded system=store db=source.db replica=file level=0 minTXID=0000000000000002 maxTXID=0000000000000002 size=370
2026/11/21 18:57:55 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000002 txid.db=0000000000000002
2026/11/21 18:57:55 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000002 txid.db=0000000000000003
2026/11/21 18:57:55 INFO ltx file uploaded system=store db=source.db replica=file level=0 minTXID=0000000000000003 maxTXID=0000000000000003 size=454
2026/11/21 18:57:55 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000003 txid.db=0000000000000003
2026/11/21 18:57:55 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000000 txid.db=0000000000000001
2026/11/21 18:57:55 INFO ltx file uploaded system=store db=source.db replica=file level=0 minTXID=0000000000000001 maxTXID=0000000000000001 size=720
2026/11/21 18:57:55 INFO replica sync system=store db=source.db replica=file txid.replica=0000000000000001 txid.db=0000000000000001
2026/11/21 18:57:56 console: CARLOS_SECRETS_PUBKEY is unset, so no region outside the home can be chosen automatically
2026/11/21 18:57:56 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%3A36245: could not determine target mailbox
    agent.go:136: dbreads: dbr_wm7my4yra6keirfrin4vq5ovma: planned 3 files (1544 bytes) and restored to 3 in 14ms
    agent.go:136: dbreads: dbr_wm7my4yra6keirfrin4vq5ovma: output 5 bytes in 1 confirmed chunks in 2ms
2026/11/21 18:57:57 console: db read dbr_wm7my4yra6keirfrin4vq5ovma: relayed 1 chunks (102 bytes) in 1.005s, ended done
    agent.go:136: dbreads: dbr_grqdmde747pccxov6i6mtiom4u: planned 1 files (720 bytes) and restored to 1 in 12ms
    agent.go:136: dbreads: dbr_grqdmde747pccxov6i6mtiom4u: output 5 bytes in 1 confirmed chunks in 2ms
2026/11/21 18:57:58 console: db read dbr_grqdmde747pccxov6i6mtiom4u: relayed 1 chunks (102 bytes) in 1.005s, ended done
    agent.go:136: dbreads: dbr_zaq4k62jdw6bzlzl2r244vv7oq: planned 3 files (1544 bytes) and held through 3 in 13ms
    agent.go:136: dbreads: dbr_zaq4k62jdw6bzlzl2r244vv7oq: output 1544 bytes in 1 confirmed chunks in 1ms
2026/11/21 18:57:59 console: db read dbr_zaq4k62jdw6bzlzl2r244vv7oq: relayed 1 chunks (1641 bytes) in 1.005s, ended done
=== RUN   TestDBForwardMinio/by_disconnect
=== NAME  TestDBForwardMinio
    agent.go:136: dbreads: dbr_mbutmnlmeq4edpua3gfxlh52va: planned 3 files (1544 bytes) and restored to 3 in 13ms
2026/11/21 18:57:59 console: db read dbr_mbutmnlmeq4edpua3gfxlh52va: relayed 0 chunks (0 bytes) in 19ms, ended client gone
    agent.go:136: dbreads: dbr_mbutmnlmeq4edpua3gfxlh52va: output 5 bytes in 1 confirmed chunks in 104ms
=== RUN   TestDBForwardMinio/by_timeout
=== NAME  TestDBForwardMinio
    agent.go:136: dbreads: dbr_ea7exqg5olyz3s4kmqtr4qydnq: planned 3 files (1544 bytes) and restored to 3 in 13ms
2026/11/21 18:58:19 console: db read dbr_ea7exqg5olyz3s4kmqtr4qydnq: relayed 0 chunks (0 bytes) in 19.495s, ended no-result
    agent.go:136: dbreads: dbr_ea7exqg5olyz3s4kmqtr4qydnq: output 5 bytes in 1 confirmed chunks in 19.466s
    agent.go:136: dbreads: list the uk queue: operation error S3: ListObjectsV2, https response error StatusCode: 0, RequestID: , HostID: , canceled, context canceled
--- PASS: TestDBForwardMinio (23.16s)
    --- PASS: TestDBForwardMinio/by_disconnect (0.23s)
    --- PASS: TestDBForwardMinio/by_timeout (19.61s)
PASS
ok  	github.com/carlosframework/platform/internal/console	23.203s
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.56s)
PASS
ok  	github.com/carlosframework/platform/internal/medialocal	0.565s
=== RUN   TestHeldHandoverTwoBoxMinio
2026/11/21 18:58:24 edge: mesh key: minted
2026/11/21 18:58:24 provision: minted sidecar route bot0.shop.bac.sidecar.internal (app "shop" acct "bac" args ["work"])
2026/11/21 18:58:24 provision: minted sidecar route bot0.shop.bac.sidecar.internal (app "shop" acct "bac" args ["work"])
2026/11/21 18:58:24 tenant admission is open. accepting tenant work
2026/11/21 18:58:24 activator: HA placement host=shop-371f7a00.example.test kind=Place ref=annie reason=roomiest generation=2026-11-21T18:58:24Z lock_generation=0
2026/11/21 18:58:24 lease: t8-371f7a00/shop-371f7a00.example.test: HA lease acquired in 4ms (first wake)
2026/11/21 18:58:24 activator: shop-371f7a00.example.test: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/21 18:58:24 activator: shop-371f7a00.example.test: started carlos-instance@shop\x2d371f7a00.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/21 18:58:24 activator: shop-371f7a00.example.test: carlos-instance@shop\x2d371f7a00.example.test.service launched in 7ms, healthy 0s later
2026/11/21 18:58:24 activator: shop-371f7a00.example.test: woke in 21ms: checks 0s, lease 5ms, restore 0s, identity 0s, protect 0s, spawn 8ms, replicate 8ms
2026/11/21 18:58:24 lease: t8-371f7a00/plain-371f7a00.example.test: acquired in 2ms (client 0s, lock read and write 2ms)
2026/11/21 18:58:24 activator: no replica for plain-371f7a00.example.test in s3://contract-bucket/t8-371f7a00/plain-371f7a00.example.test — booting fresh
2026/11/21 18:58:24 activator: plain-371f7a00.example.test: started carlos-instance@plain\x2d371f7a00.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/21 18:58:24 activator: plain-371f7a00.example.test: carlos-instance@plain\x2d371f7a00.example.test.service launched in 7ms, healthy 0s later
2026/11/21 18:58:24 activator: plain-371f7a00.example.test: woke in 91ms: checks 0s, lease 2ms, restore 19ms, identity 0s, protect 0s, spawn 7ms, replicate 63ms
2026/11/21 18:58:24 lease: t8-371f7a00/bot0.shop.bac.sidecar.internal: HA lease acquired in 4ms (first wake)
2026/11/21 18:58:24 activator: bot0.shop.bac.sidecar.internal: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/21 18:58:24 activator: bot0.shop.bac.sidecar.internal: woke in 70ms: checks 0s, lease 5ms, restore 0s, identity 0s, protect 0s, spawn 7ms, settle 0s, replicate 57ms
2026/11/21 18:58:24 activator: next-due probe plain-371f7a00.example.test: decode /api/next-due: invalid character 'a' looking for beginning of value — recording none (it sleeps until a request)
2026/11/21 18:58:24 activator: plain-371f7a00.example.test hibernated
2026/11/21 18:58:24 activator: bot0.shop.bac.sidecar.internal: released with a marker (clean true, txid 1, files 3:3c9d6ae5d4705fb25a622684a1495918c15499a9a72eb7f9cad5e9a8d0a34d3c) in 8ms: files 1ms, sync 4ms, record 1ms, marker 2ms
2026/11/21 18:58:24 activator: bot0.shop.bac.sidecar.internal hibernated
2026/11/21 18:58:24 activator: next-due probe shop-371f7a00.example.test: decode /api/next-due: invalid character 'a' looking for beginning of value — recording none (it sleeps until a request)
2026/11/21 18:58:24 activator: shop-371f7a00.example.test: released with a marker (clean true, txid 1, files 3:2a11a72fc702b68e8e6c5e90304e670156631f041f2450798b63f100edadcb70) in 6ms: files 1ms, sync 2ms, record 1ms, marker 2ms
2026/11/21 18:58:24 activator: shop-371f7a00.example.test hibernated
2026/11/21 18:58:24 lease: t8-371f7a00/shop-371f7a00.example.test: HA lease acquired in 3ms (clean marker)
2026/11/21 18:58:24 activator: shop-371f7a00.example.test: restored (other-box)
2026/11/21 18:58:24 activator: shop-371f7a00.example.test: started carlos-instance@shop\x2d371f7a00.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) 1ms, launch file 0s, gate 0s, root start 1ms)
2026/11/21 18:58:24 activator: shop-371f7a00.example.test: carlos-instance@shop\x2d371f7a00.example.test.service launched in 2ms, healthy 0s later
2026/11/21 18:58:24 activator: shop-371f7a00.example.test: woke in 86ms: checks 0s, lease 4ms, restore 25ms, identity 0s, protect 0s, spawn 2ms, replicate 56ms
2026/11/21 18:58:24 edge: ha-take shop-371f7a00.example.test from annie (txn t8-witness, marker generation 1): holder betty, generation 2
2026/11/21 18:58:24 edge: forward shop-371f7a00.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:4517bf10ad16289bc95270fd9e32abb3 Step:move Result:ok Reasons:[] Fence:t8-witness StartedAt:2026-11-21 18:58:24.504748147 +0000 UTC FinishedAt:2026-11-21 18:58:24.702311183 +0000 UTC Acked:[betty carol] Departed:[] Moved:[{Host:shop-371f7a00.example.test Holder:betty Gen:2 Confirmed:take}] Released:[{Host:plain-371f7a00.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:150 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-371f7a00.example.test <nil> stop plain-371f7a00.example.test marker=true clean=true <nil> stop bot0.shop.bac.sidecar.internal marker=true clean=true <nil> releasing shop-371f7a00.example.test <nil> stop shop-371f7a00.example.test marker=true clean=true <nil> taken shop-371f7a00.example.test betty <nil> end-moves]
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: DELETE /contract-bucket/t8-371f7a00/plain-371f7a00.example.test/lock.json
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-371f7a00/bot0.shop.bac.sidecar.internal/0009/0000000000000001-0000000000000001.ltx
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-371f7a00/bot0.shop.bac.sidecar.internal/lock.json
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-371f7a00/shop-371f7a00.example.test/0009/0000000000000001-0000000000000001.ltx
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-371f7a00/shop-371f7a00.example.test/lock.json
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-371f7a00/shop-371f7a00.example.test/lock.json
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-371f7a00/shop-371f7a00.example.test/lock.json
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-371f7a00/shop-371f7a00.example.test/head.json
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-371f7a00/shop-371f7a00.example.test/generations/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-371f7a00/shop-371f7a00.example.test/0009/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-371f7a00/shop-371f7a00.example.test/0008/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-371f7a00/shop-371f7a00.example.test/0007/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-371f7a00/shop-371f7a00.example.test/0006/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-371f7a00/shop-371f7a00.example.test/0005/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-371f7a00/shop-371f7a00.example.test/0004/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-371f7a00/shop-371f7a00.example.test/0003/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-371f7a00/shop-371f7a00.example.test/0002/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-371f7a00/shop-371f7a00.example.test/0001/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-371f7a00/shop-371f7a00.example.test/0000/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-371f7a00/shop-371f7a00.example.test/0009/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-371f7a00/shop-371f7a00.example.test/0008/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-371f7a00/shop-371f7a00.example.test/0007/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-371f7a00/shop-371f7a00.example.test/0006/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-371f7a00/shop-371f7a00.example.test/0005/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-371f7a00/shop-371f7a00.example.test/0004/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-371f7a00/shop-371f7a00.example.test/0003/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-371f7a00/shop-371f7a00.example.test/0002/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-371f7a00/shop-371f7a00.example.test/0001/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-371f7a00/shop-371f7a00.example.test/0000/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-371f7a00/shop-371f7a00.example.test/0009/0000000000000001-0000000000000001.ltx
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-371f7a00/shop-371f7a00.example.test/files/0/manifest.json
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-371f7a00/shop-371f7a00.example.test/files/0/objects/0000000000000001-d2812ddf10c0ade36b69ad725bbe1d48b398655884f2f29a5c04efd514f9becc
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-371f7a00/shop-371f7a00.example.test/files/0/objects/0000000000000003-06e546c2597e399aaecef49b24d84ceab03ca591e41a4daea8b3c1c7a527fd3e
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-371f7a00/shop-371f7a00.example.test/0000/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-371f7a00/shop-371f7a00.example.test/0000/0000000000000001-0000000000000001.ltx
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-371f7a00/shop-371f7a00.example.test/0000/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-371f7a00/shop-371f7a00.example.test/0009/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-371f7a00/shop-371f7a00.example.test/0009/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: PUT /contract-bucket/t8-371f7a00/shop-371f7a00.example.test/0000/0000000000000002-0000000000000002.ltx
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-371f7a00/shop-371f7a00.example.test/0001/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-371f7a00/shop-371f7a00.example.test/0002/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: LIST /contract-bucket?t8-371f7a00/shop-371f7a00.example.test/0003/
    hadrain_twobox_minio_linux_test.go:1241: S3 during the drain: GET /contract-bucket/t8-371f7a00/shop-371f7a00.example.test/lock.json
    hadrain_twobox_minio_linux_test.go:1243: drain took 246ms; S3 calls 43 (DELETE lock=1 GET files=3 GET head=1 GET lock=2 GET replica=2 LIST replica=28 PUT lock=3 PUT replica=3); deployment store calls 20 (GET edges=14 LIST edges=4 PUT edges=2)
    hadrain_twobox_minio_linux_test.go:1367: the fenced A's start gate answers 503 "This service is unavailable. Try again later.\n" (Retry-After "10")
2026/11/21 18:58:24 lease: t8-371f7a00/plain-371f7a00.example.test: acquired in 2ms (client 0s, lock read and write 1ms)
2026/11/21 18:58:24 activator: plain-371f7a00.example.test: started carlos-instance@plain\x2d371f7a00.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/21 18:58:24 activator: plain-371f7a00.example.test: carlos-instance@plain\x2d371f7a00.example.test.service launched in 1ms, healthy 0s later
2026/11/21 18:58:24 lease: /tmp/carlos-minio-contract-XS79hM/g/dw2171076688/data/instances/plain-371f7a00.example.test/plain-371f7a00.example.test.db: continuity with the last clean close not proven; snapshot 1-0000000000000001 written before serving
2026/11/21 18:58:24 activator: plain-371f7a00.example.test: woke in 10ms: checks 0s, lease 2ms, restore 0s, identity 0s, protect 1ms, spawn 2ms, replicate 6ms
2026/11/21 18:58:24 activator: next-due probe shop-371f7a00.example.test: decode /api/next-due: invalid character 'b' looking for beginning of value — recording none (it sleeps until a request)
2026/11/21 18:58:24 activator: shop-371f7a00.example.test: released with a marker (clean true, txid 2, files 3:2a11a72fc702b68e8e6c5e90304e670156631f041f2450798b63f100edadcb70) in 4ms: files 1ms, sync 0s, record 1ms, marker 2ms
2026/11/21 18:58:24 activator: shop-371f7a00.example.test hibernated
2026/11/21 18:58:24 tenant admission is closed for shutdown
2026/11/21 18:58:24 activator: next-due probe plain-371f7a00.example.test: decode /api/next-due: invalid character 'a' looking for beginning of value — recording none (it sleeps until a request)
2026/11/21 18:58:24 activator: plain-371f7a00.example.test hibernated
--- PASS: TestHeldHandoverTwoBoxMinio (0.67s)
=== RUN   TestHeldHandoverLostLeaseMinio
2026/11/21 18:58:24 edge: mesh key: minted
2026/11/21 18:58:24 provision: minted sidecar route bot0.shop.bac.sidecar.internal (app "shop" acct "bac" args ["work"])
2026/11/21 18:58:24 provision: minted sidecar route bot0.shop.bac.sidecar.internal (app "shop" acct "bac" args ["work"])
2026/11/21 18:58:24 tenant admission is open. accepting tenant work
2026/11/21 18:58:24 activator: HA placement host=shop-5a24da37.example.test kind=Place ref=annie reason=roomiest generation=2026-11-21T18:58:24Z lock_generation=0
2026/11/21 18:58:24 lease: t8-5a24da37/shop-5a24da37.example.test: HA lease acquired in 3ms (first wake)
2026/11/21 18:58:24 activator: shop-5a24da37.example.test: restored (no-marker): first wake, the prefix proven empty, booting fresh
2026/11/21 18:58:24 activator: shop-5a24da37.example.test: started carlos-instance@shop\x2d5a24da37.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/21 18:58:24 activator: shop-5a24da37.example.test: carlos-instance@shop\x2d5a24da37.example.test.service launched in 7ms, healthy 0s later
2026/11/21 18:58:24 activator: shop-5a24da37.example.test: woke in 18ms: checks 0s, lease 4ms, restore 0s, identity 0s, protect 0s, spawn 7ms, replicate 6ms
2026/11/21 18:58:24 activator: next-due probe shop-5a24da37.example.test: decode /api/next-due: invalid character 'a' looking for beginning of value — recording none (it sleeps until a request)
2026/11/21 18:58:25 activator: final checkpoint shop-5a24da37.example.test: lease: release marker owed for s3://contract-bucket/t8-5a24da37/shop-5a24da37.example.test/lock.json (If-Match "f9c9061038e4ff18c371f8e1570cae47"): lease: write release marker: operation error S3: PutObject, https response error StatusCode: 503, RequestID: , HostID: , api error ServiceUnavailable: witness: refused
2026/11/21 18:58:25 activator: shop-5a24da37.example.test hibernated
2026/11/21 18:58:25 activator: handover of shop-5a24da37.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-5a24da37.example.test client 4 "
    hadrain_twobox_minio_linux_test.go:1486: driver calls: [begin shop-5a24da37.example.test <nil> releasing shop-5a24da37.example.test <nil> stop shop-5a24da37.example.test marker=false clean=false <nil> left shop-5a24da37.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/21 18:58:25 tenant admission is closed for shutdown
2026/11/21 18:58:25 http: proxy error: context canceled
--- PASS: TestHeldHandoverLostLeaseMinio (0.27s)
PASS
ok  	github.com/carlosframework/platform/internal/host	0.986s
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/21 18:58:26 lease: instances/gen-1795287506256870743.shop.example.com: HA lease acquired in 5ms (first wake)
2026/11/21 18:58:26 lease: instances/gen-1795287506256870743.shop.example.com: HA lease acquired in 3ms (holder terminated)
    gentake_minio_test.go:308: a second create-only copy onto instances/gen-1795287506256870743.shop.example.com/g-00000000000000000002/0000/0000000000000001-0000000000000001.ltx: <nil> (destination condition honoured: false)
2026/11/21 18:58:26 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/21 18:58:26 http: proxy error: context canceled
2026/11/21 18:58:26 ERROR retention enforcement failed system=store db=w.example.com.db error="enforce snapshot retention: remove ltx files: lease: a write has waited too long to reach storage (write fence)"
=== RUN   TestGenerationTakeMinio/switch-412
2026/11/21 18:58:26 lease: instances/gen-1795287506426313159.shop.example.com: HA lease acquired in 4ms (first wake)
2026/11/21 18:58:26 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/21 18:58:26 lease: instances/gen-1795287506426313159.shop.example.com: HA lease acquired in 3ms (clean marker)
=== RUN   TestGenerationTakeMinio/copy-version
=== RUN   TestGenerationTakeMinio/store-time
2026/11/21 18:58:26 lease: instances/gen-1795287506477269695.shop.example.com: HA lease acquired in 3ms (first wake)
2026/11/21 18:58:26 ERROR retention enforcement failed system=store db=seed.db error="enforce snapshot retention: remove ltx files: lease: invalid or changed generation binding"
2026/11/21 18:58:26 lease: instances/gen-1795287506477269695.shop.example.com: HA lease acquired in 2ms (clean marker)
2026/11/21 18:58:26 lease: instances/gen-1795287506477269695.shop.example.com: HA lease acquired in 2ms (unclean marker)
2026/11/21 18:58:26 lease: instances/gen-1795287506477269695.shop.example.com: HA lease acquired in 2ms (unclean marker)
2026/11/21 18:58:26 lease: instances/gen-1795287506477269695.shop.example.com: HA lease acquired in 2ms (unclean marker)
2026/11/21 18:58:26 lease: instances/gen-1795287506477269695.shop.example.com: HA lease acquired in 3ms (unclean marker)
=== RUN   TestGenerationTakeMinio/skew
--- PASS: TestGenerationTakeMinio (0.33s)
    --- PASS: TestGenerationTakeMinio/take (0.17s)
    --- PASS: TestGenerationTakeMinio/switch-412 (0.04s)
    --- PASS: TestGenerationTakeMinio/copy-version (0.01s)
    --- PASS: TestGenerationTakeMinio/store-time (0.10s)
    --- PASS: TestGenerationTakeMinio/skew (0.01s)
PASS
ok  	github.com/carlosframework/platform/internal/lease	0.345s
minio contract: PASS
=== staticcheck ===
go version go1.26.10 linux/arm64
go: downloading honnef.co/go/tools v0.8.2
go: downloading github.com/BurntSushi/toml v1.4.1-0.20240526193622-a339e1f7089c
go: downloading golang.org/x/exp/typeparams v0.0.0-20231108232855-2478ac86f678
go: downloading golang.org/x/sync v0.23.0
go: downloading golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa
staticcheck: clean
=== govulncheck ===
go version go1.26.10 linux/arm64
go: downloading golang.org/x/vuln v1.8.0
go: downloading golang.org/x/telemetry v0.0.0-20260908163034-4bcc4b2ee518
go: downloading golang.org/x/tools v0.50.0
govulncheck: scanned github.com/carlosframework/platform, amadan.net/carlos/platform.git/launchctx
GO-2026-6859  called  stdlib@v1.26.10, fixed in v1.26.11
    HTTP/1 server crash due to MaxBytesReader header race in net/http
    excepted until 2027-01-31 (.amadan/govulncheck-exceptions.tsv:9): net/http MaxBytesReader header race, fixed in go1.26.11. CI and releases stay on go1.26.10 because 1.26.11 deadlocks the edge's Expect: 100-continue path (#897, .amadan/go-toolchain.sh); #904 checked every production MaxBytesReader site and found it unreachable.
GO-2026-5932  required  golang.org/x/crypto@v0.58.0, fixed in v0.58.1-0.20261009181718-2f1f834330b2
    The golang.org/x/crypto/openpgp package is unmaintained, unsafe by design, and has known security issues
    not fatal: no call path to the vulnerable code
govulncheck: clean (2 finding(s), none called outside .amadan/govulncheck-exceptions.tsv)
=== code-health ===
go version go1.26.10 linux/arm64
    codehealth_test.go:42: scanned in 1m46.398s
    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   946  internal/edge (*Edge).ServeHTTP
          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   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   552  internal/domains ReconcileAliasesReport
          func-lines   364   371  internal/host testRootMigrationBootstrap
          func-lines   361   362  internal/registry (*Registry).dispatchRemote
          func-lines   360   362  internal/edge TestDemoAPIAliasBoundary
          func-lines   358   362  internal/registry (*Registry).haJournal
          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/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        886 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         18983 at   46 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     65 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.40s)
PASS
ok  	github.com/carlosframework/platform/internal/codehealth	107.343s
=== code-health-record ===
go version go1.26.10 linux/arm64
code-health record: HEAD is on main; comparing with its parent 1b83d68700a2c4357e20722ffbeba9c29df26011
=== RUN   TestRecordAgainstBase
--- PASS: TestRecordAgainstBase (0.01s)
PASS
ok  	github.com/carlosframework/platform/internal/codehealth	0.008s
code-health record: no line went up without a reason
=== race ===
go version go1.26.10 linux/arm64
GATE_RACE=1 .amadan/test-gate.sh
=== internal_systemd@0 (13 s, from +14 s)
ok  	github.com/carlosframework/platform/internal/systemd	12.860s
=== internal_rootaws@0 (26 s, from +34 s)
ok  	github.com/carlosframework/platform/internal/rootaws	24.719s
=== internal_activator@0 (281 s, from +110 s)
ok  	github.com/carlosframework/platform/internal/activator	279.268s
=== internal_activator@1 (245 s, from +110 s)
ok  	github.com/carlosframework/platform/internal/activator	242.442s
=== internal_activator@2 (295 s, from +110 s)
ok  	github.com/carlosframework/platform/internal/activator	292.491s
=== internal_activator@3 (366 s, from +110 s)
ok  	github.com/carlosframework/platform/internal/activator	364.006s
=== internal_activator@4 (277 s, from +110 s)
ok  	github.com/carlosframework/platform/internal/activator	274.582s
=== internal_activator@5 (281 s, from +110 s)
ok  	github.com/carlosframework/platform/internal/activator	278.634s
=== internal_activator@6 (304 s, from +110 s)
ok  	github.com/carlosframework/platform/internal/activator	302.025s
=== internal_activator@7 (413 s, from +110 s)
ok  	github.com/carlosframework/platform/internal/activator	411.149s
=== internal_edge@0 (85 s, from +130 s)
ok  	github.com/carlosframework/platform/internal/edge	80.948s
=== internal_edge@1 (65 s, from +130 s)
ok  	github.com/carlosframework/platform/internal/edge	61.119s
=== internal_edge@2 (176 s, from +130 s)
ok  	github.com/carlosframework/platform/internal/edge	172.580s
=== internal_edge@3 (127 s, from +130 s)
ok  	github.com/carlosframework/platform/internal/edge	123.018s
=== internal_edge@4 (195 s, from +130 s)
ok  	github.com/carlosframework/platform/internal/edge	191.910s
=== internal_edge@5 (213 s, from +130 s)
ok  	github.com/carlosframework/platform/internal/edge	209.697s
=== internal_edge@6 (184 s, from +130 s)
ok  	github.com/carlosframework/platform/internal/edge	180.797s
=== internal_edge@7 (194 s, from +130 s)
ok  	github.com/carlosframework/platform/internal/edge	190.831s
=== internal_edge@8 (189 s, from +130 s)
ok  	github.com/carlosframework/platform/internal/edge	185.071s
=== internal_edge@9 (243 s, from +130 s)
ok  	github.com/carlosframework/platform/internal/edge	239.332s
=== internal_edge@10 (205 s, from +130 s)
ok  	github.com/carlosframework/platform/internal/edge	201.040s
=== internal_edge@11 (218 s, from +130 s)
ok  	github.com/carlosframework/platform/internal/edge	213.981s
=== internal_edge@12 (222 s, from +130 s)
ok  	github.com/carlosframework/platform/internal/edge	218.115s
=== internal_edge@13 (235 s, from +130 s)
ok  	github.com/carlosframework/platform/internal/edge	231.094s
=== internal_edge@14 (163 s, from +131 s)
ok  	github.com/carlosframework/platform/internal/edge	160.368s
=== internal_edge@15 (219 s, from +131 s)
ok  	github.com/carlosframework/platform/internal/edge	216.590s
=== internal_host@0 (14 s, from +191 s)
ok  	github.com/carlosframework/platform/internal/host	10.630s
=== internal_host@1 (9 s, from +191 s)
ok  	github.com/carlosframework/platform/internal/host	5.463s
=== lists: internal_edge 130 s, internal_activator 110 s, internal_host 190 s, internal_rootaws 34 s, internal_systemd 14 s
=== cpu: the gate used 7105 cpu-seconds in 523 s, about 13.6 of 32 cores; the machine as a whole was 42% busy
=== gitleaks ===
go version go1.26.10 linux/arm64
go: downloading github.com/zricethezav/gitleaks/v8 v8.30.1
go: downloading github.com/rs/zerolog v1.33.0
go: downloading github.com/spf13/cobra v1.9.1
go: downloading github.com/fatih/semgroup v1.2.0
go: downloading github.com/spf13/viper v1.19.0
go: downloading github.com/mholt/archives v0.1.2
go: downloading github.com/h2non/filetype v1.1.3
go: downloading golang.org/x/exp v0.0.0-20250218142911-aa4b98e5adaa
go: downloading github.com/gitleaks/go-gitdiff v0.9.1
go: downloading github.com/BobuSumisu/aho-corasick v1.0.3
go: downloading github.com/charmbracelet/lipgloss v0.5.0
go: downloading github.com/Masterminds/sprig/v3 v3.3.0
go: downloading github.com/hashicorp/go-version v1.7.0
go: downloading github.com/huandu/xstrings v1.5.0
go: downloading github.com/mitchellh/copystructure v1.2.0
go: downloading github.com/Masterminds/goutils v1.1.1
go: downloading golang.org/x/crypto v0.35.0
go: downloading github.com/Masterminds/semver/v3 v3.3.0
go: downloading github.com/spf13/cast v1.7.1
go: downloading github.com/shopspring/decimal v1.4.0
go: downloading dario.cat/mergo v1.0.1
go: downloading github.com/mitchellh/reflectwalk v1.0.2
go: downloading golang.org/x/sync v0.11.0
go: downloading github.com/mattn/go-colorable v0.1.14
go: downloading github.com/mattn/go-runewidth v0.0.14
go: downloading github.com/muesli/reflow v0.2.1-0.20210115123740-9e1d0d53df68
go: downloading github.com/lucasb-eyer/go-colorful v1.2.0
go: downloading github.com/muesli/termenv v0.15.1
go: downloading github.com/pierrec/lz4/v4 v4.1.21
go: downloading github.com/klauspost/compress v1.17.11
go: downloading github.com/minio/minlz v1.0.0
go: downloading github.com/andybalholm/brotli v1.1.2-0.20250424173009-453214e765f3
go: downloading github.com/nwaples/rardecode/v2 v2.1.0
go: downloading github.com/klauspost/pgzip v1.2.6
go: downloading github.com/STARRY-S/zip v0.2.1
go: downloading github.com/bodgit/sevenzip v1.6.0
go: downloading github.com/dsnet/compress v0.0.2-0.20230904184137-39efe44ab707
go: downloading github.com/sorairolake/lzip-go v0.3.5
go: downloading github.com/therootcompany/xz v1.0.1
go: downloading github.com/ulikunitz/xz v0.5.12
go: downloading golang.org/x/text v0.22.0
go: downloading github.com/spf13/pflag v1.0.6
go: downloading golang.org/x/sys v0.30.0
go: downloading github.com/fsnotify/fsnotify v1.8.0
go: downloading github.com/mitchellh/mapstructure v1.5.0
go: downloading github.com/sagikazarmark/slog-shim v0.1.0
go: downloading github.com/spf13/afero v1.12.0
go: downloading github.com/rivo/uniseg v0.2.0
go: downloading github.com/subosito/gotenv v1.6.0
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading gopkg.in/ini.v1 v1.67.0
go: downloading github.com/magiconair/properties v1.8.9
go: downloading github.com/pelletier/go-toml/v2 v2.2.3
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading github.com/aymanbagabas/go-osc52/v2 v2.0.1
go: downloading github.com/bodgit/plumbing v1.3.0
go: downloading github.com/hashicorp/go-multierror v1.1.1
go: downloading go4.org v0.0.0-20230225012048-214862532bf5
go: downloading github.com/hashicorp/golang-lru/v2 v2.0.7
go: downloading github.com/bodgit/windows v1.0.1
go: downloading github.com/hashicorp/errwrap v1.1.0
self-test: reported source file: a key
self-test: reported source file: a 64-hex key
self-test: reported source file: a census-shaped entry
self-test: reported source file: a key marked gitleaks:allow
self-test: reported source file: a test's fake value outside tests
self-test: reported allowed file: another key beside its allowed value
self-test: reported a tracked file named gitleaks-gate-sentinel.env
self-test: reported 94 near misses of the names notscanned.go lists
self-test: skipped  the 31 files notscanned.go lists
self-test: refused  a notscanned.go entry git does not track
self-test: refused  a config that does not parse
self-test: refused  a config that does not exist
self-test: refused  a missing gitleaks binary
self-test: 6 planted keys reported, 126 tracked files judged, 3 broken setups refused
gitleaks: scanned 11125 tracked files; 31 not scanned, by exact path (scripts/gitleaks-gate/notscanned.go)
gitleaks: clean

landed from media-spike-fixes

diff --git a/cmd/mediaimage/mediaimage_test.go b/cmd/mediaimage/mediaimage_test.go
index 7bed360d2..ea7178168 100644
--- a/cmd/mediaimage/mediaimage_test.go
+++ b/cmd/mediaimage/mediaimage_test.go
@@ -677,7 +677,15 @@ type fakeRegistry struct {
failDigest bool // a manifest read by digest answers 500
redirect string // every POST, PATCH and PUT is sent here instead
location func(stage string) string // replaces an upload's Location
- srv *httptest.Server
+ // ecr answers a blob PATCH the way Amazon ECR does: 201 Created with a
+ // Location and a Range, where the OCI spec says 202 (media spike,
+ // 2026-11-20).
+ ecr bool
+ // status replaces the success code of a stage: "start" (POST), "data"
+ // (PATCH), "finish" (blob PUT) or "manifest" (manifest PUT). The stage
+ // still does its work, so only the client's reading of it is tested.
+ status map[string]int
+ srv *httptest.Server
}
func newFakeRegistry(t *testing.T) *fakeRegistry {
@@ -711,19 +719,30 @@ func (r *fakeRegistry) ServeHTTP(w http.ResponseWriter, req *http.Request) {
w.Header().Set("Location", r.location(stage))
}
}
+ answer := func(stage string, normal int) {
+ if code, ok := r.status[stage]; ok {
+ normal = code
+ }
+ w.WriteHeader(normal)
+ }
path := strings.TrimPrefix(req.URL.Path, "/v2/engine/")
switch {
case strings.HasPrefix(path, "blobs/uploads/") && req.Method == http.MethodPost:
id := strconv.Itoa(len(r.uploads) + 1)
r.uploads[id] = nil
locate("start", "/v2/engine/blobs/uploads/"+id+"?state=s")
- w.WriteHeader(http.StatusAccepted)
+ answer("start", http.StatusAccepted)
case strings.HasPrefix(path, "blobs/uploads/") && req.Method == http.MethodPatch:
id := strings.TrimPrefix(path, "blobs/uploads/")
body, _ := io.ReadAll(req.Body)
r.uploads[id] = append(r.uploads[id], body...)
locate("data", "/v2/engine/blobs/uploads/"+id+"?state=t")
- w.WriteHeader(http.StatusAccepted)
+ if r.ecr {
+ w.Header().Set("Range", fmt.Sprintf("0-%d", len(r.uploads[id])-1))
+ answer("data", http.StatusCreated)
+ return
+ }
+ answer("data", http.StatusAccepted)
case strings.HasPrefix(path, "blobs/uploads/") && req.Method == http.MethodPut:
id := strings.TrimPrefix(path, "blobs/uploads/")
digest := req.URL.Query().Get("digest")
@@ -732,7 +751,7 @@ func (r *fakeRegistry) ServeHTTP(w http.ResponseWriter, req *http.Request) {
return
}
r.blobs[digest] = r.uploads[id]
- w.WriteHeader(http.StatusCreated)
+ answer("finish", http.StatusCreated)
case strings.HasPrefix(path, "blobs/"):
data, ok := r.blobs[strings.TrimPrefix(path, "blobs/")]
if !ok {
@@ -750,7 +769,7 @@ func (r *fakeRegistry) ServeHTTP(w http.ResponseWriter, req *http.Request) {
r.manifests[ref] = body
r.manifests["sha256:"+digestOf(body)] = body
w.Header().Set("Docker-Content-Digest", "sha256:"+digestOf(body))
- w.WriteHeader(http.StatusCreated)
+ answer("manifest", http.StatusCreated)
case strings.HasPrefix(path, "manifests/sha256:") && r.failDigest:
w.WriteHeader(http.StatusInternalServerError)
case strings.HasPrefix(path, "manifests/"):
@@ -1927,6 +1946,71 @@ func TestPushUnderTheReleaseTag(t *testing.T) {
}
}
+// TestPushToECR: Amazon ECR answers a blob PATCH with 201 Created, a
+// Location and a Range, where the OCI spec says 202. The media spike's
+// first push failed on it ("upload: HTTP 201").
+func TestPushToECR(t *testing.T) {
+ f := newFixture(t)
+ info := f.build(t)
+ reg := newFakeRegistry(t)
+ reg.password = "s3cret"
+ reg.ecr = true
+
+ digest, err := pushImage(t.Context(), pushOptionsFor(reg, f.out, "v0.40.0"))
+ if err != nil {
+ t.Fatalf("push to an ECR-shaped registry: %v", err)
+ }
+ if digest != info.Digest {
+ t.Fatalf("push printed %s, the build made %s", digest, info.Digest)
+ }
+ m, _ := readLayout(t, f.out)
+ for _, d := range append([]ociDescriptor{m.Config}, m.Layers...) {
+ want, err := os.ReadFile(blobPath(f.out, d.Digest))
+ if err != nil {
+ t.Fatal(err)
+ }
+ if !bytes.Equal(reg.blobs[d.Digest], want) {
+ t.Fatalf("blob %s did not arrive intact", d.Digest)
+ }
+ }
+ if !slices.Equal(reg.puts, []string{"v0.40.0"}) {
+ t.Fatalf("manifest pushed as %v, want only the release tag", reg.puts)
+ }
+}
+
+// TestPushRefusesAnswersTheSpecDoesNotGive: each step accepts the OCI
+// distribution spec's status for it (and ECR's 201 on PATCH) and nothing
+// else. A success code from the wrong step is still a failure.
+func TestPushRefusesAnswersTheSpecDoesNotGive(t *testing.T) {
+ f := newFixture(t)
+ f.build(t)
+ for _, c := range []struct {
+ stage string
+ code int
+ }{
+ {"start", http.StatusOK},
+ {"start", http.StatusCreated},
+ {"start", http.StatusNoContent},
+ {"data", http.StatusOK},
+ {"data", http.StatusNoContent},
+ {"finish", http.StatusOK},
+ {"finish", http.StatusAccepted},
+ {"finish", http.StatusNoContent},
+ {"manifest", http.StatusOK},
+ {"manifest", http.StatusAccepted},
+ } {
+ t.Run(fmt.Sprintf("%s %d", c.stage, c.code), func(t *testing.T) {
+ reg := newFakeRegistry(t)
+ reg.status = map[string]int{c.stage: c.code}
+ _, err := pushImage(t.Context(), pushOptionsFor(reg, f.out, "v0.40.0"))
+ var status *statusError
+ if !errors.As(err, &status) || status.Code != c.code {
+ t.Fatalf("push = %v, want HTTP %d refused", err, c.code)
+ }
+ })
+ }
+}
+
func TestPushRefusesAReusedTag(t *testing.T) {
f := newFixture(t)
f.build(t)
diff --git a/cmd/mediaimage/push.go b/cmd/mediaimage/push.go
index bfce0cc49..876d16229 100644
--- a/cmd/mediaimage/push.go
+++ b/cmd/mediaimage/push.go
@@ -15,6 +15,7 @@ import (
"os"
"path/filepath"
"regexp"
+ "slices"
"strings"
)
@@ -174,7 +175,26 @@ func send(ctx context.Context, reg *registry, method, target, contentType string
return read(resp)
}
+// Every status this file accepts is the one the OCI Distribution
+// Specification v1.1.0 (spec.md, "Endpoints" table, end-2 to end-7) gives
+// for that step, and nothing wider:
+//
+// - end-3, GET a manifest ("Pulling manifests"): 200, or 404 when absent;
+// - end-2, HEAD a blob ("Checking if content exists in the registry"):
+// 200, or 404 when absent;
+// - end-4a, POST to open an upload ("Pushing a blob monolithically", "POST
+// then PUT"): 202 with a Location;
+// - end-5, PATCH the bytes ("Pushing a blob in chunks"): 202 with a
+// Location, and 201 as well, because Amazon ECR answers 201 there (see
+// uploadBlob);
+// - end-6, PUT to close the upload with the digest: 201;
+// - end-7, PUT a manifest ("Pushing Manifests"): 201.
+//
+// Any other answer is an error, so a registry that did something else is
+// never taken for one that stored the image.
+
// fetchManifest returns the manifest a reference names, nil when absent.
+// OCI distribution spec v1.1.0, end-3 ("Pulling manifests"): 200 or 404.
func fetchManifest(ctx context.Context, reg *registry, ref string) ([]byte, error) {
var data []byte
err := send(ctx, reg, http.MethodGet, reg.url("manifests/"+ref), "", nil, 0, func(resp *http.Response) error {
@@ -191,10 +211,10 @@ func fetchManifest(ctx context.Context, reg *registry, ref string) ([]byte, erro
return data, err
}
-// expect turns any other status into an error.
-func expect(op string, want int) func(*http.Response) error {
+// expect turns any status but the ones wanted into an error.
+func expect(op string, want ...int) func(*http.Response) error {
return func(resp *http.Response) error {
- if resp.StatusCode != want {
+ if !slices.Contains(want, resp.StatusCode) {
return &statusError{Op: op, Code: resp.StatusCode}
}
return nil
@@ -202,9 +222,11 @@ func expect(op string, want int) func(*http.Response) error {
}
// uploadBlob sends one blob the registry does not hold yet: open a session,
-// send the bytes in one PATCH, close it with the digest.
+// send the bytes in one PATCH, close it with the digest. The statuses are
+// the OCI distribution spec v1.1.0's for each step (see above fetchManifest).
func uploadBlob(ctx context.Context, reg *registry, layout string, blob ociDescriptor) error {
present := false
+ // end-2, "Checking if content exists in the registry": 200 or 404.
err := send(ctx, reg, http.MethodHead, reg.url("blobs/"+blob.Digest), "", nil, 0, func(resp *http.Response) error {
switch resp.StatusCode {
case http.StatusOK:
@@ -234,11 +256,14 @@ func uploadBlob(ctx context.Context, reg *registry, layout string, blob ociDescr
}
return loc.String(), nil
}
+ // end-4a, "POST then PUT": opening a session MUST answer 202 Accepted
+ // with a Location. 201 is only for a POST that carries the digest
+ // (end-4b) or a mount (end-11), and this POST is neither.
start := reg.url("blobs/uploads/")
location := ""
err = send(ctx, reg, http.MethodPost, start, "", nil, 0, func(resp *http.Response) error {
- if resp.StatusCode != http.StatusAccepted {
- return &statusError{Op: "start upload", Code: resp.StatusCode}
+ if err := expect("start upload", http.StatusAccepted)(resp); err != nil {
+ return err
}
var err error
location, err = next(start, resp)
@@ -253,10 +278,16 @@ func uploadBlob(ctx context.Context, reg *registry, layout string, blob ociDescr
return err
}
defer f.Close()
+ // end-5, "Pushing a blob in chunks": the spec says a PATCH MUST answer
+ // 202 Accepted with a Location. Amazon ECR answers 201 Created, with a
+ // Location and a Range (the media spike reproduced it with curl on
+ // 2026-11-20), and a push that refused it could never reach ECR. Other
+ // registry clients accept 201 here for the same reason. Either answer
+ // leaves the session open, so both go on to the closing PUT.
current := location
err = send(ctx, reg, http.MethodPatch, current, "application/octet-stream", f, blob.Size, func(resp *http.Response) error {
- if resp.StatusCode != http.StatusAccepted {
- return &statusError{Op: "upload", Code: resp.StatusCode}
+ if err := expect("upload", http.StatusAccepted, http.StatusCreated)(resp); err != nil {
+ return err
}
var err error
location, err = next(current, resp)
@@ -273,10 +304,13 @@ func uploadBlob(ctx context.Context, reg *registry, layout string, blob ociDescr
q := final.Query()
q.Set("digest", blob.Digest)
final.RawQuery = q.Encode()
+ // end-6, "POST then PUT": closing the session with the digest MUST
+ // answer 201 Created.
return send(ctx, reg, http.MethodPut, final.String(), "application/octet-stream", nil, 0, expect("finish upload", http.StatusCreated))
}
-// putManifest writes the manifest under the tag.
+// putManifest writes the manifest under the tag. OCI distribution spec
+// v1.1.0, end-7 ("Pushing Manifests"): 201 Created.
func putManifest(ctx context.Context, reg *registry, tag string, manifest []byte) error {
return send(ctx, reg, http.MethodPut, reg.url("manifests/"+tag), mediaTypeOCIManifest, bytes.NewReader(manifest), int64(len(manifest)), expect("write manifest", http.StatusCreated))
}
diff --git a/docs/superpowers/notes/CENSUS-REVIEW-BRIEF-media-spike-fixes.md b/docs/superpowers/notes/CENSUS-REVIEW-BRIEF-media-spike-fixes.md
new file mode 100644
index 000000000..bd78acc13
--- /dev/null
+++ b/docs/superpowers/notes/CENSUS-REVIEW-BRIEF-media-spike-fixes.md
@@ -0,0 +1,13 @@
+# Census approval: branch media-spike-fixes, commit dbd31a9c7a63273103d04326b65d4d793e851732
+
+You are the independent census reviewer (Paul's standing ruling on amadan #280: the cross-model reviewer decides every census class; nothing escalates to Paul). Round 1 of 3. Read-only; do not run tests, commit, or spawn reviewers.
+
+Read the card docs/superpowers/notes/census-proposal-media-spike-fixes.md and the overlay it names (internal/provision/testdata/plan14-root-reads-media-spike-fixes.tsv, and its line at the end of internal/provision/testdata/plan14-root-reads-chain.tsv). Then read `git diff origin/main...HEAD -- infra/modules/media-engine` and as much of ecs.tf, network.tf and tests/media_engine.tftest.hcl as you need to settle each claim.
+
+Background: the media spike (dev account, 2026-11-20) found the module never settles. ECS answers every container's linuxParameters.capabilities.add and the top-level environment, mountPoints, portMappings, systemControls and volumesFrom lists as empty lists, and the AWS provider's container_definitions comparison clears empty top-level lists but not capabilities.add. DNS Firewall stores every domain with a trailing dot (terraform-provider-aws issue 23543). The module now writes both in that form.
+
+The branch's other changes (cmd/mediaimage, internal/mediaaws/module_test.go and its testdata render, internal/mediahandler tests and fixtures) are outside the census's scope; the card lists no unit for them. Say so if you find otherwise.
+
+Answer the card's review question for the three units and the two re-pinned envelopes (`infra/modules/media-engine`, `infra/modules/media-engine/tests`): does any root read now open, run, query or follow a path or input a tenant, app or box agent can create, write or name? Does the change weaken a check, refusal, validation, argument or environment the recorded basis relies on? In particular: does writing `add = []` and the empty lists grant any capability, mount, port, sysctl or volume; does `"*."` with BLOCK/NXDOMAIN still cover every name the old `"*"` did, and does the allow list admit any name it did not; did any tftest assertion get weaker than "nothing granted"? Confirm the envelope re-pins are only these files' changes.
+
+Output: per unit and envelope, APPROVE or REJECT with the evidence (file:line); then one verdict line: CENSUS APPROVED or CENSUS REJECTED.
diff --git a/docs/superpowers/notes/CENSUS-REVIEW-RESULT-media-spike-fixes.md b/docs/superpowers/notes/CENSUS-REVIEW-RESULT-media-spike-fixes.md
new file mode 100644
index 000000000..ffad9efd6
--- /dev/null
+++ b/docs/superpowers/notes/CENSUS-REVIEW-RESULT-media-spike-fixes.md
@@ -0,0 +1,15 @@
+Reviewed `dbd31a9c` against `origin/main` (`e468866a`), round 1. `cf5e84f3` adds only the brief.
+
+- **APPROVE — `ecs.tf:external`.** [ecs.tf:29](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/media-spike-fixes/infra/modules/media-engine/ecs.tf:29): `add = []` retains `drop = ["ALL"]`; the empty lists grant no capability, mount, port, sysctl or volume. The codec’s existing scratch mount and `TMPDIR` remain unchanged at lines 95–102. Non-root user, read-only root, digest pinning, entrypoint, no task role and `skip_destroy` are preserved.
+
+- **APPROVE — `network.tf:external`.** [network.tf:219](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/media-spike-fixes/infra/modules/media-engine/network.tf:219): only trailing dots change. I judge `*.` equivalent to the former `*`, and the five allow patterns unchanged in coverage, because these are DNS Firewall’s canonical stored forms. The normalization is corroborated by [https://github.com/hashicorp/terraform-provider-aws/issues/23543](https://github.com/hashicorp/terraform-provider-aws/issues/23543). Priorities, BLOCK/NXDOMAIN, redirect handling, association protection and fail-closed behavior remain unchanged at lines 239–277.
+
+- **APPROVE — `media_engine.tftest.hcl:external`.** [media_engine.tftest.hcl:194](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/media-spike-fixes/infra/modules/media-engine/tests/media_engine.tftest.hcl:194): exact capability equality still requires nothing added. Lines 222–247 require empty prohibited lists and retain the codec-only mount/environment checks. Lines 439–491 preserve exact DNS lists and enforcement settings. No assertion becomes weaker than “nothing granted.”
+
+- **APPROVE — envelope `infra/modules/media-engine`.** Only `ecs.tf` and `network.tf` changed directly within this directory. Their body hashes and the envelope fingerprint match the overlay’s [line 9](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/media-spike-fixes/internal/provision/testdata/plan14-root-reads-media-spike-fixes.tsv:9).
+
+- **APPROVE — envelope `infra/modules/media-engine/tests`.** Only `media_engine.tftest.hcl` changed. Its body hash and the envelope fingerprint match the overlay’s [line 10](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/media-spike-fixes/internal/provision/testdata/plan14-root-reads-media-spike-fixes.tsv:10).
+
+No changed unit introduces a root read of tenant-, app- or box-agent-controlled input, or weakens its recorded basis. The other changes named in the brief remain outside census scope. No files edited, tests run or reviewers spawned.
+
+CENSUS APPROVED
\ No newline at end of file
diff --git a/docs/superpowers/notes/census-claims-media-spike-fixes.tsv b/docs/superpowers/notes/census-claims-media-spike-fixes.tsv
new file mode 100644
index 000000000..82526e689
--- /dev/null
+++ b/docs/superpowers/notes/census-claims-media-spike-fixes.tsv
@@ -0,0 +1,5 @@
+# Census claims for media-spike-fixes (census-ruling-media-spike-fixes, Astra approved, #280).
+# Merge re-pin 2026-11-21: merged origin/main 1b83d687; took main's chain and re-ran census-propose. Same three units and two envelopes as approved; only the seal moved (now chained after ci-opentofu-tests).
+infra/modules/media-engine/ecs.tf:external engine_container writes the lists ECS answers empty: linuxParameters.capabilities gains add = [] (drop = ["ALL"] kept), and environment, mountPoints, portMappings, systemControls, volumesFrom = [] (codec still overrides environment with TMPDIR and mountPoints with scratch); so the plan after an apply no longer replaces the four definitions. No capability, mount, port, sysctl or volume is granted; skip_destroy, user, read-only root, entryPoint, image by digest and no task role unchanged. Tofu only, run on an operator machine; no read is added and nothing on a box reads the file.
+infra/modules/media-engine/network.tf:external DNS Firewall domain names written fully qualified (trailing dot), the form DNS Firewall stores and lists, so plans stop rewriting both lists: the allow list is the same five names (s3, *.s3, api.ecr, *.dkr.ecr, logs in the region) and the block list is "*." (was "*"), still BLOCK NXDOMAIN at priority 200, fail-closed. No name added. Tofu only, run on an operator machine; no read is added and nothing on a box reads the file.
+infra/modules/media-engine/tests/media_engine.tftest.hcl:external assertions follow the module: capabilities must equal {add = [], drop = ["ALL"]}; deadline mountPoints and environment, and every volumesFrom, portMappings, systemControls must be empty (was: absent); new asserts that every list ECS fills in is written and that every DNS Firewall name is fully qualified; domain lists expected with trailing dots. Mock provider only, no AWS access; no read is added.
diff --git a/docs/superpowers/notes/census-proposal-media-spike-fixes.md b/docs/superpowers/notes/census-proposal-media-spike-fixes.md
new file mode 100644
index 000000000..9d74a3782
--- /dev/null
+++ b/docs/superpowers/notes/census-proposal-media-spike-fixes.md
@@ -0,0 +1,23 @@
+# Census approval: media-spike-fixes
+
+Ruling `census-ruling-media-spike-fixes`. The independent reviewer approves or rejects every change below, 0 with a new disposition; nothing goes to the census owner (Paul, #280, 2026-10-26).
+
+| unit | change | read sites | what changed |
+|---|---|---|---|
+| `infra/modules/media-engine/ecs.tf` `external` | body | unchanged (1) | engine_container writes the lists ECS answers empty: linuxParameters.capabilities gains add = [] (drop = ["ALL"] kept), and environment, mountPoints, portMappings, systemControls, volumesFrom = [] (codec still overrides environment with TMPDIR and mountPoints with scratch); so the plan after an apply no longer replaces the four definitions. No capability, mount, port, sysctl or volume is granted; skip_destroy, user, read-only root, entryPoint, image by digest and no task role unchanged. Tofu only, run on an operator machine; no read is added and nothing on a box reads the file. |
+| `infra/modules/media-engine/network.tf` `external` | body | unchanged (1) | DNS Firewall domain names written fully qualified (trailing dot), the form DNS Firewall stores and lists, so plans stop rewriting both lists: the allow list is the same five names (s3, *.s3, api.ecr, *.dkr.ecr, logs in the region) and the block list is "*." (was "*"), still BLOCK NXDOMAIN at priority 200, fail-closed. No name added. Tofu only, run on an operator machine; no read is added and nothing on a box reads the file. |
+| `infra/modules/media-engine/tests/media_engine.tftest.hcl` `external` | body | unchanged (1) | assertions follow the module: capabilities must equal {add = [], drop = ["ALL"]}; deadline mountPoints and environment, and every volumesFrom, portMappings, systemControls must be empty (was: absent); new asserts that every list ECS fills in is written and that every DNS Firewall name is fully qualified; domain lists expected with trailing dots. Mock provider only, no AWS access; no read is added. |
+
+Envelopes re-pinned: `infra/modules/media-engine`, `infra/modules/media-engine/tests`.
+
+Review: a model from the other family than the author reads the branch's diff against main on the amadan.net remote (`origin` or `amadan`, whichever points at amadan.net) and gives a verdict for every unit and every re-pinned envelope above. For a unit, compare the change with its recorded disposition and basis below; for an envelope, read every changed function in the package and what it reaches. Reject if the change lets root open, run, query or follow anything it did not before from a path or input a tenant, an app or a box agent can create, write or name; if it weakens a check, refusal, validation, argument or environment the basis relies on; or if the diff cannot settle either. Otherwise approve. Record each verdict on #280 with the tip. A rejected unit goes back to the author to correct; nothing escalates to the census owner.
+
+Recorded dispositions, which each change must still satisfy:
+
+- `infra/modules/media-engine/ecs.tf` `external`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-media-conversion;basis=new: Fargate-only cluster and four task definitions (deadline + codec containers, entryPoint /usr/local/bin/carlos-media, read-only root, user 65534, caps dropped, no task role, image by digest) created only once image_digest is set, with skip_destroy so a rollout keeps the revisions a running console uses.
+- `infra/modules/media-engine/network.tf` `external`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-media-conversion;basis=new: a VPC with two private subnets, no internet gateway, NAT or default route; a tasks security group with no ingress and HTTPS egress only to the S3 prefix list and the endpoints; S3 gateway and ECR/logs interface endpoints with principal-scoped policies; a Route 53 Resolver DNS firewall allowing only the S3, ECR and logs names (TRUST_REDIRECTION_DOMAIN on that ALLOW only) and blocking the rest with NXDOMAIN, fail-closed; the drill input changes only the four endpoint policies and the repository policy.
+- `infra/modules/media-engine/tests/media_engine.tftest.hcl` `external`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-media-conversion;basis=new OpenTofu tests (24 runs: 9 plan and 15 apply, all against mock_provider aws, so no AWS access): task definitions pass the gate's shape, endpoint, role, console, reaper and DNS policies exact, no default route, drill states, output parses. The archive provider is real and writes the reaper's ZIP to a local path during the test.
+
+Seal: `57ba3cadaf39de336f9a077d59a80148012e6d202de9059c166ce4f7dfc51ee0` → `194e88ad9cd7413c93b1181c0ac1e962107039ad84525e065893a8c14cdb3138`.
+
+Overlay: `internal/provision/testdata/plan14-root-reads-media-spike-fixes.tsv`, appended to `internal/provision/testdata/plan14-root-reads-chain.tsv`.
diff --git a/infra/modules/media-engine/ecs.tf b/infra/modules/media-engine/ecs.tf
index 0b05006f7..5903a3fba 100644
--- a/infra/modules/media-engine/ecs.tf
+++ b/infra/modules/media-engine/ecs.tf
@@ -17,6 +17,15 @@ locals {
# What both containers share. internal/media/gate.go refuses a revision that
# differs from this, so a change here must satisfy CheckTaskDefinition.
+ #
+ # Written in the form ECS answers it, or every plan replaces all four
+ # definitions and every apply registers four new revisions (the media
+ # spike, 2026-11-20). ECS fills in an empty list for each list below that a
+ # definition leaves out. The AWS provider treats a missing top-level list
+ # and an empty one as the same, but not capabilities.add, so an absent `add`
+ # never matches ECS's `"add": []`. The empty lists are written out all the
+ # same, so the render is what ECS holds and
+ # TestModuleRendersWhatECSAnswers can compare the two whole.
engine_container = {
image = local.engine_image
essential = true
@@ -24,7 +33,12 @@ locals {
user = "65534:65534"
readonlyRootFilesystem = true
stopTimeout = 30
- linuxParameters = { capabilities = { drop = ["ALL"] } }
+ linuxParameters = { capabilities = { add = [], drop = ["ALL"] } }
+ environment = []
+ mountPoints = []
+ portMappings = []
+ systemControls = []
+ volumesFrom = []
}
codec_logs = var.logs ? {
diff --git a/infra/modules/media-engine/network.tf b/infra/modules/media-engine/network.tf
index d43714ade..2ac228367 100644
--- a/infra/modules/media-engine/network.tf
+++ b/infra/modules/media-engine/network.tf
@@ -209,20 +209,27 @@ resource "aws_vpc_endpoint_policy" "logs" {
# A security group cannot stop queries to the VPC resolver, so this does:
# the services' names resolve and every other name does not exist.
+#
+# The names are fully qualified, with the trailing dot, because DNS Firewall
+# adds one to every name it stores and lists them that way, and the AWS
+# provider compares them as written (terraform-provider-aws issue 23543; its
+# own acceptance test writes fully qualified names). Without the dot every
+# plan updated both lists in place (the media spike, 2026-11-20), the one-name
+# `everything` list included, so it was the names' form, not their order.
resource "aws_route53_resolver_firewall_domain_list" "allowed" {
name = "${var.name}-allowed"
domains = [
- "s3.${var.region}.amazonaws.com",
- "*.s3.${var.region}.amazonaws.com",
- "api.ecr.${var.region}.amazonaws.com",
- "*.dkr.ecr.${var.region}.amazonaws.com",
- "logs.${var.region}.amazonaws.com",
+ "s3.${var.region}.amazonaws.com.",
+ "*.s3.${var.region}.amazonaws.com.",
+ "api.ecr.${var.region}.amazonaws.com.",
+ "*.dkr.ecr.${var.region}.amazonaws.com.",
+ "logs.${var.region}.amazonaws.com.",
]
}
resource "aws_route53_resolver_firewall_domain_list" "everything" {
name = "${var.name}-everything"
- domains = ["*"]
+ domains = ["*."]
}
resource "aws_route53_resolver_firewall_rule_group" "engine" {
diff --git a/infra/modules/media-engine/tests/media_engine.tftest.hcl b/infra/modules/media-engine/tests/media_engine.tftest.hcl
index bce9e8c0d..7a19f7ce0 100644
--- a/infra/modules/media-engine/tests/media_engine.tftest.hcl
+++ b/infra/modules/media-engine/tests/media_engine.tftest.hcl
@@ -193,10 +193,20 @@ run "task_definitions_pass_the_gate" {
}
assert {
condition = alltrue(flatten([for td in aws_ecs_task_definition.engine : [for c in jsondecode(td.container_definitions) :
- jsonencode(c.linuxParameters.capabilities) == jsonencode({ drop = ["ALL"] })
+ jsonencode(c.linuxParameters.capabilities) == jsonencode({ add = [], drop = ["ALL"] })
]]))
error_message = "every capability dropped and none added"
}
+ assert {
+ # ECS answers each of these lists, empty when a definition leaves it out.
+ # A definition that omits one differs from what ECS holds, and the plan
+ # after every apply replaces all four (the media spike, 2026-11-20).
+ condition = alltrue(flatten([for td in aws_ecs_task_definition.engine : [for c in jsondecode(td.container_definitions) :
+ can(length(c.environment)) && can(length(c.mountPoints)) && can(length(c.portMappings))
+ && can(length(c.systemControls)) && can(length(c.volumesFrom)) && can(length(c.linuxParameters.capabilities.add))
+ ]]))
+ error_message = "every list ECS fills in is written out, so the definition is in ECS's form and a second plan changes nothing"
+ }
assert {
condition = alltrue(flatten([for td in aws_ecs_task_definition.engine : [for c in jsondecode(td.container_definitions) :
c.image == "123456789012.dkr.ecr.eu-west-1.amazonaws.com/carlos-test-media@sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"
@@ -211,9 +221,9 @@ run "task_definitions_pass_the_gate" {
}
assert {
condition = alltrue(flatten([for td in aws_ecs_task_definition.engine : [for c in jsondecode(td.container_definitions) :
- !can(c.restartPolicy) && !can(c.volumesFrom)
+ !can(c.restartPolicy) && length(c.volumesFrom) == 0 && length(c.portMappings) == 0 && length(c.systemControls) == 0
]]))
- error_message = "no restart policy and no volumesFrom"
+ error_message = "no restart policy, volumesFrom, port mapping or system control"
}
assert {
condition = alltrue([for td in aws_ecs_task_definition.engine :
@@ -224,7 +234,7 @@ run "task_definitions_pass_the_gate" {
}
assert {
condition = alltrue([for td in aws_ecs_task_definition.engine :
- !can(jsondecode(td.container_definitions)[0].mountPoints)
+ length(jsondecode(td.container_definitions)[0].mountPoints) == 0
&& jsonencode([for m in jsondecode(td.container_definitions)[1].mountPoints : [m.sourceVolume, m.containerPath]]) == jsonencode([["scratch", "/scratch"]])
])
error_message = "scratch is mounted in codec only"
@@ -232,7 +242,7 @@ run "task_definitions_pass_the_gate" {
assert {
condition = alltrue([for td in aws_ecs_task_definition.engine :
jsonencode(jsondecode(td.container_definitions)[1].environment) == jsonencode([{ name = "TMPDIR", value = "/scratch/tmp" }])
- && !can(jsondecode(td.container_definitions)[0].environment)
+ && length(jsondecode(td.container_definitions)[0].environment) == 0
])
error_message = "codec alone gets TMPDIR"
}
@@ -430,14 +440,21 @@ run "dns_firewall_allows_three_services_and_blocks_the_rest" {
command = apply
assert {
condition = jsonencode(sort(tolist(aws_route53_resolver_firewall_domain_list.allowed.domains))) == jsonencode(sort([
- "s3.eu-west-1.amazonaws.com",
- "*.s3.eu-west-1.amazonaws.com",
- "api.ecr.eu-west-1.amazonaws.com",
- "*.dkr.ecr.eu-west-1.amazonaws.com",
- "logs.eu-west-1.amazonaws.com",
+ "s3.eu-west-1.amazonaws.com.",
+ "*.s3.eu-west-1.amazonaws.com.",
+ "api.ecr.eu-west-1.amazonaws.com.",
+ "*.dkr.ecr.eu-west-1.amazonaws.com.",
+ "logs.eu-west-1.amazonaws.com.",
]))
error_message = "the allow list is S3, the registry and logs in this region"
}
+ assert {
+ condition = alltrue([for d in concat(
+ tolist(aws_route53_resolver_firewall_domain_list.allowed.domains),
+ tolist(aws_route53_resolver_firewall_domain_list.everything.domains),
+ ) : endswith(d, ".")])
+ error_message = "names fully qualified, as DNS Firewall lists them, or every plan rewrites both lists"
+ }
assert {
condition = (
aws_route53_resolver_firewall_rule.allow.priority == 100
@@ -460,7 +477,7 @@ run "dns_firewall_allows_three_services_and_blocks_the_rest" {
&& aws_route53_resolver_firewall_rule.block.action == "BLOCK"
&& aws_route53_resolver_firewall_rule.block.block_response == "NXDOMAIN"
&& aws_route53_resolver_firewall_rule.block.firewall_domain_list_id == aws_route53_resolver_firewall_domain_list.everything.id
- && jsonencode(tolist(aws_route53_resolver_firewall_domain_list.everything.domains)) == jsonencode(["*"])
+ && jsonencode(tolist(aws_route53_resolver_firewall_domain_list.everything.domains)) == jsonencode(["*."])
)
error_message = "every other name answers NXDOMAIN"
}
diff --git a/internal/mediaaws/module_test.go b/internal/mediaaws/module_test.go
index 796e52e18..f9e35d6e7 100644
--- a/internal/mediaaws/module_test.go
+++ b/internal/mediaaws/module_test.go
@@ -7,10 +7,12 @@ import (
"encoding/json"
"errors"
"io/fs"
+ "maps"
"os"
"os/exec"
"path"
"path/filepath"
+ "reflect"
"regexp"
"slices"
"strings"
@@ -121,6 +123,52 @@ func TestModuleGateWitnessRefusesABrokenDefinition(t *testing.T) {
}
}
+// ecsFilledLists are the lists ECS answers for every container, empty when
+// the registered definition left them out. The media spike saw each of them
+// in the plan after every apply (2026-11-20).
+var ecsFilledLists = []string{"environment", "mountPoints", "portMappings", "systemControls", "volumesFrom"}
+
+// ecsAnswer is a container definition as DescribeTaskDefinition would answer
+// it: the same, with an empty list wherever ECS fills one in.
+func ecsAnswer(container map[string]any) map[string]any {
+ out := maps.Clone(container)
+ for _, key := range ecsFilledLists {
+ if _, ok := out[key]; !ok {
+ out[key] = []any{}
+ }
+ }
+ lp, _ := out["linuxParameters"].(map[string]any)
+ caps, _ := lp["capabilities"].(map[string]any)
+ if _, ok := caps["add"]; caps != nil && !ok {
+ lp, caps = maps.Clone(lp), maps.Clone(caps)
+ caps["add"] = []any{}
+ lp["capabilities"] = caps
+ out["linuxParameters"] = lp
+ }
+ return out
+}
+
+// TestModuleRendersWhatECSAnswers: the module's container definitions are
+// what ECS hands back, so the plan after an apply changes nothing. The AWS
+// provider compares an absent capabilities.add with ECS's empty one as a
+// difference, and every plan replaced all four definitions and registered
+// four new revisions (the media spike, 2026-11-20).
+func TestModuleRendersWhatECSAnswers(t *testing.T) {
+ for class, rendered := range readModuleRender(t).TaskDefinitions {
+ var containers []map[string]any
+ if err := json.Unmarshal([]byte(rendered.ContainerDefinitions), &containers); err != nil {
+ t.Fatalf("%s: %v", class, err)
+ }
+ for _, c := range containers {
+ if want := ecsAnswer(c); !reflect.DeepEqual(c, want) {
+ got, _ := json.Marshal(c)
+ answer, _ := json.Marshal(want)
+ t.Errorf("%s %v: ECS would answer\n%s\nfor the module's\n%s", class, c["name"], answer, got)
+ }
+ }
+ }
+}
+
func TestModuleOutputParses(t *testing.T) {
r := readModuleRender(t)
c, err := ParseConfig(r.Engine)
diff --git a/internal/mediaaws/testdata/media-engine-rendered.json b/internal/mediaaws/testdata/media-engine-rendered.json
index 8f39f9148..b12d85831 100644
--- a/internal/mediaaws/testdata/media-engine-rendered.json
+++ b/internal/mediaaws/testdata/media-engine-rendered.json
@@ -7,7 +7,7 @@
"task_role_arn": "",
"pid_mode": "",
"cpu_architecture": "ARM64",
- "container_definitions": "[{\"command\":[\"deadline\"],\"cpu\":64,\"entryPoint\":[\"/usr/local/bin/carlos-media\"],\"essential\":true,\"image\":\"123456789012.dkr.ecr.eu-west-1.amazonaws.com/carlos-test-media@sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\",\"linuxParameters\":{\"capabilities\":{\"drop\":[\"ALL\"]}},\"memory\":64,\"name\":\"deadline\",\"readonlyRootFilesystem\":true,\"stopTimeout\":30,\"user\":\"65534:65534\"},{\"command\":[\"codec\"],\"cpu\":1984,\"dependsOn\":[{\"condition\":\"START\",\"containerName\":\"deadline\"}],\"entryPoint\":[\"/usr/local/bin/carlos-media\"],\"environment\":[{\"name\":\"TMPDIR\",\"value\":\"/scratch/tmp\"}],\"essential\":true,\"image\":\"123456789012.dkr.ecr.eu-west-1.amazonaws.com/carlos-test-media@sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\",\"linuxParameters\":{\"capabilities\":{\"drop\":[\"ALL\"]}},\"logConfiguration\":{\"logDriver\":\"awslogs\",\"options\":{\"awslogs-group\":\"/carlos/carlos-test-media/engine\",\"awslogs-region\":\"eu-west-1\",\"awslogs-stream-prefix\":\"media\"}},\"memory\":4032,\"mountPoints\":[{\"containerPath\":\"/scratch\",\"readOnly\":false,\"sourceVolume\":\"scratch\"}],\"name\":\"codec\",\"readonlyRootFilesystem\":true,\"stopTimeout\":30,\"user\":\"65534:65534\"}]"
+ "container_definitions": "[{\"command\":[\"deadline\"],\"cpu\":64,\"entryPoint\":[\"/usr/local/bin/carlos-media\"],\"environment\":[],\"essential\":true,\"image\":\"123456789012.dkr.ecr.eu-west-1.amazonaws.com/carlos-test-media@sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\",\"linuxParameters\":{\"capabilities\":{\"add\":[],\"drop\":[\"ALL\"]}},\"memory\":64,\"mountPoints\":[],\"name\":\"deadline\",\"portMappings\":[],\"readonlyRootFilesystem\":true,\"stopTimeout\":30,\"systemControls\":[],\"user\":\"65534:65534\",\"volumesFrom\":[]},{\"command\":[\"codec\"],\"cpu\":1984,\"dependsOn\":[{\"condition\":\"START\",\"containerName\":\"deadline\"}],\"entryPoint\":[\"/usr/local/bin/carlos-media\"],\"environment\":[{\"name\":\"TMPDIR\",\"value\":\"/scratch/tmp\"}],\"essential\":true,\"image\":\"123456789012.dkr.ecr.eu-west-1.amazonaws.com/carlos-test-media@sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\",\"linuxParameters\":{\"capabilities\":{\"add\":[],\"drop\":[\"ALL\"]}},\"logConfiguration\":{\"logDriver\":\"awslogs\",\"options\":{\"awslogs-group\":\"/carlos/carlos-test-media/engine\",\"awslogs-region\":\"eu-west-1\",\"awslogs-stream-prefix\":\"media\"}},\"memory\":4032,\"mountPoints\":[{\"containerPath\":\"/scratch\",\"readOnly\":false,\"sourceVolume\":\"scratch\"}],\"name\":\"codec\",\"portMappings\":[],\"readonlyRootFilesystem\":true,\"stopTimeout\":30,\"systemControls\":[],\"user\":\"65534:65534\",\"volumesFrom\":[]}]"
},
"audio-aac/short": {
"arn": "arn:aws:ecs:eu-west-1:123456789012:task-definition/carlos-test-media-video-720p-short:7",
@@ -15,7 +15,7 @@
"task_role_arn": "",
"pid_mode": "",
"cpu_architecture": "ARM64",
- "container_definitions": "[{\"command\":[\"deadline\"],\"cpu\":64,\"entryPoint\":[\"/usr/local/bin/carlos-media\"],\"essential\":true,\"image\":\"123456789012.dkr.ecr.eu-west-1.amazonaws.com/carlos-test-media@sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\",\"linuxParameters\":{\"capabilities\":{\"drop\":[\"ALL\"]}},\"memory\":64,\"name\":\"deadline\",\"readonlyRootFilesystem\":true,\"stopTimeout\":30,\"user\":\"65534:65534\"},{\"command\":[\"codec\"],\"cpu\":960,\"dependsOn\":[{\"condition\":\"START\",\"containerName\":\"deadline\"}],\"entryPoint\":[\"/usr/local/bin/carlos-media\"],\"environment\":[{\"name\":\"TMPDIR\",\"value\":\"/scratch/tmp\"}],\"essential\":true,\"image\":\"123456789012.dkr.ecr.eu-west-1.amazonaws.com/carlos-test-media@sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\",\"linuxParameters\":{\"capabilities\":{\"drop\":[\"ALL\"]}},\"logConfiguration\":{\"logDriver\":\"awslogs\",\"options\":{\"awslogs-group\":\"/carlos/carlos-test-media/engine\",\"awslogs-region\":\"eu-west-1\",\"awslogs-stream-prefix\":\"media\"}},\"memory\":1984,\"mountPoints\":[{\"containerPath\":\"/scratch\",\"readOnly\":false,\"sourceVolume\":\"scratch\"}],\"name\":\"codec\",\"readonlyRootFilesystem\":true,\"stopTimeout\":30,\"user\":\"65534:65534\"}]"
+ "container_definitions": "[{\"command\":[\"deadline\"],\"cpu\":64,\"entryPoint\":[\"/usr/local/bin/carlos-media\"],\"environment\":[],\"essential\":true,\"image\":\"123456789012.dkr.ecr.eu-west-1.amazonaws.com/carlos-test-media@sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\",\"linuxParameters\":{\"capabilities\":{\"add\":[],\"drop\":[\"ALL\"]}},\"memory\":64,\"mountPoints\":[],\"name\":\"deadline\",\"portMappings\":[],\"readonlyRootFilesystem\":true,\"stopTimeout\":30,\"systemControls\":[],\"user\":\"65534:65534\",\"volumesFrom\":[]},{\"command\":[\"codec\"],\"cpu\":960,\"dependsOn\":[{\"condition\":\"START\",\"containerName\":\"deadline\"}],\"entryPoint\":[\"/usr/local/bin/carlos-media\"],\"environment\":[{\"name\":\"TMPDIR\",\"value\":\"/scratch/tmp\"}],\"essential\":true,\"image\":\"123456789012.dkr.ecr.eu-west-1.amazonaws.com/carlos-test-media@sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\",\"linuxParameters\":{\"capabilities\":{\"add\":[],\"drop\":[\"ALL\"]}},\"logConfiguration\":{\"logDriver\":\"awslogs\",\"options\":{\"awslogs-group\":\"/carlos/carlos-test-media/engine\",\"awslogs-region\":\"eu-west-1\",\"awslogs-stream-prefix\":\"media\"}},\"memory\":1984,\"mountPoints\":[{\"containerPath\":\"/scratch\",\"readOnly\":false,\"sourceVolume\":\"scratch\"}],\"name\":\"codec\",\"portMappings\":[],\"readonlyRootFilesystem\":true,\"stopTimeout\":30,\"systemControls\":[],\"user\":\"65534:65534\",\"volumesFrom\":[]}]"
},
"video-720p/long": {
"arn": "arn:aws:ecs:eu-west-1:123456789012:task-definition/carlos-test-media-video-720p-short:7",
@@ -23,7 +23,7 @@
"task_role_arn": "",
"pid_mode": "",
"cpu_architecture": "ARM64",
- "container_definitions": "[{\"command\":[\"deadline\"],\"cpu\":64,\"entryPoint\":[\"/usr/local/bin/carlos-media\"],\"essential\":true,\"image\":\"123456789012.dkr.ecr.eu-west-1.amazonaws.com/carlos-test-media@sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\",\"linuxParameters\":{\"capabilities\":{\"drop\":[\"ALL\"]}},\"memory\":64,\"name\":\"deadline\",\"readonlyRootFilesystem\":true,\"stopTimeout\":30,\"user\":\"65534:65534\"},{\"command\":[\"codec\"],\"cpu\":16320,\"dependsOn\":[{\"condition\":\"START\",\"containerName\":\"deadline\"}],\"entryPoint\":[\"/usr/local/bin/carlos-media\"],\"environment\":[{\"name\":\"TMPDIR\",\"value\":\"/scratch/tmp\"}],\"essential\":true,\"image\":\"123456789012.dkr.ecr.eu-west-1.amazonaws.com/carlos-test-media@sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\",\"linuxParameters\":{\"capabilities\":{\"drop\":[\"ALL\"]}},\"logConfiguration\":{\"logDriver\":\"awslogs\",\"options\":{\"awslogs-group\":\"/carlos/carlos-test-media/engine\",\"awslogs-region\":\"eu-west-1\",\"awslogs-stream-prefix\":\"media\"}},\"memory\":32704,\"mountPoints\":[{\"containerPath\":\"/scratch\",\"readOnly\":false,\"sourceVolume\":\"scratch\"}],\"name\":\"codec\",\"readonlyRootFilesystem\":true,\"stopTimeout\":30,\"user\":\"65534:65534\"}]"
+ "container_definitions": "[{\"command\":[\"deadline\"],\"cpu\":64,\"entryPoint\":[\"/usr/local/bin/carlos-media\"],\"environment\":[],\"essential\":true,\"image\":\"123456789012.dkr.ecr.eu-west-1.amazonaws.com/carlos-test-media@sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\",\"linuxParameters\":{\"capabilities\":{\"add\":[],\"drop\":[\"ALL\"]}},\"memory\":64,\"mountPoints\":[],\"name\":\"deadline\",\"portMappings\":[],\"readonlyRootFilesystem\":true,\"stopTimeout\":30,\"systemControls\":[],\"user\":\"65534:65534\",\"volumesFrom\":[]},{\"command\":[\"codec\"],\"cpu\":16320,\"dependsOn\":[{\"condition\":\"START\",\"containerName\":\"deadline\"}],\"entryPoint\":[\"/usr/local/bin/carlos-media\"],\"environment\":[{\"name\":\"TMPDIR\",\"value\":\"/scratch/tmp\"}],\"essential\":true,\"image\":\"123456789012.dkr.ecr.eu-west-1.amazonaws.com/carlos-test-media@sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\",\"linuxParameters\":{\"capabilities\":{\"add\":[],\"drop\":[\"ALL\"]}},\"logConfiguration\":{\"logDriver\":\"awslogs\",\"options\":{\"awslogs-group\":\"/carlos/carlos-test-media/engine\",\"awslogs-region\":\"eu-west-1\",\"awslogs-stream-prefix\":\"media\"}},\"memory\":32704,\"mountPoints\":[{\"containerPath\":\"/scratch\",\"readOnly\":false,\"sourceVolume\":\"scratch\"}],\"name\":\"codec\",\"portMappings\":[],\"readonlyRootFilesystem\":true,\"stopTimeout\":30,\"systemControls\":[],\"user\":\"65534:65534\",\"volumesFrom\":[]}]"
},
"video-720p/short": {
"arn": "arn:aws:ecs:eu-west-1:123456789012:task-definition/carlos-test-media-video-720p-short:7",
@@ -31,7 +31,7 @@
"task_role_arn": "",
"pid_mode": "",
"cpu_architecture": "ARM64",
- "container_definitions": "[{\"command\":[\"deadline\"],\"cpu\":64,\"entryPoint\":[\"/usr/local/bin/carlos-media\"],\"essential\":true,\"image\":\"123456789012.dkr.ecr.eu-west-1.amazonaws.com/carlos-test-media@sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\",\"linuxParameters\":{\"capabilities\":{\"drop\":[\"ALL\"]}},\"memory\":64,\"name\":\"deadline\",\"readonlyRootFilesystem\":true,\"stopTimeout\":30,\"user\":\"65534:65534\"},{\"command\":[\"codec\"],\"cpu\":4032,\"dependsOn\":[{\"condition\":\"START\",\"containerName\":\"deadline\"}],\"entryPoint\":[\"/usr/local/bin/carlos-media\"],\"environment\":[{\"name\":\"TMPDIR\",\"value\":\"/scratch/tmp\"}],\"essential\":true,\"image\":\"123456789012.dkr.ecr.eu-west-1.amazonaws.com/carlos-test-media@sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\",\"linuxParameters\":{\"capabilities\":{\"drop\":[\"ALL\"]}},\"logConfiguration\":{\"logDriver\":\"awslogs\",\"options\":{\"awslogs-group\":\"/carlos/carlos-test-media/engine\",\"awslogs-region\":\"eu-west-1\",\"awslogs-stream-prefix\":\"media\"}},\"memory\":8128,\"mountPoints\":[{\"containerPath\":\"/scratch\",\"readOnly\":false,\"sourceVolume\":\"scratch\"}],\"name\":\"codec\",\"readonlyRootFilesystem\":true,\"stopTimeout\":30,\"user\":\"65534:65534\"}]"
+ "container_definitions": "[{\"command\":[\"deadline\"],\"cpu\":64,\"entryPoint\":[\"/usr/local/bin/carlos-media\"],\"environment\":[],\"essential\":true,\"image\":\"123456789012.dkr.ecr.eu-west-1.amazonaws.com/carlos-test-media@sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\",\"linuxParameters\":{\"capabilities\":{\"add\":[],\"drop\":[\"ALL\"]}},\"memory\":64,\"mountPoints\":[],\"name\":\"deadline\",\"portMappings\":[],\"readonlyRootFilesystem\":true,\"stopTimeout\":30,\"systemControls\":[],\"user\":\"65534:65534\",\"volumesFrom\":[]},{\"command\":[\"codec\"],\"cpu\":4032,\"dependsOn\":[{\"condition\":\"START\",\"containerName\":\"deadline\"}],\"entryPoint\":[\"/usr/local/bin/carlos-media\"],\"environment\":[{\"name\":\"TMPDIR\",\"value\":\"/scratch/tmp\"}],\"essential\":true,\"image\":\"123456789012.dkr.ecr.eu-west-1.amazonaws.com/carlos-test-media@sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\",\"linuxParameters\":{\"capabilities\":{\"add\":[],\"drop\":[\"ALL\"]}},\"logConfiguration\":{\"logDriver\":\"awslogs\",\"options\":{\"awslogs-group\":\"/carlos/carlos-test-media/engine\",\"awslogs-region\":\"eu-west-1\",\"awslogs-stream-prefix\":\"media\"}},\"memory\":8128,\"mountPoints\":[{\"containerPath\":\"/scratch\",\"readOnly\":false,\"sourceVolume\":\"scratch\"}],\"name\":\"codec\",\"portMappings\":[],\"readonlyRootFilesystem\":true,\"stopTimeout\":30,\"systemControls\":[],\"user\":\"65534:65534\",\"volumesFrom\":[]}]"
}
}
}
diff --git a/internal/mediahandler/fmp4_test.go b/internal/mediahandler/fmp4_test.go
index ebf0fb15d..d1d110682 100644
--- a/internal/mediahandler/fmp4_test.go
+++ b/internal/mediahandler/fmp4_test.go
@@ -22,8 +22,30 @@ import (
// args.txt is each one's exact arguments), each beside the real
// ffprobe's packets for it (stream_index,dts_time,duration_time,size,pos:
// ffprobe's own order).
-// They stand in for plan 1's spike fixtures until its report
-// (testdata/fmp4/provenance.txt). Nothing here is hand-built.
+// They are plan 1's spike regeneration, made on arm64 in the real media
+// image (testdata/fmp4/provenance.txt). Nothing here is hand-built.
+
+// fmp4Fixture is one testdata/fmp4 file: its source recipe and the
+// grant it was encoded under.
+type fmp4Fixture struct {
+ file, recipe string
+ grantedMS int64
+}
+
+var fmp4Fixtures = []fmp4Fixture{
+ {"video.mp4", "fixture-av", 9000},
+ {"video-noaudio.mp4", "fixture-video", 9000},
+ {"audio.mp4", "fixture-audio", 9000},
+}
+
+// scrubScratch writes the scratch directory as <scratch>.
+func scrubScratch(cfg Config, args []string) []string {
+ out := make([]string, len(args))
+ for i, a := range args {
+ out[i] = strings.ReplaceAll(a, cfg.Scratch, "<scratch>")
+ }
+ return out
+}
// argsLine is one line of testdata/fmp4/args.txt: a fixture and the
// exact ffmpeg arguments that made it.
@@ -217,28 +239,50 @@ func TestReadFMP4Fixtures(t *testing.T) {
}
}
-// TestMuxerArgsMatchTheFixtures: the muxer settings this package builds
-// today are the ones that made testdata/fmp4 (args.txt), so the
-// fixtures readFMP4 is tested against are what the encodes write.
-// Until plan 1's report records its own, args.txt is the record.
+// TestMuxerArgsMatchTheFixtures: the arguments this package builds today
+// for each fixture's source are, every one of them, the ones that made
+// testdata/fmp4 (args.txt), so the fixtures readFMP4 is tested against
+// are what the encodes write. The muxer flags alone are not enough: the
+// audio filter gained sample_fmts=fltp while args.txt still read the
+// older filter, and a muxer-only check passed (media spike, 2026-11-20).
+// A change to videoArgs or audioArgs fails here until the fixtures are
+// regenerated (TestRegenerateFMP4Fixtures).
func TestMuxerArgsMatchTheFixtures(t *testing.T) {
- muxer := func(args []string) map[string]string {
- m := map[string]string{}
- for i, a := range args[:len(args)-1] {
- switch a {
- case "-f", "-movflags", "-min_frag_duration", "-frag_duration":
- m[a] = args[i+1] // the last -f is the muxer's
- }
- }
- return m
- }
cfg := Config{Scratch: "/scratch"}
- f := goodVideo()
- p := media.Payload{Preset: media.PresetVideo720p, Limits: limitsFor(media.PresetVideo720p)}
- built := map[string]map[string]string{
- "video.mp4": muxer(videoArgs(cfg, f, p, "mov")),
- "video-noaudio.mp4": muxer(videoArgs(cfg, probeFacts{VideoIndex: 0, AudioIndex: -1, Width: 160, Height: 90}, p, "mov")),
- "audio.mp4": muxer(audioArgs(cfg, f, p, "wav", 0)),
+ // Each recipe's source as the real probe answers it, under the 9 s
+ // grant TestRegenerateFMP4Fixtures encodes with (realencode_test.go).
+ av := probeFacts{VideoIndex: 0, AudioIndex: 1, Width: 160, Height: 90, SARNum: 1, SARDen: 1, FPS: 30,
+ VideoCodec: "h264", AudioCodec: "aac", Channels: 2, DurationMS: 9000}
+ videoOnly := probeFacts{VideoIndex: 0, AudioIndex: -1, Width: 160, Height: 90, SARNum: 1, SARDen: 1, FPS: 30,
+ VideoCodec: "h264", DurationMS: 9000}
+ audio := probeFacts{VideoIndex: -1, AudioIndex: 0, AudioCodec: "pcm_s16le", Channels: 2, DurationMS: 9000}
+ payload := func(preset string, grantedMS int64) media.Payload {
+ l := limitsFor(preset)
+ l.GrantedMS = grantedMS
+ return media.Payload{Preset: preset, Limits: l}
+ }
+ // The recipes' demuxer and preset (realencode_test.go's recipes, which
+ // only Linux builds).
+ sources := map[string]struct {
+ facts probeFacts
+ demuxer, preset string
+ }{
+ "fixture-av": {av, "mov", media.PresetVideo720p},
+ "fixture-video": {videoOnly, "mov", media.PresetVideo720p},
+ "fixture-audio": {audio, "wav", media.PresetAudioAAC},
+ }
+ built := map[string][]string{}
+ for _, fx := range fmp4Fixtures {
+ src, ok := sources[fx.recipe]
+ if !ok {
+ t.Fatalf("no source for %s's recipe %s", fx.file, fx.recipe)
+ }
+ p := payload(src.preset, fx.grantedMS)
+ if src.preset == media.PresetVideo720p {
+ built[fx.file] = scrubScratch(cfg, videoArgs(cfg, src.facts, p, src.demuxer))
+ } else {
+ built[fx.file] = scrubScratch(cfg, audioArgs(cfg, src.facts, p, src.demuxer, 0))
+ }
}
lines := strings.Split(strings.TrimSpace(string(readFixture(t, "args.txt"))), "\n")
seen := 0
@@ -258,8 +302,8 @@ func TestMuxerArgsMatchTheFixtures(t *testing.T) {
t.Fatalf("args.txt names %s", a.File)
}
seen++
- if got := muxer(a.Args); !mapsEqual(got, want) {
- t.Errorf("%s was made with %v; the encode builds %v", a.File, got, want)
+ if !slices.Equal(a.Args, want) {
+ t.Errorf("%s was made with\n%q\nthe encode builds\n%q\nregenerate testdata/fmp4 (provenance.txt)", a.File, a.Args, want)
}
}
if seen != len(built) {
@@ -267,18 +311,6 @@ func TestMuxerArgsMatchTheFixtures(t *testing.T) {
}
}
-func mapsEqual(a, b map[string]string) bool {
- if len(a) != len(b) {
- return false
- }
- for k, v := range a {
- if b[k] != v {
- return false
- }
- }
- return true
-}
-
// TestReadFMP4Refuses: one change at a time to a real file, each one
// a sequence readFMP4 must refuse.
func TestReadFMP4Refuses(t *testing.T) {
diff --git a/internal/mediahandler/realencode_test.go b/internal/mediahandler/realencode_test.go
index 701b3e4a1..8138f7daa 100644
--- a/internal/mediahandler/realencode_test.go
+++ b/internal/mediahandler/realencode_test.go
@@ -75,19 +75,6 @@ func init() {
}
}
-// fmp4Fixture is one testdata/fmp4 file: its source recipe and the
-// grant it was encoded under.
-type fmp4Fixture struct {
- file, recipe string
- grantedMS int64
-}
-
-var fmp4Fixtures = []fmp4Fixture{
- {"video.mp4", "fixture-av", 9000},
- {"video-noaudio.mp4", "fixture-video", 9000},
- {"audio.mp4", "fixture-audio", 9000},
-}
-
// realEncode makes name's source, probes and checks it under preset with
// grantedMS, and runs the preset's encode (video: video and poster;
// audio: audio, no gain). It answers the facts and the payload.
@@ -181,15 +168,6 @@ func TestRegenerateFMP4Fixtures(t *testing.T) {
}
}
-// scrubScratch writes the scratch directory as <scratch>.
-func scrubScratch(cfg Config, args []string) []string {
- out := make([]string, len(args))
- for i, a := range args {
- out[i] = strings.ReplaceAll(a, cfg.Scratch, "<scratch>")
- }
- return out
-}
-
// runFFmpegOut runs the real ffmpeg with args split on spaces, its
// stdout to out.
func runFFmpegOut(t *testing.T, cfg Config, out *bytes.Buffer, args string) {
diff --git a/internal/mediahandler/testdata/fmp4/args.txt b/internal/mediahandler/testdata/fmp4/args.txt
index dc04e2784..7604a311f 100644
--- a/internal/mediahandler/testdata/fmp4/args.txt
+++ b/internal/mediahandler/testdata/fmp4/args.txt
@@ -1,4 +1,4 @@
# ffmpeg version 7.1.5-0+deb13u1 Copyright (c) 2000-2026 the FFmpeg developers
{"file":"video.mp4","args":["-hide_banner","-nostats","-loglevel","error","-nostdin","-protocol_whitelist","file","-f","mov","-enable_drefs","0","-max_pixels","16777216","-codec_whitelist","h264,hevc,vp8,vp9,av1,libdav1d,aac,opus,libopus,vorbis,libvorbis,mp3,mp3float,flac,pcm_u8,pcm_s16le,pcm_s16be,pcm_s24le,pcm_s24be,pcm_s32le,pcm_s32be,pcm_f32le,pcm_f32be,pcm_f64le,pcm_f64be,pcm_alaw,pcm_mulaw","-i","<scratch>/in/source","-map","0:0","-map","0:1","-sn","-dn","-map_metadata","-1","-map_chapters","-1","-t","9.000","-vf","scale=160:90:flags=bicubic,setsar=1,format=yuv420p,tpad=stop_mode=clone:stop=-1,trim=end=9.000","-c:v","libx264","-profile:v","high","-preset","veryfast","-crf","23","-maxrate","2500k","-bufsize","5000k","-pix_fmt","yuv420p","-fpsmax","30","-force_key_frames","expr:gte(t,n_forced*2)","-sc_threshold","0","-c:a","aac","-b:a","128k","-ac","2","-ar","48000","-af","aresample=async=1:first_pts=0,apad=whole_dur=9.000","-f","mp4","-movflags","+frag_keyframe+empty_moov+default_base_moof+skip_trailer","-min_frag_duration","4000000","<scratch>/out/video.mp4"]}
{"file":"video-noaudio.mp4","args":["-hide_banner","-nostats","-loglevel","error","-nostdin","-protocol_whitelist","file","-f","mov","-enable_drefs","0","-max_pixels","16777216","-codec_whitelist","h264,hevc,vp8,vp9,av1,libdav1d,aac,opus,libopus,vorbis,libvorbis,mp3,mp3float,flac,pcm_u8,pcm_s16le,pcm_s16be,pcm_s24le,pcm_s24be,pcm_s32le,pcm_s32be,pcm_f32le,pcm_f32be,pcm_f64le,pcm_f64be,pcm_alaw,pcm_mulaw","-i","<scratch>/in/source","-map","0:0","-sn","-dn","-map_metadata","-1","-map_chapters","-1","-t","9.000","-vf","scale=160:90:flags=bicubic,setsar=1,format=yuv420p","-c:v","libx264","-profile:v","high","-preset","veryfast","-crf","23","-maxrate","2500k","-bufsize","5000k","-pix_fmt","yuv420p","-fpsmax","30","-force_key_frames","expr:gte(t,n_forced*2)","-sc_threshold","0","-an","-f","mp4","-movflags","+frag_keyframe+empty_moov+default_base_moof+skip_trailer","-min_frag_duration","4000000","<scratch>/out/video.mp4"]}
-{"file":"audio.mp4","args":["-hide_banner","-nostats","-loglevel","error","-nostdin","-protocol_whitelist","file","-f","wav","-max_pixels","16777216","-codec_whitelist","h264,hevc,vp8,vp9,av1,libdav1d,aac,opus,libopus,vorbis,libvorbis,mp3,mp3float,flac,pcm_u8,pcm_s16le,pcm_s16be,pcm_s24le,pcm_s24be,pcm_s32le,pcm_s32be,pcm_f32le,pcm_f32be,pcm_f64le,pcm_f64be,pcm_alaw,pcm_mulaw","-i","<scratch>/in/source","-map","0:0","-vn","-sn","-dn","-map_metadata","-1","-map_chapters","-1","-t","9.000","-af","aformat=channel_layouts=stereo:sample_rates=48000,volume=0.00dB","-c:a","aac","-b:a","128k","-f","mp4","-movflags","+empty_moov+default_base_moof+skip_trailer","-frag_duration","4000000","<scratch>/out/audio.mp4"]}
+{"file":"audio.mp4","args":["-hide_banner","-nostats","-loglevel","error","-nostdin","-protocol_whitelist","file","-f","wav","-max_pixels","16777216","-codec_whitelist","h264,hevc,vp8,vp9,av1,libdav1d,aac,opus,libopus,vorbis,libvorbis,mp3,mp3float,flac,pcm_u8,pcm_s16le,pcm_s16be,pcm_s24le,pcm_s24be,pcm_s32le,pcm_s32be,pcm_f32le,pcm_f32be,pcm_f64le,pcm_f64be,pcm_alaw,pcm_mulaw","-i","<scratch>/in/source","-map","0:0","-vn","-sn","-dn","-map_metadata","-1","-map_chapters","-1","-t","9.000","-af","aformat=channel_layouts=stereo:sample_rates=48000:sample_fmts=fltp,volume=0.00dB","-c:a","aac","-b:a","128k","-f","mp4","-movflags","+empty_moov+default_base_moof+skip_trailer","-frag_duration","4000000","<scratch>/out/audio.mp4"]}
diff --git a/internal/mediahandler/testdata/fmp4/audio.mp4 b/internal/mediahandler/testdata/fmp4/audio.mp4
index a91870ea9..b2946326f 100644
Binary files a/internal/mediahandler/testdata/fmp4/audio.mp4 and b/internal/mediahandler/testdata/fmp4/audio.mp4 differ
diff --git a/internal/mediahandler/testdata/fmp4/audio.mp4.packets.csv b/internal/mediahandler/testdata/fmp4/audio.mp4.packets.csv
index 989438485..0b6818c85 100644
--- a/internal/mediahandler/testdata/fmp4/audio.mp4.packets.csv
+++ b/internal/mediahandler/testdata/fmp4/audio.mp4.packets.csv
@@ -1,423 +1,423 @@
0,0.000000,N/A,300,1588
0,0.021333,0.021333,393,1888
-0,0.042667,0.021333,312,2281
-0,0.064000,0.021333,335,2593
-0,0.085333,0.021333,311,2928
-0,0.106667,0.021333,335,3239
-0,0.128000,0.021333,333,3574
-0,0.149333,0.021333,342,3907
-0,0.170667,0.021333,313,4249
-0,0.192000,0.021333,344,4562
-0,0.213333,0.021333,337,4906
-0,0.234667,0.021333,339,5243
-0,0.256000,0.021333,347,5582
-0,0.277333,0.021333,351,5929
-0,0.298667,0.021333,333,6280
-0,0.320000,0.021333,346,6613
-0,0.341333,0.021333,342,6959
-0,0.362667,0.021333,333,7301
-0,0.384000,0.021333,332,7634
-0,0.405333,0.021333,356,7966
-0,0.426667,0.021333,353,8322
-0,0.448000,0.021333,339,8675
-0,0.469333,0.021333,337,9014
-0,0.490667,0.021333,336,9351
-0,0.512000,0.021333,356,9687
-0,0.533333,0.021333,338,10043
-0,0.554667,0.021333,339,10381
-0,0.576000,0.021333,342,10720
-0,0.597333,0.021333,352,11062
-0,0.618667,0.021333,343,11414
-0,0.640000,0.021333,340,11757
-0,0.661333,0.021333,332,12097
-0,0.682667,0.021333,330,12429
-0,0.704000,0.021333,351,12759
-0,0.725333,0.021333,344,13110
-0,0.746667,0.021333,354,13454
-0,0.768000,0.021333,344,13808
-0,0.789333,0.021333,337,14152
-0,0.810667,0.021333,343,14489
-0,0.832000,0.021333,354,14832
-0,0.853333,0.021333,383,15186
-0,0.874667,0.021333,323,15569
-0,0.896000,0.021333,320,15892
-0,0.917333,0.021333,343,16212
-0,0.938667,0.021333,316,16555
-0,0.960000,0.021333,364,16871
-0,0.981333,0.021333,336,17235
-0,1.002667,0.021333,339,17571
-0,1.024000,0.021333,325,17910
-0,1.045333,0.021333,351,18235
-0,1.066667,0.021333,364,18586
-0,1.088000,0.021333,335,18950
-0,1.109333,0.021333,329,19285
-0,1.130667,0.021333,348,19614
-0,1.152000,0.021333,326,19962
-0,1.173333,0.021333,343,20288
-0,1.194667,0.021333,340,20631
-0,1.216000,0.021333,366,20971
-0,1.237333,0.021333,354,21337
-0,1.258667,0.021333,329,21691
-0,1.280000,0.021333,323,22020
-0,1.301333,0.021333,361,22343
-0,1.322667,0.021333,353,22704
-0,1.344000,0.021333,319,23057
-0,1.365333,0.021333,337,23376
-0,1.386667,0.021333,315,23713
-0,1.408000,0.021333,363,24028
-0,1.429333,0.021333,350,24391
-0,1.450667,0.021333,323,24741
-0,1.472000,0.021333,342,25064
-0,1.493333,0.021333,362,25406
-0,1.514667,0.021333,349,25768
-0,1.536000,0.021333,345,26117
-0,1.557333,0.021333,334,26462
-0,1.578667,0.021333,333,26796
-0,1.600000,0.021333,344,27129
-0,1.621333,0.021333,341,27473
-0,1.642667,0.021333,340,27814
-0,1.664000,0.021333,331,28154
-0,1.685333,0.021333,343,28485
-0,1.706667,0.021333,351,28828
-0,1.728000,0.021333,342,29179
-0,1.749333,0.021333,342,29521
-0,1.770667,0.021333,328,29863
-0,1.792000,0.021333,378,30191
-0,1.813333,0.021333,345,30569
-0,1.834667,0.021333,325,30914
-0,1.856000,0.021333,337,31239
-0,1.877333,0.021333,334,31576
-0,1.898667,0.021333,342,31910
-0,1.920000,0.021333,342,32252
-0,1.941333,0.021333,343,32594
-0,1.962667,0.021333,333,32937
-0,1.984000,0.021333,358,33270
-0,2.005333,0.021333,343,33628
-0,2.026667,0.021333,341,33971
-0,2.048000,0.021333,324,34312
-0,2.069333,0.021333,343,34636
-0,2.090667,0.021333,360,34979
-0,2.112000,0.021333,357,35339
-0,2.133333,0.021333,342,35696
-0,2.154667,0.021333,303,36038
-0,2.176000,0.021333,375,36341
-0,2.197333,0.021333,347,36716
-0,2.218667,0.021333,343,37063
-0,2.240000,0.021333,338,37406
-0,2.261333,0.021333,337,37744
-0,2.282667,0.021333,346,38081
-0,2.304000,0.021333,314,38427
-0,2.325333,0.021333,360,38741
-0,2.346667,0.021333,352,39101
-0,2.368000,0.021333,348,39453
-0,2.389333,0.021333,330,39801
-0,2.410667,0.021333,336,40131
-0,2.432000,0.021333,353,40467
-0,2.453333,0.021333,337,40820
-0,2.474667,0.021333,340,41157
-0,2.496000,0.021333,331,41497
-0,2.517333,0.021333,354,41828
-0,2.538667,0.021333,369,42182
-0,2.560000,0.021333,322,42551
-0,2.581333,0.021333,317,42873
-0,2.602667,0.021333,357,43190
-0,2.624000,0.021333,354,43547
-0,2.645333,0.021333,345,43901
-0,2.666667,0.021333,335,44246
-0,2.688000,0.021333,345,44581
-0,2.709333,0.021333,333,44926
-0,2.730667,0.021333,356,45259
-0,2.752000,0.021333,340,45615
-0,2.773333,0.021333,324,45955
-0,2.794667,0.021333,337,46279
-0,2.816000,0.021333,383,46616
-0,2.837333,0.021333,354,46999
-0,2.858667,0.021333,327,47353
-0,2.880000,0.021333,328,47680
-0,2.901333,0.021333,326,48008
-0,2.922667,0.021333,369,48334
-0,2.944000,0.021333,324,48703
-0,2.965333,0.021333,357,49027
-0,2.986667,0.021333,338,49384
-0,3.008000,0.021333,317,49722
-0,3.029333,0.021333,334,50039
-0,3.050667,0.021333,360,50373
-0,3.072000,0.021333,345,50733
-0,3.093333,0.021333,329,51078
-0,3.114667,0.021333,357,51407
-0,3.136000,0.021333,346,51764
-0,3.157333,0.021333,341,52110
-0,3.178667,0.021333,317,52451
-0,3.200000,0.021333,351,52768
-0,3.221333,0.021333,353,53119
-0,3.242667,0.021333,350,53472
-0,3.264000,0.021333,350,53822
-0,3.285333,0.021333,326,54172
-0,3.306667,0.021333,340,54498
-0,3.328000,0.021333,333,54838
-0,3.349333,0.021333,345,55171
-0,3.370667,0.021333,340,55516
-0,3.392000,0.021333,350,55856
-0,3.413333,0.021333,327,56206
-0,3.434667,0.021333,358,56533
-0,3.456000,0.021333,348,56891
-0,3.477333,0.021333,313,57239
-0,3.498667,0.021333,351,57552
-0,3.520000,0.021333,337,57903
-0,3.541333,0.021333,346,58240
-0,3.562667,0.021333,337,58586
-0,3.584000,0.021333,348,58923
-0,3.605333,0.021333,331,59271
-0,3.626667,0.021333,365,59602
-0,3.648000,0.021333,353,59967
-0,3.669333,0.021333,338,60320
-0,3.690667,0.021333,341,60658
-0,3.712000,0.021333,335,60999
-0,3.733333,0.021333,340,61334
-0,3.754667,0.021333,331,61674
-0,3.776000,0.021333,365,62005
-0,3.797333,0.021333,336,62370
-0,3.818667,0.021333,335,62706
-0,3.840000,0.021333,337,63041
-0,3.861333,0.021333,345,63378
-0,3.882667,0.021333,345,63723
-0,3.904000,0.021333,333,64068
-0,3.925333,0.021333,342,64401
-0,3.946667,0.021333,353,64743
-0,3.968000,0.021333,338,65096
-0,3.989333,0.021333,351,65434
-0,4.010667,0.021333,328,66645
-0,4.032000,0.021333,345,66973
-0,4.053333,0.021333,341,67318
-0,4.074667,0.021333,323,67659
-0,4.096000,0.021333,359,67982
-0,4.117333,0.021333,339,68341
-0,4.138667,0.021333,333,68680
-0,4.160000,0.021333,327,69013
-0,4.181333,0.021333,347,69340
-0,4.202667,0.021333,339,69687
-0,4.224000,0.021333,363,70026
-0,4.245333,0.021333,346,70389
-0,4.266667,0.021333,322,70735
-0,4.288000,0.021333,348,71057
-0,4.309333,0.021333,354,71405
-0,4.330667,0.021333,344,71759
-0,4.352000,0.021333,334,72103
-0,4.373333,0.021333,334,72437
-0,4.394667,0.021333,336,72771
-0,4.416000,0.021333,367,73107
-0,4.437333,0.021333,342,73474
-0,4.458667,0.021333,337,73816
-0,4.480000,0.021333,346,74153
-0,4.501333,0.021333,325,74499
-0,4.522667,0.021333,352,74824
-0,4.544000,0.021333,321,75176
-0,4.565333,0.021333,370,75497
-0,4.586667,0.021333,338,75867
-0,4.608000,0.021333,349,76205
-0,4.629333,0.021333,331,76554
-0,4.650667,0.021333,335,76885
-0,4.672000,0.021333,332,77220
-0,4.693333,0.021333,330,77552
-0,4.714667,0.021333,369,77882
-0,4.736000,0.021333,339,78251
-0,4.757333,0.021333,327,78590
-0,4.778667,0.021333,344,78917
-0,4.800000,0.021333,355,79261
-0,4.821333,0.021333,354,79616
-0,4.842667,0.021333,330,79970
-0,4.864000,0.021333,339,80300
-0,4.885333,0.021333,332,80639
-0,4.906667,0.021333,347,80971
-0,4.928000,0.021333,356,81318
-0,4.949333,0.021333,325,81674
-0,4.970667,0.021333,353,81999
-0,4.992000,0.021333,338,82352
-0,5.013333,0.021333,337,82690
-0,5.034667,0.021333,353,83027
-0,5.056000,0.021333,337,83380
-0,5.077333,0.021333,345,83717
-0,5.098667,0.021333,344,84062
-0,5.120000,0.021333,324,84406
-0,5.141333,0.021333,352,84730
-0,5.162667,0.021333,333,85082
-0,5.184000,0.021333,353,85415
-0,5.205333,0.021333,329,85768
-0,5.226667,0.021333,356,86097
-0,5.248000,0.021333,344,86453
-0,5.269333,0.021333,337,86797
-0,5.290667,0.021333,345,87134
-0,5.312000,0.021333,332,87479
-0,5.333333,0.021333,346,87811
-0,5.354667,0.021333,337,88157
-0,5.376000,0.021333,342,88494
-0,5.397333,0.021333,341,88836
-0,5.418667,0.021333,340,89177
-0,5.440000,0.021333,347,89517
-0,5.461333,0.021333,350,89864
-0,5.482667,0.021333,337,90214
-0,5.504000,0.021333,331,90551
-0,5.525333,0.021333,338,90882
-0,5.546667,0.021333,346,91220
-0,5.568000,0.021333,337,91566
-0,5.589333,0.021333,349,91903
-0,5.610667,0.021333,346,92252
-0,5.632000,0.021333,341,92598
-0,5.653333,0.021333,333,92939
-0,5.674667,0.021333,343,93272
-0,5.696000,0.021333,338,93615
-0,5.717333,0.021333,341,93953
-0,5.738667,0.021333,349,94294
-0,5.760000,0.021333,340,94643
-0,5.781333,0.021333,348,94983
-0,5.802667,0.021333,338,95331
-0,5.824000,0.021333,340,95669
-0,5.845333,0.021333,346,96009
-0,5.866667,0.021333,332,96355
-0,5.888000,0.021333,341,96687
-0,5.909333,0.021333,350,97028
-0,5.930667,0.021333,348,97378
-0,5.952000,0.021333,336,97726
-0,5.973333,0.021333,332,98062
-0,5.994667,0.021333,338,98394
-0,6.016000,0.021333,351,98732
-0,6.037333,0.021333,331,99083
-0,6.058667,0.021333,355,99414
-0,6.080000,0.021333,344,99769
-0,6.101333,0.021333,344,100113
-0,6.122667,0.021333,334,100457
-0,6.144000,0.021333,346,100791
-0,6.165333,0.021333,335,101137
-0,6.186667,0.021333,351,101472
-0,6.208000,0.021333,335,101823
-0,6.229333,0.021333,338,102158
-0,6.250667,0.021333,349,102496
-0,6.272000,0.021333,340,102845
-0,6.293333,0.021333,339,103185
-0,6.314667,0.021333,339,103524
-0,6.336000,0.021333,347,103863
-0,6.357333,0.021333,335,104210
-0,6.378667,0.021333,336,104545
-0,6.400000,0.021333,353,104881
-0,6.421333,0.021333,338,105234
-0,6.442667,0.021333,341,105572
-0,6.464000,0.021333,345,105913
-0,6.485333,0.021333,338,106258
-0,6.506667,0.021333,343,106596
-0,6.528000,0.021333,351,106939
-0,6.549333,0.021333,338,107290
-0,6.570667,0.021333,335,107628
-0,6.592000,0.021333,341,107963
-0,6.613333,0.021333,347,108304
-0,6.634667,0.021333,342,108651
-0,6.656000,0.021333,344,108993
-0,6.677333,0.021333,337,109337
-0,6.698667,0.021333,337,109674
-0,6.720000,0.021333,345,110011
-0,6.741333,0.021333,344,110356
-0,6.762667,0.021333,327,110700
-0,6.784000,0.021333,360,111027
-0,6.805333,0.021333,332,111387
-0,6.826667,0.021333,350,111719
-0,6.848000,0.021333,350,112069
-0,6.869333,0.021333,325,112419
-0,6.890667,0.021333,350,112744
-0,6.912000,0.021333,336,113094
-0,6.933333,0.021333,350,113430
-0,6.954667,0.021333,324,113780
-0,6.976000,0.021333,360,114104
-0,6.997333,0.021333,334,114464
-0,7.018667,0.021333,341,114798
-0,7.040000,0.021333,342,115139
-0,7.061333,0.021333,339,115481
-0,7.082667,0.021333,350,115820
-0,7.104000,0.021333,326,116170
-0,7.125333,0.021333,360,116496
-0,7.146667,0.021333,325,116856
-0,7.168000,0.021333,355,117181
-0,7.189333,0.021333,332,117536
-0,7.210667,0.021333,350,117868
-0,7.232000,0.021333,332,118218
-0,7.253333,0.021333,340,118550
-0,7.274667,0.021333,347,118890
-0,7.296000,0.021333,332,119237
-0,7.317333,0.021333,353,119569
-0,7.338667,0.021333,330,119922
-0,7.360000,0.021333,355,120252
-0,7.381333,0.021333,330,120607
-0,7.402667,0.021333,351,120937
-0,7.424000,0.021333,330,121288
-0,7.445333,0.021333,347,121618
-0,7.466667,0.021333,332,121965
-0,7.488000,0.021333,358,122297
-0,7.509333,0.021333,330,122655
-0,7.530667,0.021333,350,122985
-0,7.552000,0.021333,339,123335
-0,7.573333,0.021333,339,123674
-0,7.594667,0.021333,346,124013
-0,7.616000,0.021333,327,124359
-0,7.637333,0.021333,355,124686
-0,7.658667,0.021333,334,125041
-0,7.680000,0.021333,341,125375
-0,7.701333,0.021333,343,125716
-0,7.722667,0.021333,331,126059
-0,7.744000,0.021333,367,126390
-0,7.765333,0.021333,320,126757
-0,7.786667,0.021333,365,127077
-0,7.808000,0.021333,321,127442
-0,7.829333,0.021333,367,127763
-0,7.850667,0.021333,312,128130
-0,7.872000,0.021333,371,128442
-0,7.893333,0.021333,309,128813
-0,7.914667,0.021333,370,129122
-0,7.936000,0.021333,319,129492
-0,7.957333,0.021333,351,129811
-0,7.978667,0.021333,340,130162
-0,8.000000,0.021333,341,130502
-0,8.021333,0.021333,336,131327
-0,8.042667,0.021333,344,131663
-0,8.064000,0.021333,342,132007
-0,8.085333,0.021333,327,132349
-0,8.106667,0.021333,357,132676
-0,8.128000,0.021333,336,133033
-0,8.149333,0.021333,342,133369
-0,8.170667,0.021333,336,133711
-0,8.192000,0.021333,343,134047
-0,8.213333,0.021333,338,134390
-0,8.234667,0.021333,338,134728
-0,8.256000,0.021333,355,135066
-0,8.277333,0.021333,332,135421
-0,8.298667,0.021333,341,135753
-0,8.320000,0.021333,340,136094
-0,8.341333,0.021333,336,136434
-0,8.362667,0.021333,349,136770
-0,8.384000,0.021333,339,137119
-0,8.405333,0.021333,341,137458
-0,8.426667,0.021333,344,137799
-0,8.448000,0.021333,348,138143
-0,8.469333,0.021333,324,138491
-0,8.490667,0.021333,362,138815
-0,8.512000,0.021333,328,139177
-0,8.533333,0.021333,359,139505
-0,8.554667,0.021333,322,139864
-0,8.576000,0.021333,356,140186
-0,8.597333,0.021333,329,140542
-0,8.618667,0.021333,350,140871
-0,8.640000,0.021333,332,141221
-0,8.661333,0.021333,349,141553
-0,8.682667,0.021333,348,141902
-0,8.704000,0.021333,329,142250
-0,8.725333,0.021333,349,142579
-0,8.746667,0.021333,328,142928
-0,8.768000,0.021333,358,143256
-0,8.789333,0.021333,333,143614
-0,8.810667,0.021333,334,143947
-0,8.832000,0.021333,341,144281
-0,8.853333,0.021333,347,144622
-0,8.874667,0.021333,339,144969
-0,8.896000,0.021333,339,145308
-0,8.917333,0.021333,344,145647
-0,8.938667,0.021333,337,145991
-0,8.960000,0.021333,353,146328
-0,8.981333,0.021333,314,146681
-0,9.002667,0.021333,381,146995
+0,0.042667,0.021333,301,2281
+0,0.064000,0.021333,315,2582
+0,0.085333,0.021333,312,2897
+0,0.106667,0.021333,336,3209
+0,0.128000,0.021333,350,3545
+0,0.149333,0.021333,321,3895
+0,0.170667,0.021333,347,4216
+0,0.192000,0.021333,345,4563
+0,0.213333,0.021333,338,4908
+0,0.234667,0.021333,339,5246
+0,0.256000,0.021333,348,5585
+0,0.277333,0.021333,356,5933
+0,0.298667,0.021333,317,6289
+0,0.320000,0.021333,351,6606
+0,0.341333,0.021333,343,6957
+0,0.362667,0.021333,338,7300
+0,0.384000,0.021333,334,7638
+0,0.405333,0.021333,357,7972
+0,0.426667,0.021333,351,8329
+0,0.448000,0.021333,337,8680
+0,0.469333,0.021333,337,9017
+0,0.490667,0.021333,336,9354
+0,0.512000,0.021333,356,9690
+0,0.533333,0.021333,340,10046
+0,0.554667,0.021333,339,10386
+0,0.576000,0.021333,334,10725
+0,0.597333,0.021333,345,11059
+0,0.618667,0.021333,342,11404
+0,0.640000,0.021333,348,11746
+0,0.661333,0.021333,337,12094
+0,0.682667,0.021333,330,12431
+0,0.704000,0.021333,348,12761
+0,0.725333,0.021333,357,13109
+0,0.746667,0.021333,352,13466
+0,0.768000,0.021333,343,13818
+0,0.789333,0.021333,333,14161
+0,0.810667,0.021333,343,14494
+0,0.832000,0.021333,354,14837
+0,0.853333,0.021333,350,15191
+0,0.874667,0.021333,332,15541
+0,0.896000,0.021333,323,15873
+0,0.917333,0.021333,352,16196
+0,0.938667,0.021333,339,16548
+0,0.960000,0.021333,335,16887
+0,0.981333,0.021333,344,17222
+0,1.002667,0.021333,330,17566
+0,1.024000,0.021333,362,17896
+0,1.045333,0.021333,342,18258
+0,1.066667,0.021333,328,18600
+0,1.088000,0.021333,347,18928
+0,1.109333,0.021333,317,19275
+0,1.130667,0.021333,360,19592
+0,1.152000,0.021333,338,19952
+0,1.173333,0.021333,343,20290
+0,1.194667,0.021333,338,20633
+0,1.216000,0.021333,362,20971
+0,1.237333,0.021333,341,21333
+0,1.258667,0.021333,332,21674
+0,1.280000,0.021333,359,22006
+0,1.301333,0.021333,341,22365
+0,1.322667,0.021333,335,22706
+0,1.344000,0.021333,373,23041
+0,1.365333,0.021333,359,23414
+0,1.386667,0.021333,342,23773
+0,1.408000,0.021333,317,24115
+0,1.429333,0.021333,334,24432
+0,1.450667,0.021333,332,24766
+0,1.472000,0.021333,391,25098
+0,1.493333,0.021333,320,25489
+0,1.514667,0.021333,318,25809
+0,1.536000,0.021333,352,26127
+0,1.557333,0.021333,324,26479
+0,1.578667,0.021333,346,26803
+0,1.600000,0.021333,322,27149
+0,1.621333,0.021333,350,27471
+0,1.642667,0.021333,351,27821
+0,1.664000,0.021333,339,28172
+0,1.685333,0.021333,337,28511
+0,1.706667,0.021333,341,28848
+0,1.728000,0.021333,337,29189
+0,1.749333,0.021333,338,29526
+0,1.770667,0.021333,336,29864
+0,1.792000,0.021333,336,30200
+0,1.813333,0.021333,356,30536
+0,1.834667,0.021333,362,30892
+0,1.856000,0.021333,345,31254
+0,1.877333,0.021333,336,31599
+0,1.898667,0.021333,348,31935
+0,1.920000,0.021333,333,32283
+0,1.941333,0.021333,330,32616
+0,1.962667,0.021333,345,32946
+0,1.984000,0.021333,355,33291
+0,2.005333,0.021333,331,33646
+0,2.026667,0.021333,346,33977
+0,2.048000,0.021333,318,34323
+0,2.069333,0.021333,356,34641
+0,2.090667,0.021333,361,34997
+0,2.112000,0.021333,334,35358
+0,2.133333,0.021333,344,35692
+0,2.154667,0.021333,305,36036
+0,2.176000,0.021333,380,36341
+0,2.197333,0.021333,342,36721
+0,2.218667,0.021333,331,37063
+0,2.240000,0.021333,346,37394
+0,2.261333,0.021333,337,37740
+0,2.282667,0.021333,352,38077
+0,2.304000,0.021333,314,38429
+0,2.325333,0.021333,350,38743
+0,2.346667,0.021333,389,39093
+0,2.368000,0.021333,335,39482
+0,2.389333,0.021333,306,39817
+0,2.410667,0.021333,351,40123
+0,2.432000,0.021333,349,40474
+0,2.453333,0.021333,337,40823
+0,2.474667,0.021333,340,41160
+0,2.496000,0.021333,334,41500
+0,2.517333,0.021333,351,41834
+0,2.538667,0.021333,342,42185
+0,2.560000,0.021333,335,42527
+0,2.581333,0.021333,319,42862
+0,2.602667,0.021333,353,43181
+0,2.624000,0.021333,341,43534
+0,2.645333,0.021333,342,43875
+0,2.666667,0.021333,337,44217
+0,2.688000,0.021333,353,44554
+0,2.709333,0.021333,344,44907
+0,2.730667,0.021333,355,45251
+0,2.752000,0.021333,379,45606
+0,2.773333,0.021333,330,45985
+0,2.794667,0.021333,324,46315
+0,2.816000,0.021333,367,46639
+0,2.837333,0.021333,318,47006
+0,2.858667,0.021333,374,47324
+0,2.880000,0.021333,327,47698
+0,2.901333,0.021333,341,48025
+0,2.922667,0.021333,323,48366
+0,2.944000,0.021333,331,48689
+0,2.965333,0.021333,386,49020
+0,2.986667,0.021333,327,49406
+0,3.008000,0.021333,315,49733
+0,3.029333,0.021333,356,50048
+0,3.050667,0.021333,347,50404
+0,3.072000,0.021333,326,50751
+0,3.093333,0.021333,352,51077
+0,3.114667,0.021333,322,51429
+0,3.136000,0.021333,384,51751
+0,3.157333,0.021333,321,52135
+0,3.178667,0.021333,325,52456
+0,3.200000,0.021333,351,52781
+0,3.221333,0.021333,352,53132
+0,3.242667,0.021333,355,53484
+0,3.264000,0.021333,319,53839
+0,3.285333,0.021333,353,54158
+0,3.306667,0.021333,342,54511
+0,3.328000,0.021333,343,54853
+0,3.349333,0.021333,337,55196
+0,3.370667,0.021333,320,55533
+0,3.392000,0.021333,367,55853
+0,3.413333,0.021333,333,56220
+0,3.434667,0.021333,344,56553
+0,3.456000,0.021333,343,56897
+0,3.477333,0.021333,314,57240
+0,3.498667,0.021333,373,57554
+0,3.520000,0.021333,339,57927
+0,3.541333,0.021333,334,58266
+0,3.562667,0.021333,342,58600
+0,3.584000,0.021333,328,58942
+0,3.605333,0.021333,329,59270
+0,3.626667,0.021333,346,59599
+0,3.648000,0.021333,358,59945
+0,3.669333,0.021333,347,60303
+0,3.690667,0.021333,348,60650
+0,3.712000,0.021333,360,60998
+0,3.733333,0.021333,334,61358
+0,3.754667,0.021333,316,61692
+0,3.776000,0.021333,365,62008
+0,3.797333,0.021333,344,62373
+0,3.818667,0.021333,341,62717
+0,3.840000,0.021333,333,63058
+0,3.861333,0.021333,339,63391
+0,3.882667,0.021333,349,63730
+0,3.904000,0.021333,334,64079
+0,3.925333,0.021333,343,64413
+0,3.946667,0.021333,332,64756
+0,3.968000,0.021333,346,65088
+0,3.989333,0.021333,345,65434
+0,4.010667,0.021333,341,66639
+0,4.032000,0.021333,352,66980
+0,4.053333,0.021333,338,67332
+0,4.074667,0.021333,314,67670
+0,4.096000,0.021333,368,67984
+0,4.117333,0.021333,339,68352
+0,4.138667,0.021333,331,68691
+0,4.160000,0.021333,346,69022
+0,4.181333,0.021333,332,69368
+0,4.202667,0.021333,343,69700
+0,4.224000,0.021333,339,70043
+0,4.245333,0.021333,351,70382
+0,4.266667,0.021333,331,70733
+0,4.288000,0.021333,341,71064
+0,4.309333,0.021333,363,71405
+0,4.330667,0.021333,342,71768
+0,4.352000,0.021333,351,72110
+0,4.373333,0.021333,339,72461
+0,4.394667,0.021333,334,72800
+0,4.416000,0.021333,341,73134
+0,4.437333,0.021333,358,73475
+0,4.458667,0.021333,329,73833
+0,4.480000,0.021333,345,74162
+0,4.501333,0.021333,317,74507
+0,4.522667,0.021333,355,74824
+0,4.544000,0.021333,325,75179
+0,4.565333,0.021333,361,75504
+0,4.586667,0.021333,347,75865
+0,4.608000,0.021333,346,76212
+0,4.629333,0.021333,333,76558
+0,4.650667,0.021333,352,76891
+0,4.672000,0.021333,336,77243
+0,4.693333,0.021333,333,77579
+0,4.714667,0.021333,344,77912
+0,4.736000,0.021333,348,78256
+0,4.757333,0.021333,334,78604
+0,4.778667,0.021333,338,78938
+0,4.800000,0.021333,353,79276
+0,4.821333,0.021333,336,79629
+0,4.842667,0.021333,342,79965
+0,4.864000,0.021333,337,80307
+0,4.885333,0.021333,330,80644
+0,4.906667,0.021333,357,80974
+0,4.928000,0.021333,348,81331
+0,4.949333,0.021333,327,81679
+0,4.970667,0.021333,355,82006
+0,4.992000,0.021333,336,82361
+0,5.013333,0.021333,331,82697
+0,5.034667,0.021333,359,83028
+0,5.056000,0.021333,338,83387
+0,5.077333,0.021333,347,83725
+0,5.098667,0.021333,340,84072
+0,5.120000,0.021333,324,84412
+0,5.141333,0.021333,354,84736
+0,5.162667,0.021333,330,85090
+0,5.184000,0.021333,358,85420
+0,5.205333,0.021333,326,85778
+0,5.226667,0.021333,354,86104
+0,5.248000,0.021333,344,86458
+0,5.269333,0.021333,336,86802
+0,5.290667,0.021333,349,87138
+0,5.312000,0.021333,333,87487
+0,5.333333,0.021333,359,87820
+0,5.354667,0.021333,336,88179
+0,5.376000,0.021333,330,88515
+0,5.397333,0.021333,347,88845
+0,5.418667,0.021333,336,89192
+0,5.440000,0.021333,347,89528
+0,5.461333,0.021333,353,89875
+0,5.482667,0.021333,335,90228
+0,5.504000,0.021333,328,90563
+0,5.525333,0.021333,336,90891
+0,5.546667,0.021333,349,91227
+0,5.568000,0.021333,344,91576
+0,5.589333,0.021333,336,91920
+0,5.610667,0.021333,334,92256
+0,5.632000,0.021333,351,92590
+0,5.653333,0.021333,339,92941
+0,5.674667,0.021333,343,93280
+0,5.696000,0.021333,343,93623
+0,5.717333,0.021333,344,93966
+0,5.738667,0.021333,347,94310
+0,5.760000,0.021333,337,94657
+0,5.781333,0.021333,345,94994
+0,5.802667,0.021333,334,95339
+0,5.824000,0.021333,342,95673
+0,5.845333,0.021333,346,96015
+0,5.866667,0.021333,329,96361
+0,5.888000,0.021333,344,96690
+0,5.909333,0.021333,345,97034
+0,5.930667,0.021333,352,97379
+0,5.952000,0.021333,340,97731
+0,5.973333,0.021333,337,98071
+0,5.994667,0.021333,324,98408
+0,6.016000,0.021333,360,98732
+0,6.037333,0.021333,341,99092
+0,6.058667,0.021333,340,99433
+0,6.080000,0.021333,352,99773
+0,6.101333,0.021333,340,100125
+0,6.122667,0.021333,332,100465
+0,6.144000,0.021333,346,100797
+0,6.165333,0.021333,332,101143
+0,6.186667,0.021333,362,101475
+0,6.208000,0.021333,317,101837
+0,6.229333,0.021333,367,102154
+0,6.250667,0.021333,329,102521
+0,6.272000,0.021333,343,102850
+0,6.293333,0.021333,334,103193
+0,6.314667,0.021333,350,103527
+0,6.336000,0.021333,342,103877
+0,6.357333,0.021333,332,104219
+0,6.378667,0.021333,345,104551
+0,6.400000,0.021333,333,104896
+0,6.421333,0.021333,357,105229
+0,6.442667,0.021333,339,105586
+0,6.464000,0.021333,340,105925
+0,6.485333,0.021333,340,106265
+0,6.506667,0.021333,342,106605
+0,6.528000,0.021333,348,106947
+0,6.549333,0.021333,338,107295
+0,6.570667,0.021333,336,107633
+0,6.592000,0.021333,342,107969
+0,6.613333,0.021333,347,108311
+0,6.634667,0.021333,338,108658
+0,6.656000,0.021333,347,108996
+0,6.677333,0.021333,333,109343
+0,6.698667,0.021333,348,109676
+0,6.720000,0.021333,337,110024
+0,6.741333,0.021333,344,110361
+0,6.762667,0.021333,328,110705
+0,6.784000,0.021333,364,111033
+0,6.805333,0.021333,326,111397
+0,6.826667,0.021333,352,111723
+0,6.848000,0.021333,352,112075
+0,6.869333,0.021333,320,112427
+0,6.890667,0.021333,351,112747
+0,6.912000,0.021333,337,113098
+0,6.933333,0.021333,353,113435
+0,6.954667,0.021333,316,113788
+0,6.976000,0.021333,366,114104
+0,6.997333,0.021333,329,114470
+0,7.018667,0.021333,350,114799
+0,7.040000,0.021333,333,115149
+0,7.061333,0.021333,343,115482
+0,7.082667,0.021333,345,115825
+0,7.104000,0.021333,329,116170
+0,7.125333,0.021333,366,116499
+0,7.146667,0.021333,311,116865
+0,7.168000,0.021333,364,117176
+0,7.189333,0.021333,327,117540
+0,7.210667,0.021333,356,117867
+0,7.232000,0.021333,330,118223
+0,7.253333,0.021333,347,118553
+0,7.274667,0.021333,334,118900
+0,7.296000,0.021333,350,119234
+0,7.317333,0.021333,339,119584
+0,7.338667,0.021333,335,119923
+0,7.360000,0.021333,348,120258
+0,7.381333,0.021333,337,120606
+0,7.402667,0.021333,347,120943
+0,7.424000,0.021333,331,121290
+0,7.445333,0.021333,349,121621
+0,7.466667,0.021333,334,121970
+0,7.488000,0.021333,346,122304
+0,7.509333,0.021333,349,122650
+0,7.530667,0.021333,334,122999
+0,7.552000,0.021333,353,123333
+0,7.573333,0.021333,325,123686
+0,7.594667,0.021333,363,124011
+0,7.616000,0.021333,310,124374
+0,7.637333,0.021333,375,124684
+0,7.658667,0.021333,316,125059
+0,7.680000,0.021333,358,125375
+0,7.701333,0.021333,321,125733
+0,7.722667,0.021333,364,126054
+0,7.744000,0.021333,327,126418
+0,7.765333,0.021333,344,126745
+0,7.786667,0.021333,348,127089
+0,7.808000,0.021333,330,127437
+0,7.829333,0.021333,363,127767
+0,7.850667,0.021333,320,128130
+0,7.872000,0.021333,364,128450
+0,7.893333,0.021333,313,128814
+0,7.914667,0.021333,358,129127
+0,7.936000,0.021333,333,129485
+0,7.957333,0.021333,341,129818
+0,7.978667,0.021333,342,130159
+0,8.000000,0.021333,339,130501
+0,8.021333,0.021333,340,131324
+0,8.042667,0.021333,338,131664
+0,8.064000,0.021333,349,132002
+0,8.085333,0.021333,323,132351
+0,8.106667,0.021333,366,132674
+0,8.128000,0.021333,331,133040
+0,8.149333,0.021333,344,133371
+0,8.170667,0.021333,331,133715
+0,8.192000,0.021333,353,134046
+0,8.213333,0.021333,331,134399
+0,8.234667,0.021333,346,134730
+0,8.256000,0.021333,345,135076
+0,8.277333,0.021333,330,135421
+0,8.298667,0.021333,354,135751
+0,8.320000,0.021333,333,136105
+0,8.341333,0.021333,340,136438
+0,8.362667,0.021333,342,136778
+0,8.384000,0.021333,339,137120
+0,8.405333,0.021333,346,137459
+0,8.426667,0.021333,338,137805
+0,8.448000,0.021333,354,138143
+0,8.469333,0.021333,323,138497
+0,8.490667,0.021333,362,138820
+0,8.512000,0.021333,329,139182
+0,8.533333,0.021333,356,139511
+0,8.554667,0.021333,322,139867
+0,8.576000,0.021333,360,140189
+0,8.597333,0.021333,326,140549
+0,8.618667,0.021333,350,140875
+0,8.640000,0.021333,331,141225
+0,8.661333,0.021333,350,141556
+0,8.682667,0.021333,348,141906
+0,8.704000,0.021333,329,142254
+0,8.725333,0.021333,349,142583
+0,8.746667,0.021333,329,142932
+0,8.768000,0.021333,356,143261
+0,8.789333,0.021333,336,143617
+0,8.810667,0.021333,333,143953
+0,8.832000,0.021333,343,144286
+0,8.853333,0.021333,343,144629
+0,8.874667,0.021333,341,144972
+0,8.896000,0.021333,339,145313
+0,8.917333,0.021333,344,145652
+0,8.938667,0.021333,338,145996
+0,8.960000,0.021333,353,146334
+0,8.981333,0.021333,315,146687
+0,9.002667,0.021333,379,147002
diff --git a/internal/mediahandler/testdata/fmp4/provenance.txt b/internal/mediahandler/testdata/fmp4/provenance.txt
index e48af990b..febbd1755 100644
--- a/internal/mediahandler/testdata/fmp4/provenance.txt
+++ b/internal/mediahandler/testdata/fmp4/provenance.txt
@@ -1,9 +1,10 @@
Where each fixture comes from (plan 3 Task 4; remade in fix round 1,
when the video encode gained setsar=1 and, with audio, the tpad/trim
-and apad padding).
+and apad padding; replaced on 2026-11-20 by plan 1's spike regeneration).
-Made by Debian 13's ffmpeg 7.1.5 (7:7.1.5-0+deb13u1, amd64, unpacked
-without root on docs-t1) with this package's own videoArgs and
+Made by Debian 13's ffmpeg 7.1.5 (7:7.1.5-0+deb13u1, arm64, in the real
+media image at f359ec13, on the spike's arm64 builder; the spike report's
+"Task 3: stand-up and fixtures") with this package's own videoArgs and
audioArgs: TestRegenerateFMP4Fixtures in realencode_test.go encodes each
recipe under a 9 s grant through runChild, exactly as the handler does,
and writes args.txt (the version line, then each file's exact
@@ -32,12 +33,12 @@ args.txt the exact ffmpeg arguments of each
Each file is ftyp, moov, then three moof/mdat pairs (4 s, 4 s, 1 s), no
free and no mfra box.
-Provisional: plan 1's spike makes the same files with the same arguments
-on arm64 (docs/superpowers/reviews/media-spike-fixtures/fmp4/); when its
-report lands, these are replaced by its files and args.txt by its
-recorded muxer flags, and TestReadFMP4Fixtures and
-TestMuxerArgsMatchTheFixtures rerun against them. The box sequence and
-the muxer flags are not expected to depend on the architecture (the mov
-muxer is the same C code), but the encoded bytes, and so the offsets,
-may differ: x264's and the AAC encoder's output is not promised to be
-identical across CPU feature sets.
+The earlier amd64 files (made on docs-t1) were replaced because their
+args.txt predated the audio filter's sample_fmts=fltp, and a check of the
+muxer flags alone did not notice. TestMuxerArgsMatchTheFixtures now
+compares every argument, so a change to videoArgs or audioArgs fails it
+until these files are made again. Against the amd64 files, the spike's
+have the same box sequence, durations and packet timing; packet sizes and
+so the offsets differ, since x264's and the AAC encoder's output is not
+promised to be identical across CPU feature sets. Either architecture
+will do for a remake; arm64 is the engine's.
diff --git a/internal/mediahandler/testdata/fmp4/video-noaudio.mp4 b/internal/mediahandler/testdata/fmp4/video-noaudio.mp4
index 8b09d0bfc..0d5790af8 100644
Binary files a/internal/mediahandler/testdata/fmp4/video-noaudio.mp4 and b/internal/mediahandler/testdata/fmp4/video-noaudio.mp4 differ
diff --git a/internal/mediahandler/testdata/fmp4/video-noaudio.mp4.packets.csv b/internal/mediahandler/testdata/fmp4/video-noaudio.mp4.packets.csv
index bd08b0fb6..1d71b3e8a 100644
--- a/internal/mediahandler/testdata/fmp4/video-noaudio.mp4.packets.csv
+++ b/internal/mediahandler/testdata/fmp4/video-noaudio.mp4.packets.csv
@@ -1,270 +1,270 @@
-0,0.000000,0.033333,2151,2344
-0,0.033333,0.033333,110,4495
-0,0.066667,0.033333,88,4605
-0,0.100000,0.033333,79,4693
-0,0.133333,0.033333,87,4772
-0,0.166667,0.033333,114,4859
-0,0.200000,0.033333,74,4973
-0,0.233333,0.033333,93,5047
-0,0.266667,0.033333,93,5140
-0,0.300000,0.033333,99,5233
-0,0.333333,0.033333,117,5332
-0,0.366667,0.033333,87,5449
-0,0.400000,0.033333,101,5536
-0,0.433333,0.033333,80,5637
-0,0.466667,0.033333,97,5717
-0,0.500000,0.033333,79,5814
-0,0.533333,0.033333,98,5893
-0,0.566667,0.033333,81,5991
-0,0.600000,0.033333,82,6072
-0,0.633333,0.033333,97,6154
-0,0.666667,0.033333,70,6251
-0,0.700000,0.033333,117,6321
-0,0.733333,0.033333,88,6438
-0,0.766667,0.033333,84,6526
-0,0.800000,0.033333,82,6610
-0,0.833333,0.033333,100,6692
-0,0.866667,0.033333,89,6792
-0,0.900000,0.033333,98,6881
-0,0.933333,0.033333,79,6979
-0,0.966667,0.033333,93,7058
-0,1.000000,0.033333,138,7151
-0,1.033333,0.033333,114,7289
-0,1.066667,0.033333,106,7403
-0,1.100000,0.033333,80,7509
-0,1.133333,0.033333,104,7589
-0,1.166667,0.033333,90,7693
-0,1.200000,0.033333,121,7783
-0,1.233333,0.033333,90,7904
-0,1.266667,0.033333,90,7994
-0,1.300000,0.033333,90,8084
-0,1.333333,0.033333,109,8174
-0,1.366667,0.033333,89,8283
-0,1.400000,0.033333,97,8372
-0,1.433333,0.033333,92,8469
-0,1.466667,0.033333,101,8561
-0,1.500000,0.033333,98,8662
-0,1.533333,0.033333,103,8760
-0,1.566667,0.033333,112,8863
-0,1.600000,0.033333,89,8975
-0,1.633333,0.033333,134,9064
-0,1.666667,0.033333,99,9198
-0,1.700000,0.033333,104,9297
-0,1.733333,0.033333,94,9401
-0,1.766667,0.033333,126,9495
-0,1.800000,0.033333,114,9621
-0,1.833333,0.033333,116,9735
-0,1.866667,0.033333,88,9851
-0,1.900000,0.033333,115,9939
-0,1.933333,0.033333,118,10054
-0,1.966667,0.033333,124,10172
-0,2.000000,0.033333,1614,10296
-0,2.033333,0.033333,114,11910
-0,2.066667,0.033333,83,12024
-0,2.100000,0.033333,108,12107
-0,2.133333,0.033333,106,12215
-0,2.166667,0.033333,95,12321
-0,2.200000,0.033333,114,12416
-0,2.233333,0.033333,97,12530
-0,2.266667,0.033333,131,12627
-0,2.300000,0.033333,91,12758
-0,2.333333,0.033333,119,12849
-0,2.366667,0.033333,81,12968
-0,2.400000,0.033333,84,13049
-0,2.433333,0.033333,118,13133
-0,2.466667,0.033333,113,13251
-0,2.500000,0.033333,131,13364
-0,2.533333,0.033333,93,13495
-0,2.566667,0.033333,113,13588
-0,2.600000,0.033333,128,13701
-0,2.633333,0.033333,102,13829
-0,2.666667,0.033333,100,13931
-0,2.700000,0.033333,126,14031
-0,2.733333,0.033333,119,14157
-0,2.766667,0.033333,127,14276
-0,2.800000,0.033333,120,14403
-0,2.833333,0.033333,103,14523
-0,2.866667,0.033333,108,14626
-0,2.900000,0.033333,133,14734
-0,2.933333,0.033333,88,14867
-0,2.966667,0.033333,130,14955
-0,3.000000,0.033333,147,15085
-0,3.033333,0.033333,112,15232
-0,3.066667,0.033333,96,15344
-0,3.100000,0.033333,89,15440
-0,3.133333,0.033333,96,15529
-0,3.166667,0.033333,96,15625
-0,3.200000,0.033333,99,15721
-0,3.233333,0.033333,93,15820
-0,3.266667,0.033333,109,15913
-0,3.300000,0.033333,110,16022
-0,3.333333,0.033333,96,16132
-0,3.366667,0.033333,94,16228
-0,3.400000,0.033333,90,16322
-0,3.433333,0.033333,77,16412
-0,3.466667,0.033333,112,16489
-0,3.500000,0.033333,72,16601
-0,3.533333,0.033333,91,16673
-0,3.566667,0.033333,93,16764
-0,3.600000,0.033333,90,16857
-0,3.633333,0.033333,110,16947
-0,3.666667,0.033333,84,17057
-0,3.700000,0.033333,94,17141
-0,3.733333,0.033333,97,17235
-0,3.766667,0.033333,99,17332
-0,3.800000,0.033333,90,17431
-0,3.833333,0.033333,85,17521
-0,3.866667,0.033333,95,17606
-0,3.900000,0.033333,107,17701
-0,3.933333,0.033333,95,17808
-0,3.966667,0.033333,101,17903
-0,4.000000,0.033333,1602,19552
-0,4.033333,0.033333,104,21154
-0,4.066667,0.033333,86,21258
-0,4.100000,0.033333,104,21344
-0,4.133333,0.033333,106,21448
-0,4.166667,0.033333,98,21554
-0,4.200000,0.033333,96,21652
-0,4.233333,0.033333,97,21748
-0,4.266667,0.033333,98,21845
-0,4.300000,0.033333,100,21943
-0,4.333333,0.033333,121,22043
-0,4.366667,0.033333,79,22164
-0,4.400000,0.033333,113,22243
-0,4.433333,0.033333,99,22356
-0,4.466667,0.033333,94,22455
-0,4.500000,0.033333,102,22549
-0,4.533333,0.033333,79,22651
-0,4.566667,0.033333,94,22730
-0,4.600000,0.033333,88,22824
-0,4.633333,0.033333,114,22912
-0,4.666667,0.033333,97,23026
-0,4.700000,0.033333,95,23123
-0,4.733333,0.033333,86,23218
-0,4.766667,0.033333,105,23304
-0,4.800000,0.033333,96,23409
-0,4.833333,0.033333,97,23505
-0,4.866667,0.033333,88,23602
-0,4.900000,0.033333,113,23690
-0,4.933333,0.033333,110,23803
-0,4.966667,0.033333,108,23913
-0,5.000000,0.033333,146,24021
-0,5.033333,0.033333,120,24167
-0,5.066667,0.033333,101,24287
-0,5.100000,0.033333,121,24388
-0,5.133333,0.033333,96,24509
-0,5.166667,0.033333,108,24605
-0,5.200000,0.033333,106,24713
-0,5.233333,0.033333,103,24819
-0,5.266667,0.033333,118,24922
-0,5.300000,0.033333,89,25040
-0,5.333333,0.033333,110,25129
-0,5.366667,0.033333,92,25239
-0,5.400000,0.033333,108,25331
-0,5.433333,0.033333,109,25439
-0,5.466667,0.033333,126,25548
-0,5.500000,0.033333,126,25674
-0,5.533333,0.033333,114,25800
-0,5.566667,0.033333,117,25914
-0,5.600000,0.033333,130,26031
-0,5.633333,0.033333,116,26161
-0,5.666667,0.033333,82,26277
-0,5.700000,0.033333,150,26359
-0,5.733333,0.033333,139,26509
-0,5.766667,0.033333,143,26648
-0,5.800000,0.033333,111,26791
-0,5.833333,0.033333,110,26902
-0,5.866667,0.033333,126,27012
-0,5.900000,0.033333,121,27138
-0,5.933333,0.033333,106,27259
-0,5.966667,0.033333,98,27365
-0,6.000000,0.033333,1591,27463
-0,6.033333,0.033333,121,29054
-0,6.066667,0.033333,100,29175
-0,6.100000,0.033333,78,29275
-0,6.133333,0.033333,90,29353
-0,6.166667,0.033333,88,29443
-0,6.200000,0.033333,91,29531
-0,6.233333,0.033333,87,29622
-0,6.266667,0.033333,107,29709
-0,6.300000,0.033333,87,29816
-0,6.333333,0.033333,85,29903
-0,6.366667,0.033333,78,29988
-0,6.400000,0.033333,123,30066
-0,6.433333,0.033333,95,30189
-0,6.466667,0.033333,81,30284
-0,6.500000,0.033333,75,30365
-0,6.533333,0.033333,94,30440
-0,6.566667,0.033333,99,30534
-0,6.600000,0.033333,81,30633
-0,6.633333,0.033333,99,30714
-0,6.666667,0.033333,75,30813
-0,6.700000,0.033333,84,30888
-0,6.733333,0.033333,90,30972
-0,6.766667,0.033333,88,31062
-0,6.800000,0.033333,89,31150
-0,6.833333,0.033333,93,31239
-0,6.866667,0.033333,88,31332
-0,6.900000,0.033333,88,31420
-0,6.933333,0.033333,96,31508
-0,6.966667,0.033333,103,31604
-0,7.000000,0.033333,150,31707
-0,7.033333,0.033333,115,31857
-0,7.066667,0.033333,108,31972
-0,7.100000,0.033333,86,32080
-0,7.133333,0.033333,125,32166
-0,7.166667,0.033333,81,32291
-0,7.200000,0.033333,140,32372
-0,7.233333,0.033333,81,32512
-0,7.266667,0.033333,95,32593
-0,7.300000,0.033333,89,32688
-0,7.333333,0.033333,100,32777
-0,7.366667,0.033333,109,32877
-0,7.400000,0.033333,87,32986
-0,7.433333,0.033333,102,33073
-0,7.466667,0.033333,92,33175
-0,7.500000,0.033333,93,33267
-0,7.533333,0.033333,97,33360
-0,7.566667,0.033333,110,33457
-0,7.600000,0.033333,117,33567
-0,7.633333,0.033333,112,33684
-0,7.666667,0.033333,90,33796
-0,7.700000,0.033333,109,33886
-0,7.733333,0.033333,104,33995
-0,7.766667,0.033333,103,34099
-0,7.800000,0.033333,110,34202
-0,7.833333,0.033333,102,34312
-0,7.866667,0.033333,120,34414
-0,7.900000,0.033333,106,34534
-0,7.933333,0.033333,95,34640
-0,7.966667,0.033333,129,34735
-0,8.000000,0.033333,1605,35216
-0,8.033333,0.033333,127,36821
-0,8.066667,0.033333,88,36948
-0,8.100000,0.033333,107,37036
-0,8.133333,0.033333,99,37143
-0,8.166667,0.033333,99,37242
-0,8.200000,0.033333,125,37341
-0,8.233333,0.033333,92,37466
-0,8.266667,0.033333,113,37558
-0,8.300000,0.033333,91,37671
-0,8.333333,0.033333,109,37762
-0,8.366667,0.033333,84,37871
-0,8.400000,0.033333,116,37955
-0,8.433333,0.033333,89,38071
-0,8.466667,0.033333,107,38160
-0,8.500000,0.033333,124,38267
-0,8.533333,0.033333,117,38391
-0,8.566667,0.033333,120,38508
-0,8.600000,0.033333,89,38628
-0,8.633333,0.033333,116,38717
-0,8.666667,0.033333,110,38833
-0,8.700000,0.033333,122,38943
-0,8.733333,0.033333,109,39065
-0,8.766667,0.033333,99,39174
-0,8.800000,0.033333,89,39273
-0,8.833333,0.033333,114,39362
-0,8.866667,0.033333,110,39476
-0,8.900000,0.033333,80,39586
-0,8.933333,0.033333,79,39666
-0,8.966667,0.033333,52,39745
+0,0.000000,0.033333,2146,2344
+0,0.033333,0.033333,126,4490
+0,0.066667,0.033333,116,4616
+0,0.100000,0.033333,80,4732
+0,0.133333,0.033333,100,4812
+0,0.166667,0.033333,100,4912
+0,0.200000,0.033333,80,5012
+0,0.233333,0.033333,96,5092
+0,0.266667,0.033333,95,5188
+0,0.300000,0.033333,105,5283
+0,0.333333,0.033333,96,5388
+0,0.366667,0.033333,129,5484
+0,0.400000,0.033333,128,5613
+0,0.433333,0.033333,93,5741
+0,0.466667,0.033333,89,5834
+0,0.500000,0.033333,96,5923
+0,0.533333,0.033333,88,6019
+0,0.566667,0.033333,94,6107
+0,0.600000,0.033333,77,6201
+0,0.633333,0.033333,116,6278
+0,0.666667,0.033333,62,6394
+0,0.700000,0.033333,109,6456
+0,0.733333,0.033333,89,6565
+0,0.766667,0.033333,85,6654
+0,0.800000,0.033333,88,6739
+0,0.833333,0.033333,95,6827
+0,0.866667,0.033333,74,6922
+0,0.900000,0.033333,112,6996
+0,0.933333,0.033333,84,7108
+0,0.966667,0.033333,87,7192
+0,1.000000,0.033333,124,7279
+0,1.033333,0.033333,104,7403
+0,1.066667,0.033333,115,7507
+0,1.100000,0.033333,90,7622
+0,1.133333,0.033333,134,7712
+0,1.166667,0.033333,83,7846
+0,1.200000,0.033333,118,7929
+0,1.233333,0.033333,90,8047
+0,1.266667,0.033333,102,8137
+0,1.300000,0.033333,80,8239
+0,1.333333,0.033333,99,8319
+0,1.366667,0.033333,96,8418
+0,1.400000,0.033333,92,8514
+0,1.433333,0.033333,87,8606
+0,1.466667,0.033333,107,8693
+0,1.500000,0.033333,103,8800
+0,1.533333,0.033333,94,8903
+0,1.566667,0.033333,119,8997
+0,1.600000,0.033333,86,9116
+0,1.633333,0.033333,123,9202
+0,1.666667,0.033333,101,9325
+0,1.700000,0.033333,111,9426
+0,1.733333,0.033333,94,9537
+0,1.766667,0.033333,108,9631
+0,1.800000,0.033333,115,9739
+0,1.833333,0.033333,126,9854
+0,1.866667,0.033333,97,9980
+0,1.900000,0.033333,147,10077
+0,1.933333,0.033333,101,10224
+0,1.966667,0.033333,119,10325
+0,2.000000,0.033333,1619,10444
+0,2.033333,0.033333,75,12063
+0,2.066667,0.033333,85,12138
+0,2.100000,0.033333,114,12223
+0,2.133333,0.033333,97,12337
+0,2.166667,0.033333,110,12434
+0,2.200000,0.033333,104,12544
+0,2.233333,0.033333,110,12648
+0,2.266667,0.033333,118,12758
+0,2.300000,0.033333,101,12876
+0,2.333333,0.033333,119,12977
+0,2.366667,0.033333,78,13096
+0,2.400000,0.033333,98,13174
+0,2.433333,0.033333,110,13272
+0,2.466667,0.033333,110,13382
+0,2.500000,0.033333,132,13492
+0,2.533333,0.033333,90,13624
+0,2.566667,0.033333,127,13714
+0,2.600000,0.033333,120,13841
+0,2.633333,0.033333,113,13961
+0,2.666667,0.033333,133,14074
+0,2.700000,0.033333,131,14207
+0,2.733333,0.033333,99,14338
+0,2.766667,0.033333,106,14437
+0,2.800000,0.033333,112,14543
+0,2.833333,0.033333,118,14655
+0,2.866667,0.033333,105,14773
+0,2.900000,0.033333,129,14878
+0,2.933333,0.033333,91,15007
+0,2.966667,0.033333,112,15098
+0,3.000000,0.033333,134,15210
+0,3.033333,0.033333,118,15344
+0,3.066667,0.033333,91,15462
+0,3.100000,0.033333,98,15553
+0,3.133333,0.033333,108,15651
+0,3.166667,0.033333,112,15759
+0,3.200000,0.033333,90,15871
+0,3.233333,0.033333,97,15961
+0,3.266667,0.033333,102,16058
+0,3.300000,0.033333,106,16160
+0,3.333333,0.033333,84,16266
+0,3.366667,0.033333,105,16350
+0,3.400000,0.033333,101,16455
+0,3.433333,0.033333,89,16556
+0,3.466667,0.033333,82,16645
+0,3.500000,0.033333,97,16727
+0,3.533333,0.033333,108,16824
+0,3.566667,0.033333,88,16932
+0,3.600000,0.033333,92,17020
+0,3.633333,0.033333,111,17112
+0,3.666667,0.033333,81,17223
+0,3.700000,0.033333,92,17304
+0,3.733333,0.033333,99,17396
+0,3.766667,0.033333,91,17495
+0,3.800000,0.033333,95,17586
+0,3.833333,0.033333,89,17681
+0,3.866667,0.033333,82,17770
+0,3.900000,0.033333,109,17852
+0,3.933333,0.033333,104,17961
+0,3.966667,0.033333,106,18065
+0,4.000000,0.033333,1607,19719
+0,4.033333,0.033333,84,21326
+0,4.066667,0.033333,84,21410
+0,4.100000,0.033333,103,21494
+0,4.133333,0.033333,91,21597
+0,4.166667,0.033333,94,21688
+0,4.200000,0.033333,102,21782
+0,4.233333,0.033333,86,21884
+0,4.266667,0.033333,117,21970
+0,4.300000,0.033333,101,22087
+0,4.333333,0.033333,100,22188
+0,4.366667,0.033333,88,22288
+0,4.400000,0.033333,106,22376
+0,4.433333,0.033333,90,22482
+0,4.466667,0.033333,82,22572
+0,4.500000,0.033333,116,22654
+0,4.533333,0.033333,90,22770
+0,4.566667,0.033333,103,22860
+0,4.600000,0.033333,90,22963
+0,4.633333,0.033333,113,23053
+0,4.666667,0.033333,92,23166
+0,4.700000,0.033333,102,23258
+0,4.733333,0.033333,84,23360
+0,4.766667,0.033333,108,23444
+0,4.800000,0.033333,88,23552
+0,4.833333,0.033333,117,23640
+0,4.866667,0.033333,92,23757
+0,4.900000,0.033333,120,23849
+0,4.933333,0.033333,93,23969
+0,4.966667,0.033333,121,24062
+0,5.000000,0.033333,147,24183
+0,5.033333,0.033333,119,24330
+0,5.066667,0.033333,121,24449
+0,5.100000,0.033333,101,24570
+0,5.133333,0.033333,100,24671
+0,5.166667,0.033333,96,24771
+0,5.200000,0.033333,158,24867
+0,5.233333,0.033333,101,25025
+0,5.266667,0.033333,106,25126
+0,5.300000,0.033333,109,25232
+0,5.333333,0.033333,109,25341
+0,5.366667,0.033333,111,25450
+0,5.400000,0.033333,109,25561
+0,5.433333,0.033333,146,25670
+0,5.466667,0.033333,106,25816
+0,5.500000,0.033333,117,25922
+0,5.533333,0.033333,98,26039
+0,5.566667,0.033333,117,26137
+0,5.600000,0.033333,105,26254
+0,5.633333,0.033333,145,26359
+0,5.666667,0.033333,107,26504
+0,5.700000,0.033333,150,26611
+0,5.733333,0.033333,100,26761
+0,5.766667,0.033333,132,26861
+0,5.800000,0.033333,112,26993
+0,5.833333,0.033333,132,27105
+0,5.866667,0.033333,117,27237
+0,5.900000,0.033333,119,27354
+0,5.933333,0.033333,88,27473
+0,5.966667,0.033333,107,27561
+0,6.000000,0.033333,1605,27668
+0,6.033333,0.033333,92,29273
+0,6.066667,0.033333,77,29365
+0,6.100000,0.033333,76,29442
+0,6.133333,0.033333,90,29518
+0,6.166667,0.033333,80,29608
+0,6.200000,0.033333,106,29688
+0,6.233333,0.033333,94,29794
+0,6.266667,0.033333,81,29888
+0,6.300000,0.033333,87,29969
+0,6.333333,0.033333,118,30056
+0,6.366667,0.033333,83,30174
+0,6.400000,0.033333,115,30257
+0,6.433333,0.033333,81,30372
+0,6.466667,0.033333,95,30453
+0,6.500000,0.033333,97,30548
+0,6.533333,0.033333,85,30645
+0,6.566667,0.033333,95,30730
+0,6.600000,0.033333,72,30825
+0,6.633333,0.033333,104,30897
+0,6.666667,0.033333,73,31001
+0,6.700000,0.033333,117,31074
+0,6.733333,0.033333,79,31191
+0,6.766667,0.033333,90,31270
+0,6.800000,0.033333,90,31360
+0,6.833333,0.033333,85,31450
+0,6.866667,0.033333,87,31535
+0,6.900000,0.033333,98,31622
+0,6.933333,0.033333,100,31720
+0,6.966667,0.033333,104,31820
+0,7.000000,0.033333,146,31924
+0,7.033333,0.033333,116,32070
+0,7.066667,0.033333,123,32186
+0,7.100000,0.033333,91,32309
+0,7.133333,0.033333,97,32400
+0,7.166667,0.033333,84,32497
+0,7.200000,0.033333,108,32581
+0,7.233333,0.033333,104,32689
+0,7.266667,0.033333,84,32793
+0,7.300000,0.033333,86,32877
+0,7.333333,0.033333,103,32963
+0,7.366667,0.033333,99,33066
+0,7.400000,0.033333,111,33165
+0,7.433333,0.033333,108,33276
+0,7.466667,0.033333,103,33384
+0,7.500000,0.033333,85,33487
+0,7.533333,0.033333,82,33572
+0,7.566667,0.033333,109,33654
+0,7.600000,0.033333,108,33763
+0,7.633333,0.033333,116,33871
+0,7.666667,0.033333,98,33987
+0,7.700000,0.033333,113,34085
+0,7.733333,0.033333,115,34198
+0,7.766667,0.033333,95,34313
+0,7.800000,0.033333,111,34408
+0,7.833333,0.033333,111,34519
+0,7.866667,0.033333,102,34630
+0,7.900000,0.033333,106,34732
+0,7.933333,0.033333,115,34838
+0,7.966667,0.033333,125,34953
+0,8.000000,0.033333,1607,35430
+0,8.033333,0.033333,87,37037
+0,8.066667,0.033333,94,37124
+0,8.100000,0.033333,98,37218
+0,8.133333,0.033333,109,37316
+0,8.166667,0.033333,98,37425
+0,8.200000,0.033333,129,37523
+0,8.233333,0.033333,87,37652
+0,8.266667,0.033333,114,37739
+0,8.300000,0.033333,102,37853
+0,8.333333,0.033333,103,37955
+0,8.366667,0.033333,94,38058
+0,8.400000,0.033333,110,38152
+0,8.433333,0.033333,99,38262
+0,8.466667,0.033333,105,38361
+0,8.500000,0.033333,118,38466
+0,8.533333,0.033333,102,38584
+0,8.566667,0.033333,144,38686
+0,8.600000,0.033333,89,38830
+0,8.633333,0.033333,123,38919
+0,8.666667,0.033333,102,39042
+0,8.700000,0.033333,114,39144
+0,8.733333,0.033333,121,39258
+0,8.766667,0.033333,115,39379
+0,8.800000,0.033333,106,39494
+0,8.833333,0.033333,111,39600
+0,8.866667,0.033333,103,39711
+0,8.900000,0.033333,73,39814
+0,8.933333,0.033333,61,39887
+0,8.966667,0.033333,68,39948
diff --git a/internal/mediahandler/testdata/fmp4/video.mp4 b/internal/mediahandler/testdata/fmp4/video.mp4
index b473dc11c..05eade27a 100644
Binary files a/internal/mediahandler/testdata/fmp4/video.mp4 and b/internal/mediahandler/testdata/fmp4/video.mp4 differ
diff --git a/internal/mediahandler/testdata/fmp4/video.mp4.packets.csv b/internal/mediahandler/testdata/fmp4/video.mp4.packets.csv
index 5206cc1e0..9e4ffd8ba 100644
--- a/internal/mediahandler/testdata/fmp4/video.mp4.packets.csv
+++ b/internal/mediahandler/testdata/fmp4/video.mp4.packets.csv
@@ -1,693 +1,693 @@
-0,0.000000,0.033333,2151,4387
-0,0.033333,0.033333,110,6538
-0,0.066667,0.033333,88,6648
-0,0.100000,0.033333,79,6736
-0,0.133333,0.033333,87,6815
-0,0.166667,0.033333,114,6902
-0,0.200000,0.033333,74,7016
-0,0.233333,0.033333,93,7090
-0,0.266667,0.033333,93,7183
-0,0.300000,0.033333,99,7276
-0,0.333333,0.033333,117,7375
-0,0.366667,0.033333,87,7492
-0,0.400000,0.033333,101,7579
-0,0.433333,0.033333,80,7680
-0,0.466667,0.033333,97,7760
-0,0.500000,0.033333,79,7857
-0,0.533333,0.033333,98,7936
-0,0.566667,0.033333,81,8034
-0,0.600000,0.033333,82,8115
-0,0.633333,0.033333,97,8197
-0,0.666667,0.033333,70,8294
-0,0.700000,0.033333,117,8364
-0,0.733333,0.033333,88,8481
-0,0.766667,0.033333,84,8569
-0,0.800000,0.033333,82,8653
-0,0.833333,0.033333,100,8735
-0,0.866667,0.033333,89,8835
-0,0.900000,0.033333,98,8924
-0,0.933333,0.033333,79,9022
-0,0.966667,0.033333,93,9101
-0,1.000000,0.033333,138,9194
-1,0.000000,N/A,284,20047
-0,1.033333,0.033333,114,9332
-0,1.066667,0.033333,106,9446
-1,0.066667,0.021333,378,20331
-1,0.088000,0.021333,289,20709
-0,1.100000,0.033333,80,9552
-1,0.109333,0.021333,358,20998
-1,0.130667,0.021333,323,21356
-0,1.133333,0.033333,104,9632
-1,0.152000,0.021333,335,21679
-0,1.166667,0.033333,90,9736
-1,0.173333,0.021333,381,22014
-1,0.194667,0.021333,319,22395
-0,1.200000,0.033333,121,9826
-1,0.216000,0.021333,331,22714
-0,1.233333,0.033333,90,9947
-1,0.237333,0.021333,318,23045
-1,0.258667,0.021333,353,23363
-0,1.266667,0.033333,90,10037
-1,0.280000,0.021333,352,23716
-0,1.300000,0.033333,90,10127
-1,0.301333,0.021333,349,24068
-1,0.322667,0.021333,368,24417
-0,1.333333,0.033333,109,10217
-1,0.344000,0.021333,319,24785
-1,0.365333,0.021333,337,25104
-0,1.366667,0.033333,89,10326
-1,0.386667,0.021333,339,25441
-0,1.400000,0.033333,97,10415
-1,0.408000,0.021333,353,25780
-1,0.429333,0.021333,326,26133
-0,1.433333,0.033333,92,10512
-1,0.450667,0.021333,341,26459
-0,1.466667,0.033333,101,10604
-1,0.472000,0.021333,350,26800
-1,0.493333,0.021333,354,27150
-0,1.500000,0.033333,98,10705
-1,0.514667,0.021333,329,27504
-0,1.533333,0.033333,103,10803
-1,0.536000,0.021333,326,27833
-1,0.557333,0.021333,350,28159
-0,1.566667,0.033333,112,10906
-1,0.578667,0.021333,374,28509
-0,1.600000,0.033333,89,11018
-1,0.600000,0.021333,305,28883
-1,0.621333,0.021333,359,29188
-0,1.633333,0.033333,134,11107
-1,0.642667,0.021333,352,29547
-1,0.664000,0.021333,348,29899
-0,1.666667,0.033333,99,11241
-1,0.685333,0.021333,327,30247
-0,1.700000,0.033333,104,11340
-1,0.706667,0.021333,351,30574
-1,0.728000,0.021333,318,30925
-0,1.733333,0.033333,94,11444
-1,0.749333,0.021333,346,31243
-0,1.766667,0.033333,126,11538
-1,0.770667,0.021333,375,31589
-1,0.792000,0.021333,333,31964
-0,1.800000,0.033333,114,11664
-1,0.813333,0.021333,359,32297
-0,1.833333,0.033333,116,11778
-1,0.834667,0.021333,332,32656
-1,0.856000,0.021333,352,32988
-0,1.866667,0.033333,88,11894
-1,0.877333,0.021333,327,33340
-1,0.898667,0.021333,328,33667
-0,1.900000,0.033333,115,11982
-1,0.920000,0.021333,348,33995
-0,1.933333,0.033333,118,12097
-1,0.941333,0.021333,351,34343
-1,0.962667,0.021333,326,34694
-0,1.966667,0.033333,124,12215
-1,0.984000,0.021333,359,35020
-0,2.000000,0.033333,1614,12339
-1,1.005333,0.021333,348,35379
-1,1.026667,0.021333,329,35727
-0,2.033333,0.033333,114,13953
-1,1.048000,0.021333,328,36056
-0,2.066667,0.033333,83,14067
-1,1.069333,0.021333,346,36384
-1,1.090667,0.021333,377,36730
-0,2.100000,0.033333,108,14150
-1,1.112000,0.021333,308,37107
-0,2.133333,0.033333,106,14258
-1,1.133333,0.021333,326,37415
-1,1.154667,0.021333,360,37741
-0,2.166667,0.033333,95,14364
-1,1.176000,0.021333,349,38101
-1,1.197333,0.021333,340,38450
-0,2.200000,0.033333,114,14459
-1,1.218667,0.021333,326,38790
-0,2.233333,0.033333,97,14573
-1,1.240000,0.021333,359,39116
-1,1.261333,0.021333,345,39475
-0,2.266667,0.033333,131,14670
-1,1.282667,0.021333,327,39820
-0,2.300000,0.033333,91,14801
-1,1.304000,0.021333,350,40147
-1,1.325333,0.021333,350,40497
-0,2.333333,0.033333,119,14892
-1,1.346667,0.021333,339,40847
-0,2.366667,0.033333,81,15011
-1,1.368000,0.021333,322,41186
-1,1.389333,0.021333,329,41508
-0,2.400000,0.033333,84,15092
-1,1.410667,0.021333,347,41837
-1,1.432000,0.021333,331,42184
-0,2.433333,0.033333,118,15176
-1,1.453333,0.021333,346,42515
-0,2.466667,0.033333,113,15294
-1,1.474667,0.021333,349,42861
-1,1.496000,0.021333,338,43210
-0,2.500000,0.033333,131,15407
-1,1.517333,0.021333,342,43548
-0,2.533333,0.033333,93,15538
-1,1.538667,0.021333,340,43890
-1,1.560000,0.021333,350,44230
-0,2.566667,0.033333,113,15631
-1,1.581333,0.021333,336,44580
-0,2.600000,0.033333,128,15744
-1,1.602667,0.021333,351,44916
-1,1.624000,0.021333,338,45267
-0,2.633333,0.033333,102,15872
-1,1.645333,0.021333,352,45605
-0,2.666667,0.033333,100,15974
-1,1.666667,0.021333,339,45957
-1,1.688000,0.021333,347,46296
-0,2.700000,0.033333,126,16074
-1,1.709333,0.021333,373,46643
-1,1.730667,0.021333,333,47016
-0,2.733333,0.033333,119,16200
-1,1.752000,0.021333,328,47349
-0,2.766667,0.033333,127,16319
-1,1.773333,0.021333,335,47677
-1,1.794667,0.021333,328,48012
-0,2.800000,0.033333,120,16446
-1,1.816000,0.021333,334,48340
-0,2.833333,0.033333,103,16566
-1,1.837333,0.021333,347,48674
-1,1.858667,0.021333,334,49021
-0,2.866667,0.033333,108,16669
-1,1.880000,0.021333,337,49355
-0,2.900000,0.033333,133,16777
-1,1.901333,0.021333,342,49692
-1,1.922667,0.021333,356,50034
-0,2.933333,0.033333,88,16910
-1,1.944000,0.021333,347,50390
-1,1.965333,0.021333,338,50737
-0,2.966667,0.033333,130,16998
-1,1.986667,0.021333,341,51075
-0,3.000000,0.033333,147,17128
-1,2.008000,0.021333,335,51416
-1,2.029333,0.021333,364,51751
-0,3.033333,0.033333,112,17275
-1,2.050667,0.021333,350,52115
-0,3.066667,0.033333,96,17387
-1,2.072000,0.021333,308,52465
-1,2.093333,0.021333,352,52773
-0,3.100000,0.033333,89,17483
-1,2.114667,0.021333,355,53125
-0,3.133333,0.033333,96,17572
-1,2.136000,0.021333,334,53480
-1,2.157333,0.021333,329,53814
-0,3.166667,0.033333,96,17668
-1,2.178667,0.021333,356,54143
-0,3.200000,0.033333,99,17764
-1,2.200000,0.021333,352,54499
-1,2.221333,0.021333,331,54851
-0,3.233333,0.033333,93,17863
-1,2.242667,0.021333,336,55182
-1,2.264000,0.021333,324,55518
-0,3.266667,0.033333,109,17956
-1,2.285333,0.021333,343,55842
-0,3.300000,0.033333,110,18065
-1,2.306667,0.021333,368,56185
-1,2.328000,0.021333,351,56553
-0,3.333333,0.033333,96,18175
-1,2.349333,0.021333,299,56904
-0,3.366667,0.033333,94,18271
-1,2.370667,0.021333,364,57203
-1,2.392000,0.021333,348,57567
-0,3.400000,0.033333,90,18365
-1,2.413333,0.021333,349,57915
-0,3.433333,0.033333,77,18455
-1,2.434667,0.021333,328,58264
-1,2.456000,0.021333,366,58592
-0,3.466667,0.033333,112,18532
-1,2.477333,0.021333,329,58958
-1,2.498667,0.021333,334,59287
-0,3.500000,0.033333,72,18644
-1,2.520000,0.021333,346,59621
-0,3.533333,0.033333,91,18716
-1,2.541333,0.021333,344,59967
-1,2.562667,0.021333,334,60311
-0,3.566667,0.033333,93,18807
-1,2.584000,0.021333,349,60645
-0,3.600000,0.033333,90,18900
-1,2.605333,0.021333,342,60994
-1,2.626667,0.021333,340,61336
-0,3.633333,0.033333,110,18990
-1,2.648000,0.021333,351,61676
-0,3.666667,0.033333,84,19100
-1,2.669333,0.021333,344,62027
-1,2.690667,0.021333,315,62371
-0,3.700000,0.033333,94,19184
-1,2.712000,0.021333,351,62686
-0,3.733333,0.033333,97,19278
-1,2.733333,0.021333,344,63037
-1,2.754667,0.021333,355,63381
-0,3.766667,0.033333,99,19375
-1,2.776000,0.021333,343,63736
-1,2.797333,0.021333,334,64079
-0,3.800000,0.033333,90,19474
-1,2.818667,0.021333,323,64413
-0,3.833333,0.033333,85,19564
-1,2.840000,0.021333,351,64736
-1,2.861333,0.021333,352,65087
-0,3.866667,0.033333,95,19649
-1,2.882667,0.021333,333,65439
-0,3.900000,0.033333,107,19744
-1,2.904000,0.021333,344,65772
-1,2.925333,0.021333,346,66116
-0,3.933333,0.033333,95,19851
-1,2.946667,0.021333,332,66462
-0,3.966667,0.033333,101,19946
-1,2.968000,0.021333,329,66794
-1,2.989333,0.021333,355,67123
-1,3.010667,0.021333,342,67478
-1,3.032000,0.021333,372,67820
-1,3.053333,0.021333,332,68192
-1,3.074667,0.021333,319,68524
-1,3.096000,0.021333,347,68843
-1,3.117333,0.021333,345,69190
-1,3.138667,0.021333,341,69535
-1,3.160000,0.021333,341,69876
-1,3.181333,0.021333,341,70217
-1,3.202667,0.021333,345,70558
-1,3.224000,0.021333,347,70903
-1,3.245333,0.021333,339,71250
-1,3.266667,0.021333,348,71589
-1,3.288000,0.021333,316,71937
-1,3.309333,0.021333,352,72253
-1,3.330667,0.021333,330,72605
-1,3.352000,0.021333,360,72935
-1,3.373333,0.021333,345,73295
-1,3.394667,0.021333,351,73640
-1,3.416000,0.021333,323,73991
-1,3.437333,0.021333,337,74314
-1,3.458667,0.021333,355,74651
-1,3.480000,0.021333,345,75006
-1,3.501333,0.021333,349,75351
-1,3.522667,0.021333,324,75700
-1,3.544000,0.021333,330,76024
-1,3.565333,0.021333,347,76354
-1,3.586667,0.021333,359,76701
-1,3.608000,0.021333,338,77060
-1,3.629333,0.021333,333,77398
-1,3.650667,0.021333,353,77731
-1,3.672000,0.021333,324,78084
-1,3.693333,0.021333,363,78408
-1,3.714667,0.021333,333,78771
-1,3.736000,0.021333,353,79104
-1,3.757333,0.021333,339,79457
-1,3.778667,0.021333,354,79796
-1,3.800000,0.021333,322,80150
-1,3.821333,0.021333,318,80472
-1,3.842667,0.021333,378,80790
-1,3.864000,0.021333,330,81168
-1,3.885333,0.021333,342,81498
-1,3.906667,0.021333,346,81840
-1,3.928000,0.021333,340,82186
-1,3.949333,0.021333,346,82526
-1,3.970667,0.021333,328,82872
-1,3.992000,0.021333,353,83200
-0,4.000000,0.033333,1602,85925
-0,4.033333,0.033333,104,87527
-0,4.066667,0.033333,86,87631
-0,4.100000,0.033333,104,87717
-0,4.133333,0.033333,106,87821
-0,4.166667,0.033333,98,87927
-0,4.200000,0.033333,96,88025
-0,4.233333,0.033333,97,88121
-0,4.266667,0.033333,98,88218
-0,4.300000,0.033333,100,88316
-0,4.333333,0.033333,121,88416
-0,4.366667,0.033333,79,88537
-0,4.400000,0.033333,113,88616
-0,4.433333,0.033333,99,88729
-0,4.466667,0.033333,94,88828
-0,4.500000,0.033333,102,88922
-0,4.533333,0.033333,79,89024
-0,4.566667,0.033333,94,89103
-0,4.600000,0.033333,88,89197
-0,4.633333,0.033333,114,89285
-0,4.666667,0.033333,97,89399
-0,4.700000,0.033333,95,89496
-0,4.733333,0.033333,86,89591
-0,4.766667,0.033333,105,89677
-0,4.800000,0.033333,96,89782
-0,4.833333,0.033333,97,89878
-0,4.866667,0.033333,88,89975
-0,4.900000,0.033333,113,90063
-0,4.933333,0.033333,110,90176
-0,4.966667,0.033333,108,90286
-0,5.000000,0.033333,146,90394
-1,4.013333,0.021333,348,101237
-0,5.033333,0.033333,120,90540
-1,4.034667,0.021333,323,101585
-1,4.056000,0.021333,345,101908
-0,5.066667,0.033333,101,90660
-1,4.077333,0.021333,338,102253
-1,4.098667,0.021333,349,102591
-0,5.100000,0.033333,121,90761
-1,4.120000,0.021333,355,102940
-0,5.133333,0.033333,96,90882
-1,4.141333,0.021333,338,103295
-1,4.162667,0.021333,346,103633
-0,5.166667,0.033333,108,90978
-1,4.184000,0.021333,337,103979
-0,5.200000,0.033333,106,91086
-1,4.205333,0.021333,327,104316
-1,4.226667,0.021333,352,104643
-0,5.233333,0.033333,103,91192
-1,4.248000,0.021333,348,104995
-0,5.266667,0.033333,118,91295
-1,4.269333,0.021333,340,105343
-1,4.290667,0.021333,344,105683
-0,5.300000,0.033333,89,91413
-1,4.312000,0.021333,323,106027
-0,5.333333,0.033333,110,91502
-1,4.333333,0.021333,344,106350
-1,4.354667,0.021333,354,106694
-0,5.366667,0.033333,92,91612
-1,4.376000,0.021333,347,107048
-1,4.397333,0.021333,323,107395
-0,5.400000,0.033333,108,91704
-1,4.418667,0.021333,347,107718
-0,5.433333,0.033333,109,91812
-1,4.440000,0.021333,344,108065
-1,4.461333,0.021333,344,108409
-0,5.466667,0.033333,126,91921
-1,4.482667,0.021333,346,108753
-0,5.500000,0.033333,126,92047
-1,4.504000,0.021333,335,109099
-1,4.525333,0.021333,331,109434
-0,5.533333,0.033333,114,92173
-1,4.546667,0.021333,358,109765
-0,5.566667,0.033333,117,92287
-1,4.568000,0.021333,334,110123
-1,4.589333,0.021333,345,110457
-0,5.600000,0.033333,130,92404
-1,4.610667,0.021333,341,110802
-1,4.632000,0.021333,346,111143
-0,5.633333,0.033333,116,92534
-1,4.653333,0.021333,329,111489
-0,5.666667,0.033333,82,92650
-1,4.674667,0.021333,340,111818
-1,4.696000,0.021333,352,112158
-0,5.700000,0.033333,150,92732
-1,4.717333,0.021333,342,112510
-0,5.733333,0.033333,139,92882
-1,4.738667,0.021333,341,112852
-1,4.760000,0.021333,340,113193
-0,5.766667,0.033333,143,93021
-1,4.781333,0.021333,340,113533
-0,5.800000,0.033333,111,93164
-1,4.802667,0.021333,344,113873
-1,4.824000,0.021333,349,114217
-0,5.833333,0.033333,110,93275
-1,4.845333,0.021333,333,114566
-0,5.866667,0.033333,126,93385
-1,4.866667,0.021333,345,114899
-1,4.888000,0.021333,346,115244
-0,5.900000,0.033333,121,93511
-1,4.909333,0.021333,340,115590
-1,4.930667,0.021333,339,115930
-0,5.933333,0.033333,106,93632
-1,4.952000,0.021333,344,116269
-0,5.966667,0.033333,98,93738
-1,4.973333,0.021333,345,116613
-1,4.994667,0.021333,334,116958
-0,6.000000,0.033333,1591,93836
-1,5.016000,0.021333,346,117292
-0,6.033333,0.033333,121,95427
-1,5.037333,0.021333,332,117638
-1,5.058667,0.021333,347,117970
-0,6.066667,0.033333,100,95548
-1,5.080000,0.021333,336,118317
-0,6.100000,0.033333,78,95648
-1,5.101333,0.021333,344,118653
-1,5.122667,0.021333,334,118997
-0,6.133333,0.033333,90,95726
-1,5.144000,0.021333,345,119331
-1,5.165333,0.021333,335,119676
-0,6.166667,0.033333,88,95816
-1,5.186667,0.021333,348,120011
-0,6.200000,0.033333,91,95904
-1,5.208000,0.021333,337,120359
-1,5.229333,0.021333,345,120696
-0,6.233333,0.033333,87,95995
-1,5.250667,0.021333,344,121041
-0,6.266667,0.033333,107,96082
-1,5.272000,0.021333,334,121385
-1,5.293333,0.021333,336,121719
-0,6.300000,0.033333,87,96189
-1,5.314667,0.021333,351,122055
-0,6.333333,0.033333,85,96276
-1,5.336000,0.021333,350,122406
-1,5.357333,0.021333,344,122756
-0,6.366667,0.033333,78,96361
-1,5.378667,0.021333,341,123100
-0,6.400000,0.033333,123,96439
-1,5.400000,0.021333,333,123441
-1,5.421333,0.021333,345,123774
-0,6.433333,0.033333,95,96562
-1,5.442667,0.021333,346,124119
-1,5.464000,0.021333,339,124465
-0,6.466667,0.033333,81,96657
-1,5.485333,0.021333,343,124804
-0,6.500000,0.033333,75,96738
-1,5.506667,0.021333,356,125147
-1,5.528000,0.021333,337,125503
-0,6.533333,0.033333,94,96813
-1,5.549333,0.021333,317,125840
-0,6.566667,0.033333,99,96907
-1,5.570667,0.021333,360,126157
-1,5.592000,0.021333,341,126517
-0,6.600000,0.033333,81,97006
-1,5.613333,0.021333,339,126858
-0,6.633333,0.033333,99,97087
-1,5.634667,0.021333,347,127197
-1,5.656000,0.021333,341,127544
-0,6.666667,0.033333,75,97186
-1,5.677333,0.021333,337,127885
-1,5.698667,0.021333,336,128222
-0,6.700000,0.033333,84,97261
-1,5.720000,0.021333,337,128558
-0,6.733333,0.033333,90,97345
-1,5.741333,0.021333,344,128895
-1,5.762667,0.021333,346,129239
-0,6.766667,0.033333,88,97435
-1,5.784000,0.021333,342,129585
-0,6.800000,0.033333,89,97523
-1,5.805333,0.021333,342,129927
-1,5.826667,0.021333,341,130269
-0,6.833333,0.033333,93,97612
-1,5.848000,0.021333,339,130610
-0,6.866667,0.033333,88,97705
-1,5.869333,0.021333,350,130949
-1,5.890667,0.021333,334,131299
-0,6.900000,0.033333,88,97793
-1,5.912000,0.021333,333,131633
-0,6.933333,0.033333,96,97881
-1,5.933333,0.021333,353,131966
-1,5.954667,0.021333,342,132319
-0,6.966667,0.033333,103,97977
-1,5.976000,0.021333,341,132661
-1,5.997333,0.021333,337,133002
-0,7.000000,0.033333,150,98080
-1,6.018667,0.021333,345,133339
-0,7.033333,0.033333,115,98230
-1,6.040000,0.021333,329,133684
-1,6.061333,0.021333,350,134013
-0,7.066667,0.033333,108,98345
-1,6.082667,0.021333,340,134363
-0,7.100000,0.033333,86,98453
-1,6.104000,0.021333,352,134703
-1,6.125333,0.021333,335,135055
-0,7.133333,0.033333,125,98539
-1,6.146667,0.021333,351,135390
-0,7.166667,0.033333,81,98664
-1,6.168000,0.021333,345,135741
-1,6.189333,0.021333,337,136086
-0,7.200000,0.033333,140,98745
-1,6.210667,0.021333,344,136423
-1,6.232000,0.021333,341,136767
-0,7.233333,0.033333,81,98885
-1,6.253333,0.021333,339,137108
-0,7.266667,0.033333,95,98966
-1,6.274667,0.021333,335,137447
-1,6.296000,0.021333,332,137782
-0,7.300000,0.033333,89,99061
-1,6.317333,0.021333,358,138114
-0,7.333333,0.033333,100,99150
-1,6.338667,0.021333,335,138472
-1,6.360000,0.021333,344,138807
-0,7.366667,0.033333,109,99250
-1,6.381333,0.021333,335,139151
-0,7.400000,0.033333,87,99359
-1,6.402667,0.021333,345,139486
-1,6.424000,0.021333,344,139831
-0,7.433333,0.033333,102,99446
-1,6.445333,0.021333,335,140175
-0,7.466667,0.033333,92,99548
-1,6.466667,0.021333,351,140510
-1,6.488000,0.021333,329,140861
-0,7.500000,0.033333,93,99640
-1,6.509333,0.021333,348,141190
-1,6.530667,0.021333,335,141538
-0,7.533333,0.033333,97,99733
-1,6.552000,0.021333,344,141873
-0,7.566667,0.033333,110,99830
-1,6.573333,0.021333,352,142217
-1,6.594667,0.021333,340,142569
-0,7.600000,0.033333,117,99940
-1,6.616000,0.021333,343,142909
-0,7.633333,0.033333,112,100057
-1,6.637333,0.021333,329,143252
-1,6.658667,0.021333,346,143581
-0,7.666667,0.033333,90,100169
-1,6.680000,0.021333,348,143927
-0,7.700000,0.033333,109,100259
-1,6.701333,0.021333,342,144275
-1,6.722667,0.021333,338,144617
-0,7.733333,0.033333,104,100368
-1,6.744000,0.021333,337,144955
-1,6.765333,0.021333,336,145292
-0,7.766667,0.033333,103,100472
-1,6.786667,0.021333,343,145628
-0,7.800000,0.033333,110,100575
-1,6.808000,0.021333,348,145971
-1,6.829333,0.021333,338,146319
-0,7.833333,0.033333,102,100685
-1,6.850667,0.021333,349,146657
-0,7.866667,0.033333,120,100787
-1,6.872000,0.021333,338,147006
-1,6.893333,0.021333,350,147344
-0,7.900000,0.033333,106,100907
-1,6.914667,0.021333,329,147694
-0,7.933333,0.033333,95,101013
-1,6.936000,0.021333,354,148023
-1,6.957333,0.021333,324,148377
-0,7.966667,0.033333,129,101108
-1,6.978667,0.021333,348,148701
-1,7.000000,0.021333,340,149049
-1,7.021333,0.021333,336,149389
-1,7.042667,0.021333,339,149725
-1,7.064000,0.021333,353,150064
-1,7.085333,0.021333,333,150417
-1,7.106667,0.021333,356,150750
-1,7.128000,0.021333,333,151106
-1,7.149333,0.021333,349,151439
-1,7.170667,0.021333,336,151788
-1,7.192000,0.021333,350,152124
-1,7.213333,0.021333,326,152474
-1,7.234667,0.021333,355,152800
-1,7.256000,0.021333,331,153155
-1,7.277333,0.021333,359,153486
-1,7.298667,0.021333,322,153845
-1,7.320000,0.021333,351,154167
-1,7.341333,0.021333,332,154518
-1,7.362667,0.021333,358,154850
-1,7.384000,0.021333,317,155208
-1,7.405333,0.021333,368,155525
-1,7.426667,0.021333,313,155893
-1,7.448000,0.021333,369,156206
-1,7.469333,0.021333,328,156575
-1,7.490667,0.021333,352,156903
-1,7.512000,0.021333,329,157255
-1,7.533333,0.021333,352,157584
-1,7.554667,0.021333,333,157936
-1,7.576000,0.021333,337,158269
-1,7.597333,0.021333,348,158606
-1,7.618667,0.021333,329,158954
-1,7.640000,0.021333,359,159283
-1,7.661333,0.021333,322,159642
-1,7.682667,0.021333,357,159964
-1,7.704000,0.021333,337,160321
-1,7.725333,0.021333,336,160658
-1,7.746667,0.021333,345,160994
-1,7.768000,0.021333,336,161339
-1,7.789333,0.021333,357,161675
-1,7.810667,0.021333,332,162032
-1,7.832000,0.021333,359,162364
-1,7.853333,0.021333,325,162723
-1,7.874667,0.021333,364,163048
-1,7.896000,0.021333,316,163412
-1,7.917333,0.021333,365,163728
-1,7.938667,0.021333,309,164093
-1,7.960000,0.021333,385,164402
-1,7.981333,0.021333,298,164787
-0,8.000000,0.033333,1605,165913
-0,8.033333,0.033333,127,167518
-0,8.066667,0.033333,88,167645
-0,8.100000,0.033333,107,167733
-0,8.133333,0.033333,99,167840
-0,8.166667,0.033333,99,167939
-0,8.200000,0.033333,125,168038
-0,8.233333,0.033333,92,168163
-0,8.266667,0.033333,113,168255
-0,8.300000,0.033333,91,168368
-0,8.333333,0.033333,109,168459
-0,8.366667,0.033333,84,168568
-0,8.400000,0.033333,116,168652
-0,8.433333,0.033333,89,168768
-0,8.466667,0.033333,107,168857
-0,8.500000,0.033333,124,168964
-0,8.533333,0.033333,117,169088
-0,8.566667,0.033333,120,169205
-0,8.600000,0.033333,89,169325
-0,8.633333,0.033333,116,169414
-0,8.666667,0.033333,110,169530
-0,8.700000,0.033333,122,169640
-0,8.733333,0.033333,109,169762
-0,8.766667,0.033333,99,169871
-0,8.800000,0.033333,89,169970
-0,8.833333,0.033333,114,170059
-0,8.866667,0.033333,110,170173
-0,8.900000,0.033333,80,170283
-0,8.933333,0.033333,79,170363
-0,8.966667,0.033333,52,170442
-1,8.002667,0.021333,379,170494
-1,8.024000,0.021333,314,170873
-1,8.045333,0.021333,353,171187
-1,8.066667,0.021333,341,171540
-1,8.088000,0.021333,327,171881
-1,8.109333,0.021333,350,172208
-1,8.130667,0.021333,334,172558
-1,8.152000,0.021333,350,172892
-1,8.173333,0.021333,329,173242
-1,8.194667,0.021333,348,173571
-1,8.216000,0.021333,335,173919
-1,8.237333,0.021333,343,174254
-1,8.258667,0.021333,348,174597
-1,8.280000,0.021333,336,174945
-1,8.301333,0.021333,352,175281
-1,8.322667,0.021333,340,175633
-1,8.344000,0.021333,338,175973
-1,8.365333,0.021333,342,176311
-1,8.386667,0.021333,335,176653
-1,8.408000,0.021333,337,176988
-1,8.429333,0.021333,347,177325
-1,8.450667,0.021333,348,177672
-1,8.472000,0.021333,330,178020
-1,8.493333,0.021333,354,178350
-1,8.514667,0.021333,322,178704
-1,8.536000,0.021333,365,179026
-1,8.557333,0.021333,329,179391
-1,8.578667,0.021333,343,179720
-1,8.600000,0.021333,336,180063
-1,8.621333,0.021333,339,180399
-1,8.642667,0.021333,345,180738
-1,8.664000,0.021333,336,181083
-1,8.685333,0.021333,350,181419
-1,8.706667,0.021333,326,181769
-1,8.728000,0.021333,366,182095
-1,8.749333,0.021333,325,182461
-1,8.770667,0.021333,359,182786
-1,8.792000,0.021333,314,183145
-1,8.813333,0.021333,366,183459
-1,8.834667,0.021333,318,183825
-1,8.856000,0.021333,365,184143
-1,8.877333,0.021333,321,184508
-1,8.898667,0.021333,356,184829
-1,8.920000,0.021333,339,185185
-1,8.941333,0.021333,332,185524
-1,8.962667,0.021333,352,185856
-1,8.984000,0.021333,317,186208
-1,9.005333,0.021333,375,186525
-1,9.026667,0.021333,334,186900
-1,9.048000,0.021333,344,187234
+0,0.000000,0.033333,2146,4387
+0,0.033333,0.033333,126,6533
+0,0.066667,0.033333,116,6659
+0,0.100000,0.033333,80,6775
+0,0.133333,0.033333,100,6855
+0,0.166667,0.033333,100,6955
+0,0.200000,0.033333,80,7055
+0,0.233333,0.033333,96,7135
+0,0.266667,0.033333,95,7231
+0,0.300000,0.033333,105,7326
+0,0.333333,0.033333,96,7431
+0,0.366667,0.033333,129,7527
+0,0.400000,0.033333,128,7656
+0,0.433333,0.033333,93,7784
+0,0.466667,0.033333,89,7877
+0,0.500000,0.033333,96,7966
+0,0.533333,0.033333,88,8062
+0,0.566667,0.033333,94,8150
+0,0.600000,0.033333,77,8244
+0,0.633333,0.033333,116,8321
+0,0.666667,0.033333,62,8437
+0,0.700000,0.033333,109,8499
+0,0.733333,0.033333,89,8608
+0,0.766667,0.033333,85,8697
+0,0.800000,0.033333,88,8782
+0,0.833333,0.033333,95,8870
+0,0.866667,0.033333,74,8965
+0,0.900000,0.033333,112,9039
+0,0.933333,0.033333,84,9151
+0,0.966667,0.033333,87,9235
+0,1.000000,0.033333,124,9322
+1,0.000000,N/A,284,20214
+0,1.033333,0.033333,104,9446
+0,1.066667,0.033333,115,9550
+1,0.066667,0.021333,378,20498
+1,0.088000,0.021333,288,20876
+0,1.100000,0.033333,90,9665
+1,0.109333,0.021333,326,21164
+1,0.130667,0.021333,317,21490
+0,1.133333,0.033333,134,9755
+1,0.152000,0.021333,334,21807
+0,1.166667,0.033333,83,9889
+1,0.173333,0.021333,320,22141
+1,0.194667,0.021333,312,22461
+0,1.200000,0.033333,118,9972
+1,0.216000,0.021333,341,22773
+0,1.233333,0.033333,90,10090
+1,0.237333,0.021333,346,23114
+1,0.258667,0.021333,379,23460
+0,1.266667,0.033333,102,10180
+1,0.280000,0.021333,315,23839
+0,1.300000,0.033333,80,10282
+1,0.301333,0.021333,350,24154
+1,0.322667,0.021333,349,24504
+0,1.333333,0.033333,99,10362
+1,0.344000,0.021333,315,24853
+1,0.365333,0.021333,350,25168
+0,1.366667,0.033333,96,10461
+1,0.386667,0.021333,360,25518
+0,1.400000,0.033333,92,10557
+1,0.408000,0.021333,353,25878
+1,0.429333,0.021333,330,26231
+0,1.433333,0.033333,87,10649
+1,0.450667,0.021333,357,26561
+0,1.466667,0.033333,107,10736
+1,0.472000,0.021333,350,26918
+1,0.493333,0.021333,341,27268
+0,1.500000,0.033333,103,10843
+1,0.514667,0.021333,340,27609
+0,1.533333,0.033333,94,10946
+1,0.536000,0.021333,314,27949
+1,0.557333,0.021333,360,28263
+0,1.566667,0.033333,119,11040
+1,0.578667,0.021333,365,28623
+0,1.600000,0.033333,86,11159
+1,0.600000,0.021333,324,28988
+1,0.621333,0.021333,330,29312
+0,1.633333,0.033333,123,11245
+1,0.642667,0.021333,337,29642
+1,0.664000,0.021333,343,29979
+0,1.666667,0.033333,101,11368
+1,0.685333,0.021333,321,30322
+0,1.700000,0.033333,111,11469
+1,0.706667,0.021333,362,30643
+1,0.728000,0.021333,330,31005
+0,1.733333,0.033333,94,11580
+1,0.749333,0.021333,370,31335
+0,1.766667,0.033333,108,11674
+1,0.770667,0.021333,366,31705
+1,0.792000,0.021333,323,32071
+0,1.800000,0.033333,115,11782
+1,0.813333,0.021333,374,32394
+0,1.833333,0.033333,126,11897
+1,0.834667,0.021333,319,32768
+1,0.856000,0.021333,343,33087
+0,1.866667,0.033333,97,12023
+1,0.877333,0.021333,385,33430
+1,0.898667,0.021333,334,33815
+0,1.900000,0.033333,147,12120
+1,0.920000,0.021333,305,34149
+0,1.933333,0.033333,101,12267
+1,0.941333,0.021333,352,34454
+1,0.962667,0.021333,328,34806
+0,1.966667,0.033333,119,12368
+1,0.984000,0.021333,365,35134
+0,2.000000,0.033333,1619,12487
+1,1.005333,0.021333,328,35499
+1,1.026667,0.021333,333,35827
+0,2.033333,0.033333,75,14106
+1,1.048000,0.021333,309,36160
+0,2.066667,0.033333,85,14181
+1,1.069333,0.021333,323,36469
+1,1.090667,0.021333,362,36792
+0,2.100000,0.033333,114,14266
+1,1.112000,0.021333,369,37154
+0,2.133333,0.033333,97,14380
+1,1.133333,0.021333,331,37523
+1,1.154667,0.021333,309,37854
+0,2.166667,0.033333,110,14477
+1,1.176000,0.021333,321,38163
+1,1.197333,0.021333,346,38484
+0,2.200000,0.033333,104,14587
+1,1.218667,0.021333,383,38830
+0,2.233333,0.033333,110,14691
+1,1.240000,0.021333,362,39213
+1,1.261333,0.021333,339,39575
+0,2.266667,0.033333,118,14801
+1,1.282667,0.021333,329,39914
+0,2.300000,0.033333,101,14919
+1,1.304000,0.021333,343,40243
+1,1.325333,0.021333,356,40586
+0,2.333333,0.033333,119,15020
+1,1.346667,0.021333,339,40942
+0,2.366667,0.033333,78,15139
+1,1.368000,0.021333,325,41281
+1,1.389333,0.021333,337,41606
+0,2.400000,0.033333,98,15217
+1,1.410667,0.021333,322,41943
+1,1.432000,0.021333,354,42265
+0,2.433333,0.033333,110,15315
+1,1.453333,0.021333,350,42619
+0,2.466667,0.033333,110,15425
+1,1.474667,0.021333,334,42969
+1,1.496000,0.021333,354,43303
+0,2.500000,0.033333,132,15535
+1,1.517333,0.021333,340,43657
+0,2.533333,0.033333,90,15667
+1,1.538667,0.021333,343,43997
+1,1.560000,0.021333,347,44340
+0,2.566667,0.033333,127,15757
+1,1.581333,0.021333,345,44687
+0,2.600000,0.033333,120,15884
+1,1.602667,0.021333,325,45032
+1,1.624000,0.021333,346,45357
+0,2.633333,0.033333,113,16004
+1,1.645333,0.021333,348,45703
+0,2.666667,0.033333,133,16117
+1,1.666667,0.021333,342,46051
+1,1.688000,0.021333,342,46393
+0,2.700000,0.033333,131,16250
+1,1.709333,0.021333,353,46735
+1,1.730667,0.021333,343,47088
+0,2.733333,0.033333,99,16381
+1,1.752000,0.021333,333,47431
+0,2.766667,0.033333,106,16480
+1,1.773333,0.021333,345,47764
+1,1.794667,0.021333,352,48109
+0,2.800000,0.033333,112,16586
+1,1.816000,0.021333,342,48461
+0,2.833333,0.033333,118,16698
+1,1.837333,0.021333,343,48803
+1,1.858667,0.021333,319,49146
+0,2.866667,0.033333,105,16816
+1,1.880000,0.021333,343,49465
+0,2.900000,0.033333,129,16921
+1,1.901333,0.021333,331,49808
+1,1.922667,0.021333,360,50139
+0,2.933333,0.033333,91,17050
+1,1.944000,0.021333,332,50499
+1,1.965333,0.021333,332,50831
+0,2.966667,0.033333,112,17141
+1,1.986667,0.021333,338,51163
+0,3.000000,0.033333,134,17253
+1,2.008000,0.021333,359,51501
+1,2.029333,0.021333,345,51860
+0,3.033333,0.033333,118,17387
+1,2.050667,0.021333,359,52205
+0,3.066667,0.033333,91,17505
+1,2.072000,0.021333,334,52564
+1,2.093333,0.021333,333,52898
+0,3.100000,0.033333,98,17596
+1,2.114667,0.021333,346,53231
+0,3.133333,0.033333,108,17694
+1,2.136000,0.021333,328,53577
+1,2.157333,0.021333,347,53905
+0,3.166667,0.033333,112,17802
+1,2.178667,0.021333,340,54252
+0,3.200000,0.033333,90,17914
+1,2.200000,0.021333,352,54592
+1,2.221333,0.021333,334,54944
+0,3.233333,0.033333,97,18004
+1,2.242667,0.021333,348,55278
+1,2.264000,0.021333,342,55626
+0,3.266667,0.033333,102,18101
+1,2.285333,0.021333,343,55968
+0,3.300000,0.033333,106,18203
+1,2.306667,0.021333,328,56311
+1,2.328000,0.021333,353,56639
+0,3.333333,0.033333,84,18309
+1,2.349333,0.021333,349,56992
+0,3.366667,0.033333,105,18393
+1,2.370667,0.021333,329,57341
+1,2.392000,0.021333,337,57670
+0,3.400000,0.033333,101,18498
+1,2.413333,0.021333,362,58007
+0,3.433333,0.033333,89,18599
+1,2.434667,0.021333,333,58369
+1,2.456000,0.021333,340,58702
+0,3.466667,0.033333,82,18688
+1,2.477333,0.021333,346,59042
+1,2.498667,0.021333,330,59388
+0,3.500000,0.033333,97,18770
+1,2.520000,0.021333,351,59718
+0,3.533333,0.033333,108,18867
+1,2.541333,0.021333,324,60069
+1,2.562667,0.021333,365,60393
+0,3.566667,0.033333,88,18975
+1,2.584000,0.021333,319,60758
+0,3.600000,0.033333,92,19063
+1,2.605333,0.021333,351,61077
+1,2.626667,0.021333,351,61428
+0,3.633333,0.033333,111,19155
+1,2.648000,0.021333,342,61779
+0,3.666667,0.033333,81,19266
+1,2.669333,0.021333,356,62121
+1,2.690667,0.021333,332,62477
+0,3.700000,0.033333,92,19347
+1,2.712000,0.021333,335,62809
+0,3.733333,0.033333,99,19439
+1,2.733333,0.021333,341,63144
+1,2.754667,0.021333,339,63485
+0,3.766667,0.033333,91,19538
+1,2.776000,0.021333,359,63824
+1,2.797333,0.021333,324,64183
+0,3.800000,0.033333,95,19629
+1,2.818667,0.021333,334,64507
+0,3.833333,0.033333,89,19724
+1,2.840000,0.021333,336,64841
+1,2.861333,0.021333,360,65177
+0,3.866667,0.033333,82,19813
+1,2.882667,0.021333,340,65537
+0,3.900000,0.033333,109,19895
+1,2.904000,0.021333,361,65877
+1,2.925333,0.021333,340,66238
+0,3.933333,0.033333,104,20004
+1,2.946667,0.021333,309,66578
+0,3.966667,0.033333,106,20108
+1,2.968000,0.021333,372,66887
+1,2.989333,0.021333,334,67259
+1,3.010667,0.021333,347,67593
+1,3.032000,0.021333,329,67940
+1,3.053333,0.021333,333,68269
+1,3.074667,0.021333,346,68602
+1,3.096000,0.021333,346,68948
+1,3.117333,0.021333,363,69294
+1,3.138667,0.021333,334,69657
+1,3.160000,0.021333,340,69991
+1,3.181333,0.021333,339,70331
+1,3.202667,0.021333,337,70670
+1,3.224000,0.021333,339,71007
+1,3.245333,0.021333,345,71346
+1,3.266667,0.021333,342,71691
+1,3.288000,0.021333,331,72033
+1,3.309333,0.021333,335,72364
+1,3.330667,0.021333,354,72699
+1,3.352000,0.021333,330,73053
+1,3.373333,0.021333,350,73383
+1,3.394667,0.021333,344,73733
+1,3.416000,0.021333,339,74077
+1,3.437333,0.021333,344,74416
+1,3.458667,0.021333,359,74760
+1,3.480000,0.021333,337,75119
+1,3.501333,0.021333,344,75456
+1,3.522667,0.021333,346,75800
+1,3.544000,0.021333,332,76146
+1,3.565333,0.021333,338,76478
+1,3.586667,0.021333,339,76816
+1,3.608000,0.021333,356,77155
+1,3.629333,0.021333,334,77511
+1,3.650667,0.021333,340,77845
+1,3.672000,0.021333,319,78185
+1,3.693333,0.021333,361,78504
+1,3.714667,0.021333,334,78865
+1,3.736000,0.021333,346,79199
+1,3.757333,0.021333,337,79545
+1,3.778667,0.021333,352,79882
+1,3.800000,0.021333,332,80234
+1,3.821333,0.021333,329,80566
+1,3.842667,0.021333,365,80895
+1,3.864000,0.021333,335,81260
+1,3.885333,0.021333,345,81595
+1,3.906667,0.021333,339,81940
+1,3.928000,0.021333,352,82279
+1,3.949333,0.021333,324,82631
+1,3.970667,0.021333,351,82955
+1,3.992000,0.021333,335,83306
+0,4.000000,0.033333,1607,86013
+0,4.033333,0.033333,84,87620
+0,4.066667,0.033333,84,87704
+0,4.100000,0.033333,103,87788
+0,4.133333,0.033333,91,87891
+0,4.166667,0.033333,94,87982
+0,4.200000,0.033333,102,88076
+0,4.233333,0.033333,86,88178
+0,4.266667,0.033333,117,88264
+0,4.300000,0.033333,101,88381
+0,4.333333,0.033333,100,88482
+0,4.366667,0.033333,88,88582
+0,4.400000,0.033333,106,88670
+0,4.433333,0.033333,90,88776
+0,4.466667,0.033333,82,88866
+0,4.500000,0.033333,116,88948
+0,4.533333,0.033333,90,89064
+0,4.566667,0.033333,103,89154
+0,4.600000,0.033333,90,89257
+0,4.633333,0.033333,113,89347
+0,4.666667,0.033333,92,89460
+0,4.700000,0.033333,102,89552
+0,4.733333,0.033333,84,89654
+0,4.766667,0.033333,108,89738
+0,4.800000,0.033333,88,89846
+0,4.833333,0.033333,117,89934
+0,4.866667,0.033333,92,90051
+0,4.900000,0.033333,120,90143
+0,4.933333,0.033333,93,90263
+0,4.966667,0.033333,121,90356
+0,5.000000,0.033333,147,90477
+1,4.013333,0.021333,349,101372
+0,5.033333,0.033333,119,90624
+1,4.034667,0.021333,331,101721
+1,4.056000,0.021333,345,102052
+0,5.066667,0.033333,121,90743
+1,4.077333,0.021333,332,102397
+1,4.098667,0.021333,356,102729
+0,5.100000,0.033333,101,90864
+1,4.120000,0.021333,337,103085
+0,5.133333,0.033333,100,90965
+1,4.141333,0.021333,351,103422
+1,4.162667,0.021333,341,103773
+0,5.166667,0.033333,96,91065
+1,4.184000,0.021333,341,104114
+0,5.200000,0.033333,158,91161
+1,4.205333,0.021333,340,104455
+1,4.226667,0.021333,353,104795
+0,5.233333,0.033333,101,91319
+1,4.248000,0.021333,334,105148
+0,5.266667,0.033333,106,91420
+1,4.269333,0.021333,344,105482
+1,4.290667,0.021333,335,105826
+0,5.300000,0.033333,109,91526
+1,4.312000,0.021333,355,106161
+0,5.333333,0.033333,109,91635
+1,4.333333,0.021333,317,106516
+1,4.354667,0.021333,359,106833
+0,5.366667,0.033333,111,91744
+1,4.376000,0.021333,339,107192
+1,4.397333,0.021333,330,107531
+0,5.400000,0.033333,109,91855
+1,4.418667,0.021333,346,107861
+0,5.433333,0.033333,146,91964
+1,4.440000,0.021333,341,108207
+1,4.461333,0.021333,344,108548
+0,5.466667,0.033333,106,92110
+1,4.482667,0.021333,353,108892
+0,5.500000,0.033333,117,92216
+1,4.504000,0.021333,330,109245
+1,4.525333,0.021333,337,109575
+0,5.533333,0.033333,98,92333
+1,4.546667,0.021333,349,109912
+0,5.566667,0.033333,117,92431
+1,4.568000,0.021333,340,110261
+1,4.589333,0.021333,338,110601
+0,5.600000,0.033333,105,92548
+1,4.610667,0.021333,349,110939
+1,4.632000,0.021333,349,111288
+0,5.633333,0.033333,145,92653
+1,4.653333,0.021333,331,111637
+0,5.666667,0.033333,107,92798
+1,4.674667,0.021333,330,111968
+1,4.696000,0.021333,355,112298
+0,5.700000,0.033333,150,92905
+1,4.717333,0.021333,345,112653
+0,5.733333,0.033333,100,93055
+1,4.738667,0.021333,341,112998
+1,4.760000,0.021333,337,113339
+0,5.766667,0.033333,132,93155
+1,4.781333,0.021333,341,113676
+0,5.800000,0.033333,112,93287
+1,4.802667,0.021333,339,114017
+1,4.824000,0.021333,338,114356
+0,5.833333,0.033333,132,93399
+1,4.845333,0.021333,340,114694
+0,5.866667,0.033333,117,93531
+1,4.866667,0.021333,348,115034
+1,4.888000,0.021333,351,115382
+0,5.900000,0.033333,119,93648
+1,4.909333,0.021333,336,115733
+1,4.930667,0.021333,344,116069
+0,5.933333,0.033333,88,93767
+1,4.952000,0.021333,339,116413
+0,5.966667,0.033333,107,93855
+1,4.973333,0.021333,349,116752
+1,4.994667,0.021333,322,117101
+0,6.000000,0.033333,1605,93962
+1,5.016000,0.021333,361,117423
+0,6.033333,0.033333,92,95567
+1,5.037333,0.021333,334,117784
+1,5.058667,0.021333,348,118118
+0,6.066667,0.033333,77,95659
+1,5.080000,0.021333,334,118466
+0,6.100000,0.033333,76,95736
+1,5.101333,0.021333,348,118800
+1,5.122667,0.021333,324,119148
+0,6.133333,0.033333,90,95812
+1,5.144000,0.021333,351,119472
+1,5.165333,0.021333,341,119823
+0,6.166667,0.033333,80,95902
+1,5.186667,0.021333,343,120164
+0,6.200000,0.033333,106,95982
+1,5.208000,0.021333,333,120507
+1,5.229333,0.021333,342,120840
+0,6.233333,0.033333,94,96088
+1,5.250667,0.021333,348,121182
+0,6.266667,0.033333,81,96182
+1,5.272000,0.021333,332,121530
+1,5.293333,0.021333,352,121862
+0,6.300000,0.033333,87,96263
+1,5.314667,0.021333,342,122214
+0,6.333333,0.033333,118,96350
+1,5.336000,0.021333,345,122556
+1,5.357333,0.021333,335,122901
+0,6.366667,0.033333,83,96468
+1,5.378667,0.021333,345,123236
+0,6.400000,0.033333,115,96551
+1,5.400000,0.021333,338,123581
+1,5.421333,0.021333,342,123919
+0,6.433333,0.033333,81,96666
+1,5.442667,0.021333,345,124261
+1,5.464000,0.021333,337,124606
+0,6.466667,0.033333,95,96747
+1,5.485333,0.021333,346,124943
+0,6.500000,0.033333,97,96842
+1,5.506667,0.021333,357,125289
+1,5.528000,0.021333,332,125646
+0,6.533333,0.033333,85,96939
+1,5.549333,0.021333,336,125978
+0,6.566667,0.033333,95,97024
+1,5.570667,0.021333,344,126314
+1,5.592000,0.021333,333,126658
+0,6.600000,0.033333,72,97119
+1,5.613333,0.021333,350,126991
+0,6.633333,0.033333,104,97191
+1,5.634667,0.021333,343,127341
+1,5.656000,0.021333,344,127684
+0,6.666667,0.033333,73,97295
+1,5.677333,0.021333,334,128028
+1,5.698667,0.021333,345,128362
+0,6.700000,0.033333,117,97368
+1,5.720000,0.021333,334,128707
+0,6.733333,0.033333,79,97485
+1,5.741333,0.021333,344,129041
+1,5.762667,0.021333,344,129385
+0,6.766667,0.033333,90,97564
+1,5.784000,0.021333,345,129729
+0,6.800000,0.033333,90,97654
+1,5.805333,0.021333,337,130074
+1,5.826667,0.021333,343,130411
+0,6.833333,0.033333,85,97744
+1,5.848000,0.021333,341,130754
+0,6.866667,0.033333,87,97829
+1,5.869333,0.021333,342,131095
+1,5.890667,0.021333,339,131437
+0,6.900000,0.033333,98,97916
+1,5.912000,0.021333,331,131776
+0,6.933333,0.033333,100,98014
+1,5.933333,0.021333,356,132107
+1,5.954667,0.021333,336,132463
+0,6.966667,0.033333,104,98114
+1,5.976000,0.021333,352,132799
+1,5.997333,0.021333,329,133151
+0,7.000000,0.033333,146,98218
+1,6.018667,0.021333,349,133480
+0,7.033333,0.033333,116,98364
+1,6.040000,0.021333,357,133829
+1,6.061333,0.021333,324,134186
+0,7.066667,0.033333,123,98480
+1,6.082667,0.021333,343,134510
+0,7.100000,0.033333,91,98603
+1,6.104000,0.021333,341,134853
+1,6.125333,0.021333,347,135194
+0,7.133333,0.033333,97,98694
+1,6.146667,0.021333,334,135541
+0,7.166667,0.033333,84,98791
+1,6.168000,0.021333,344,135875
+1,6.189333,0.021333,338,136219
+0,7.200000,0.033333,108,98875
+1,6.210667,0.021333,346,136557
+1,6.232000,0.021333,341,136903
+0,7.233333,0.033333,104,98983
+1,6.253333,0.021333,341,137244
+0,7.266667,0.033333,84,99087
+1,6.274667,0.021333,350,137585
+1,6.296000,0.021333,334,137935
+0,7.300000,0.033333,86,99171
+1,6.317333,0.021333,349,138269
+0,7.333333,0.033333,103,99257
+1,6.338667,0.021333,331,138618
+1,6.360000,0.021333,346,138949
+0,7.366667,0.033333,99,99360
+1,6.381333,0.021333,333,139295
+0,7.400000,0.033333,111,99459
+1,6.402667,0.021333,337,139628
+1,6.424000,0.021333,354,139965
+0,7.433333,0.033333,108,99570
+1,6.445333,0.021333,333,140319
+0,7.466667,0.033333,103,99678
+1,6.466667,0.021333,346,140652
+1,6.488000,0.021333,336,140998
+0,7.500000,0.033333,85,99781
+1,6.509333,0.021333,342,141334
+1,6.530667,0.021333,350,141676
+0,7.533333,0.033333,82,99866
+1,6.552000,0.021333,332,142026
+0,7.566667,0.033333,109,99948
+1,6.573333,0.021333,363,142358
+1,6.594667,0.021333,324,142721
+0,7.600000,0.033333,108,100057
+1,6.616000,0.021333,349,143045
+0,7.633333,0.033333,116,100165
+1,6.637333,0.021333,327,143394
+1,6.658667,0.021333,355,143721
+0,7.666667,0.033333,98,100281
+1,6.680000,0.021333,329,144076
+0,7.700000,0.033333,113,100379
+1,6.701333,0.021333,358,144405
+1,6.722667,0.021333,326,144763
+0,7.733333,0.033333,115,100492
+1,6.744000,0.021333,355,145089
+1,6.765333,0.021333,324,145444
+0,7.766667,0.033333,95,100607
+1,6.786667,0.021333,349,145768
+0,7.800000,0.033333,111,100702
+1,6.808000,0.021333,335,146117
+1,6.829333,0.021333,348,146452
+0,7.833333,0.033333,111,100813
+1,6.850667,0.021333,354,146800
+0,7.866667,0.033333,102,100924
+1,6.872000,0.021333,329,147154
+1,6.893333,0.021333,353,147483
+0,7.900000,0.033333,106,101026
+1,6.914667,0.021333,325,147836
+0,7.933333,0.033333,115,101132
+1,6.936000,0.021333,363,148161
+1,6.957333,0.021333,320,148524
+0,7.966667,0.033333,125,101247
+1,6.978667,0.021333,356,148844
+1,7.000000,0.021333,334,149200
+1,7.021333,0.021333,338,149534
+1,7.042667,0.021333,356,149872
+1,7.064000,0.021333,327,150228
+1,7.085333,0.021333,357,150555
+1,7.106667,0.021333,321,150912
+1,7.128000,0.021333,360,151233
+1,7.149333,0.021333,327,151593
+1,7.170667,0.021333,353,151920
+1,7.192000,0.021333,337,152273
+1,7.213333,0.021333,339,152610
+1,7.234667,0.021333,338,152949
+1,7.256000,0.021333,340,153287
+1,7.277333,0.021333,346,153627
+1,7.298667,0.021333,336,153973
+1,7.320000,0.021333,346,154309
+1,7.341333,0.021333,333,154655
+1,7.362667,0.021333,355,154988
+1,7.384000,0.021333,317,155343
+1,7.405333,0.021333,381,155660
+1,7.426667,0.021333,308,156041
+1,7.448000,0.021333,371,156349
+1,7.469333,0.021333,314,156720
+1,7.490667,0.021333,373,157034
+1,7.512000,0.021333,321,157407
+1,7.533333,0.021333,359,157728
+1,7.554667,0.021333,319,158087
+1,7.576000,0.021333,354,158406
+1,7.597333,0.021333,333,158760
+1,7.618667,0.021333,335,159093
+1,7.640000,0.021333,347,159428
+1,7.661333,0.021333,338,159775
+1,7.682667,0.021333,340,160113
+1,7.704000,0.021333,344,160453
+1,7.725333,0.021333,336,160797
+1,7.746667,0.021333,341,161133
+1,7.768000,0.021333,340,161474
+1,7.789333,0.021333,353,161814
+1,7.810667,0.021333,338,162167
+1,7.832000,0.021333,358,162505
+1,7.853333,0.021333,322,162863
+1,7.874667,0.021333,359,163185
+1,7.896000,0.021333,324,163544
+1,7.917333,0.021333,345,163868
+1,7.938667,0.021333,334,164213
+1,7.960000,0.021333,361,164547
+1,7.981333,0.021333,326,164908
+0,8.000000,0.033333,1607,166062
+0,8.033333,0.033333,87,167669
+0,8.066667,0.033333,94,167756
+0,8.100000,0.033333,98,167850
+0,8.133333,0.033333,109,167948
+0,8.166667,0.033333,98,168057
+0,8.200000,0.033333,129,168155
+0,8.233333,0.033333,87,168284
+0,8.266667,0.033333,114,168371
+0,8.300000,0.033333,102,168485
+0,8.333333,0.033333,103,168587
+0,8.366667,0.033333,94,168690
+0,8.400000,0.033333,110,168784
+0,8.433333,0.033333,99,168894
+0,8.466667,0.033333,105,168993
+0,8.500000,0.033333,118,169098
+0,8.533333,0.033333,102,169216
+0,8.566667,0.033333,144,169318
+0,8.600000,0.033333,89,169462
+0,8.633333,0.033333,123,169551
+0,8.666667,0.033333,102,169674
+0,8.700000,0.033333,114,169776
+0,8.733333,0.033333,121,169890
+0,8.766667,0.033333,115,170011
+0,8.800000,0.033333,106,170126
+0,8.833333,0.033333,111,170232
+0,8.866667,0.033333,103,170343
+0,8.900000,0.033333,73,170446
+0,8.933333,0.033333,61,170519
+0,8.966667,0.033333,68,170580
+1,8.002667,0.021333,352,170648
+1,8.024000,0.021333,338,171000
+1,8.045333,0.021333,331,171338
+1,8.066667,0.021333,350,171669
+1,8.088000,0.021333,331,172019
+1,8.109333,0.021333,351,172350
+1,8.130667,0.021333,331,172701
+1,8.152000,0.021333,352,173032
+1,8.173333,0.021333,331,173384
+1,8.194667,0.021333,348,173715
+1,8.216000,0.021333,332,174063
+1,8.237333,0.021333,349,174395
+1,8.258667,0.021333,344,174744
+1,8.280000,0.021333,335,175088
+1,8.301333,0.021333,351,175423
+1,8.322667,0.021333,340,175774
+1,8.344000,0.021333,336,176114
+1,8.365333,0.021333,337,176450
+1,8.386667,0.021333,340,176787
+1,8.408000,0.021333,340,177127
+1,8.429333,0.021333,349,177467
+1,8.450667,0.021333,345,177816
+1,8.472000,0.021333,332,178161
+1,8.493333,0.021333,350,178493
+1,8.514667,0.021333,329,178843
+1,8.536000,0.021333,359,179172
+1,8.557333,0.021333,325,179531
+1,8.578667,0.021333,358,179856
+1,8.600000,0.021333,318,180214
+1,8.621333,0.021333,363,180532
+1,8.642667,0.021333,327,180895
+1,8.664000,0.021333,353,181222
+1,8.685333,0.021333,331,181575
+1,8.706667,0.021333,338,181906
+1,8.728000,0.021333,355,182244
+1,8.749333,0.021333,329,182599
+1,8.770667,0.021333,358,182928
+1,8.792000,0.021333,330,183286
+1,8.813333,0.021333,353,183616
+1,8.834667,0.021333,320,183969
+1,8.856000,0.021333,365,184289
+1,8.877333,0.021333,322,184654
+1,8.898667,0.021333,350,184976
+1,8.920000,0.021333,343,185326
+1,8.941333,0.021333,331,185669
+1,8.962667,0.021333,351,186000
+1,8.984000,0.021333,326,186351
+1,9.005333,0.021333,370,186677
+1,9.026667,0.021333,333,187047
+1,9.048000,0.021333,345,187380
diff --git a/internal/provision/testdata/plan14-root-reads-chain.tsv b/internal/provision/testdata/plan14-root-reads-chain.tsv
index ad0c97491..75ac582a5 100644
--- a/internal/provision/testdata/plan14-root-reads-chain.tsv
+++ b/internal/provision/testdata/plan14-root-reads-chain.tsv
@@ -270,3 +270,4 @@ plan14-root-reads-fleet-seeded-create-2.tsv 8a0a9cca336d3e695b79990a9aeda17f5ee8
plan14-root-reads-fleet-seeded-create-3.tsv 8a0a9cca336d3e695b79990a9aeda17f5ee8d74908752944f7dcd129918c80fc
plan14-root-reads-fleet-restart-wake.tsv 2967f0ba9722910621cedcfafc270cea3268a6de55738667574a20e67fd7f4e5
plan14-root-reads-ci-opentofu-tests.tsv 57ba3cadaf39de336f9a077d59a80148012e6d202de9059c166ce4f7dfc51ee0
+plan14-root-reads-media-spike-fixes.tsv 194e88ad9cd7413c93b1181c0ac1e962107039ad84525e065893a8c14cdb3138
diff --git a/internal/provision/testdata/plan14-root-reads-media-spike-fixes.tsv b/internal/provision/testdata/plan14-root-reads-media-spike-fixes.tsv
new file mode 100644
index 000000000..c2d8d2fcd
--- /dev/null
+++ b/internal/provision/testdata/plan14-root-reads-media-spike-fixes.tsv
@@ -0,0 +1,10 @@
+# Census overlay media-spike-fixes, written by census-propose (#369). census-ruling-media-spike-fixes, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-media-spike-fixes.md.
+# 3 body, 0 sites, 2 envelope: each changed unit re-frozen at its existing disposition with its claim appended.
+@legacy 41747126228463910b4587d9096f6b67dc47232c699b06649eec5b758144ac71 infra/modules/media-engine/ecs.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-media-conversion;basis=new: Fargate-only cluster and four task definitions (deadline + codec containers, entryPoint /usr/local/bin/carlos-media, read-only root, user 65534, caps dropped, no task role, image by digest) created only once image_digest is set, with skip_destroy so a rollout keeps the revisions a running console uses.;rev3=census-ruling-media-spike-fixes;basis=engine_container writes the lists ECS answers empty: linuxParameters.capabilities gains add = [] (drop = ["ALL"] kept), and environment, mountPoints, portMappings, systemControls, volumesFrom = [] (codec still overrides environment with TMPDIR and mountPoints with scratch); so the plan after an apply no longer replaces the four definitions. No capability, mount, port, sysctl or volume is granted; skip_destroy, user, read-only root, entryPoint, image by digest and no task role unchanged. Tofu only, run on an operator machine; no read is added and nothing on a box reads the file. file:external@0 6bf86142ae5301bdaaffc1271fd3f0efe87018e680b295f4b608334c91e600a1
+@legacy 5f7df5014a50ad33c6c67f9bc7259ee0ec854502f5f83a1cc1eec49617e698c2 infra/modules/media-engine/network.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-media-conversion;basis=new: a VPC with two private subnets, no internet gateway, NAT or default route; a tasks security group with no ingress and HTTPS egress only to the S3 prefix list and the endpoints; S3 gateway and ECR/logs interface endpoints with principal-scoped policies; a Route 53 Resolver DNS firewall allowing only the S3, ECR and logs names (TRUST_REDIRECTION_DOMAIN on that ALLOW only) and blocking the rest with NXDOMAIN, fail-closed; the drill input changes only the four endpoint policies and the repository policy.;rev3=census-ruling-media-spike-fixes;basis=DNS Firewall domain names written fully qualified (trailing dot), the form DNS Firewall stores and lists, so plans stop rewriting both lists: the allow list is the same five names (s3, *.s3, api.ecr, *.dkr.ecr, logs in the region) and the block list is "*." (was "*"), still BLOCK NXDOMAIN at priority 200, fail-closed. No name added. Tofu only, run on an operator machine; no read is added and nothing on a box reads the file. file:external@0 6403d7d0f3f015f8ca13f7c8d62af35cba48a3280a71b6501ab81c3afd6c65b5
+@legacy fcd93de8b67480ea70617882f0af30027f8d340fcd95569b232fb8d27d92ed5c infra/modules/media-engine/tests/media_engine.tftest.hcl external legacy accepted-legacy accepted-legacy;rev3=census-ruling-media-conversion;basis=new OpenTofu tests (24 runs: 9 plan and 15 apply, all against mock_provider aws, so no AWS access): task definitions pass the gate's shape, endpoint, role, console, reaper and DNS policies exact, no default route, drill states, output parses. The archive provider is real and writes the reaper's ZIP to a local path during the test.;rev3=census-ruling-media-spike-fixes;basis=assertions follow the module: capabilities must equal {add = [], drop = ["ALL"]}; deadline mountPoints and environment, and every volumesFrom, portMappings, systemControls must be empty (was: absent); new asserts that every list ECS fills in is written and that every DNS Firewall name is fully qualified; domain lists expected with trailing dots. Mock provider only, no AWS access; no read is added. file:external@0 78a725258167c21f2a5a9526bc18fdbd33d9ce84fdd8f4346cc53aefc9abe0fd
+infra/modules/media-engine/ecs.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-media-conversion;basis=new: Fargate-only cluster and four task definitions (deadline + codec containers, entryPoint /usr/local/bin/carlos-media, read-only root, user 65534, caps dropped, no task role, image by digest) created only once image_digest is set, with skip_destroy so a rollout keeps the revisions a running console uses.;rev3=census-ruling-media-spike-fixes;basis=engine_container writes the lists ECS answers empty: linuxParameters.capabilities gains add = [] (drop = ["ALL"] kept), and environment, mountPoints, portMappings, systemControls, volumesFrom = [] (codec still overrides environment with TMPDIR and mountPoints with scratch); so the plan after an apply no longer replaces the four definitions. No capability, mount, port, sysctl or volume is granted; skip_destroy, user, read-only root, entryPoint, image by digest and no task role unchanged. Tofu only, run on an operator machine; no read is added and nothing on a box reads the file. file:external@0 6bf86142ae5301bdaaffc1271fd3f0efe87018e680b295f4b608334c91e600a1
+infra/modules/media-engine/network.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-media-conversion;basis=new: a VPC with two private subnets, no internet gateway, NAT or default route; a tasks security group with no ingress and HTTPS egress only to the S3 prefix list and the endpoints; S3 gateway and ECR/logs interface endpoints with principal-scoped policies; a Route 53 Resolver DNS firewall allowing only the S3, ECR and logs names (TRUST_REDIRECTION_DOMAIN on that ALLOW only) and blocking the rest with NXDOMAIN, fail-closed; the drill input changes only the four endpoint policies and the repository policy.;rev3=census-ruling-media-spike-fixes;basis=DNS Firewall domain names written fully qualified (trailing dot), the form DNS Firewall stores and lists, so plans stop rewriting both lists: the allow list is the same five names (s3, *.s3, api.ecr, *.dkr.ecr, logs in the region) and the block list is "*." (was "*"), still BLOCK NXDOMAIN at priority 200, fail-closed. No name added. Tofu only, run on an operator machine; no read is added and nothing on a box reads the file. file:external@0 6403d7d0f3f015f8ca13f7c8d62af35cba48a3280a71b6501ab81c3afd6c65b5
+infra/modules/media-engine/tests/media_engine.tftest.hcl external legacy accepted-legacy accepted-legacy;rev3=census-ruling-media-conversion;basis=new OpenTofu tests (24 runs: 9 plan and 15 apply, all against mock_provider aws, so no AWS access): task definitions pass the gate's shape, endpoint, role, console, reaper and DNS policies exact, no default route, drill states, output parses. The archive provider is real and writes the reaper's ZIP to a local path during the test.;rev3=census-ruling-media-spike-fixes;basis=assertions follow the module: capabilities must equal {add = [], drop = ["ALL"]}; deadline mountPoints and environment, and every volumesFrom, portMappings, systemControls must be empty (was: absent); new asserts that every list ECS fills in is written and that every DNS Firewall name is fully qualified; domain lists expected with trailing dots. Mock provider only, no AWS access; no read is added. file:external@0 78a725258167c21f2a5a9526bc18fdbd33d9ce84fdd8f4346cc53aefc9abe0fd
+@coverage infra/modules/media-engine 2454234a6dd982bdd258b4d2743a1ec6698cc569f9680e0748869f1728ac60b4
+@coverage infra/modules/media-engine/tests 2c83fdf5bdb50448bd7524c523472a3f49ac4c7a3f7263b03fd17cc7f392ead9