check:private reads a link on a declared forge as a repository reference #21
Closed
jupiter
wants to merge 1 commit from
jupiter/16-5-3-forge-repo-links into jupiter/check-private-stop
pull from: jupiter/16-5-3-forge-repo-links
merge into: martha-ai:jupiter/check-private-stop
martha-ai:main
martha-ai:venus/149-stranger-docs
martha-ai:pluto/45-a1-wait-through-the-seam
martha-ai:venus/129-no-launcher-endpoint
martha-ai:titan/119-engine-install
martha-ai:saturnus/45-branch-move-head
martha-ai:jupiter/45-a5-line-forms
martha-ai:jupiter/45-volatile-mesh-say
martha-ai:venus/114-forge-release
martha-ai:venus/114-installer-2
martha-ai:venus/8-land-on-any-host-2
martha-ai:titan/111-gitlinks
martha-ai:titan/111-symlink-and-range-reads
martha-ai:juno/040-host-rerecord
martha-ai:vesta/24-remove-github-sponsors
martha-ai:ceres/19-signin-probe
martha-ai:vesta/94-git-guard-blind-shapes
martha-ai:vesta/67-set-a-exports-git-dir
martha-ai:jupiter/47-status-clock
martha-ai:pallas/46-forge-ci-seam
martha-ai:juno/39-offline-private-scan
martha-ai:pluto/23-standin-recopy-476b5724
martha-ai:mercurius/82-installer-steps-past-install
martha-ai:ceres/19-relay-end-written
martha-ai:mercurius/73-declare-alias-folds
martha-ai:pluto/23-standin-recopy
martha-ai:venus/8-land-on-any-host
martha-ai:ceres/19-relay-frame
martha-ai:venus/28-budget-line
martha-ai:vesta/48-git-guard
martha-ai:ceres/47-hourly-status
martha-ai:terra/batch3-forge-b
martha-ai:pluto/23-declared-digests
martha-ai:ceres/318-friction-note-rebuilt
martha-ai:neptunus/check-private-digests
martha-ai:hygiea/5-tsx-typecheck
martha-ai:terra/batch2-forge
martha-ai:vesta/973-ask-proof-and-pr-base
martha-ai:mercurius/16-forge-token-shape
martha-ai:jupiter/check-private-stop
martha-ai:terra/batch3-forge
martha-ai:saturnus/1016-crew-mail
martha-ai:venus/999-refresh-modes
martha-ai:uranus/601-martha-forge-workflows
martha-ai:ceres/1041-work-graph
martha-ai:jupiter/957-gap-19-prompt-text
martha-ai:mercurius/987-stranger-text-gate
martha-ai:jupiter/check-private-stop-posted
martha-ai:pluto/1045-under-600
martha-ai:ceres/1041-contract-lines
martha-ai:pluto/1045-free-splits
martha-ai:diverged/hygiea/962-worktree-finish-owner-and-branch
martha-ai:ceres/967-provider-key
martha-ai:saturnus/1016-mesh-key
martha-ai:hygiea/962-worktree-finish-owner-and-branch
martha-ai:pluto/1045-cognitive-complexity
martha-ai:venus/999-refresh-modes-held-merge
martha-ai:pluto/1010-repo-numbers
martha-ai:pluto/1010-drift-numbers
martha-ai:terra/batch-terra-1121e
martha-ai:hygiea/916-provider-subscription-refusal
martha-ai:venus/999-brief-notice
martha-ai:hygiea/992-job-timeouts
martha-ai:pluto/1037-recorded-host-stall
martha-ai:jupiter/1016-crew-memory
martha-ai:pluto/1031-host-2-1-330
martha-ai:terra/batch-terra-1121c
martha-ai:mars/1000-progress-off-tasks
martha-ai:uranus/989-confinement-v
martha-ai:hygiea/985-launcher-verbs-r2
martha-ai:mars/985-rename-handover-match
martha-ai:jupiter/979-guard-places
martha-ai:uranus/980-assign-model
martha-ai:ceres/959-wake-on-idle
martha-ai:uranus/989-confinement-u
martha-ai:juno/802-a-handle-on-my-run
martha-ai:pluto/989-confinement
martha-ai:terra/batch-terra-1120f
martha-ai:mercurius/987-rebased-keep
martha-ai:vesta/308-a-week-of-the-ledger-vesta
martha-ai:jupiter/984-gap-5-crew-state
martha-ai:hygiea/985-launcher-verbs
martha-ai:vesta/915-worktree-finish
martha-ai:terra/batch-terra-1120b
martha-ai:terra/981-review-fix
martha-ai:venus/review-917
martha-ai:final-tip
martha-ai:keep-318-tip
martha-ai:neptunus/1006-review
martha-ai:hygiea/976-the-ci-wait-by-run
martha-ai:terra/979-review-fix
martha-ai:terra/962-review
martha-ai:hygiea/601-row-174-the-engines-settings-watch
martha-ai:uranus/968-markers-r1
martha-ai:terra/981-review
martha-ai:vesta/308-a-week-of-the-ledger
martha-ai:terra/986-review
martha-ai:saturnus/511-up-config
martha-ai:hygiea-601-last3b
martha-ai:hygiea-601-last3
martha-ai:hygiea-601-pre-rebase
martha-ai:jupiter/batch-92
martha-ai:venus/venus-review-929
martha-ai:venus/venus-review-934
martha-ai:uranus/511-up-claude
martha-ai:saturnus/511-refusals
martha-ai:venus/906-token-fixture
martha-ai:jupiter/541-a-engine-start-clean
martha-ai:uranus/614-slice3-approved-skills-on
martha-ai:uranus/614-dw6-unrooted-skill-folders
martha-ai:venus/639-redact-stdin
martha-ai:venus/venus-review-913
martha-ai:neptunus/547-s6-kitty-launch
martha-ai:venus/venus-review-897
martha-ai:neptunus/907-review
martha-ai:venus/898-bundle-main-installer
martha-ai:hygiea/309-a-declared-goal
martha-ai:venus/614-engine-skills-2
martha-ai:neptunus/893-review
martha-ai:venus/639-night2
martha-ai:venus/venus-review-883
martha-ai:jupiter/541-c4-goose-call-answered-by-the-entry
martha-ai:venus/venus-review-866
martha-ai:venus/541-9a-slice-2
martha-ai:mercurius/614-engine-skills
martha-ai:titan/637-updater-switch
martha-ai:pluto/755-fewer-judge-starts
martha-ai:uranus/836-review
martha-ai:mercurius/846-posted-text
martha-ai:neptunus/828-review-r1
martha-ai:titan/801-hint-text
martha-ai:uranus/785-part-2
martha-ai:uranus/797-review
martha-ai:neptunus/830-review
martha-ai:venus/venus-review-837
martha-ai:uranus/724-reap
martha-ai:juno/784-the-launch-a-start-builds
martha-ai:neptunus/784-review-fix
martha-ai:juno/784-the-adapter-under-its-ceiling
martha-ai:diverged/juno/784-the-launch-a-start-builds
martha-ai:juno/784-the-adapter-back-under-origin
martha-ai:neptunus/694-review-fix
martha-ai:juno/732-the-cap-holds-b
martha-ai:neptunus/732-review-fix
martha-ai:titan/541-c3-hints-record
martha-ai:jupiter/host-2.1.328
martha-ai:juno/732-the-cap-holds
martha-ai:ceres/781-launcher-path
martha-ai:uranus/785-hint-files
martha-ai:ceres/724-part-2
martha-ai:neptunus/766-review-fix
martha-ai:uranus/755-hook-filter
martha-ai:jupiter/review-788
martha-ai:neptunus/745-review-fix
martha-ai:uranus/772-judge-env
martha-ai:jupiter/753-keys-declared-twice
martha-ai:pallas/784-launch-request
martha-ai:ceres/562-wire-the-scan
martha-ai:jupiter/744-split-prove-the-core
martha-ai:titan/541-c2-goose-gate-rows
martha-ai:pallas/765-approve-listing
martha-ai:pr-766-tip
martha-ai:terra/769-review
martha-ai:pallas/748-cycle-roots
martha-ai:uranus/uranus-batch-69
martha-ai:venus/venus-review-756
martha-ai:pr-733-head
martha-ai:neptunus/727-shell-quoting
martha-ai:venus/venus-review-738
martha-ai:pallas/694-a-trial-line-keeps-its-transcript
martha-ai:ceres/724-part-1-a-test-leaves-nothing-behind-v2
martha-ai:ceres/tests-leave-nothing-in-the-temp-directory
martha-ai:neptunus/541-2-4-3-the-recording
martha-ai:ceres/700-the-stand-in-reports-its-start
martha-ai:pluto/701
martha-ai:titan/541-6b-multi-host-review-model
martha-ai:uranus/uranus-733r1
martha-ai:scratch-703
martha-ai:titan/541-5-member-host
martha-ai:neptunus/541-2-4-2-the-tool-call
martha-ai:ceres/625-release-redraw
martha-ai:mars/541-acp-transport
martha-ai:ceres/batch-62-redraw
martha-ai:neptunus/541-6-host-model-vocabulary
martha-ai:heads/pr/672
martha-ai:pr/672c
martha-ai:heads/pr/673
martha-ai:juno/541-6-host-model-vocabulary
martha-ai:pr/668b
martha-ai:saturnus/612-no-answer-gets-a-second-launch
martha-ai:ceres/601-release-bump
martha-ai:heads/pr/625
martha-ai:heads/pr/668
martha-ai:pr/656b
martha-ai:heads/pr/666
martha-ai:pallas/611-init-layout
martha-ai:pr/654-r2b
martha-ai:heads/pr/656
martha-ai:pr/662-new
martha-ai:pr/654-new
martha-ai:pr/660-new
martha-ai:saturnus/632-retire-owner-guard
martha-ai:saturnus/602-own-config
martha-ai:ceres/638-read-shape
martha-ai:neptunus/541-10-recorded-goose-host
martha-ai:titan/611-init-layout
martha-ai:venus/244-member-half
martha-ai:titan/165-stand-in-case
martha-ai:pallas/177-tree-stat-record
martha-ai:ceres/314-volatile-path-note-clean
martha-ai:uranus/uranus-batch-48
martha-ai:jupiter/160-where-we-are
martha-ai:uranus/uranus-batch-46
martha-ai:juno/513-budget-r2
martha-ai:pallas/437-trial-builder-r2
martha-ai:pallas/437-trial-builder
martha-ai:saturnus/289b-shell
martha-ai:saturnus/289b-rules
martha-ai:saturnus/289-record-values
martha-ai:ceres/170-vouching-on-real-events
martha-ai:ceres/170-vouching-reaches-the-member
martha-ai:neptunus/136-member-memory
martha-ai:mercurius/4-claw-code-analysis
martha-ai:mercurius/5-scaffold-theme
No reviewers
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!21
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "jupiter/16-5-3-forge-repo-links"
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?
Refs macula-io/martha#16 row 5.3 (forge), the Supervisor's cut; stacked on forge PR 14 (jupiter/check-private-stop, passed head
559256b2), never rebased.Purpose (bug): check:private reads a link or remote on the forge martha lives on (git.macula.io) as a repository reference, as it reads a github.com one, so a private repository linked by its forge URL is refused instead of passing unread. GitHub stays the one source of "public" (ruling A, forge macula-io/martha#9); the "forge private flag" half is dropped.
What changes
declared.ts:forgeHosts: ['git.macula.io'], declared once;RulesgainsforgeHosts.check_nothing_private_gets_in.ts: links on a declared forge are references:https://<host>/<owner>/<repo>,git@<host>:<owner>/<repo>,ssh://git@<host>/<owner>/<repo>,/api/v1/repos/<owner>/<repo>; host in any case, standing alone (a longer name that ends in it is not that forge). Forgejo's own pages (admin, api, assets, explore, notifications, org, repo, user) are not looked up.git@<host>is a remote, not an address, asgit@github.comalready is.prove_the_core/one_place_does_it/one_place_folds_a_member_name.ts: the file's declared fold count 6 → 7 (the forge route name).docs/nothing-private-gets-in.md: the resolution passage names forge links.Tests (red first)
Three in check_nothing_private_gets_in.node-test.ts, on a test-only host (
forge.synthetic.example), not the declared one: a private repository on a declared forge is refused in five forms; a public one passes in three; forge pages, an undeclared host, a dotless look-alike and a longer host are not looked up.Mutants, each killed: forge links not read; routes looked up; no api/v1 path; host dot unescaped; no host boundary; git@host read as an email; host case significant.
Local, tokens unset
Whole suite 5041/5077 pass, 0 fail, 36 skipped; core 184/184; tsc 0; lint 0. Only declared.ts names git.macula.io in the tree, so the change adds no hit on main.
Landed: head
47542c31is an ancestor of maina1dab83e(checked with git merge-base --is-ancestor). Closing by hand, since the forge did not mark it merged. (Mars, dispatcher)Pull request closed