carlos / platform Public

HA P1a #433: census re-proposed on top of main (envelope fingerprints only; no unit row changed)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev bc40049e0bb264e84af9b4b3b366ed1e7001b706 parent 1fe551e
3 files changed, +5 −4
  • docs/superpowers/notes/census-proposal-ha-p1a-433.md +1 −1
  • internal/provision/testdata/plan14-root-reads-chain.tsv +1 −0
  • internal/provision/testdata/plan14-root-reads-ha-p1a-433.tsv +3 −3

CI passed — run details

diff --git a/docs/superpowers/notes/census-proposal-ha-p1a-433.md b/docs/superpowers/notes/census-proposal-ha-p1a-433.md
index 57216ea30..d39629b4a 100644
--- a/docs/superpowers/notes/census-proposal-ha-p1a-433.md
+++ b/docs/superpowers/notes/census-proposal-ha-p1a-433.md
@@ -29,6 +29,6 @@ New dispositions, which census-propose wrote and the reviewer checks against the
- reads `internal/registry/claimrows.go:Registry.migrateClaimOwnership`: +registry:Claim, +whole:addedColumn; keeps legacy, task accepted-legacy
- reads `internal/registry/registry.go:Registry.migrate`: +registry:Claim, +whole:addedColumn; keeps legacy, task accepted-legacy
-Seal: `125c5c411cd0a04000d9652800b51bc7c066081c00753fb1c7b6ee0b6e717dbd` → `4ca42e1ec26a040c7f60a55664510f4d96dac769469cc459216057f460f5e78b`.
+Seal: `5192052a23d2fdd6f5d48b5617fe28a9bb03458e1e931c060fbdc42c3d627927` → `f8acbc0dd8828636e3f73d9afd0e539d3dfd1346e0232d91903c33d6eb27d820`.
Overlay: `internal/provision/testdata/plan14-root-reads-ha-p1a-433.tsv`, appended to `internal/provision/testdata/plan14-root-reads-chain.tsv`.
diff --git a/internal/provision/testdata/plan14-root-reads-chain.tsv b/internal/provision/testdata/plan14-root-reads-chain.tsv
index b72da92e6..39cd92eed 100644
--- a/internal/provision/testdata/plan14-root-reads-chain.tsv
+++ b/internal/provision/testdata/plan14-root-reads-chain.tsv
@@ -9,3 +9,4 @@ plan14-root-reads-region-ha-p1a.tsv 125c5c411cd0a04000d9652800b51bc7c066081c0075
plan14-root-reads-nearest-region-b.tsv f4e36134015ec6d09bada7be500c8faad22450afda12d033a8e3e24b1e8bb361
plan14-root-reads-alias-socket-follow-338.tsv 5192052a23d2fdd6f5d48b5617fe28a9bb03458e1e931c060fbdc42c3d627927
plan14-root-reads-usage-attribution-390.tsv 5192052a23d2fdd6f5d48b5617fe28a9bb03458e1e931c060fbdc42c3d627927
+plan14-root-reads-ha-p1a-433.tsv f8acbc0dd8828636e3f73d9afd0e539d3dfd1346e0232d91903c33d6eb27d820
diff --git a/internal/provision/testdata/plan14-root-reads-ha-p1a-433.tsv b/internal/provision/testdata/plan14-root-reads-ha-p1a-433.tsv
index 2f974d62c..9278afba2 100644
--- a/internal/provision/testdata/plan14-root-reads-ha-p1a-433.tsv
+++ b/internal/provision/testdata/plan14-root-reads-ha-p1a-433.tsv
@@ -21,8 +21,8 @@ internal/registry/registry.go Registry.migrate legacy accepted-legacy accepted-l
internal/registry/registry.go Registry.Get legacy accepted-legacy accepted-legacy;rev3=J1,J4;basis=route-and-input;rev3=census-ruling-ha-p1a-433;basis=same identities as List: +registry:sql is r.sql handed to readCols, the same connection the SELECT already used; same SELECT ... WHERE host = ? with the select list readCols returns (routeCols for a read-write registry). Root's instanceRegistryHostApp and instanceRegistryHostRuntime read Get through the read-only child and now work before the migration too. file:QueryRow@262,registry:Route@165,registry:remote@58,registry:remote@90,registry:sql@209,registry:sql@262,whole:Route@169,whole:Route@455,whole:remoteClient@60,whole:remoteClient@92 736f4a42df871f765a124ea532a38ba1c8ab8bf16375eb0c480f855ddf5c3e82
@remove internal/instancectl/peer_linux.go productionPeerOK
@removed internal/instancectl/peer_linux.go productionPeerOK H3 census-ruling-ha-p1a-433;basis=root (carlos-instance-control.service): reads nothing now. The systemctl MainPID read moved verbatim to systemdEdgeMainPID, and the decision and its one-second cache moved to edgePeer.check (internal/instancectl/peer_edge.go, envelope re-pinned). Acceptance is unchanged: SO_PEERCRED uid carlos AND pid equal to the MainPID systemd reports for carlos-edge.service. New in edgePeer.check: a peer the cached answer refuses (a stale pid or a cached failure, #433) is checked once against a fresh read before the refusal, at most one forced read per 100 ms; the peer is accepted only if the fresh MainPID equals it, so nothing wider is accepted.
-@coverage internal/host db881c58a6dceec3b8002c5d658631cd08e23fd75c3de250307cfcd0e06f16ef
+@coverage internal/host 797fbd93c1ef001e1a3cc2a21ab096695e919926e8eb3b2bf7d92c35722b2568
@coverage internal/instancectl bd5c2dc71194fb61dd4dc3c34c0bc001b1f7ff3a605718161a3d68ff5e42be41
-@coverage internal/provision 05aea4a7c8ec90ca00aaef6081fa4d5cfff5434eb17aa513973cd3727427e90f
-@coverage internal/registry b8ae9366d0fbd2fca77a1803444091ef7137551f6960f761f47409fd3880af08
+@coverage internal/provision 97e8b635847f2d6808f21d7ae068f362993c69f547e02c5b311756da8f662c50
+@coverage internal/registry 40555af3a72b13fa691f023156257d3e8020fe26119edcbab940c6323978dffc
@fields A,Account,Accounts,AddedAt,Addr,Addrs,Alias,Aliases,Alive,AllowAbsent,App,Archives,Args,AssetGen,AssetsOff,At,Attempts,B,Backing,Bucket,BuildState,Callback,CallbackError,CallbackFailed,Canary,Caps,CertExpiresAt,Changed,Channel,CheckedAt,Claim,ClaimIncarnation,ClaimOwner,ClaimOwnership,ClaimRowID,ClaimStamp,Class,Contents,CreatedAt,DBPath,DNSCheckedAt,DNSStatus,Deadline,Default,Demand,Digest,DoneBefore,Due,DueAt,EgressAllow,Env,EnvBefore,Environment,Error,ErrorKind,ExcludeHosts,ExpectGood,ExpectOp,ExpectPair,Expected,F,Failed,FenceGen,Fleet,FleetBox,FleetBoxes,Fleets,From,FromDB,FromOp,FromSock,Gate,GoodDemand,GoodDigest,GoodVersion,HA,Hash,Health,Held,Hibernate,HoldOp,Host,Hosts,ID,Id,IdValue,Idle,IdleSeconds,ImportGate,Incarnation,Journal,Keep,Kind,Label,LastAt,LastError,LastMs,LastStatus,Limit,MaxRun,MaxRunSeconds,Method,Ms,Name,Next,NextAt,NextDue,NextGood,NextValue,Now,Number,Number64,Observed,ObservedValue,Old,On,Op,Original,Owner,Ownership,P,Pair,Path,Paths,Platform,PolicyExpiresAt,Pool,Prefix,Prev,PrevVersion,Provisioned,RateLimit,RecordKey,Region,Registration,Replica,Replicas,Replication,Retirement,Route,Routes,Row,Rows,Runtime,Seed,SeedID,SeedSource,ServingSeq,ServingVersion,Size,Slug,Socket,Spec,Sqid,State,Status,StatusNamed,Steering,StringMap,T,TValue,Tags,Target,Targets,Text,Timer,Timers,Times,To,ToDB,ToOp,ToSock,TokenHash,Tunnel,Type,Unit,UpdateSettings,Ver,Version,W,WakeIncarnation,Wildcards,closed,conn,connect,ctx,d,dec,done,enc,full,input,mu,output,path,readOnly,remote,sql,wait