martha answer <member> <key> shows one ask whole, where the row is cut (martha#256) #257

Manually merged
terra merged 4 commits from hygiea/256-whole-ask-text into main 2026-11-26 12:43:29 +00:00
Member

Cause. martha answer listed each open ask cut to a line (cutForTheRow) and nothing else held the rest, so the owner could not read a shell ask before approving it (#239: the crew shrank commands to fit the window).

The fix. The launch already keeps the call's input and answers the route with it — the cut was only in the CLI's print. martha answer <member> <key> with no verb now shows that ask whole: member, key, tool and the whole title, then the input as the JSON the call would run with, uncut (one field's line at a time, so a terminal shows none of it as itself). The list's rows stay cut by design; a key the launch does not hold is refused by name; the form needs no terminal because it answers nothing. USAGE and help carry the form.

Evidence (run_the_tests_in_a_namespace_of_their_own.sh, nice -n 10):

  • the_owners_answer_route.node-test.ts: 12/12, including the new case — the whole command is shown, the list's row is not, a key not held is refused.
  • run_the_martha_command.node-test.ts with it: 95/95 together.
  • check:base-tests on ee1615ea..591d2ca3: 475 files, every title kept (the renamed title carries its Drops-test: line).
  • check:private: nothing private.

No file of Vesta's #241 is touched: hear_an_acp_agents_asks.ts is unchanged.

Refs #256

**Cause.** `martha answer` listed each open ask cut to a line (`cutForTheRow`) and nothing else held the rest, so the owner could not read a shell ask before approving it (#239: the crew shrank commands to fit the window). **The fix.** The launch already keeps the call's input and answers the route with it — the cut was only in the CLI's print. `martha answer <member> <key>` with no verb now shows that ask whole: member, key, tool and the whole title, then the input as the JSON the call would run with, uncut (one field's line at a time, so a terminal shows none of it as itself). The list's rows stay cut by design; a key the launch does not hold is refused by name; the form needs no terminal because it answers nothing. USAGE and help carry the form. **Evidence** (`run_the_tests_in_a_namespace_of_their_own.sh`, `nice -n 10`): - `the_owners_answer_route.node-test.ts`: 12/12, including the new case — the whole command is shown, the list's row is not, a key not held is refused. - `run_the_martha_command.node-test.ts` with it: 95/95 together. - `check:base-tests` on ee1615ea..591d2ca3: 475 files, every title kept (the renamed title carries its `Drops-test:` line). - `check:private`: nothing private. No file of Vesta's #241 is touched: `hear_an_acp_agents_asks.ts` is unchanged. Refs #256
martha answer <member> <key> shows one ask whole (martha#256)
Some checks failed
dependency advisories / node in . (container) (pull_request) Has been skipped
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (container) (pull_request) Has been skipped
dependency advisories / node in installer (container) (pull_request) Has been skipped
CI / nothing private (pull_request) Has been skipped
dependency advisories / advisories (pull_request) Has been cancelled
dependency advisories / node in . (pull_request) Has been cancelled
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (pull_request) Has been cancelled
dependency advisories / node in installer (pull_request) Has been cancelled
c4 model / c4-model (pull_request) Has been cancelled
c4 model / c4-model-1 (pull_request) Has been cancelled
CI / links resolve (pull_request) Has been cancelled
CI / gate coverage (pull_request) Has been cancelled
CI / structural floor (pull_request) Has been cancelled
CI / Martha's names are its own (pull_request) Has been cancelled
CI / no import cycle (pull_request) Has been cancelled
CI / the relay loads in the recorded host (pull_request) Has been cancelled
CI / the host drift check bites (pull_request) Has been cancelled
CI / the engine drift check bites (pull_request) Has been cancelled
CI / the posted text check bites (pull_request) Has been cancelled
CI / the clean-install proof removes its container (pull_request) Has been cancelled
CI / the ring reaches the owner on the live run's tmux (pull_request) Has been cancelled
CI / workflows are valid (pull_request) Has been cancelled
CI / installer (pull_request) Has been cancelled
CI / no test the base passed goes missing (pull_request) Has been cancelled
CI / the pictures change only with the version (pull_request) Has been cancelled
CI / no literal restates a defined value (pull_request) Has been cancelled
CI / every check runs in a job (pull_request) Has been cancelled
CI / every job has a timeout (pull_request) Has been cancelled
standalone / standalone Martha runs alone (ubuntu-latest) (pull_request) Has been cancelled
standalone / the pinned Node is nodejs.org's (pull_request) Has been cancelled
591d2ca307
The list cuts every row to a line and nothing else held the rest, so
the owner approving a shell ask approved blind or could not answer at
all (#239). The launch already keeps the call's input and answers the
route with it; `martha answer <member> <key>` with no verb now shows
that ask whole: the member, the key, the tool and the whole title, then
the input as the JSON the call would run with, uncut.

The list's rows stay cut; a key the launch does not hold is refused by
name; and the form needs no terminal, because it answers nothing.
USAGE and help carry the form.

Drops-test: src/serve_the_owners_answers/the_owners_answer_route.node-test.ts :: `martha answer` takes no words, or a member, a key and allow or reject
the whole-ask case reads the input's lines, not the title (martha#256 r=1)
Some checks failed
dependency advisories / node in . (container) (pull_request) Has been skipped
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (container) (pull_request) Has been skipped
dependency advisories / node in installer (container) (pull_request) Has been skipped
CI / nothing private (pull_request) Has been skipped
dependency advisories / node in . (pull_request) Successful in 9s
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (pull_request) Successful in 9s
dependency advisories / node in installer (pull_request) Successful in 9s
dependency advisories / advisories (pull_request) Successful in 0s
c4 model / c4-model-1 (pull_request) Successful in 4s
c4 model / c4-model (pull_request) Successful in 0s
CI / links resolve (pull_request) Successful in 5s
CI / structural floor (pull_request) Failing after 28s
CI / Martha's names are its own (pull_request) Successful in 28s
CI / no import cycle (pull_request) Successful in 24s
CI / the host drift check bites (pull_request) Successful in 1m19s
CI / the posted text check bites (pull_request) Successful in 10s
CI / the engine drift check bites (pull_request) Successful in 1m11s
CI / the ring reaches the owner on the live run's tmux (pull_request) Successful in 20s
CI / workflows are valid (pull_request) Successful in 13s
CI / the pictures change only with the version (pull_request) Successful in 14s
CI / no test the base passed goes missing (pull_request) Successful in 39s
CI / every check runs in a job (pull_request) Successful in 16s
CI / every job has a timeout (pull_request) Successful in 17s
CI / no literal restates a defined value (pull_request) Successful in 1m2s
standalone / the pinned Node is nodejs.org's (pull_request) Successful in 12s
standalone / standalone Martha runs alone (ubuntu-latest) (pull_request) Successful in 32s
CI / installer (pull_request) Successful in 2m19s
CI / gate coverage (pull_request) Successful in 17m53s
CI / the relay loads in the recorded host (pull_request) Successful in 15m25s
CI / the clean-install proof removes its container (pull_request) Successful in 22m4s
15dbe8b74f
The ask's title held the whole command, so the case passed with the
input never printed, and a mutant that dropped the printing survived
(Mars r=1). The title is now short, and the case asserts the input's
own JSON string and its tail: with the print dropped it reds "the
input's command was not shown whole: Vesta  permission:call-long
 the-tests-own-tool: shell · a command too long for a row".

Also names the input in the header comment among the words the agent
wrote that reach the owner.
The forge's structural floor red: Function 'answerOf' has a complexity
of 12, maximum 9 (run 5629, job structural floor, task 18747, tip
15dbe8b7). The three-word branch added defaulted bindings and one more
condition. It is now the plainest shape: two tiny type guards (aKey,
isAnOwnersAnswer) and early returns, no defaults; eslint and tsc are
clean on all three changed files, and the route file is 12/12.

Not pushed: crew freeze on Raf's order.
Merge remote-tracking branch 'origin/main' into hygiea/256-whole-ask-text
All checks were successful
dependency advisories / node in . (container) (pull_request) Has been skipped
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (container) (pull_request) Has been skipped
dependency advisories / node in installer (container) (pull_request) Has been skipped
c4 model / c4-model-1 (pull_request) Successful in 3s
c4 model / c4-model (pull_request) Successful in 0s
CI / links resolve, workflows are valid (pull_request) Successful in 6s
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (pull_request) Successful in 11s
dependency advisories / node in installer (pull_request) Successful in 10s
dependency advisories / node in . (pull_request) Successful in 11s
dependency advisories / advisories (pull_request) Successful in 0s
CI / the ring reaches the owner on the live run's tmux (pull_request) Successful in 17s
standalone / standalone Martha runs alone (ubuntu-latest) (pull_request) Successful in 50s
engine drift / the recording says what the engine says (pull_request) Successful in 57s
CI / installer (pull_request) Successful in 2m31s
host drift / the recording is of the host members run (pull_request) Successful in 2m26s
CI / the relay loads in the recorded host (pull_request) Successful in 14m41s
CI / checks (pull_request) Successful in 22m51s
CI / gate coverage (pull_request) Successful in 17m56s
f589ab6f5d
terra manually merged commit c81a2db58a into main 2026-11-26 12:43:29 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
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!257
No description provided.