Every GitHub dependency of the crew tools and Martha src/, in the order it stops the crew #16
Open
opened 2026-11-22 06:36:23 +00:00 by uranus
·
5 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
3 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#16
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 (inventory): one table of every place where the crew's own tools and Martha's
src/need GitHub at runtime, ordered by what stops the crew first, so the forge packages can go out in that order.Refs macula-io/martha#601, macula-io/martha#8, macula-io/macula-sponsors#4, macula-io/macula-sponsors#5.
Basis: DECIDED 2026-11-22 "our crew can no longer depend on github!" (Raf; Supervisor ruling: the forge-fix exception covers every GitHub dependency of the crew's own tools). Read-only inventory. No code, and no new check (DECIDED 2026-11-19 "No new checks without your yes (Recommended)").
Read at:
~/.claude/crew/mod, 6f353d514b3d82b3822b2857529a0f71eb706519, which runs today.7ab867516c(src/).Scope: crew-code
bin/,hooks/(the crew MCP tools inhooks/register.tsx),core/,prove_handoff_ci/andonboarding/, plus Martha'ssrc/. Tests, fixtures and docs are left out. The full per-site tables, with every line, are in the two comments below. The table here merges them, one row per concern.Read first. "origin fetch" rows run forge-neutral git. They fail only because every workspace clone, and the mod's own clone, has a github.com
origin. Re-pointing the remotes, or using a workspace of forge clones (martha#8, sponsors#4), clears them with no code change. They are marked [remote].FAIL-OPEN marks a site that lets something through, or answers for the wrong repository, once GitHub is gone or the forge is swapped in.
1. Start, restart and launch
core/crew_command.ts:34-62(ghForks:gh repo list <org> --fork, :45). Run by compose (bin/crew:400-402) on everycrew up:1597,start:1625,restart:1635 andcrew <Name>:1653. The same in B.own_orgsdeclared, compose refuses ("could not list the forks … nothing was composed") and no member can be launched. Jupiter's compose fix tonight is the saved-list fallback.hooks/register.tsx:125-127OWN_FORKS, :4540-4546forkListAge) once every repo is a forge mirror.fork: true. A list taken from the forge would come back empty. An empty list makes the gate vouch for every repo underown_orgs, including the repos that are GitHub forks today and carry upstream text. That FAILS OPEN. The saved list only ages ("a fork made since is vouched for as own", :4540).bin/crew:1631-1636,restart:stop_member:1634 runs BEFOREcompose_crew:1635. Toolcrew_restartatregister.tsx:5225(B :5274).bin/crew:1185-1215install_mod(fetch origin:1193).:1137-1160for the roster's "mod:" line.:172sets theMOD_REMOTE_FALLBACKgithub.com URL.onboarding/bin/install_member_machine.sh:44(SPONSORS_REPOon github.com), :169-172 (access probe, "gh auth login"), :247 (clone), :188/:196 (asdf-nodejs clone from github.com), :297 (step 5 = 1.4)refresh_a_member/the_refresh_flow.ts:330, 512-518andread_a_members_brief/read_a_members_brief.ts:156-189(gh issue view,gh pr list). crew-coderegister.tsx:3358-3378issueFactsForandheldPackagesOf(B :3408-3428).GET /repos/{o}/{r}/issues/{n}(state, labels) and/pulls?state=open. Better: the ledger (VERDICT PASS, then landed by ancestry).src/, noted: Marthainstaller/package.json:55-57andinstaller/signers.txt:3(ghcr.io image, signer = a GitHub workflow identity),installer/read_the_release_registry/…mjs:238,rehearse_a_release/…mjs:17-48(GHCR_TOKEN)2. Landing proofs
ci=. crew-code Aregister.tsx:1110-1124→prove_handoff_ci/handoff_ci_runs.ts:33-65, 137-190. B routes by origin host (lineForgeFor:240-264,forgejo_runs.ts). Marthasend_a_crew_message/the_runs_a_handoff_names.ts:108-212through the budget seam (4.2)..crew/forges.jsondeclares git.macula.io, so every forge line is marked unverified. And on Forgejo 15 a run passes on its status alone, because jobs can't be read..crew/forges.jsonentry for git.macula.io (sponsors#3, the line form). Martha gets the same adapter on the seam (4.2), with a forge-neutralci=.crew_verify_range's CI word. crew-code Aregister.tsx:2257-2281(gh api …/actions/runs?head_sha=,/jobs),core/skipped_ci_jobs.ts:82. B :2295-2320 doesn't ask a non-GitHub host. Marthacheck_a_range_before_the_owner_says_yes.ts:306-336, 448-450, 483-486(direct gh, outside the budget, no timeout)./repos/{o}/{r}/actions/runs?head_sha=asforgejo_runs.tsreads it, or commit statuses/commits/{sha}/status. Whether the menu line should be refused when CI is unread is a ruling, not part of this inventory.check_a_range_before_the_owner_says_yes.ts:48-49(BY_EYE_PREFIXES=.github/workflows/,.github/actions/).forgejo/: a range that changes.forgejo/workflowsor.forgejo/actionscarries no "read by eye" mark to Raf..forgejo/prefixes.crew_land_batch. crew-code Acore/batch_landing.ts:82-100fetchesrefs/pull/<n>/head, a GitHub-only ref (B fixed: by branch and reviewed head). Marthafind_the_work_a_verdict_passed.ts:98-103, 160-182(gh api …/commits/<head>/pulls).land_passed_work_as_one_batch.ts:213-219, 524-549, 571-597andforecast_what_a_batch_lands.ts:68-77./pulls?state=openmatched onhead.sha(martha#8).land_passed_work_as_one_batch.ts:4-6, 458-475(subjectLand PR #n, "GitHub marks its pull request merged")PATCH /repos/{o}/{r}/pulls/{n}.crew_worktree_finish. crew-code Aregister.tsx:1959-2037(prMergedOf,openPrsOfby gh),core/workspace_worktree.ts:372-390. B gates both onpullRequestReadsFor(github.com only). Marthaopen_and_finish_a_worktree.ts:285-363already decides "landed" by ancestry, with no gh.push --deletethe forge branch (workspace_worktree.ts:386), which closes a forge PR based on it. Fixed in B. Martha is [remote] only./pulls?state=closed, or are dropped.crew_worktree_create. crew-codecore/workspace_worktree.ts:42-47(B :54). Marthaopen_and_finish_a_worktree.ts:143-153core/handoff_commits.ts:191-205(B :222), the SendMessage check (sponsors#5). Marthathe_commits_a_handoff_names.ts:117-127crew_verify_range's fetch. crew-coderegister.tsx:2224-2234, 1741-1747. Marthacheck_a_range…ts:182-205run_an_owner_signed_command/signed_base.ts:88-107,run_a_signed_shape.ts:69-71remote_urlis github.com, the fetch fails and the last fetched base is used silently: stale, not refused.remote_url. Showfetched: falseas a notice.3. Roster and who holds what
register.tsx:1383-1432,core/crew_backlog.ts:17-76(GraphQL search), toolcrew_backlog. Marthafind_the_unheld_work/*(GraphQL :38-88),nudge_an_idle_crew.ts:122-132,a_crews_tools.ts:611-630(the wake)backlogdeclared). Martha: refused until a first read, then the last good list with no age bound. The idle nudges keep firing on that stale list with no notice (soft FAIL-OPEN). No timeout./repos/issues/search?labels=work-package,backlog&state=open&owner=(REST, no GraphQL), plus an age bound on the kept read. Later, the work graph.register.tsx:1234-1258, 1359-1379(gh pr list),core/handoff_head.ts. Marthaspend_the_github_budget.ts:553-609,the_see_the_crew_tool.ts:122-129,nudge_the_supervisor.ts:289-297ls-remote origin refs/heads/<branch>). No forge API needed.register.tsx:1284-1340(compare, issueclosedAt). Marthaspend_the_github_budget.ts:640-700merge-base --is-ancestor. Closed = Forgejo/issues/{n}, or ledger rows only.declare_crew/the_crews_github.ts,declare_crew.ts:29, 393-394, 462, 623(github.budget_floor).the_crews_workspace.ts:48-49(AN_ORGas GitHub spells one).log_ledger.ts:242-245(WORK_PACKAGE)AN_ORGrefuses the.and_that Forgejo allows.forgeblock in the declaration (host, API), the seam 4.2 needs. WidenAN_ORGif needed.4. CI reads
bin/ci-wait→tests/wait_for_ci.mjs:76-130(gh api rate_limit,gh run view/list). Marthawait_for_ci/*,spend_the_github_budget.ts:478-507/actions/runs?head_sha=polled, asforgejo_runs.tsdoes.spend_the_github_budget.ts:67, 386-456(gh api rate_limitbefore every call)rate_limitexists only on GitHub, so the seam can't be pointed at the forge as it is. Of the spenders, only the HANDOFF one has a timeout.rate_limit, and a defaulttimeout_mson every spender.5. The rest
core/stranger_text_arrivals.ts:228-245(repoOfRemotetakes only github.com as an own host), used at :466, :772, :798, :943. The same in B.crewcall once the mod's origin moves, is an outsider arrival. Today that is audit only (gate_enforce: nobody). Under enforcement it would hold every member.forges.json(github.com plus the declared forges), withown_orgsper host. This belongs with 1.2.register.tsx:4716-4762(gate authors viagh api …/issues,/comments,/reviews,gh api user),stranger_text_arrivals.ts:528-558/issues/{n},/comments,/pulls/{n}/reviews,/user. Long term, realm-signed authorship (threat model first).check_nothing_private_gets_in/scan_rules_and_visibility.ts:13-25(api.github.com),check_nothing_private_gets_in.ts:68-72, 192-193(URL_REFERENCEis github.com only)https://git.macula.io/<org>/<private>link is not read as a repo reference, and a repo that is public on GitHub but private on the forge resolves as public. The fail-closed half is forge martha#9.GET /api/v1/repos/{o}/{r}(private), and match forge-host URLs.keep_the_owners_todo_list/token_prefixes.ts:4-14, used by the private scan, kept transcripts, TODO text and profilestoken,Authorization:,FORGEJO_TOKEN=, URL userinfo) that doesn't flag shas.check_posted_text_carries_nothing_private/*(read_posted_text.ts:25api.github.com)/issues,/issues/comments,/pulls,/pulls/{n}/reviews,/pulls/{n}/comments.check_every_check_runs_in_a_job/main.ts:18, 26-27, 47-52(.github/workflowsonly).forgejo/workflowsexists: Forgejo then ignores.github/, and the check passes on dead files..forgejo/workflows/first, as Forgejo does.land_a_package_on_a_throwaway_repository/*(the live proof's guards:/user,/user/repos,/repositories/{id}, the token-expiry header)core/operator_todo.ts:275-284. Marthakeep_the_owners_todo_list.ts:293-320sweepinglatch, so every later sweep is skipped with nothing said.git ls-remote --tags origin. Merged = ancestry, or Forgejo/pulls/{n}(merged). Add a timeout.register.tsx:5351-5373, 2516-2545,core/friction_note.ts:98-103(crew_friction,gh issue create)friction_repos). If declared: not filed, and notes are never dropped.POST /repos/{o}/{r}/issues, and parse the forge URL.register.tsx:4071-4080originRepo,hosts/opencode/server.ts:216-223,bin/workspace-hygiene:178-188. Martharead_the_origin_a_clone_has.ts:39-58repoOfTheOrigintake_in_a_tool_result.ts:102-103, 207-214,inbound_paths.ts:537-598(B3 "the GitHub CLI", B8, unheld_work)tea) gets no B3 label, so each new forge read needs its own inbound-path row.labelsOf, and restate B3/B8 (threat model first).core/delivery_path.ts:33-36, the "gh run rerun" hint inhandoff_ci_runs.ts:111-113,guides/crew-rhythm.md,.claude-plugin/plugin.json:7,9,124-136. Martha comment-only sites (listed in the comment below)What is already forge-ready
crew_worktree_finishdecides "landed" by ancestry and file equality, with no gh.Correction to ANALYSIS_2026-11-21
crew-code: every runtime dependency on GitHub (inventory, 2026-11-22)
A = shared installed mod
~/.claude/crew/mod/crew-codeat 6f353d51 (its own origin:git@github.com:macula-io/macula-sponsors.git).B = forge sponsors main 31d17f5b (
git.macula.io/macula-io/macula-sponsors), which carries the minimal forge fix:core/forge.ts,prove_handoff_ci/forgejo_runs.ts, batch landing by branch and head, andpullRequestReadsFor(PR reads only for a github.com origin).Scope: bin/, hooks/register.tsx, core/, prove_handoff_ci/, onboarding/, plus hosts/ and tests/wait_for_ci.mjs where a bin script runs them. Tests, fixtures and *.md are excluded, except the SOFT guide row.
Facts about this crew's declaration (
~/work/.crew/crew.json) that change the impact:own_orgsnames 8 orgs (macula-io, macula-services, macula-internal, macula-apps, macula-demos, reckon-db-org, rgfaber, beam-campus). Because of that, every compose runsgh repo list --fork8 times.gate_enforce: "nobody": the outsider-text gate audits only and holds no member today.backlogand nofriction_repos, so the backlog and friction gh paths are dormant here: they refuse before gh runs, or never run..crew/forges.jsonwas found under ~/work, ~/crew or ~/.claude. Until one declares git.macula.io, B treats a forge origin as "no forge"."origin fetch" rows: the code is forge-neutral git, but every clone under
~/work/github.com(and the mod's own clone) has a github.com origin. The fix is the remote URL (or a workspace of forge clones), not code.Categories: 1 start/restart/launch/installer/mod update · 2 landing proofs · 3 roster/who-holds · 4 CI reads · 5 the rest.
FAIL-OPEN marks a site that lets something through, or gives a wrong answer, when GitHub is absent or answers for the wrong repository.
ghForks:execFileSync('gh',['repo','list',owner,'--fork',...]):45; refusal :58), called byrunCompose:66-70crew compose, which bin/crew runs (compose_crewbin/crew:400-402) on EVERYcrew up:1597,crew start:1625,crew restart:1635 andcrew <Name>:1653. It writesown_forksfor the outsider-text gate.GET /api/v1/orgs/{org}/repos(and/users/{u}/repos), keeping entries withfork: true, per forge declared in forges.json. Or a declared fork list in crew.json. Stopgap: emptyown_orgs, which makes the gate vouch for nothing (closed, safe, but every own-repo read becomes an audit hit).restart:check_mod,check_kitty, thenstop_member:1634 BEFOREcompose_crew:1635); MCP toolcrew_restart→ hooks/register.tsx:5225runLauncher($,'restart',…)(runLauncher :1908), handler :7172crew restart <Name>and thecrew_restarttoolcompose_crewbeforestop_member, as kitty is already checked first, plus the fork-list fix above.install_mod:git cloneofmod_remote:1191,git fetch --quiet origin:1193, ff to origin/main :1199-1207)crew install --from-git= the mod update for every session; the installer's step 5git -C ~/.claude/crew/mod remote set-url origin <git.macula.io ssh url>. No code change. (check_mod:1170-1184 reads only local refs, so a launch does not need the network.)MOD_REMOTE_FALLBACK="https://github.com/macula-io/macula-sponsors.git", used bymod_remote:1132 whenCREW_MOD_REMOTEis unset and the launcher checkout has no originmod_remote_main:ls-remote --heads origin main:1139;mod_state:git fetch --quiet origin main:1149)crew roster/status (:1263) and the install summary (:1223)SPONSORS_REPO=https://github.com/macula-io/macula-sponsors.git; :169-172git ls-remoteaccess probe (dies "Sign in (gh auth login)"); :247git clone --branch main "${SPONSORS_REPO}"; :25 header (human actgh auth login)asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.gitcrew … install --from-git(= the install_mod row)rangesCheckedOf(SendMessage HANDOFF/VERDICT check) →gh api <path>:1118 → prove_handoff_ci/handoff_ci_runs.ts:33-65 (askwrapper,GHmarks), :137-147 (runs/<id>,runs/<id>/jobs), :168-190 (runs?head_sha=<tip>), :182ciRunsCheckOflineForgeOf(:2064), handoff_ci_runs.ts:240-264lineForgeForroutes github.com (and an origin git cannot name) to gh :160-167, and a declared forge to forgejo_runs.ts (ci=forgejo:<id>, read by curlforgeApiOf:2058)ci=proof on every HANDOFF and VERDICT lineline.repo), which is a wrong-repo read. In B, an undeclared git.macula.io origin gives kindnone→ UNVERIFIED mark. B on the forge: jobs cannot be read (FORGEJO_JOBS_NOT_READABLE), so a run passes on its status only..crew/forges.jsonentry for git.macula.io with token_env. Jobs come later, when Forgejo serves them.fetchedIn:git fetch -q originin the crew clone :193, used when a HANDOFF sha is missing locally)fetchAll:fetch origin +refs/heads/<default>:85;fetch origin +refs/pull/<n>/head:87, a GitHub-only ref), :97-100 (refs/pull/<n>/headread); :161 menu text "GitHub marks … merged"{package, branch, head, verdict}. It fetchesrefs/heads/<branch>intorefs/crew/land/<i>(:109-112),prsis refused by name (BY_PR_NUMBER), and the "GitHub marks" text is gone (:187)crew_land_batch(register.tsx:7110-7120 A / 7160-7170 B)resolveRange(git fetch -q origin:2228); :1741-1747defaultBranchOf(ls-remote --symref origin HEAD:1745 when origin/HEAD is unknown)crew_verify_range(handler :7049), the owner's-yes menu linetipJobsOf(gh api repos/<repo>/actions/runs?head_sha=:2260),runJobsOf(…/runs/<id>/jobs:2268),ciSuffixOfRange:2275-2280; repo fromoriginRepo:4073-4080 (host-agnostic regex); core/skipped_ci_jobs.ts:37,45 (parsers of those answers)crew_verify_rangemenu line (skipped jobs, a workflow change read by eye)ciSuffixOf(skipped_ci_jobs.ts:82) turns an unread CI into a suffix "; CI jobs on this tip not read (…)" and the menu line is STILL issued for the owner's yes. A: a forge-origin repo is asked on GitHub under the same org/repo (wrong repo)./repos/{o}/{r}/actions/runs?head_sha=, as forgejo_runs.ts does). Consider refusing the menu line when CI cannot be read.prMergedOf(gh api -X GET repos/<repo>/pulls -f head=<owner>:<branch> -f state=closed:1985)pullRequestReadsOf:2074 → workspace_worktree.ts:296-307pullRequestReadsFor(github.com or an unnamed origin only)crew_worktree_finish(handler :7097): the squash-landing proof that lets an unmerged-by-ancestry branch gorepocomes from the clone path (repoOfClone:2040-2044), so GitHub's same-named repo answers for a forge branch.GET /repos/{o}/{r}/pulls?state=closedfiltered by head, or drop squash landings.openPrsOf(gh api repos/<repo>/pulls -f base=<branch> -f state=open:2023); used via core/workspace_worktree.ts:340-366openPrsWhyAt/whyTheOriginKeepsItAtpullRequestReadsFor. A non-GitHub host answersunknown, so the origin copy is kept.crew_worktree_finish: keep a branch that an open PR is based onpush --delete(workspace_worktree.ts:386), which closes a forge PR based on it. Fixed in B.GET /repos/{o}/{r}/pulls?state=openfiltered by base.name, through a declared forgedeleteRemoteBranchAt(fetch -q --prune origin:375,push --force-with-lease … origin --delete:386)crew_worktree_finish: removing the origin's copy of a landed branchcreateWorktreeAt(fetch -q origin:45, worktree fromorigin/<default>), called from register.tsx:1956crew_worktree_createaskTipIn(fetch -q --prune origin:2376)queue_askfor a branch deletion (the tip the owner's yes covers)ghValue:1284-1288,defaultBranchOnGithub:1293 (repos/<repo>),landedOnGithub:1305 (repos/<repo>/compare/<branch>...<tip>),issueClosedAtOnGithub:1313 (repos/<repo>/issues/<n>),settledOnGithub:1325;checkReviewWaits:1335-1340 on a timer (:6417, :6426); jq in core/github_jq.tsgit merge-base --is-ancestor <tip> origin/<default>in the crew clone. Issue closed = ForgejoGET /repos/{o}/{r}/issues/{n}(state,closed_at), or a ledger LANDED row.ghList(`gh pr list -R --state open:1237),pullStateOf;staleHandoffsOf:1359-1377,checkHandoffs` :1379 timer :6416; parser core/handoff_head.ts:32-99; badge register.tsx:5928-5935issueFactsFor(gh issue view <n> -R <repo> --json state,labels:3362),ownsOpenPull(ghList open :3369),heldPackagesOf:3375; used by the refresh prompt :3347 and the handover checkhandoverGaps:3754; parser core/handover_shape.ts:35-60GET /repos/{o}/{r}/issues/{n}(state, labelscrew:<name>), or the ledger's holder rowsbacklogPage(gh api graphql -f q=<search> -f query=SEARCH_GRAPHQL:1391),searchBacklog:1397-1408,readBacklog,checkBacklog(timer :6418, :6425); toolcrew_backlog:7147-7153; core/crew_backlog.ts:17-76 (search query, GraphQL text, labels work-package/backlog/crew:)crew_backlogand the idle-crew nudgebacklogdeclared). If declared: crew_backlog shows the last good list marked with the error, and the idle nudge counts stale unheld work (fail-stale).GET /repos/issues/search?labels=…&state=open&owner=<org>(REST, there is no GraphQL), or the work graphgh api rate_limit:88,gh run view:117,gh run list --commit:126)ci-wait, the crew's one CI waitGET /repos/{o}/{r}/actions/runs?head_sha=polled by curl, as forgejo_runs.ts reads itci=read and the verify-range CI suffixcrewTextProbeOf:ghLines(gh …:4726),authorsOf(gh api repos/<repo>/issues/<n>,/comments,/pulls/<n>/reviews,/pulls/<n>/comments:4756-4760),crewLogin(gh api user:4762); core/stranger_text_arrivals.ts:528-558 (ghThreadArrival,ownGhArrival,ghArrival)gh issue/pr viewon an own repo is vouched for when every author is the crew loginGET /repos/{o}/{r}/issues/{n},/comments,/pulls/{n}/reviews,GET /user. Long term: realm-signed authorship (threat model first).GITHUB_HOST,repoOfRemote:235-237 returns '' for any non-github.com host;isOwnRepo:243-245); proberepoOfregister.tsx:4745-4752; used at :466 (file reads), :772 (git reads), :798 (own code), :943 (crewprogram)crewcall is too (:940-945). Today this is audit only (gate_enforce=nobody). Under enforcement it would hold every member.gh … <url>forkListAgenote on everycrew_verify_range(:7060)runGh:5357,fileFrictionIssue(gh issue create -R <repo> -l friction:5368,gh label create:5371); toolcrew_friction:6884-6900; core/friction_note.ts:98-103 (parseshttps://github.com/<o>/<r>/issues/<n>)crew_frictionPOST /repos/{o}/{r}/issues(labels by id), and parse the forge URL. Or a ledger stream.closedFrictionOf(gh issue view <n> -R <repo> --json state:2521),sweepFrictiontimer :6410GET /repos/{o}/{r}/issues/{n}checkArgv(gh api repos/<repo>/pulls/<n> --jq .merged:279;gh api repos/<repo>/git/ref/tags/<tag>:283), run by register.tsx:2563runCheck,sweepTodo:2586 timer :6407pr_merged,tag_exists)tag_exists→git ls-remote --tags origin <tag>.pr_merged→ ancestry of the PR head in origin/, or ForgejoGET /repos/{o}/{r}/pulls/{n}(merged).originRepo(regex takesorg/repofrom ANY remote host)noteWorkRepoand (in A) the tip CI readsrepoOf(git remote get-url origin, host dropped)refs/pullcounts as held), :178-188 (duplicate clones keyed by org/repo with the host stripped)crew hygienescanloose commits(for-each-ref refs/pull --points-at)refs/crew/land/*or forge PR refs (refs/pull/*also exists on Forgejo), or leave it as is.prstext, changed in B); core/crew_practice.ts:14; handoff_ci_runs.ts:111-113 ("gh run rerun ", B :133); guides/crew-rhythm.md:31-43,110,131-132; .claude-plugin/plugin.json:7,9 (repository/homepage github.com URLs), :124-136 (own_orgs = "GitHub organisations"); types/index.d.ts:111; core/shorthand.ts:72 (example URL); core/public_text.ts:27 (allowedgit@github.com)Row count per category
Total: 36 rows.
Not GitHub dependencies (checked, left out)
check_mod(bin/crew:1170-1184) reads only local refs.defaultBranchAt(workspace_worktree.ts:21-25) are local.macula_mcp_releaseis an npm package (@macula-io/mcp@0.51.3), not GitHub.org/repo#npackage ids (core/shorthand.ts, log_ledger) are opaque strings, and Forgejo numbers issues the same way.Martha src/: runtime GitHub dependencies
Read at forge main
7ab867516c(git show 7ab86751:<path>, no checkout). Scope:src/without tests, fixtures and*.md. Paths are relative tosrc/.Cross-cutting facts that every row below rests on:
read_the_origin_a_clone_has.ts:39-58(repoOfTheOrigin) keeps onlyorg/nameand drops the origin's host. Everygh --repo <org/name>andgh api repos/<org/name>then goes to gh's default host, which is github.com. If a clone's origin is re-pointed to git.macula.io, the gh calls still ask GitHub about a repo with the same name. If a GitHub copy still exists there, they read the wrong repository's CI, PRs and issues without saying so.GITHUB_CLI = 'gh'(take_in_a_tool_result/take_in_a_tool_result.ts:103) throughprocesses.run. Perhost_contract/host_contract.ts:380-382, a run with notimeout_ms"runs until it ends". Only the HANDOFFci=spender is bounded (GH_MS= 20 s). Every other gh call, and everygit fetch/push/ls-remote, has no bound and can hang on a black-holed network.spend_the_github_budget/spend_the_github_budget.ts) callsgh api rate_limitbefore every call (:67, :431-439). GitHub alone has that endpoint. If no count was ever recorded, every spend is refused: "GitHub could not say what the crew has left". Otherwise the old count is kept and the call goes ahead.Categories: 1 start/restart/launch · 2 landing proofs · 3 roster/who-holds · 4 CI reads · 5 the rest. FAIL-OPEN marks a site where losing GitHub, or swapping in the forge, lets something through that should not get through.
thePackagesHeld, spender built with no timeout)crew_refresh/crew_restart/ handover judgement: which packages a handover must carry a line forGET /repos/{o}/{r}/issues/{n}(state, labels) plusGET /repos/{o}/{r}/pulls?state=open. Better: from the ledger (VERDICT PASS, then landed by ancestry).gh issue view --json state,labels), 166-170 (gh pr list --state open --json headRefName,body --limit 100), 176-189 (thePackagesAMemberHolds)martha start(solo declare), workspace layout and driftgit remote get-url originandsymbolic-refreads with no network. The<clones>/<org>/<name>layout ignores the host, so a forge origin works. A dead github.com origin only fails later, at fetch time.martha installmartha installasks only registry.npmjs.org. The network parts sit outside src (see the note at the end).gh api repos/{repo}/commits/{head}/pulls, no timeout), 160-182 (landedAnyway)crew_land_batch, its dry run (check=1), andcrew_verify_rangewith packages: the open PR at the passed headLand <pkg> (PASS)with no PR link, so the forge PR is never tied to the landing. The call can hang.GET /repos/{o}/{r}/pulls?state=open, matched onhead.sha.fetch --prune originintheBatchMayStart), 119-134 (origin repo, then the find-work row above)crew_land_batch(and its dry run, via forecast)origin(martha#8).push origin <tip>:refs/heads/land/<date>-n), 571-580 (ls-remote originrecovery look)crew_land_batch: pushing the integration branch, and its recoverycannot_tellfrom ls-remote. The push has no timeout.fastForward: fetch, thenpush origin <tip>:refs/heads/<default>), 585-597 (theDefaultBranchHoldsTheTip: fetch +merge-base --is-ancestor)fast_forward_after_the_owners_yes(landing on main)Land PR #n (<pkg>, PASS), "GitHub marks its pull request merged")PATCH /repos/{o}/{r}/pulls/{n}, or drop PRs.theBatchMayStartfetch, origin,findTheWorkTheseVerdictsPassed)crew_land_batchdry runfetch --quiet origin, origin read), 195-205crew_verify_range(the check before the owner's yes)gh api repos/{repo}/actions/runs?head_sha=), 330-336 (…/runs/{id}/jobs), 448-450 (theCILine), 483-486 (gh(): direct, not through the budget, no timeout)crew_verify_range: the CI line beside the owner's questionCI on <tip>: gh could not read the runs…and the owner's yes is still asked. Acceptance criteria that nameciread false (closed, :400-446). With a forge origin, the call asks github.com about the same-named repo: it shows "no run found" or a stale mirror's runs. Can hang.GET /repos/{o}/{r}/commits/{sha}/status(combined) and/statuses, which Forgejo Actions writes. Or ForgejoGET /repos/{o}/{r}/actions/runsand/actions/runs/{id}/jobs, if the deployed version filters byhead_sha(verify). Route through the budget seam.BY_EYE_PREFIXES = ['.github/workflows/', '.github/actions/']), 299-304crew_verify_range: the "needs a by-eye read" mark for CI-config changes.forgejo/workflows/or.forgejo/actions/gets no by-eye mark. The owner is not told that the CI config changed..forgejo/workflows/and.forgejo/actions/(Forgejo prefers.forgejo/when it exists)findTheWorkTheseVerdictsPassed)crew_verify_rangewith packagesrepoOfTheOrigindrops the host), 76-90org/namegoes to github.com. FAIL-OPEN risk when a GitHub mirror of the same name still exists.TheOriginand route gh/forge calls by host, against a forge declared in the crew declaration.worktree_open:fetch origin)crew_worktree_createfetch --prune origin), 300-310, 313-345 (push origin --delete <branch>), 355-363 (ls-remote --heads originrecovery look)crew_worktree_finish: "landed?" and the remote branch deleteorigin/<default>.fetch -q originwhen a sha is missing), 85-90, 101-111say_to_the_crew)ask→spendTheGithubBudget(['api', path])), 161-176 (actions/runs?head_sha=<tip>), 190-197 (actions/runs/{id}/jobs?filter=latest), 200-212 (actions/runs/{id}); a_crews_tools/a_crews_tools.ts:945-950 (spender,GH_MS)ci=check (say_to_the_crew)ci not verified (gh exited …)and is still sent. That is soft-open: a reviewer who skims past the mark gets a HANDOFF with no CI proof.ci=ids are GitHub run ids, so forge run ids have no grammar./commits/{sha}/statuses), or Forgejoactions/runs. Make theci=grammar forge-neutral.search(type: ISSUE)query), 78-88 (gh api graphql -f query= -f q=; labelswork-package,backlog;crew:<name>), 141-152, 167-185 (readTheBacklog)unheld_worktool,see_the_crewunheld nudges, idle wakeGET /repos/issues/search?state=open&type=issues&labels=work-package,backlog&owner=or per-repoGET /repos/{o}/{r}/issues?labels=. Forgejo has no GraphQL, so rewrite the paging.theBacklogNow); unheld_work_tool.ts:43-49timeout_ms.theUnheldNudgesForusesread.issueswhateverkept.errorsays)theWakeOfThisSession→theBacklogReaderIn), 876 (UNHELD_WORK_TOOL)unheld_worktoolgh pr list --repo --state all --json number,headRefOid,state,title,body --limit 100), 566-580, 591-609 (theHeadsOfTheWaits); see_the_crew/the_see_the_crew_tool.ts:122-129; nudge_the_supervisor/nudge_the_supervisor.ts:289-297 (headNudges)git ls-remote origin refs/heads/<branch>on the forge), or ForgejoGET /repos/{o}/{r}/pulls?state=allgh issue view <n> --repo --json state,closedAt), 684-700 (theClosesOfTheWaits); see_the_crew/the_see_the_crew_tool.ts:108-116; nudge_the_supervisor.ts:200-210GET /repos/{o}/{r}/issues/{n}(state,closed_at), or drop it: settle from ledger rows onlyWORK_PACKAGE=owner/repo#n"as GitHub names it"); declare_crew/the_crews_workspace.ts:48-49 (AN_ORG"as GitHub spells one"); open_and_finish_a_worktree.ts:44 (REPO); keep_the_supervisors_standing_items.ts:57; report_where_the_work_stands.ts:39.and_, whichAN_ORGrefuses (closed).AN_ORGif a forge org needs itgithub.budget_floorblock)forgeblock that names the forge host and API, the seam the rows above need.readTheRunsOn:api repos/{repo}/actions/runs?head_sha=&per_page=100), 497-507 (readTheRun:api repos/{repo}/actions/runs/{id}); a_crews_tools.ts:906-908 (spender, no timeout); wait_for_ci/the_ci_wait_tool.ts:34-36wait_for_citoolcannot_tell, then the budget backs off from 1 to 5 min. Run ids are GitHub's. Can hang./commits/{sha}/status, or Forgejoactions/runs(verify the API on the deployed version)RATE_LIMIT_ARGS = ['api','rate_limit']), 386-396 (theGithubSpenderOf:ghin the checkout root, optional timeout), 412-425, 431-439 (rate_limit before every call), 448-456rate_limitdoes not exist on Forgejo, so this seam cannot be pointed at the forge as it stands.timeout_ms.checkArgv:gh api repos/{r}/pulls/{n} --jq .merged,gh api repos/{r}/git/ref/tags/{tag}), 309-320 (sweepTheList, no timeout); the_todo_tools.ts:120-138 (interval sweep with asweepinglatch)crew_todo_addrows withcheck)sweepinglatch, so all later sweeps are skipped and nothing says so.git ls-remote --tags origin refs/tags/<tag>or ForgejoGET /repos/{o}/{r}/tags/{tag}. Merged: ForgejoGET /repos/{o}/{r}/pulls/{n}(merged), or ancestry of the PR head on the default branch.fetch https://api.github.com/repos/{o}/{r}); check_nothing_private_gets_in/main.ts:3, 47 (GITHUB_TOKEN); check_nothing_private_gets_in.ts:68-72 (GITHUB_ROUTES), 192-193 (URL_REFERENCE= github.com only,RAW_REFERENCE), 217-230, 248-258check:private(CI and pre-push, range scan)not_public, so everyorg/repo#nbecomes a hit (closed); 5xx → exit 2 (closed). FAIL-OPEN: (a) a forge URLhttps://git.macula.io/<org>/<private-repo>is not read as a repo reference, becauseURL_REFERENCEmatches only github.com and the slug lookbehind excludes/; (b) a repo that is public on GitHub but private on the forge resolvespublic.GET /api/v1/repos/{o}/{r}(private,internal), match forge-host URLs, take the token from the forge's env.callGitHub,GITHUB_REPOSITORY), 72-75; read_posted_text.ts:25 (API = 'https://api.github.com'), 33-40 (ROUTES: issues, issue comments, pulls, reviews, review comments, commit comments)/repos/{o}/{r}/issues?state=all,/issues/comments,/pulls?state=all,/pulls/{n}/reviews,/pulls/{n}/comments. Forgejo Actions also setsGITHUB_REPOSITORY.ghp_ gho_ ghu_ ghs_ ghr_ github_pat_…); used by check_nothing_private_gets_in.ts:54, 64; choose_the_transcripts_to_keep/choose_the_transcripts_to_keep.ts:99; declare_crew/the_crews_profiles.ts:184-190; keep_the_owners_todo_list.ts:126; land_a_package_on_a_throwaway_repository/the_kept_record.ts:10-13check_nothing_private_gets_in/public_text.ts:22). A forge token passes into transcripts, todo rows and commits unflagged.token,Authorization:,FORGEJO_TOKEN=, a URL userinfo) without flagging shasdirname('.github/workflows/ci.yml')from prove_the_core/the_release_is_proven/the_installer_jobs_steps.ts:7)check:*"every check runs in a job".forgejo/workflows/and ignores.github/workflows/when the former exists. The check would then judge dead files and pass..forgejo/workflows/first, as Forgejo does, else.github/workflows/fetch -- <base.remote_url> +refs/heads/<branch>:refs/martha/base); run_a_signed_shape.ts:69-71 (thefetchedflag is never read); run_the_martha_command.ts:690remote_urlis github.com, the fetch fails and the last fetched base is used silently (stale, not closed). With no earlier fetch, it is refused.remote_url. Surfacefetched: falseas a notice.ls-remote --heads origin)queue_askfor an owner branch-removal askGET /repositories/<id>); the_tokens_reach.ts:1-45 (GET /user,/user/repos); the_tokens_expiry.ts:1-45 (github-authentication-token-expirationheader); the_kept_record.ts:1-15; the_live_runs_landing.ts:7/api/v1/user,/user/repos,/repositories/{id}(shapes differ: re-check the guards). Read expiry from the token record.labelsOf: first wordgh→ B3); take_in_a_turn/take_in_a_turn.ts:72; host_contract/host_contract.ts:467; inbound_paths/inbound_paths.ts:537-543 (B3 "the GitHub CLI"), 572-580 (B8 "the mod's own gh pr list"), 592-598 (unheld_work)tea,fj, curl to the forge) is not attributed B3, and every new forge read needs its own inbound-path row.labelsOf. Restate B3, B8 and unheld_work for the forge (threat model first).rev-list HEAD..origin/<b>); note_a_read_in_a_stale_clone/note_a_read_in_a_stale_clone.ts:80-88git@github.comallow-listed: a forgegit@<host>would read as an email hit, closed); land_passed_work_as_one_batch/the_owners_yes_to_a_landing.ts:38-42; prove_the_mesh_server_bytes/recorded_mesh_server_trees.json (npm funding/sponsor URLs); claude_code_host/recorded_claude_code_host.json and record_claude_code_host/the_real_pair_*.json (Claude Code's own secret rules)Note outside the src scope (not counted)
installer/package.json:55-57andinstaller/signers.txt:3: the installer pullsghcr.io/macula-io/martha, and the signer identity is a GitHub workflow (github.com/macula-io/macula-ci-images/.github/workflows/attest-image.yml).installer/read_the_release_registry/read_the_release_registry.mjs:238falls back to the ghcr cosign tag schema.rehearse_a_release/rehearse_a_release.mjs:17-48needsGHCR_TOKEN. With GitHub gone, an install or upgrade has no image and no signer identity. This is category 1 work for the start/install line, but it is not in src/.core/crew_command.ts,core/stranger_text_arrivals.ts).Row count
Row 5.9 grows by one site: Martha's own friction note, macula-io/martha#318 (forge PR 38,
src/file_a_friction_note/).It files through
gh issue create, andtheFiledIssueInaccepts only github.com URLs. Under the GitHub stop it fails closed ("Not filed", the note kept). That is correct until the fix, so #318 lands as reviewed (Supervisor ruling 2026-11-22).Filing only on GitHub is a defect under DECIDED 2026-11-22 "WTF?? our crew can no longer depend on github!". The fix is the same as crew-code's row 5.9: Forgejo
POST /repos/{o}/{r}/issues, and parse the forge's issue URL.Found by Saturnus in the #318 r=1 review (note 1).
Inventory — current state (2026-11-23), ordered by what stops the crew
The full per-site table is already on this issue: the body (merged from Uranus's comment 127 for crew-code and 128 for Martha), plus Mars's row 5.9 note (324). This comment does not rewrite it. It records what moved since the body's read-at, and maps each owned row to its fix PR or tracking issue so the forge packages can go in stop-order.
Read-at moved. The body read A=6f353d51, B=31d17f5b, M=7ab86751. Now:
~/.claude/crew/mod@e49a3788, and its origin is nowgit.macula.io. It sits on sponsors main (4 behindfa7f235b) and contains B (31d17f5b) and the fork-listing fix sponsors PR 21 (af56984);core/forge.ts,prove_handoff_ci/forgejo_runs.tsandpullRequestReadsForare present. So the body's "in A a forge repo is asked of GitHub" notes (2.1, 2.2, 2.6) and the [remote] mod-fetch (1.4) describe the OLD A — re-read them ate49a3788.fa7f235b; M = martha maina1dab83e(martha#70 landed).Still open on A regardless of the above: no
forges.jsonexists under~/.claude/crew, so the declared-forge fork listing (1.1) and the per-host CI line (2.1) have no declaration to read; and Forgejo 15 cannot read a run's jobs, so a forge run passes on its status alone (2.1/2.2).Owned rows, in the body's stop-order:
ghForksstops launchforges.jsondeclarationtoken_prefixes)Ordering is unchanged: the first stoppers are still 1.1/1.3 (compose / restart), then the landing proofs (2.x), then the CI reads (4.x), then the private-scan fail-opens (5.3–5.7). No new rows beyond row 5.9 (Mars, 324); no missing issue found.
Correction to comment 1049 (from Mars, verified): martha PRs 14, 20 and 21 are LANDED, not open. Their heads — PR 14
559256b2, PR 2059f95fd6, PR 2147542c31— are all ancestors of martha maina1dab83e(checked withmerge-base --is-ancestoragainstorigin/main). The forge never marked them merged, so Mars closed them by hand.So, fixing 1049's state column: