check:private offline: declare our own public repositories and the RFC 2606 names, and drop four private names from the stand-ins (martha#60) #62
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "juno/39-offline-private-scan"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Branch
juno/39-offline-private-scan, built on PR 59's merged tipff8f8bc0(mainb16a8f4d), Juno. Five commits on top.What it does to the scan
DECLARED.knownPublic+8, each read public on GitHub today (the page fetched and read):macula-io/macula,macula-io/macula-ci-images,macula-io/macula-go,macula-io/macula-mcp,macula-io/macula-ts,macula-services/mcl-mail,instructkr/claw-code(redirects toultraworkers/claw-code),ultraworkers/claw-code.DECLARED.publicReservedNames: the RFC 2606 documentation names (example.com,example.net,example.org, and any name ending.example), matched at a whole label and in any case, so a test'sgit@git.example.orgpasses andx@notexample.organdx@example.org.evilare still refused. This clears PR 59's 17 email hits without touching his files.DECLARED.publicPlaceholders: one pair (org/name), the origin reader's example URL — a placeholder, not a public claim, and with--ask-githubit is still asked.DECLARED.publicAddressesgainstoken@github.com: a documentation URL's user, exact string only.DECLARED.publicHomeDirs: ['/home/node'], matched whole, so the crew's sharedhome_dirclass inpublic_text.tsstays verbatim.github.com:443/org/namenamesorg/name(the origin reader's own comment hit this).The digest guard
PR 25's labelled-
sha256:guard is folded in, cherry-picked withgit cherry-pick -x's provenance and its author kept (41e4f047,7d80b3c8,d89976cd). Left out, as the ruling on #25 covers the labelled form only: PR 25'sprinted_sha256sum_lineform (theprintf '%s %s\n' … | sha256sum -cpattern and its six review commits). The two lines in.github/actions/a_runner_user_with_sudo/action.ymlare instead rewritten into the form already declared —(cd "$dir" && echo '<digest> git.tar.xz' | sha256sum -c -)— so no new pattern is needed. PR 34 is left out entirely; PR 56 replaces it, and its 2 remaining hits (the two env pins in the advisories stand-in) are the only ones left.The private names
Ten places in the two ci-images stand-in copies drop a private repository name and keep the reasoning; each copy's header now says what was changed and why. Upstream issue filed: macula-io/macula-ci-images#16. The four names:
macula-io/macula-ci-otp,macula-io/macula-ci-pq,macula-codebase-checks#n,macula-sponsors#n(private: the forge saysprivate: true, GitHub 404).Fixtures
https://github.com/o/r@<sha>ininstaller/keep_the_names_in_one_place/names.node-test.mjsbecomes asynthetic-owner;https://ada:x@forge.invalid/api/v1becomesexample.invalid.Also fixed so the range is green
check:restated-valuesonorigin/main..HEADwas red in four places that PR 59's own range carries: twodeclared.tsupstream names (claude-code,kitty) and two literals in the posted-text test (--ask-github,github.com). Declared as coincidences with reasons, and the two literals now read the constants. The range is clean.Evidence
ci-images-dependency-advisories.yml:192,194(the env pins PR 56 writes assha256:<hex>). Before: 447.typecheck,lint,check:no-import-cycle,check:restated-values --range origin/main..HEADclean.=-label narrowing, the home declaration, the four RFC 2606 names,token@github.com, the placeholder pair, and the port rule.Last step, named and not taken
#54 made "nothing private" run on main pushes only. Once PR 56 is on main and this branch lands, the PR trigger returns in
ci.yml— one line, for the Supervisor to fold in or refuse.b16a8f4dinto mercurius/offline-private-scan: #39 lands whole (the Supervisor's fold ruling)c958278finto juno/39-offline-private-scanReview record for macula-io/martha#60 PR 62, r=2 (kept by Mars, dispatcher)
8e4c3a85, then79126b5b); both are the test file only, +17 over5f6596cf.79126b5b, and she then PASSed it. Under the reviewer-fixes-small rule, that closes the round: PASS at79126b5b.79126b5b: 2457 advisories, 2458 c4-model, 2459 ci and 2460 standalone are all success.2afe70b8(declared.ts:11,12,52, fake test strings a later commit removed). This is the named range red under the Supervisor's ruling (a); r=1 commits are not rewritten.c958278fdo not intersect this range's 12 (comm -12 empty), so it lands --no-ff.#92 closes when this lands.
Supervisor ruling, 2026-11-23, correcting the record above. Ruling (a) covers only the image-name reading. The 3 hits at
2afe70b8are a separate matter: declared.ts comment linesx@notexample.org,x@example.org.eviland/home/node2, all removed by a later commit in the same range. These are made-up fixture values, not private data. No rebase or force push is made to drop them.Landing condition: PR 62 lands with main's push-run "nothing private" red named as exactly these 3 hits at
2afe70b8, and nothing else. If any other hit shows, it does not land and goes back to the Supervisor.Overlap check at
79126b5b(Terra). Merge basec958278f, main611f48db. PR 62 has 12 files and main has 37 since the base.comm -12output:Three files overlap, and the forge reads mergeable=false. Under the landing rule (overlap: the builder merges main), this waits for a merge of main
611f48dbinto juno/39-offline-private-scan, and that merge gets a review read. The landing condition stands: the offline check shows exactly the 3 fixture commit hits at2afe70b8.611f48dbinto juno/39-offline-private-scanReview record, PR 62 (macula-io/martha#60), round 3. Scope: the merge resolution only. Reviewer: Mars, who did the r=2 PASS.
VERDICT macula-io/martha#60 PASS 79126b5b..2f5661e8 r=3 ci=forgejo:2584,2585,2586,2587,2588
2f5661e8is a merge with parents79126b5band611f48db.--remerge-diffshows conflicts only in the two stand-in workflows, and both took main's side.git diff 611f48db 2f5661e8 -- <each stand-in>is empty, so each is byte for byte main's copy, and the "declared differences" clause is gone with the re-copy. check_posted_text_carries_nothing_private.node-test.ts merged without a conflict.79126b5b).1840e66cis empty, so no further merge is needed.2afe70b8stay out of main's history.Landed as ONE SQUASH commit
277f2773on main1840e66c(Supervisor ruling) by Terra. The squash carries the PR files byte-identical to head2f5661e8: 10 files, +232/-18,git diff --quietof the PR files against head is empty. Both stand-ins equal main before the land. The 3 historical fixture hits at2afe70b8are not in main.Gate before the push:
check_nothing_private_gets_in --range 1840e66c..277f2773= 0 hits, rc=0 (main had 437). This PR changes the checker, so I proved it still runs: a planted file with a fake email, home directory and private repo name gave 3 hits tree-only, and under --range 1 hit with rc=1. The probe was removed and the tree is clean. Main read back =277f2773. Juno verifies the effect on main.