Martha crew-tools gap list, refreshed 2026-11-22: every rule crew-code enforces today that Martha does not (refreshes GitHub #957) #45
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 (gap list): the owner knows every rule crew-code enforces today that Martha does not, with its size, so the switch to
marthacan be planned from today's code and not from the list of 2026-11-20. DECIDED 2026-11-20 "yes, get the gap list written and I can't usemarthabefore all crew-tools are ported, obviously".Refs GitHub macula-io/martha#957 (the list of 11-20, which this one refreshes), macula-io/martha#601, #16, #43
DECIDED 2026-11-22 "Martha should be able to work with any git hoster". Rows marked [host] call a git host. Each is ported later through the host-adapter seam that A1 builds. See Host calls below.
How this was read
493ccf6efffc8f1852441efe0db9c5c969ca80f9.reg=crew-code/hooks/register.tsx. Rows marked PR 26 are on sponsors PR 26 at8940d1f0c9955d00b72210c5a4ab390ced74a9d3, which has not landed. That is where the rulings of sponsors#3 live.41e8aacc9ef1376ad89e3cd86d3a0cb76b12d2b8. Paths are undersrc/.marthaact, or the launcher. The same test as #957.Closed since #957 (left out of the table)
martha initdeclares the layout when the checkout proves it (M:declare_crew/the_crews_workspace.ts:150-153).say_to_the_crew(M:answer_a_tool_call/answer_a_tool_call.ts:152)./crew-budget(#990),/crew-report=martha week(#308), the wake (#959), the standing items and nudges per turn (#984), the rhythm, ask-queue, reviews and models texts (#971), the conflict-marker set (#968), the stale-clone note (#969), andrename,whereanddigest(#985).The rows asked for
ci=(#16 rows 2.1 and 4.2). A run named<forge>:<id>is read on the declared forge, with its jobs, on the exact tip. A bare id on a forge origin is refused. A1 also builds the host-adapter seam: one interface, with the adapter chosen by the declared host kind. GitHub and Forgejo are supported now, and an unknown kind fails closed.C:core/shorthand.ts:305-319(CI_SHAPE);C:prove_handoff_ci/handoff_ci_runs.ts:251-268(forgeMismatchOf);C:prove_handoff_ci/forgejo_runs.ts;reg:2068lineForgeFor; jobs from tasks: PR 26reg:2321-2341ci=takes digits only (M:read_a_crew_line/crew_lines.ts:29), soci=forgejo:812reads as prose. Runs are read through the GitHub budget only (M:a_crews_tools/a_crews_tools.ts:852,send_a_crew_message/the_runs_a_handoff_names.ts:165). There is no forge concept and no.crew/forges.json. The budget seam asksgh api rate_limit(spend_the_github_budget.ts, row 4.2)..crew/forges.json, compared exactly.C:core/pass_crew_lines_hold_prose.ts:118-123(isCarriedMark),:126splitForSend(text, declaredHosts);reg:4922C:core/pass_crew_lines_hold_prose.ts:69-142;reg:4880(main),reg:4922(PR 26); promptcrew:held-notereg:6818M:refuse_execution_after_ungated_text/…ts:124) but has no split and no held store.ci=cannot be verified, the send is refused, naming the exact… not verified (<why>): <subject>lines to add. The mod never rewrites a message.C:core/handoff_commits.ts:321-336(missingMarksOf),reg:1130range/ci not verified (<why>)as a notice (send_a_crew_message/the_commits_a_handoff_names.ts:52,the_runs_a_handoff_names.ts:66), but its whys are not the checks' fixed grammar, and no receiver reads them back.<KIND> org/repo#n <base..tip> r=N ci=<ids>. Ranges are 7-40 hex.ci=is required, withgh:/<forge>:ids andnone:paths.doc=stands in for the range. There is afiles=<dir>@sha256:form.C:core/shorthand.ts:18-20, 44-47, 106, 227-232, 256-262, 305-319, 384-395M:read_a_crew_line/crew_lines.ts:24, 29, 56-75has a 40-hex range only, optionalci=with digits only, nofiles=, anddoc=FULL. A bad line goes as prose with a notice (by ruling).C:core/standing_state.ts:17-19, 132, 153;reg:6811M:keep_the_supervisors_standing_items/keep_the_supervisors_standing_items.ts:28, 232, 264; per turn athand_a_member_its_crew_text/the_crew_state_of_a_turn.ts:52-59(#984). A hold also refuses its package in a batch.send_a_crew_message/the_runs_a_handoff_names.ts:23).C:core/crew_rhythm.ts.41e8aacc(the_ported_rules.ts:71rhythm has no such rule). Martha would need a launcher timer that survives a refresh and posts the five lines from the roster and the standing state.Every other gap still open (from #957, re-checked)
crew_remember/crew_recall,crew:memoryC:keep_crew_memory/memory.ts:194, 206;reg:6821crew_mail_send/read,crew:mail,bin/mail-ledger-checkC:exchange_crew_mail/mail.ts:311, 330;reg:6822reg:622-626, 1029, 6472, 6826claude_code_relay/hooks/crew.tsx:138-151)crew_friction+ sweepFrictionreg:6187, 2583/crew-goal, loadGoal,crew:board, board claim at context limitreg:6503, 1628, 3204, 6858-6869crew_modelswitches back when its package finishes or is releasedreg:6145, 6905switch_a_members_model/the_switch_tools.ts:37)crew_verify_range: refuse on markers; fork-list-age note; non-GitHub originreg:6317, 2344; verifyRange "no CI jobs read for "check_a_range_before_the_owner_says_yes.ts:485always asks gh, including for a forge repocrew_worktree_finish:owner_ok, branch-only form, merged-PR proof (crew-code #327/#430)reg:6384open_and_finish_a_worktree.ts:287-299); the merged-PR proof is a host readcrew_land_batch: refuse the push on markersC:core/batch_landing.ts:169-171land_passed_work_as_one_batch.ts:507-520)/crew-refreshmodes,/crew-progress, owner/crew-park,/crew-soundmodes,/crew-namein a tab,/crew-untaint --staleand gate generationreg:6060-6069, 6560-6770marthaverbs (run_the_martha_command.ts:755, 925, 996)reg:6792-6830, 5539, 6818reg:6459-6474, 3556, 4017, 4180refresh_a_member/refresh_a_member.ts:303)reg:7311, 6681, 6688, 7241-7275claude_code_relay/hooks/register.ts:272)crew:briefs(brief path told);crew:artifactsfor a memberreg:6808, 6825read_a_members_brief.ts:23), not told; Supervisor half onlyC:core/workspace_hygiene.ts:105, 367-410guard_workspace/guard_workspace.ts:263-273branch -mrenaming HEAD;push --mirrorwith the default unknown; ref hook move; aliases;--git-dir/GIT_DIR; former workdirsC:workspace_hygiene.ts:275-279, 412-416;bin/member/git:61-69;core/judge_git_call.ts:32-56;core/judge_ref_update.ts:7-8, 46, 99-105guard_workspace.ts:122, 340-366, 405-409; aliases,--git-dirand former workdirs missing (read_the_git_calls_in_a_shell_line.ts:117-120)bin/workspace-hygiene;bin/crew:1575own_forks(and forks listed on the forge)C:core/stranger_text_arrivals.ts:56-72, 231;compose_crew.ts:209-214declare_crew/the_crews_workspace.ts:39, 83)~/.ssh/config, shell startup filesC:core/protected_writes.ts:58, 101refuse_a_member_writing_owner_memorylacks themreg:1608, 1623reg:5104, 2913wait_for_ci --budget Nbin/ci-wait:4-5wait_for_ci/the_ci_wait_tool.ts:19-27)bin/crew:106-111, 319-361, 1546-1573;systemd/crew.slice;bin/member/podmanrun_the_martha_command.ts:706); the rest missingHost calls, ported through A1's seam
Under DECIDED 2026-11-22 "Martha should be able to work with any git hoster". Every call below goes through the one host interface A1 builds. The adapter is chosen by the declared host kind. GitHub and Forgejo are supported now. An unknown kind fails closed, with a reason that names it. A call is never routed to GitHub because the host is unknown. The rows below hold the Martha sites at
41e8aaccthat ask GitHub today (ghorapi.github.com).41e8aacc,src/)spend_the_github_budget/spend_the_github_budget.ts:67(gh api rate_limit),:392(runsgh),:412,:484,:502,:558,:651read_the_origin_a_clone_has/read_the_origin_a_clone_has.ts:40(repoOfTheOriginkeepsorg/nameand drops the host)ci=runs a HANDOFF namessend_a_crew_message/the_runs_a_handoff_names.ts:109;a_crews_tools/a_crews_tools.ts:855wait_for_cia_crews_tools/a_crews_tools.ts:812;wait_for_ci/wait_for_cirowverify_range(the menu line's CI)check_a_range_before_the_owner_says_yes/check_a_range_before_the_owner_says_yes.ts:311(runs at head_sha),:331(jobs),:484(gh)crew_verify_rangerowland_batchand the forecastfind_the_work_a_verdict_passed/find_the_work_a_verdict_passed.ts:99-100(commits/<sha>/pulls), called fromland_passed_work_as_one_batch.ts:128andforecast_what_a_batch_lands.ts:74crew_land_batchrowopen_and_finish_a_worktree/open_and_finish_a_worktree.ts:287-299(git only today)crew_worktree_finishrowread_a_members_brief/read_a_members_brief.ts:157(issue view),:167(pr list)find_the_unheld_work/the_backlog_reader_of_a_launch.ts:44refresh_a_member/the_refresh_flow.ts:516see_the_crew/the_see_the_crew_tool.ts:114,:125keep_the_owners_todo_list/keep_the_owners_todo_list.ts:295-296own_forksrowtake_in_a_tool_result/take_in_a_tool_result.ts:212(labels onlygh)check_nothing_private_gets_in/scan_rules_and_visibility.ts:14(api.github.com/repos/…)check_posted_text_carries_nothing_private/read_posted_text.ts:25(API = api.github.com)No row above is a new check. Each one is a port of a read Martha already makes.
The order they block the switch
DECIDED 2026-11-20 "Drop it" (martha#307): migrate, set-focus, conventions and templates stay out.
Former workdirs (the (c) part of this row, GitHub macula-io/martha#49): a threat model written before any code, parked with Jupiter's launcher export.
The full text sits at
~/.claude/sessions/vesta-49-threat-model.mdin Vesta's session directory; the shape it fixes, in short:TheWorkspacecarriesclonesandworktreesonly, so a repository under a workdir the crew moved away from matches neither,isInACloneis false, and the branch-delete, push-onto-default and worktree rules all stay silent there. crew-code already judges those places (judgedWorkspaceOf,formerWorkspacesOf(env.CREW_FORMER_WORKSPACES)).--git-diris judged there (that is the #48 half, landed in PR 51).Blocked, not built:
git grep CREW_FORMER_WORKSPACESfinds it nowhere on tip2dca5099, on batch 3'sb16a8f4d, or on juno/784-the-launch-a-start-builds, hygiea/985-launcher-verbs, ceres/781-launcher-path and jupiter/979-guard-places. Supervisor withdrew the assignment 2026-11-22 and the issue's Blocked paragraph stands. Posted here rather than on #49 because github.com is stopped.Vesta
set -aexports GIT_DIR too, so the exported-GIT_DIR hole stays open that way #67Restoring a deleted branch:
vesta/957-gap-8-dashboard-fidelityThis branch served gap 8 of the crew-tools gap list (this forge issue refreshes GitHub #957). It was deleted as a crew act on 2026-11-23, with the owner's yes, its tip being an ancestor of main
ea64dfa6.tip:
adc7ade012106023a02dd21b835a255fdd007e77restore:
git push origin adc7ade012106023a02dd21b835a255fdd007e77:refs/heads/vesta/957-gap-8-dashboard-fidelity(or
git branch vesta/957-gap-8-dashboard-fidelity adc7ade0 && git push origin vesta/957-gap-8-dashboard-fidelity)No pull request ever used it. The tip is an ancestor of main, so any clone holding main already has the commit.
martha upfrom the tag, one pair up (continues GitHub martha#511) #102A5 (handoff-line forms): scope SHRUNK by the Supervisor 2026-11-24 under Raf's 11-23 cut list (martha#55 c1717), which cut:
So in Martha
ci=stays optional and gets no new validation. A5 now covers: accept a 7-40 hex sha range (parsing, not ceremony), plus thefiles=<dir>@sha256:form ONLY if something in Martha still emits it today; otherwise that is dropped. Builder: Jupiter.A3 (the #440 split): no gap. Martha is stricter. Closed by the Supervisor's ruling (1), relayed by Mars on 2026-11-24. His earlier yes to a refusal design is withdrawn, because it rested on a wrong premise of mine.
The evidence, on main
89af0038:src/shell_tools/shell_tools.tsisShellToolis an allow-list: onlyRead,Grep,Globand the mesh reads named there count as read-only, and everything else "executes". That includessay_to_the_crew,SendMessage, a mesh say and a ring.say_to_the_crewis refused whole: "Nothing executes in this session: text from an unattributed sender arrived on path A4 …" (refuse_execution_after_ungated_text.ts, reached fromanswer_a_tool_call.tstheGatesAnswer). No prose reaches a peer.The row above that reads "Martha refuses a tainted session's execution but has no split" is accurate. A3's "missing" means the loosening is missing, not a protection. No code was pushed for A3.
Protected writes (
~/.ssh/config, shell startup files), the S row: proposed "no gap, Martha is stricter", the same shape as A3. This is my approach before any code. It needs the Supervisor's ruling. No code was written.Read on sponsors main 4e64750 and martha main
f187dd7f:protected_writes.tsonly to a held member.register.tsx:5104-5113writeRefusalForis reached only fromstrangerRefusalFor, which returns '' whenarrivals.length === 0. Under gate_enforce "nobody" nothing is held (:5085-5089). An untainted crew-code member writes~/.zshrcor~/.ssh/configfreely today.shell_tools.tsisShellToolis an allow-list (READ_ONLY_TOOLS= Read, Grep, Glob, plus the mesh reads). SoWrite,Edit,MultiEdit,NotebookEditand anArtifactread without_dirall go torefuse_execution_after_ungated_text.ts:124and are refused, whatever the path. That covers every class A and B place, not just ssh config and startup files.So porting the list would add nothing for a held member, because Martha refuses every write. For an untainted member it would be a new guard that crew-code does not have, and that needs Raf's yes (DECIDED 2026-11-19 "No new checks without your yes"). I propose to close the row with no code.
A2 and A4: no gap, with A3 (Mars agreed on 2026-11-24). Both rows only shape what a tainted sender's message carries through the #440 split: A2 is the exact-declared-host mark, and A4 is the refusal that names the marks to add. Martha refuses a tainted session's send whole (A3 evidence, comment 3333), so neither has anything to act on.
Git guard:
branch -mrenaming HEAD, andpush --mirrorwith the default unknown. Approach before code (Saturnus, Opus builder; fable review). Placement: Supervisor via Mars, 2026-11-24.Read on martha main
f187dd7fand sponsors main 4e64750. The row's other parts are done or held elsewhere: aliases and--git-dir/GIT_DIRlanded (#48, #53), and former workdirs is parked with Vesta's threat model (c503).Gap 1,
git branch -m <new>(one name) renames the branch checked out where it runs.refusalOfABranchDeleteOrMove(guard_workspace.ts) checks only the words the call writes. With one name, that is the NEW name, so the branch taken away is never judged.git branch -m xtakes their branch.checkout.crew-code judges the HEAD branch (
renamedAwayOf, workspace_hygiene.ts:412-420).Plan:
TheFactsgainscheckedOut: string | null, the branch HEAD names where the call runs. The adapter in ../ask_git_what_a_member_is_about_to_change gets it fromgit symbolic-ref --short -q HEAD. It is null when detached or unknown, and then the rule does not fire (fails open, as the guard does everywhere).-m/-M/--moveis judged on[checkedOut, new]: another member's branch is refused as today.Gap 2,
git push --mirrorwhen git can't name the default branch.Today
--mirroris refused only through the default-branch rule, which fails open whendefaultBranchis null. But--mirroralso deletes every remote ref the clone doesn't hold, another member's branches among them. That is the same harm as--prune, which is refused outright. crew-code refuses both forms whole (PRUNES_REMOTE, workspace_hygiene.ts:276-279).Plan:
--mirrorjoins--prunein the refusal that needs no facts.Tests first. Node tests in guard_workspace.node-test.ts:
checkedOutnull → passes;--mirrorwithdefaultBranchnull → refused.Mutants: drop the HEAD branch from the judged list; drop
--mirrorfrom the prune set. Each must turn a test red.No new check: both are refusals of harms the guard already names (lost work, a push onto the default). They close the ways round them that crew-code already closes.
Refs macula-io/martha#45
Protected writes row: CLOSED as "no gap, Martha is stricter". The Supervisor ruled on 2026-11-24, relayed by Mars, on the evidence in comment 3358. No code.
Volatile-path note on mesh say and ring: approach before code (Jupiter, Neptunus reviews). Read on sponsors main 4e64750 and martha main
f187dd7f.What crew-code does (
register.tsxmeshSay ~:1600-1607, meshRing :1612-1622):volatileNoteOftells the sender about any path the text cites under a volatile root. It does this for prose too.parsed.messages.length === 0returns before the note. Martha refuses a ring that carries a crew line outright (a_crew_line_goes_through_say_to_the_crew.tstheCrewLineTurnedBack), so a ring can never reach that note in Martha. The ring half is no gap.What Martha has:
answer_the_relay.ts:647-663theNoteOnASend adds the note to a ran SendMessage only. It reads the text throughtheTextASendMessageSends, which answers for SEND_MESSAGE_TOOL alone.The change, one slice:
theTextASendMessageSendsbecomes "the text a ran send carries", for SendMessage and the mesh say (SENDS_AND_MAY_WAIT). It reads the argument from the existing THE_TEXT_OF_A_MESSAGING_TOOL map, so no name is typed again. The ring stays out, per the point above.volatilePathsIn/theVolatileNoteand the same roots. An errored say gets no note, as for SendMessage.Jupiter PARKED (Raf DECIDED 2026-11-24 "6 on 3 goals"). State: A5 PR 118 tip
218edf46: r=1 PASS after Neptunus's fix; once PR 116 lands it needs main merged in and its N5 test changed to slice(0, 6) / "not 7-40 hex digits" (trial-proved 22/22, not pushed). Volatile-note PR 123 tip21908148: pushed, CI not read, no HANDOFF sent. Branches and worktrees kept.Scope cut by ruling. DECIDED 2026-11-24, Raf (relayed by the Supervisor): "the team is way too paranoid". Crew members are trusted: no FAIL, guard or extra step for a crew-insider or rules-vanish scenario. The remaining guard rows not yet built are DROPPED. Finished work lands as reviewed: PR 122 (git guard, PASSED at
e4ff9069) and A5 PR 118. #125 (abbreviated flags) is closed the same way. Open PRs still in review are judged under the ruling.Approach, A1 continued (Pluto, 2026-11-24 20:13Z): what A1 already is on main, and the one site left that reads runs through the GitHub budget
Read on
martha-ai/marthamainee35c556.A1's own seam is landed, and its four Done-when lines hold.
aa8a6db1("A1: the HANDOFF'sci=is read on the host the crew declares, behind one adapter seam", #46, PR 50 squashed) putsrc/read_the_ci_of_a_host/on main: oneTheCiOfAHostinterface (runsOnTip,run,jobsOf), a GitHub adapter over today's budget and a Forgejo adapter over/actions/tasks, the adapter chosen by the origin host and that host's declared kind, and the fail-closed wordsno clone,no origin host,the clone is of <a>, not <b>,no host kind is declared for <host>,no adapter for <kind>(the_ci_of_a_host.ts:145-151).ci=already accepts<forge>:<id>andnone:paths(crew_lines.ts:25-40), and a bare id on a forge origin is marked with the form to write (the_runs_a_handoff_names.ts:77-87).I ran their tests on that tip, one file at a time,
nice -n 10:Each Done-when line of #46 has its named case: a forge run read on the tip with its jobs (
a_forgejos_ci.node-test.ts, "#46: a run's jobs are its tasks, joined on the tip, the workflow and the run number"); the bare id marked withwrite ci=forgejo:<id>(the_runs_a_handoff_names.node-test.ts:256);no adapter for gitlab(the_ci_of_a_host.node-test.ts:65); and GitHub's own path unchanged behind its adapter. I will close #46 on that evidence unless someone says otherwise.What is left of the row: the run reads that still go only through the GitHub budget.
wait_for_cidecides insrc/wait_for_ci/wait_for_ci.tsand reads throughreadTheRunsOn/readTheRuninsrc/spend_the_github_budget/spend_the_github_budget.ts(:479,:497), so on a repository on a declared forge it asks GitHub about a repository GitHub does not hold, and spends the crew's GitHub budget for it. That is the site A1's row names and the one I am taking.What I will change, and nothing else.
wait_for_cireads a repository on a declared forge through the seam: its runs on the tip, and one run by its id. The wait keeps what it already does: the greens kept per key in the crew's store, the spacing between reads, andCALLS_PER_WAIT. What changes is whose reads they are: a forge read spends no GitHub budget, and the answer names the host it was read on when it is not GitHub's.cannot tellwith the seam's own words, never a pass.What I am not taking, so the boundary is on the record. The other host calls on this issue's table keep their own rows. Most of them cannot move yet, and that is a design question, not a wiring one:
jobsOfanswers a count, while the range check's menu line names the jobs that failed (check_a_range_before_the_owner_says_yes.ts:309-335, its ownghreader and its own run and job shapes). Widening the interface to carry job names belongs to thecrew_verify_rangerow, with its own design and review. The land, worktree-finish, brief, backlog and issue reads likewise read a host's issues and pull requests, which this interface does not carry.Not in it: no new check and no new guard (DECIDED 2026-11-24 "the team is way too paranoid"); no GitLab, Gitea or Bitbucket adapter; no change to A4's marks or A3's split.
Refs #46 (A1's own issue), #45 row A1 and its "Host calls" table. Evidence from my runs is in
~/.claude/sessions/pluto-45/.