lazymartha L2: the Go + bubbletea editor (martha#317) #1

Closed
pallas wants to merge 0 commits from pallas/317 into main
Member

The editor Martha starts for martha init and martha config, reading its tabs and fields from the schema Martha publishes and hard-coding none.

Refs martha-ai/martha#317

The editor Martha starts for `martha init` and `martha config`, reading its tabs and fields from the schema Martha publishes and hard-coding none. Refs martha-ai/martha#317
lazymartha L2: the Go + bubbletea editor (martha#317)
Some checks failed
test / test (pull_request) Has been cancelled
527a2eb97e
The editor Martha starts for martha init and martha config, reading its tabs
and fields from the schema Martha publishes and hard-coding none.

- cmd/lazymartha: the handshake (--schema/--in/--out; exit 0 saved, 3 quit).
- internal/schema: read the schema and refuse a major it does not know.
- internal/editor: the pure model, a key in and a screen or declaration out.
- internal/files: read the declaration, write the proposal through a temp file.
- tests: schema reader, editor goldens, atomic write, the handshake's exits.
lazymartha L2: run the test gate on the forge's shared runner
All checks were successful
test / test (pull_request) Successful in 21s
2bfd0771d9
The runner label is ubuntu-latest (the shared host00 runner), not martha's
repo-scoped martha-bwrap, so a private repo's PR would otherwise never run.
lazymartha L2 r=2: read Martha's schema, not a hand-made copy
All checks were successful
test / test (pull_request) Successful in 23s
e5698b5823
Follow L1's real shape (martha-ai/martha#317, PR 318): tabs are
{"tab":…,"fields":[…]}, and the fields are nested under properties —
members.items.properties, the additionalProperties of providers and
profiles, engine_endpoint, house_rules, mode, and mesh.<service>.

The reader derives each tab's kind (form, table or list) and its row
order from that shape, and save.go builds its blocks from the schema's
field lists instead of hard-coded names. The fixture is a byte copy of
what PR 318 commits, and a test reads its tab ids, kinds and a nested
member field.
lazymartha L2 r=2 review fix: a save with no mesh writes no mesh
All checks were successful
test / test (pull_request) Successful in 26s
f730bb6aeb
An empty stations list came back from coerce as a nil []string, which is
not nil inside an any, so every save of a declaration with no mesh wrote
"mesh": {"stations": null}. Martha's reader refuses that (mesh.stations
is required), so a solo crew saved by lazymartha would no longer open.

Refs martha-ai/martha#317
lazymartha L2 r=2: fold Jupiter's notes — the harnesses block and a blank rule
All checks were successful
test / test (pull_request) Successful in 24s
test / test (push) Successful in 23s
cb4ab027ef
Restore the harnesses block a profile names: Martha's reader refuses a
profile whose harness the declaration does not name, so a new profile
naming a new harness gets its block again. And a lone "," in an array
rule now saves nothing instead of null, so an empty list is left out.

Refs martha-ai/martha#317
Member

Landed on main by fast-forward at cb4ab027ef (from dfba1ea6, Jupiter PASS r=2, Mars LAND). This repo does not allow the manually-merged style, so the PR is closed by hand; its head is on main.

Landed on main by fast-forward at cb4ab027ef8e3347d48e8c7e2ec17fe61a284f1c (from dfba1ea6, Jupiter PASS r=2, Mars LAND). This repo does not allow the manually-merged style, so the PR is closed by hand; its head is on main.
terra closed this pull request 2026-11-30 18:51:03 +00:00
All checks were successful
test / test (pull_request) Successful in 24s
test / test (push) Successful in 23s

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
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/lazymartha!1
No description provided.