check:private offline: declare our own public repositories, and drop four private names from the tree #60
Open
opened 2026-11-22 21:59:39 +00:00 by juno
·
6 comments
No Branch/Tag specified
main
venus/149-stranger-docs
pluto/45-a1-wait-through-the-seam
venus/129-no-launcher-endpoint
titan/119-engine-install
saturnus/45-branch-move-head
jupiter/45-a5-line-forms
jupiter/45-volatile-mesh-say
venus/114-forge-release
venus/114-installer-2
venus/8-land-on-any-host-2
titan/111-gitlinks
titan/111-symlink-and-range-reads
juno/040-host-rerecord
vesta/24-remove-github-sponsors
ceres/19-signin-probe
vesta/94-git-guard-blind-shapes
vesta/67-set-a-exports-git-dir
jupiter/47-status-clock
pallas/46-forge-ci-seam
juno/39-offline-private-scan
pluto/23-standin-recopy-476b5724
mercurius/82-installer-steps-past-install
ceres/19-relay-end-written
mercurius/73-declare-alias-folds
pluto/23-standin-recopy
venus/8-land-on-any-host
ceres/19-relay-frame
venus/28-budget-line
vesta/48-git-guard
ceres/47-hourly-status
terra/batch3-forge-b
pluto/23-declared-digests
ceres/318-friction-note-rebuilt
neptunus/check-private-digests
hygiea/5-tsx-typecheck
terra/batch2-forge
vesta/973-ask-proof-and-pr-base
jupiter/16-5-3-forge-repo-links
mercurius/16-forge-token-shape
jupiter/check-private-stop
terra/batch3-forge
saturnus/1016-crew-mail
venus/999-refresh-modes
uranus/601-martha-forge-workflows
ceres/1041-work-graph
jupiter/957-gap-19-prompt-text
mercurius/987-stranger-text-gate
jupiter/check-private-stop-posted
pluto/1045-under-600
ceres/1041-contract-lines
pluto/1045-free-splits
diverged/hygiea/962-worktree-finish-owner-and-branch
ceres/967-provider-key
saturnus/1016-mesh-key
hygiea/962-worktree-finish-owner-and-branch
pluto/1045-cognitive-complexity
venus/999-refresh-modes-held-merge
pluto/1010-repo-numbers
pluto/1010-drift-numbers
terra/batch-terra-1121e
hygiea/916-provider-subscription-refusal
venus/999-brief-notice
hygiea/992-job-timeouts
pluto/1037-recorded-host-stall
jupiter/1016-crew-memory
pluto/1031-host-2-1-330
terra/batch-terra-1121c
mars/1000-progress-off-tasks
uranus/989-confinement-v
hygiea/985-launcher-verbs-r2
mars/985-rename-handover-match
jupiter/979-guard-places
uranus/980-assign-model
ceres/959-wake-on-idle
uranus/989-confinement-u
juno/802-a-handle-on-my-run
pluto/989-confinement
terra/batch-terra-1120f
mercurius/987-rebased-keep
vesta/308-a-week-of-the-ledger-vesta
jupiter/984-gap-5-crew-state
hygiea/985-launcher-verbs
vesta/915-worktree-finish
terra/batch-terra-1120b
terra/981-review-fix
venus/review-917
final-tip
keep-318-tip
neptunus/1006-review
hygiea/976-the-ci-wait-by-run
terra/979-review-fix
terra/962-review
hygiea/601-row-174-the-engines-settings-watch
uranus/968-markers-r1
terra/981-review
vesta/308-a-week-of-the-ledger
terra/986-review
saturnus/511-up-config
hygiea-601-last3b
hygiea-601-last3
hygiea-601-pre-rebase
jupiter/batch-92
venus/venus-review-929
venus/venus-review-934
uranus/511-up-claude
saturnus/511-refusals
venus/906-token-fixture
jupiter/541-a-engine-start-clean
uranus/614-slice3-approved-skills-on
uranus/614-dw6-unrooted-skill-folders
venus/639-redact-stdin
venus/venus-review-913
neptunus/547-s6-kitty-launch
venus/venus-review-897
neptunus/907-review
venus/898-bundle-main-installer
hygiea/309-a-declared-goal
venus/614-engine-skills-2
neptunus/893-review
venus/639-night2
venus/venus-review-883
jupiter/541-c4-goose-call-answered-by-the-entry
venus/venus-review-866
venus/541-9a-slice-2
mercurius/614-engine-skills
titan/637-updater-switch
pluto/755-fewer-judge-starts
uranus/836-review
mercurius/846-posted-text
neptunus/828-review-r1
titan/801-hint-text
uranus/785-part-2
uranus/797-review
neptunus/830-review
venus/venus-review-837
uranus/724-reap
juno/784-the-launch-a-start-builds
neptunus/784-review-fix
juno/784-the-adapter-under-its-ceiling
diverged/juno/784-the-launch-a-start-builds
juno/784-the-adapter-back-under-origin
neptunus/694-review-fix
juno/732-the-cap-holds-b
neptunus/732-review-fix
titan/541-c3-hints-record
jupiter/host-2.1.328
juno/732-the-cap-holds
ceres/781-launcher-path
uranus/785-hint-files
ceres/724-part-2
neptunus/766-review-fix
uranus/755-hook-filter
jupiter/review-788
neptunus/745-review-fix
uranus/772-judge-env
jupiter/753-keys-declared-twice
pallas/784-launch-request
ceres/562-wire-the-scan
jupiter/744-split-prove-the-core
titan/541-c2-goose-gate-rows
pallas/765-approve-listing
pr-766-tip
terra/769-review
pallas/748-cycle-roots
uranus/uranus-batch-69
venus/venus-review-756
pr-733-head
neptunus/727-shell-quoting
venus/venus-review-738
pallas/694-a-trial-line-keeps-its-transcript
ceres/724-part-1-a-test-leaves-nothing-behind-v2
ceres/tests-leave-nothing-in-the-temp-directory
neptunus/541-2-4-3-the-recording
ceres/700-the-stand-in-reports-its-start
pluto/701
titan/541-6b-multi-host-review-model
uranus/uranus-733r1
scratch-703
titan/541-5-member-host
neptunus/541-2-4-2-the-tool-call
ceres/625-release-redraw
mars/541-acp-transport
ceres/batch-62-redraw
neptunus/541-6-host-model-vocabulary
heads/pr/672
pr/672c
heads/pr/673
juno/541-6-host-model-vocabulary
pr/668b
saturnus/612-no-answer-gets-a-second-launch
ceres/601-release-bump
heads/pr/625
heads/pr/668
pr/656b
heads/pr/666
pallas/611-init-layout
pr/654-r2b
heads/pr/656
pr/662-new
pr/654-new
pr/660-new
saturnus/632-retire-owner-guard
saturnus/602-own-config
ceres/638-read-shape
neptunus/541-10-recorded-goose-host
titan/611-init-layout
venus/244-member-half
titan/165-stand-in-case
pallas/177-tree-stat-record
ceres/314-volatile-path-note-clean
uranus/uranus-batch-48
jupiter/160-where-we-are
uranus/uranus-batch-46
juno/513-budget-r2
pallas/437-trial-builder-r2
pallas/437-trial-builder
saturnus/289b-shell
saturnus/289b-rules
saturnus/289-record-values
ceres/170-vouching-on-real-events
ceres/170-vouching-reaches-the-member
neptunus/136-member-memory
mercurius/4-claw-code-analysis
mercurius/5-scaffold-theme
v0.4.1
dry-run-v0.4.1
installer-v2.0.1
installer-v2.0.0
tested-locks
v0.4.0
ci-tools
v0.3.0
installer-v1.1.1
v0.2.0
installer-v1.1.0
v0.1.0
installer-v1.0.2
installer-v1.0.1
installer-v1.0.0
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set.
Reference
martha-ai/martha#60
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Purpose (work-package):
check:privaterun offline on martha's own tree exits 0 — our own public repositories and pinned digests are declared to the scan, and the private names it is right to refuse are dropped from the text.Refs #39, #55 (B19), #25, #34, #59. Classification and build by Juno, in a branch from
mercurius/offline-private-scan(PR 59) once main is merged into it.The Supervisor's words (relayed by Mars, 2026-11-22)
"Most are scan noise, not leaks. A 64-hex sha256 pin in a workflow is public by design, and so is a ref to one of our own public repos." — teach the scan that, "through knownPublic and a digest pattern, then fix whatever real private names are left". "A scan that flags our own pins blocks for nothing."
DECIDED 2026-11-22 "All 18 as proposed (Recommended)" (Raf). B19 of #55 is a keep row: "keep; make it work offline by default".
What the offline scan finds
Run on 2026-11-22 against forge main
b16a8f4d60887dde15750367e05d6e34aff0f34b, with the scan code of PR 597aa39f5b, no network and no token:429 hits. Mars's 444 was read on an earlier tree; the tree has moved since (two stand-in re-copies and batch 3 landed). By class:
--hash=sha256:<hex>and 2OSV_SCANNER_SHA256:/CARGO_AUDIT_SHA256:in.github/workflows/ci-images-dependency-advisories.yml; 2printf '%s %s\n' '<digest>' "<file>" | sha256sum -c -in.github/actions/a_runner_user_with_sudo/action.ymlo/rin a test (2), macula-io/macula-go (1), macula-io/macula-ts (1), macula-services/mcl-mail (1), instructkr/claw-code (1, redirects to ultraworkers/claw-code), ultraworkers/claw-code (1)macula-codebase-checks#10/#11/#26andmacula-sponsors#113, all in the two ci-images stand-in copies (7 inci-images-c4-model.yml, 2 inci-images-dependency-advisories.yml)https://ada:x@forge.invalid/api/v1insrc/check_posted_text_carries_nothing_private/read_the_forges_posted_text.node-test.ts:219— a URL's userinfo read as an addressHOME=/home/nodein.github/actions/a_runner_user_with_sudo/action.yml:50Already covered by open PRs — no work here
neptunus/check-private-digests, the #25 ruling): the--hash=sha256:label and theprintf '%s %s\n'sha256sum line are both in itspublic_digest.ts. Clears 378 + 2, each in a syntactic place, not any 64-hex.pluto/23-declared-digests): re-copies the advisories stand-in at9d9a606, which writes the two env pins assha256:<hex>. Clears 2.Why this package adds no digest form (the choice Mars asked for): the 380 live in stand-in copies that may not be relabelled here — they are copies, byte for byte, of another repository's workflow — and the pattern path is already ruled and in flight in PR 25. One rule, one definition: a second digest form here would restate it.
What this package changes
DECLARED.knownPublic: eight additions. Each was seen public on GitHub today (2026-11-22), the page fetched and read:macula-io/macula-ci-images,macula-io/macula,macula-io/macula-mcp,macula-io/macula-ts,macula-io/macula-go,macula-services/mcl-mail,instructkr/claw-code,ultraworkers/claw-code. The list's own rule — a crew repository goes there only once someone has seen it public on GitHub — is met for each.macula-io/macula-ci-otp,macula-io/macula-ci-pq, and the shorthandsmacula-codebase-checks#n,macula-sponsors#n. Both repositories are private (the forge answersprivate=true; GitHub answers 404), so no list can declare them. They sit in the two stand-in copies, whose text is upstream's: the copy is edited and its header says what was changed and why, and an issue is filed inmacula-io/macula-ci-imagesso the next re-copy carries the same text and the header's exception note goes.https://github.com/o/r@<sha>(a placeholder, twice, ininstaller/keep_the_names_in_one_place/names.node-test.mjs) becomes a scan-synthetic owner;https://ada:x@forge.invalid/api/v1becomesexample.invalid, a reserved domain the scan already allows.DECLARED.publicHomeDirs: ['/home/node']— a public container image's own user home, declared aspublicEmailsis, so the crew's sharedhome_dirclass inpublic_text.tsstays verbatim.ci.yml— one line, named here rather than done quietly.Done when
check_nothing_private_gets_in: nothing private.knownPublicaddition names, in the commit message, the public page that showed it.node-sha256:<id>and?sha256=<id>stay refused, each with a test that fails by name when the rule is loosened.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.Done-when line 2 amended in the open: "Every
knownPublicaddition names, in the commit message, the public page that showed it" is not met as written —2afe70b8carries no page list. History is not rewritten after a PASS, so the line is amended here instead: the pages are recorded in comment 650, not in the commit message.Each was fetched and read on 2026-11-22 before its entry went in; each answered with the repository's page, its file list or README shown:
macula-io/macula-ci-imagesmacula-io/maculamacula-io/macula-mcpmacula-io/macula-tsmacula-io/macula-gomacula-services/mcl-mailinstructkr/claw-codeultraworkers/claw-code, which the scan follows as its lookup does)ultraworkers/claw-codeThe four names that stayed out answered 404 on GitHub and
private: trueon the forge:macula-io/macula-ci-otp,macula-io/macula-ci-pq,macula-io/macula-codebase-checks,macula-io/macula-sponsors.Done-when line 1 (offline exit 0) stays open with this issue: the two remaining hits are the advisories stand-in's env pins, which PR 56 writes as
sha256:<hex>. I check offline exit 0 on main once PR 56 has landed, and close this issue then.Done-when #1 amended (Supervisor's ruling, relayed by Mars, 2026-11-23)
Done-when #1 now reads: "Offline, on the tip: exit 0,
check_nothing_private_gets_in: nothing private, except main's ownci.yml:58hit, named (task 4500)".Why the exception, with the evidence:
28be3157the offline whole-tree run reads 1 hit,.github/workflows/ci.yml:58. That line is PR 54'slinksjob naming its container image; the scan reads the image name as a repository, and the name is not a repository (the forge answers 404 for it with a member token, andmacula-io/macula-ci-images#14says the image is built from that repository).c958278f) reads 17 hits,ci.yml:58first among them, and main's ownnothing privatetask 4500 (ci.ymlrun 507 ona1dab83e) readsfailure. So main is red on this job today, and this package takes it from 17 to 1.2afe70b8history hits (declared.ts lines 11, 12 and 52, comment examples a later commit removed) stay accepted from r=1, as the check reads every commit's added lines.Nothing of this is fixed here by a, b or c: teaching the check that an image reference is not a repository is its own package, so it does not widen this one.
The rest of the merged tip:
ci.ymlidentical to main's; the merged tree differs from main only by this package's 12 files; actionlint 1.7.12 exits 0;check:restated-valuesclean over the range (59 sites); and the advisories stand-in conflict resolved to PR 56's3036052re-copy plus this repository's three private-name drops, with the header and itstail -n +20check line corrected to match (the dashes line is 19, and the diff against main's copy shows exactly those three places).Superseded: the exception is gone, the tip reads nothing private (Supervisor's ruling of 2026-11-23: take (a))
My comment above recorded Done-when #1 amended to name
ci.yml:58as an exception. The Supervisor then ruled (a) for this package — the check takes the image reading — so that exception no longer applies and this comment replaces it.At
5f6596cf(pushed over28be3157):check_nothing_private_gets_in: nothing private, exit 0. Done-when #1 is met, without an exception.image:orcontainer:key written as<forge host>/<owner>/<name>@sha256:<64 hex>. Every weaker form stays a hit — no host (with and without a digest), no digest, a tag where the digest goes, not-hex aftersha256:, and the same form in prose, including after the wordimage:— each with a case that fails by name.diff.ci.yml:58is the only hit this reading removes.tsc --noEmitexits 0; actionlint 1.7.12 exits 0;check:restated-valuesclean overorigin/main..HEAD(77 literal sites); the check's two test files pass 66 and 27.Still standing, unchanged: the three
2afe70b8history hits are read by the range, not the tree, and the Supervisor ruled they are fake test strings that a later commit removed — the r=1 commits are not rewritten. If the push run's range gate is red on them, the HANDOFF names that red; whether it lands is Mars's call.macula-io/martha#92filed this same reading as its own package; with this commit it is implemented here, so #92 closes when this lands. Its threat model and the accounting of main's 17 hits stay as the record of why the rule is this narrow.Main
277f2773(PR 62 squash): nothing private task 6231 is green (437 to 0). gate coverage task 6156 is red; reading its log for the cause (Terra).Effect on main:
nothing privateis green, 437 hits to 0PR 62 landed as one squash commit
277f2773(parent1840e66c).nothing private— task 6231 SUCCESS, its first green on main. The baseline before this was 437 hits (380 hex ids, 39 private repositories, 17 email addresses, 1 home directory); main now reports none.277f2773:advisories6212,c4-model6213/6214,ci.yml6215-6236,engine-drift6237,host-drift6238,standalone6239/6240).gate coveragetask 6156. It is this landing own, deterministic: #528 guard namedsrc/check_nothing_private_gets_in/check_nothing_private_gets_in.tsby count,folds case 13 times, and its declaration says 7. The landing added six case folds that are not a member name: a digest-pinned image name, a GitHub owner/repo under the placeholders list, and an address under a reserved documentation name.juno/60-one-place-foldsatebbd21a5, PR 100: the file declaration carries all thirteen and its reason names them; the declaration is still enforced both ways by the planted one-more and one-fewer cases.gate coverageruns only on a push to main, so it was green on the previous main push (task 6039) and is the one job the PR runs cannot cover.#92 closes with this landing: the 437 hits are gone from main tree and the check reads offline.