docs: census review brief
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+65
−0
docs/superpowers/reviews/CODEX-REVIEW-BRIEF-hub-console-socket-census.md+65 −0
CI cancelled — superseded by a newer push — 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-TBbxMK .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/cloudwatch v1.68.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/superfly/ltx v0.5.1 go: downloading golang.org/x/net v0.62.0 go: downloading modernc.org/sqlite v1.55.0 go: downloading github.com/aws/aws-sdk-go-v2/config v1.32.6 go: downloading github.com/aws/aws-sdk-go-v2/service/iam v1.58.2 go: downloading github.com/aws/aws-sdk-go-v2/service/route53 v1.64.1 go: downloading github.com/aws/aws-sdk-go-v2/service/ec2 v1.324.0 go: downloading golang.org/x/sys v0.49.0 go: downloading golang.org/x/crypto v0.58.0 go: downloading github.com/oschwald/maxminddb-golang v1.13.1 go: downloading github.com/pion/logging v0.2.4 go: downloading github.com/pion/stun/v3 v3.1.5 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/prometheus/client_golang v1.17.0 go: downloading golang.org/x/sync v0.24.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/client_model v0.5.0 go: downloading github.com/cespare/xxhash/v2 v2.3.0 go: downloading github.com/beorn7/perks v1.0.1 go: downloading github.com/prometheus/common v0.45.0 go: downloading github.com/prometheus/procfs v0.12.0 go: downloading google.golang.org/protobuf v1.36.10 go: downloading github.com/wlynxg/anet v0.0.5 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/klauspost/compress v1.20.2 go: downloading modernc.org/sqlite v1.55.0 go: downloading golang.org/x/crypto/x509roots/fallback v0.0.0-20260209214922-2f26647a795e go: downloading github.com/aws/aws-sdk-go-v2/service/ecs v1.91.0 go: downloading github.com/pierrec/lz4/v4 v4.1.22 go: downloading modernc.org/libc v1.74.1 go: downloading modernc.org/libc v1.74.1 go: downloading github.com/dustin/go-humanize v1.0.1 go: downloading github.com/google/uuid v1.6.0 go: downloading modernc.org/mathutil v1.7.1 go: downloading modernc.org/memory v1.11.0 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 amadan: job cancelled — a newer push superseded it
diff --git a/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-hub-console-socket-census.md b/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-hub-console-socket-census.md| new file mode 100644 |
| index 000000000..156bdbe8a |
| --- /dev/null |
| +++ b/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-hub-console-socket-census.md |
| @@ -0,0 +1,65 @@ |
| +# Review brief: census for branch `console-addr-from-install`, round 1 of 3 |
| + |
| +Repo carlos/platform, branch `console-addr-from-install`, commit d477bee8492a40222553a6b22abd552db6ee1bed. |
| +Under review: the census card `docs/superpowers/notes/census-proposal-console-addr-from-install.md`, |
| +its overlay `internal/provision/testdata/plan14-root-reads-console-addr-from-install.tsv`, |
| +and the diff `79075f0cae57a0e8354b3404ce1f6c044c78066f..d477bee8492a40222553a6b22abd552db6ee1bed` on the amadan.net remote (`origin`). |
| +Authorities: AGENTS.md, "The census: the reviewer decides"; the spec |
| +`docs/superpowers/specs/2026-11-24-hub-console-address-from-install-design.md` |
| +(rev 3, decisions and dispositions in §12, §14, §15) and the plan |
| +`docs/superpowers/plans/2026-11-24-hub-console-socket.md`, both on this |
| +branch; the code on `main`. |
| + |
| +You are the census reviewer, from the other model family than the author |
| +(Claude). Read the card, then the diff, and give a verdict for every unit |
| +and every re-pinned envelope the card lists, citing the lines you read. |
| + |
| +## Fixed: do not re-argue |
| + |
| +- The design and Paul's rulings in spec §12, §14 and §15, including his |
| + cuts of 2026-11-24 (reserve the `carlos-` runtime-directory prefix in |
| + `internal/caps`; check the console socket's listener with |
| + `SO_PEERCRED`; no root console; the kept route scan takes only loopback |
| + TCP console routes for its last release). |
| +- The design and task reviews are closed (their findings files are in |
| + `docs/superpowers/specs`, `docs/superpowers/plans` and |
| + `docs/superpowers/reviews`). This is the census, not another design round. |
| + |
| +## What to check (AGENTS.md's census rules) |
| + |
| +Reject, as a finding, if the change: |
| +1. 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 (root's new reads: `systemctl show console.service`, the |
| + `/var/lib/carlos-console-fleet` store, `/run/carlos-console`, the |
| + capability drop-ins under `/etc/systemd/system`, root's own drop-in); |
| +2. weakens a check, refusal, validation, argument or environment root |
| + relies on (`ValidCapabilities` now refuses more; `scanClaims` is |
| + unchanged); |
| +3. gives a new unit a disposition that is wrong for its reads; |
| +4. moves rather than removes a removed or left unit; |
| +5. cannot be settled from the diff. |
| +Otherwise approve. The edge (`internal/edge`) runs as the agent |
| +(`carlos`), not root, but is in the root binary's scope. |
| + |
| +## Severity |
| + |
| +- **P1**: unsafe, would not compile, a test fails, or it would not work. |
| + Blocks merge. |
| +- **P2**: wrong or missing. Fixed without reopening this review. |
| +- **P3**: clarity or polish. Goes on a follow-up list. |
| + |
| +A P1 states its failure scenario and the evidence (file:line). |
| + |
| +## Output |
| + |
| +A table: unit or envelope, verdict (approve or reject), the lines read, |
| +the reason. Then findings ranked P1, P2, P3. End with exactly one verdict: |
| + |
| +- **READY**: no P1 and no P2. |
| +- **READY AFTER FIXES**: no P1. The listed P2s are fixed without another |
| + round. |
| +- **NOT READY**: one or more P1s, listed. |
| + |
| +Do not edit files. Do not spawn Anthropic-model reviewers or subagents of |
| +your own. Do not run the full test suites. |