An unattended engine crew asks the owner for every tool call, and nothing says which calls it may make itself #241
Closed
opened 2026-11-26 06:40:23 +00:00 by pluto
·
4 comments
No Branch/Tag specified
main
vesta/372-lan-members
terra/batch-337-237
uranus/251-fold-ci
saturnus/229-land-skip
titan/2-worktree-finish-branch-form
neptunus/232-repo-delete-clean
neptunus/230-force-push
uranus/111-gitlink-eisdir
venus/129-no-launcher-endpoint
saturnus/45-branch-move-head
jupiter/45-volatile-mesh-say
venus/8-land-on-any-host-2
titan/111-gitlinks
juno/040-host-rerecord
vesta/24-remove-github-sponsors
ceres/19-signin-probe
vesta/67-set-a-exports-git-dir
jupiter/47-status-clock
pallas/46-forge-ci-seam
juno/39-offline-private-scan
ceres/19-relay-end-written
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
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
jupiter/1016-crew-memory
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
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.5.0
dry-run-v0.5.0
installer-v2.0.4
dry-run-installer-v2.0.4
v0.4.3
installer-v2.0.3
dry-run-installer-v2.0.3
dry-run-v0.4.3
v0.4.2
dry-run-v0.4.2
installer-v2.0.2
dry-run-installer-v2.0.2
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#241
Loading…
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): an unattended DeepSeek crew works through its calls without the owner answering each one by hand, and the crew rule that answers them is named.
Instance: 2026-11-26 06:35Z to 07:40Z, crew
martha-239(martha-ai/martha#239, the proof run), threemartha-enginemembers ondeepseek-flash. The reviewer's first turn asked the owner, one call at a time:then, after both were allowed,
Every one was a read of the crew's own workspace or of a crew tool.
martha gatereportsofffor all three members, so this is not the shell gate audit; it is the engine's own permission request reaching the owner.martha answerrefuses outside a terminal ("only the owner, at a terminal, answers what a member asks, and this is no terminal"), so a driver who is not sitting in the pane cannot answer at all, and a crew left unattended stops at its first call.Shape: the engine asks the owner for every tool call, and the crew has no rule that says which calls a member may make without one. In crew-code a member's routine reads are allowed by a declaration rule, and only the acts the owner keeps (a land, a push, a release) reach the owner. Martha's
mode.maycovers acts between members, andhouse_rules.gate_*covers the shell gate's audit, but nothing covers the engine's own permission request.Done when: a crew declares which tool calls its members may make without the owner (at least reads inside the crew's workspace and the crew's own tools), the engine's permission request is answered from that rule rather than from a person, and a test drives one engine member through a read and a crew-tool call with no owner present and both are answered.
Refs martha-ai/martha#239
Threat model, before any code (as ordered)
Scope, as the Supervisor ruled it through Mars, and it is binding: "B: gate, then ask" (DECIDED 2026-11-18) stays as
it is. A call the gate allows and the approved list does not name is asked of the owner. This package does not drop
asks, auto-answer them, or add an "unattended mode" — that is the owner's call, not ours. What it does is make the
owner's approved list actually reach an engine member, so that only unlisted calls are asked.
What is broken today
src/start_an_engine_member/start_an_engine_member.ts:383:The approved list is a hard-coded empty array.
theWayAfterTheGate(../hear_an_acp_agents_asks) therefore has one wayout for every call the gate allows:
ask-the-owner. Nothing the owner allows reaches an engine member, so the crew in#239 asked once per call for
ls, forfind, and for two of the crew's own tools. This is not "every call is genuinelyunlisted" — the list is simply never supplied, so the STOP condition Mars named does not apply and the work goes ahead.
For a Claude Code member the same rules are not Martha's to pass on: the host reads the checkout's own allowed settings
and applies them itself. An engine has no such reader, so Martha is the only one who can carry them.
What the rule may answer, and what stays refused
The list carries exactly what the owner already wrote, for the same checkout the owner approved, and nothing wider.
A call runs without the owner's yes only when all of these hold:
about particular inputs, and this list matches whole tool names only, so carrying
Bash(ls:*)here would allow theshell tool for every command — a widening the owner never made. A patterned rule is never carried; that call stays
asked. Each rule left behind is named in a note, so an owner reading the crew's records sees what is still being
asked and why.
Everything else stays refused or stays asked, unchanged:
answer_a_goose_call_by_the_entry).What this must never do
allow_always. Martha keeps answeringallow_once/reject_onceonly, and a request offering noonce-answer is cancelled (martha#677). Nothing is saved into the engine's own permission store, so nothing can run
later on a rule the engine kept rather than one the owner wrote.
martha answer's record are untouched; ananswer with no owner act behind it still shows as such.
engine's is one the engine's facts pin; a mapping that cannot be pinned leaves the call asked.
the launch is still re-checked on every call (../refuse_launch_of_unapproved_config).
Where it lands
Nothing in
src/apply_the_owners_release,release_a_held_member,session_records_in_rows,start_an_engine_memberorthe_environment_a_member_is_givenis touched by the design except the one line above thatpasses the list in, which is Pluto's #240's file. So this waits for #240 (PR 242) to land and branches from the new
main; the rule reading itself is a slice of its own.
Addendum: the Supervisor's ruling on patterned rules (binding; Raf can overrule)
The Supervisor ruled that carrying patterned rules is in #241, and is what "B: gate, then ask" already says rather
than a widening: under B the owner is asked only for a call the approved list does not name, and
Bash(ls:*)namesls -la. This replaces the one paragraph of the threat model above that left patterned rules asked. Everything else init stands: no asks dropped, no auto-answer, no unattended mode, no
allow_always, no member answering its own ask,nothing read but the settings the owner approved.
The semantics, matched to how Claude Code reads the same rule
Bash(cmd)matches a command line equal tocmd.Bash(cmd:*)matches a command linethat is
cmditself or begins withcmdas a whole word.;,&&,||,|or a newline runs unaskedonly when every part matches a rule. One part that no rule names sends the whole line to the owner.
$(…)), backticks, process substitution (<(…),>(…)), and anyredirection into a file (
>,>>, and<>) fall back to asking. Nothing is evaluated, and nothing is guessed at.and no rule can allow it, whatever the owner's settings say.
mcp__martha_crew__xcarries asmartha_crew__x; a rulefor a tool whose engine name no fact pins is asked, never guessed at.
Mutants the matcher must fail by name
Guard code, so the tests are written to kill these three, each of which must make a case fail:
$(…)passes — a command substitution is treated as an ordinary word and matched;If this is more than about a day's work I say so before building it, per Mars's instruction; it is not, it is a
conservative splitter and a matcher, and the conservatism (ask on anything not read plainly) is what keeps it small.
martha answerlists an ask cut at ~100 characters and nothing holds the rest, so the owner approves blind or not at all #256martha answer <member> <key>shows one ask whole, where the row is cut (martha#256) #257shellcovers none of the next twenty #296PR #313 lands two commits from Raf's owner/953-chat on this issue: a wildcard in a shell deny holds its lines, not the whole shell (64c66e00), and a redirect that writes nowhere does not make a line unreadable (f3b4b52a). It also adds Saturnus's required fix F1: a
>&<word>or digit-glued redirect that writes a file is refused, so the call is asked.Neither commit is this issue's Done-when (an unattended crew answered by rule). They are fixes inside it, and #241 stays open.
Refs #241, #313
Done-when check against main
7daf547b:45a5c0dc, PASS r=2). This follows the Supervisor's ruling "B: gate, then ask" in comments 5762 and 5773.e1561073).start_an_engine_member.tshands the launch's rules to the decision (asked.asks.decide(gate, mayRun)), where it was a hard-coded[]before.7fdeec25).start_an_engine_member.node-test.ts"martha#241 line 3: an engine member's read and its crew tool call are both answered by rule, with no owner present".ls(allowed by the owner'sBash(ls:*)) and amartha_crewread_crew_mailcall in one turn. Both are answered allow-once, and no ask is left open.Every line is met. Closing.
shellcovers none of the next twenty #296