Every declared role gets a shipped text, members name only declared roles, and the starter crew has a Supervisor #164
Closed
opened 2026-11-25 03:53:10 +00:00 by venus
·
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
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#164
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 (product): a solo crew's members speak to the stranger who runs them, not of a "Supervisor" that a solo crew does not have. It is the first thing a new user reads from Martha.
Found in martha#149 run 2 (issuecomment-4146). A stranger followed https://macula.io/martha (docs v0.4.2): getting-started's "A team across your workspace" declaration (
"mode": { "name": "solo", "roles": ["builder", "reviewer"] }), thenmartha up --prompt "say hello", and signed in. The first answers:The crew declares no Supervisor, and no brief exists. getting-started says the opposite of what the members say: "You carry the change between them … so you type the hand-off to the reviewer yourself."
Where the text comes from.
hand_a_member_its_crew_text.ts:216-217gives each member the role texttexts/roles/<role>.mdand the mode texttexts/modes/<mode name>.md; a file in the crew's own.martha/comes first, then the shipped one. A solo crew with no texts of its own gets the shipped ones, and every one of them assumes a Supervisor:src/hand_a_member_its_crew_text/texts/roles/builder.md:1: "The Supervisor coordinates; the reviewer reviews. Take the work the Supervisor's brief names, and ask the Supervisor when unsure." Line 5: "hand it off to the Supervisor by direct message".texts/roles/reviewer.md:1: "The Supervisor sends you each handoff." Line 5: "Reply to the Supervisor by direct message".texts/modes/solo.md:1: "Your brief is a file the Supervisor writes for you; your start prompt tells you where it is."These are the team crew's texts. In solo mode the owner is the one a member works for and hands off to.
No fix in this issue; Mars places it. Refs #149.
Rescoped by Raf, DECIDED 2026-11-25 "Yes, rescope it (Recommended)", after he asked "why wouldn't a solo-operator crew not have a Supervisor member?" and "what about the other roles we have defined in martha.json?? I feel the issue/brief is outdated".
Purpose (product): every role a crew declares gets a shipped role text that matches how it actually works, no member ever speaks of a role its crew does not declare, and a stranger's first crew has a Supervisor.
Done when:
Order: Venus writes the role texts as a short design first (one review read), then builds. After PR 163 lands.
A solo crew's members talk of a Supervisor and a brief on their first turn: the shipped role and solo texts assume a teamto Every declared role gets a shipped text, members name only declared roles, and the starter crew has a SupervisorDesign: six role texts that name only the declared roles (#164, rescoped: comment 4157)
Purpose (product): every role a crew declares gets a shipped role text that matches how it works, no member ever speaks of a role its crew does not declare, and a stranger's first crew has a Supervisor.
What is there today
src/hand_a_member_its_crew_text/texts/shipsroles/{supervisor,builder,reviewer}.md,modes/{solo,team}.mdandpractice.md. A member's text is its role text + its mode text + practice + the conventions, with{{owner}},{{handoff}},{{verdict}}and the rest filled in. A file under the crew's own.martha/wins over the shipped one.dispatcher,architectandsecurityhave no shipped text, so a crew that declares one must write its own.1. Who a line goes to is filled in, not written
Two new placeholders, resolved from the roles
mode.rolesdeclares:{{hands_off_to}}: where a HANDOFF, a VERDICT and a BLOCKED go{{owner}}{{asks_to}}: questions, decisions, push asks{{owner}}Every routing sentence in the six texts uses them, so "the Supervisor" is never written in a builder, reviewer, architect or security text.
2. A sentence that only holds for some crews sits in a block
[[if <role>]] … [[end]]and[[if no <role>]] … [[end]]around whole sentences, where<role>is one of the six. The composer keeps or drops each block bymode.roles. An unknown role, or an unclosed or nested block, is refused by file and line, the way an unknown{{…}}is refused today, so a typo never reaches a member as text. Examples:[[if no dispatcher]], so with a dispatcher that duty is the dispatcher's alone.[[if supervisor]].[[if no supervisor]]says instead: "Your work comes from {{owner}}: the first prompt you are started with, or what {{owner}} types in your terminal."{{hands_off_to}}, not "the builder".3. The six texts, from how this crew works today (no crew-only words: no planet names, no forge, no Raf)
[[if no dispatcher]]routes HANDOFF→reviewer and VERDICT→builder. Never pushes or tags without {{owner}}'s yes on the exact range.[[if security]]brings anything that touches trust, keys or input from outside to the security member first.{{handoff}}, or{{doc_handoff}}for a design. Asks go to {{asks_to}}.{{verdict}}, required changes ranked, most severe first. A small required change may be fixed on the builder's branch and named in the verdict. The bar never drops to end a round.4. The test: every shape, both modes
For mode ∈ {solo, team} × Supervisor ∈ {declared, not} × dispatcher ∈ {declared, not}, with builder and reviewer always declared and architect and security each declared in half the shapes: compose every member's text and check that
Mutants, each run once and named in the handoff: (a) put the old "Your brief is a file the Supervisor writes" back in modes/solo.md unguarded; (b) write "the Supervisor" for
{{hands_off_to}}in builder.md; (c) make[[if no dispatcher]]keep its block always. Each fails the test.5. The starter crew and the docs
martha initdeclares supervisor + builder + reviewer, still solo mode (no mesh). getting-started is rewritten to match: who the Supervisor is, that the owner talks to it, how a handoff moves.docs/the-declaration.mdlists the six shipped texts and the two blocks. A stranger re-walks getting-started at the next release.Size and split
Two PRs, I recommend:
martha initwith its test, and the getting-started rewrite. About 2–3 hours. It goes after A lands, because getting-started quotes A's texts.Together about 10 hours, over two review rounds at most.
Design #164: the change required by r=1 (Mars PASS with one required change)
A verdict goes to the builder, not up. Three placeholders replace the table's two:
{{hands_off_to}}: HANDOFF and BLOCKED{{owner}}{{verdict_to}}: VERDICT{{asks_to}}: questions, decisions, push asks{{owner}}reviewer.md and practice.md use
{{verdict_to}}. The shape test checks the verdict line in every shape, and a fourth mutant makes{{verdict_to}}resolve like{{hands_off_to}}; the test must fail on it.The "brief" ban in shapes with no Supervisor reads only the shipped role and mode texts as composed, not the conventions or a crew's own files. A word like "brief" used in another sense there cannot make the test flaky.
The build is PR A as designed.
Closing. Purpose (product): every role a crew declares gets a shipped role text matching how it works, no member speaks of a role its crew lacks, and a stranger's first crew has a Supervisor. MET.
d1e6684e). It shipped texts for all six roles: supervisor, builder, reviewer, dispatcher, architect and security. The[[if <role>]]/[[if no <role>]]blocks and the{{hands_off_to}},{{verdict_to}}and{{asks_to}}routing come from the roles a crew declares. The shape test covers 8 crew shapes, and mutants a–g each fail it.c373344a).martha initnow declares builder, reviewer and supervisor. The solo table is unchanged, so the supervisor acts as the owner's session. A crew that names the solo mode keeps only the roles its members hold. The solo and team texts tell the Supervisor its own work comes from the owner, and a test pins that for init's crew and for a team; the old sentences fail it. getting-started walks a crew of three. The clean-install proof gives the supervisor its own turn and is green in run 4299.One thing is still owed, as the design planned: a stranger re-walks getting-started at the next release. The new step 3 and step 4 text comes from the code; no stranger has run it yet.
martha helpstill promises an hourly status that was cut, andmartha statusreads a stream nothing writes #290