carlos / platform Public

plans 4d-1: the lapse inventory reads instance records through the judged reader; gofmt; census envelope re-pinned

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by claude agent, operated by paul@keymail.dev d05d94dad23dc7c839afce9cd8a118c43287ec9a parent 081c0b1
4 files changed, +3 −3
  • docs/superpowers/notes/plans-4d1-ledger.md +1 −0
  • internal/console/planlapse_findings_test.go +0 −1
  • internal/console/planlapse_inventory.go +1 −1
  • internal/provision/testdata/plan14-root-reads-plans-4d-lapse.tsv +1 −1

CI passed — run details

diff --git a/docs/superpowers/notes/plans-4d1-ledger.md b/docs/superpowers/notes/plans-4d1-ledger.md
index 980a05082..438a4d32b 100644
--- a/docs/superpowers/notes/plans-4d1-ledger.md
+++ b/docs/superpowers/notes/plans-4d1-ledger.md
@@ -48,3 +48,4 @@ Final: fixed 7 stale keep forms selected a replacement (keep values carry kind:r
Final: fixed 8 keep page showed an off app's worker on (state from the effective set: items plus the account's disabled host list) — TestKeepPageShowsAnOffAppsWorkerOff RED→GREEN
Final: Ruling: the census re-run adds no new decision units (the hand overlay plans-4d-units digests are unchanged); two more claimed body changes (Store.PurgeAppRow, Store.PurgeClaimAppRow) and sweepOnce +whole:Route ×4 go through census-propose — cost if wrong: census re-run.
Final: merged origin/main 953b9fda (census chain re-layered: main lines, hand overlay plans-4d-units re-sealed d8040ae2…, census-propose last e44eb093…; record-write layer now on plan14SelfServeMoves1WriteCensusInventory with NewServer re-digested); both census tests and the full TestClaimConsoleMutationInvariant (pre-merge) pass.
+Final: CI fix at 081c0b1a: lapseInventory reads instance records through the judged reader s.listRecordsStrict (TestNoUnjudgedRecordReads RED→GREEN; identical with no judge in context); gofmt on planlapse_findings_test.go; census-propose re-run for the internal/console envelope (no unit or decision change).
diff --git a/internal/console/planlapse_findings_test.go b/internal/console/planlapse_findings_test.go
index ecf70f663..f7ba22176 100644
--- a/internal/console/planlapse_findings_test.go
+++ b/internal/console/planlapse_findings_test.go
@@ -212,4 +212,3 @@ func keepValue(kind, ref string, created time.Time) string {
func thingCreated(ref string) time.Time {
return map[string]time.Time{"shop-1.example.com": at(-99), "blog-1.example.com": at(-97), "shop-2.example.com": at(-96)}[ref]
}
-
diff --git a/internal/console/planlapse_inventory.go b/internal/console/planlapse_inventory.go
index c7240713b..7254abe97 100644
--- a/internal/console/planlapse_inventory.go
+++ b/internal/console/planlapse_inventory.go
@@ -68,7 +68,7 @@ func (s *Server) lapseInventory(ctx context.Context, acct *Account) (*lapseInven
inv := &lapseInventory{}
for _, app := range names {
inv.Things = append(inv.Things, lapseThing{Kind: lapseApp, App: app, Ref: app, CreatedAt: apps[app]})
- recs, unreadable, err := provision.ListRecordsStrict(ctx, s.cfg.Releases, acct.Sqid, app, lapseRecordsMax)
+ recs, unreadable, err := s.listRecordsStrict(ctx, acct.Sqid, app, lapseRecordsMax)
if err != nil {
return nil, err
}
diff --git a/internal/provision/testdata/plan14-root-reads-plans-4d-lapse.tsv b/internal/provision/testdata/plan14-root-reads-plans-4d-lapse.tsv
index e196724d8..d812baf35 100644
--- a/internal/provision/testdata/plan14-root-reads-plans-4d-lapse.tsv
+++ b/internal/provision/testdata/plan14-root-reads-plans-4d-lapse.tsv
@@ -23,7 +23,7 @@ internal/activator/activator.go Service.sweepOnce legacy accepted-legacy accepte
internal/activator/activator.go Service.wake legacy accepted-legacy accepted-legacy;rev3=census-ruling-carlos-run;basis=Re-digested at the pre-land merge: the body includes main's own change under census ruling 292, with no further change from this branch. the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body; the stop now carries its reason for a run it interrupts (beginStopLocked's why argument); read sites unchanged, offsets moved;rev3=census-ruling-wake-latency-1;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=logs that timer's breakdown to the journal after a successful wake (w.steps.String(), e.host, w.wakeTook); no read added;rev3=census-ruling-plans-4d-lapse;basis=cancels a wake whose row the turned-off hook names, like a fence, unless it is a move's active probe (plans 4d). One more whole-row read: the row handed to the hook (a.disabled). Only refuses. registry:Socket@7140,registry:Socket@7301,whole:Route@2276,whole:Route@2333,whole:Route@5677,whole:Route@7093,whole:Route@7142,whole:Route@7303,whole:Route@8626,whole:Route@8647,whole:Route@923 0fd0d03cd88f3274feef78c2a0fef743790d8114fcbed831567672c55387bfc5
internal/edge/edge.go Edge.ServeHTTP legacy accepted-legacy accepted-legacy;rev3=census-ruling-seeded-instances;basis=the edge inside the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body with the import gate checked after the door's scope and a gated row left out of the response cache; serving only;rev3=census-ruling-edge-request-records;basis=one more call in the observer defer, observeRecords(up.route, ...), passing on the route the defer already holds; no new kind of read;rev3=census-ruling-design-edge-rate-limit-358;basis=calls rateAdmit twice, and an admitted request holds a slot on both paths: on the upgrade path before the activator or proxy (the handshake holds its slot through slotWriter, given back at the first final answer or at the reverse proxy's hijack on a 101, so an open WebSocket is not counted; released by a defer), and on the ordinary path after the response-cache check and before the activator and proxy (an admitted request holds a slot through slotWriter, released by a defer); a refusal is a 429 written there and returns; the upgrade path's comment now names slotWriter as its one wrapper; one comment on the door mark reworded; read sites unchanged (22: main's 21 plus edge-request-records' observeRecords pass of the route), offsets moved; no read added;rev3=census-ruling-plans-4c-box-throttle;basis=calls planThrottleAdmit before the response cache, and on an upgrade trackUpgrade then planUpgradeAdmit (plans 4c, Astra findings 1 and 2); the new reads live in those units (plans-4c-units decision). The same read sites here.;rev3=census-ruling-plans-4d-lapse;basis=calls planDisabledAdmit right after the import gate, passing the final upstream's route and the request host; a turned-off route gets the fixed disabled page before the meter, gate, cache and activator (plans 4d). The new read lives in that unit (plans-4d-units decision); one more whole-row pass here. registry:Gate@13796,registry:Gate@13856,registry:Gate@13914,registry:Host@13899,registry:ImportGate@18109,registry:Kind@11979,registry:Kind@18080,whole:Route@10017,whole:Route@10209,whole:Route@11982,whole:Route@12540,whole:Route@12635,whole:Route@12711,whole:Route@12755,whole:Route@13799,whole:Route@13859,whole:Route@13902,whole:Route@13917,whole:Route@15550,whole:Route@18083,whole:Route@18112,whole:Route@19944,whole:Route@9805 fc3d83a038fe0662840aa5cab4ed073ce568c42750a03e6561b9168de48281a9
@coverage internal/activator 30c78fd130c50dc3c747e0673aeaf873748593067950e4fb3611c1301362ad77
-@coverage internal/console 21918faff3c2c1591d812cc2f947bf89f75b247f99c1876483f0b76f2d9e8fca
+@coverage internal/console 29fe0002231b0df1f9d082de1b789385645a96fedf51bff9b0c7c22d0a228784
@coverage internal/console/templates cd177b08891bc3df47b4cee450a41422d884ba215bf80c95814ba9aab01aca5b
@coverage internal/domains 23782017ffe816a45edcae8eedafb9625d3acf549dbf0fa31e561e3117dd0d0a
@coverage internal/edge 414e0ad0aad43d95a0fef2ba446d629bf9b2ddd60bc5e7b160ab68fcbb57216f