carlos / platform Public

Analytics on-ramp: census proposal (approvals only), re-based on C2

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev 9f626eafc9d4ff0bd153545b6bdd3da12e774597 parent c0631f4
3 files changed, +26 −0
  • docs/superpowers/notes/census-proposal-analytics-onramp.md +19 −0
  • internal/provision/testdata/plan14-root-reads-analytics-onramp.tsv +6 −0
  • internal/provision/testdata/plan14-root-reads-chain.tsv +1 −0

CI cancelled — superseded by a newer push — run details

diff --git a/docs/superpowers/notes/census-proposal-analytics-onramp.md b/docs/superpowers/notes/census-proposal-analytics-onramp.md
new file mode 100644
index 000000000..28c217237
--- /dev/null
+++ b/docs/superpowers/notes/census-proposal-analytics-onramp.md
@@ -0,0 +1,19 @@
+# Census approval: analytics-onramp
+
+Ruling `census-ruling-analytics-onramp`. 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 |
+|---|---|---|---|
+| `internal/telemetry/telemetry.go` `Resolve` | body | unchanged (2) | An empty app name now returns the account setting alone instead of reading apps/<sqid>//telemetry.json; same object family (the account telemetry object), no new root read. |
+
+Envelopes re-pinned: `.`, `internal/telemetry`.
+
+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. Escalate 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. An escalation goes to the census owner as a decision.
+
+Recorded dispositions, which each change must still satisfy:
+
+- `internal/telemetry/telemetry.go` `Resolve`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J4;basis=root-input;rev3=PROPOSED-s3-change-index;identity=unchanged (the console and the agent);basis=the fold over the defaults moved into Fold, which the agent's switch pass calls over cached settings; the same two telemetry.Read calls, offsets moved
+
+Seal: `125c5c411cd0a04000d9652800b51bc7c066081c00753fb1c7b6ee0b6e717dbd` → `711d1576ee88066fc8960de3935182c244739c3e964087f61bdbb3dc72897daf`.
+
+Overlay: `internal/provision/testdata/plan14-root-reads-analytics-onramp.tsv`, appended to `internal/provision/testdata/plan14-root-reads-chain.tsv`.
diff --git a/internal/provision/testdata/plan14-root-reads-analytics-onramp.tsv b/internal/provision/testdata/plan14-root-reads-analytics-onramp.tsv
new file mode 100644
index 000000000..3b88aa63e
--- /dev/null
+++ b/internal/provision/testdata/plan14-root-reads-analytics-onramp.tsv
@@ -0,0 +1,6 @@
+# Census overlay analytics-onramp, written by census-propose (#369). census-ruling-analytics-onramp, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-analytics-onramp.md.
+# 1 body, 0 sites, 2 envelope: each changed unit re-frozen at its existing disposition with its claim appended.
+@legacy 8c434beae959cfe9e96aa3a8081db31bcbdd03f54189a57d3f381760be8e416d internal/telemetry/telemetry.go Resolve legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=PROPOSED-s3-change-index;identity=unchanged (the console and the agent);basis=the fold over the defaults moved into Fold, which the agent's switch pass calls over cached settings; the same two telemetry.Read calls, offsets moved;rev3=census-ruling-analytics-onramp;basis=An empty app name now returns the account setting alone instead of reading apps/<sqid>//telemetry.json; same object family (the account telemetry object), no new root read. file:Read@167,file:Read@335 1762a8b1979dcfcdbb440742b25a6c01465fd8891466cb41e5007108a3e1e9ed
+internal/telemetry/telemetry.go Resolve legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=PROPOSED-s3-change-index;identity=unchanged (the console and the agent);basis=the fold over the defaults moved into Fold, which the agent's switch pass calls over cached settings; the same two telemetry.Read calls, offsets moved;rev3=census-ruling-analytics-onramp;basis=An empty app name now returns the account setting alone instead of reading apps/<sqid>//telemetry.json; same object family (the account telemetry object), no new root read. file:Read@167,file:Read@335 1762a8b1979dcfcdbb440742b25a6c01465fd8891466cb41e5007108a3e1e9ed
+@coverage . 4a5f82e5f47cc84c616950ef4f163a3e390d5cbbef514a007b58b82065d375ee
+@coverage internal/telemetry 7e0e6ad650a66ef7ffd36ffc26aceef3f04f6f2926ea5b91b44b367291d6367f
diff --git a/internal/provision/testdata/plan14-root-reads-chain.tsv b/internal/provision/testdata/plan14-root-reads-chain.tsv
index 60ffb8106..e57ee871b 100644
--- a/internal/provision/testdata/plan14-root-reads-chain.tsv
+++ b/internal/provision/testdata/plan14-root-reads-chain.tsv
@@ -6,3 +6,4 @@ plan14-root-reads-remote-instance-metrics.tsv ed0d770a827bdb37a87d21e5c8efb259ca
plan14-root-reads-edge-asset-cache-3.tsv f723ddc14e3c03c0d55b6f0c949567a2c9325e0b5d491e0649fe548b2c0c282d
plan14-root-reads-remote-metrics-nested.tsv e923841657499fc729713abdd750cbd2d6019fc4db677b540be0fab4d2a160e4
plan14-root-reads-region-ha-p1a.tsv 125c5c411cd0a04000d9652800b51bc7c066081c00753fb1c7b6ee0b6e717dbd
+plan14-root-reads-analytics-onramp.tsv 711d1576ee88066fc8960de3935182c244739c3e964087f61bdbb3dc72897daf