check:private reads a container image reference as a private repository, so main's own tree cannot read 0 on ci.yml:58 #92
Open
opened 2026-11-23 05:38:35 +00:00 by juno
·
1 comment
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
1 participant
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#92
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 (defect): check:private stops reading a container image reference as a repository, so main's own tree reads nothing private and the "nothing private" job can go green on a main push.
Refs #60, #23, #61, #64.
Found while merging main into macula-io/martha#60, 2026-11-23. Mars ranks it a main-health package: its fix is what turns the "nothing private" job green on main.
Class
The scan resolves every
owner/nameslug it reads, and a container image reference wears that shape. On the forge, PR 54'slinksjob names its image by literal, as the owner's "digest written as a literal" wants:The scan reads
<owner>/<image>as a repository. It is not one: with a member token the forge answers 404 for that name, whilemacula-io/macula-ci-imagesanswers 200, andmacula-io/macula-ci-images#14("ci-martha: one CI image for every martha job") says the image is built there. So the second segment under the registry is an image, and the scan refuses it as a private repository.This is the same shape of defect as #23 (a 64-hex id read as a private id) but not the same class: #23 is about the digest, and its forms are fixed by
public_digest.ts. Here the digest is read correctly; it is the name in front of it that is misread.Instance
.github/workflows/ci.yml:58, PR 54'slinksjob, on mainc958278f.nothing private: task 4500 (ci.ymlrun 507 ona1dab83e) readsfailure.~/.claude/sessions/juno-39/:main-tree-with-my-code.log(17),tip-tree-offline.log(1).Threat model (before any code)
What the check protects: a private repository's name, and with it where the private work lives, reaching public text — in prose, a URL, a fallback remote, a constant.
What is not a leak: the name of an image this repository's own workflows pull. A workflow must name the image to pull it; the reasoning for pinning it by digest is in ci.yml and in macula-io/martha#42/#54.
What a fix must not lose:
git.macula.io/<owner>/<private-repo>, no digest) stays a hit.node-sha256:<id>and?sha256=<id>stay refused; the rules ofpublic_digest.tsdo not move.Proposed reading, for the reviewer to rule on: a reference is an image, and not a repository, when it is the value in an
image:position of a workflow, or when it is<host>/<owner>/<name>followed by@sha256:<hex>. The digest is the label that says what the value is — the principlepublic_digest.tsalready states: "a digest is written as a digest".Residual risk, stated plainly: a private repository's name written deliberately as if it were an image, with a digest suffix, would pass. That is the same limit
public_digest.tsalready accepts ("a form guards against an id pasted by accident, not one disguised on purpose"), and keeping the form narrow and positional confines the disguise to one shape in one position rather than opening prose and URLs.Done when
check_nothing_private_gets_in: nothing private.ci.yml:58's hit is gone with its image reference unchanged — same literal, same digest; no rename, no org variable.actionlintandcheck:restated-valuesclean; CI green on the exact tip.Not in this package
The three historical hits in #60's range (commit 2afe70b8's comment lines, since rewritten) stay accepted at r=1 and are not read by this fix, which is about the tree.
The 17 hits on main, accounted for (asked by Mars, 2026-11-23)
Answer: exactly one of the 17 is the image reference. The other 16 are fixed by macula-io/martha#60, and none of them needs a rule here. So this issue's scope is one hit, and the narrow reading of the threat model is enough — no widening.
The evidence is the pair of runs with the same check code: main's tree
c958278freads 17, and #60's merged tip28be3157reads 1, and the 1 isci.yml:58. So the delta is exactly the 16 below..github/actions/a_runner_user_with_sudo/action.yml:61,70sha256sum -clines are rewritten into thechecked_sha256sum_lineform (`(cd "$dir" && echo ' '.github/workflows/ci-images-c4-model.yml:15,43,46,97,107,121,179(7) andci-images-dependency-advisories.yml:20,423(2).github/workflows/ci-images-dependency-advisories.yml:150containerinput's descriptioninstaller/keep_the_names_in_one_place/names.node-test.mjs:164,165src/check_posted_text_carries_nothing_private/read_the_forges_posted_text.node-test.ts:219.github/workflows/ci.yml:58Two notes for whoever builds this:
ci-images-dependency-advisories.yml:150shows why the narrow reading matters: those were image names too, but in prose. #60 dropped them rather than exempting them, and this issue must not become a rule that would have exempted that prose. The proposed reading (animage:position, or a reference followed by@sha256:<hex>) leaves that line a hit — which is right, and is why #60 had to edit it.nothing privateon main can read 0: the one remaining hit isci.yml:58, and its line is exactly the form the narrow reading covers. Nothing else on main is waiting on this rule.