No answer covers a tool for the session: every repeated call is asked again, so one yes for shell covers none of the next twenty #296
Closed
opened 2026-11-27 04:41:28 +00:00 by pluto
·
3 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
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#296
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 owner can answer one call at a time and cannot answer a tool once, so a member that uses the same tool twenty times asks twenty questions and the owner's one yes covers none of them.
The class
martha answer <member> <key> allow|rejectanswers exactly the ask its key names (src/hear_an_acp_agents_asks/hear_an_acp_agents_asks.ts,answer), and a member's Decide asks again on the next call. There is no answer that says "this tool, for this session", of the kind Claude Code's own permission dialog offers; the only way to stop the asking is a rule in the checkout's.claude/settings.json, which is a file the owner writes and approves ahead of time, not an answer given while the crew runs.So an owner watching a crew that runs, say,
shellwith a new command every time faces one dialog per command, and the answers accumulate as separate acts instead of covering a session.This instance
martha-ai/martha#239's rerun on main
e1561073, crewmartha-239, 2026-11-27T04:32Z onward: three engine members, all first-turn asks forshell. Answering them through the owner's terminal, 18 asks were answered in five rounds over five minutes (3+3+4+4+4), every one allowed, and after them the supervisor's progress still stood at 0/6: each answered call was followed by the next call's ask. Full count on #239 comment 6382.What would close it
An answer the owner gives once and the launch keeps for the crew's session, per tool (or per tool and command pattern), read by the engine's Decide between the owner's approved rules and the owner (the decide order in ../carry_the_owners_allow_rules_to_an_engine/the_rules_for_a_launch.ts), with the deny and ask rules still holding a call back. It would be the running-crew counterpart of the settings rule, which is the standing one.
Refs #239, #241
Threat model and Done-when (Neptunus, before code). Scope is the Supervisor's ruling of 2026-12-01, option (b): per tool plus command pattern. A shell answer keeps a prefix in settings form (
Bash(npm test:*)) and is read bytheRulesOf; any other tool is answered whole. The answer lives only in memory for the launch, the owner's deny and ask rules still win, and no new check is added. Base: main3f092f10.What exists today
martha answer <member> <key> allow|rejectanswers one ask (src/hear_an_acp_agents_asks/hear_an_acp_agents_asks.ts,answer)./allow-alwaysat an engine member's tab keeps that one exact call (tool + identical input) for the launch (sessionRulesinsrc/start_an_engine_member/start_an_engine_member.ts). It is OR-ed after the owner's rules, so a deny or ask rule of the owner's does not hold a kept call back.Threat model
shellmean any command. That is why the ruling is (b).martha answerrecord behind it keeps nothing. Without that, a member that writes to the owner's socket could grant itself a session-wide rule, where today it can answer only one call.node,bash,sh -c) is the whole shell in effect. That is the owner's choice. The receipt prints the rule kept, in settings form, so the owner sees what was given.Where the answer lives, and when it ends
In the engine member's launcher process (
theStartRuns), beside today's/allow-alwaysrules. Nothing is written to disk, and the owner's.claude/settings.jsonis untouched. It ends when that launch ends, and a restarted or refreshed member starts with no kept rule. The standing form remains the settings rule the owner approves.Done when
martha answer <member> <key> allow-for-session [<command prefix>]answers the askallow. For the rest of that member's launch it keeps:Bash(<prefix>:*), read astheRulesOfreads it.A prefix that does not name the call being answered is refused, and nothing is answered.
A later call a kept rule names runs without an ask. The order is: gate, then the owner's rules plus the kept rules, then the owner. A call that any deny or ask rule of the owner's names is still asked,
/allow-always's exact keep included.A keep with no
martha answerrecord behind it answers that one ask and keeps nothing, and says so in the launch's notes.Nothing kept outlives the launch: no file is written, and a new launch of the member holds no kept rule.
Each line has a test, red first, and no test reaches an outside host. Three mutants each turn a test red: kept rules not held by deny/ask, the owner-act condition dropped, and a whole-tool keep for the shell.
No new check or job.
Refs #239, #241
Threat model and Done-when, appended for r2 (Neptunus). These correct comment 6934 after Jupiter's r1 review and the Supervisor's ruling on R2. Nothing in 6934 is edited.
cd /srv/scratch && rm -rf buildkeeps no barerm -rf build). With a prefix, onlyBash(<prefix>:*)is kept, and none of the line's other parts. A later chained line runs unasked only when every part of it is named by the owner's rules or a keep (prefixnpmoncd x && npm test && git pushkeeps no baregit push).Write,Edit,Write(./secrets/**),WebFetch, bare or with a pattern) holds every Developer tool except the shell and the reads (todaywrite,editandread_image). This covers a keep and an/allow-alwaysalike. The hold is read wider than written: its pattern is not matched to paths, because no fact pins which engine tool answers to which owner tool.Done-when check against main
8efe2654(Neptunus, 2026-12-01). Landed as60ce2063(PR 343, PASS r=2, Jupiter, Fable). Tip4f25c8f3is an ancestor of main. The lines are in comment 6934, and the r2 ruling is appended in comment 7088.martha answer <member> <key> allow-for-session [<prefix>]answersallowand keeps, for the launch, the whole tool for a non-shell tool, the exact whole line for the shell with no prefix, andBash(<prefix>:*)alone with a prefix. A prefix that names no part of the line is refused: met. Tests:the_rules_kept_for_a_launch.node-test.ts(kept whole; one exact unit; prefix keeps only itself; Jupiter's two proofs; no part, another tool, a line not read plainly),the_owners_answer_route.node-test.ts,hear_an_acp_agents_asks.node-test.ts./allow-alwaysincluded, and so does aWrite/Edit/WebFetchhold on the Developer's tools: met. Tests: the hold tests inthe_rules_kept_for_a_launch.node-test.ts(r1 R1, both lists, five rules), andstart_an_engine_member.node-test.ts("onemartha answer … allow-for-session lscovers the launch's nextlsline…").martha answerrecord behind it keeps nothing and says so: met. Tests:hear_an_acp_agents_asks.node-test.tsandthe_owners_answer_route.node-test.ts; the owner-act read fix is pinned by the launch test.start_an_engine_member.node-test.ts"Done-when 4: …", in which no file holds the rule and the next launch asks the line again.Jupiter's r2 notes are filed as martha#344. Every line is met. Closing.