An approval with no git tree is rechecked as the gate reads it (#308, PR 2 of 5 of owner/953-chat) #312

Manually merged
terra merged 0 commits from neptunus/308-no-tree-recheck into main 2026-11-30 17:26:50 +00:00
Member

Refs #308 (was GitHub #132). This is PR 2 of 5 landing Raf's owner/953-chat branch, per Saturnus's review REVIEW_2026-11-30_owner-953-chat.

  • e97c6839 → 42041e7a martha#132: an approval with no git tree is rechecked as the gate reads it. Cherry-picked unchanged; the review found it sound and ready.

Proof at the tip: typecheck, the whole npm run verify, the whole npm test (through run_the_tests_in_a_namespace_of_their_own.sh) and check:private.

Refs #308 (was GitHub #132). This is PR 2 of 5 landing Raf's owner/953-chat branch, per Saturnus's review REVIEW_2026-11-30_owner-953-chat. - e97c6839 → `42041e7a` martha#132: an approval with no git tree is rechecked as the gate reads it. Cherry-picked unchanged; the review found it sound and ready. Proof at the tip: typecheck, the whole `npm run verify`, the whole `npm test` (through run_the_tests_in_a_namespace_of_their_own.sh) and check:private.
A checkout outside any git checkout has no tree for the owner to approve, and
the gate admits its config with a warning that nothing pins what it runs. The
recheck then refused the same launch as "git can no longer read it" as soon as
the live fingerprint differed from the launch's, which stopped every member
after a config change — and kept stopping it after `martha approve`, because no
tree can tell a member's own writes from anyone else's there.

The recheck now asks the gate the same question when the approval has no tree.
A test plants a checkout outside git with config and an empty approval list,
and requires the recheck to allow it.
terra referenced this pull request from a commit 2026-11-30 17:02:04 +00:00
terra manually merged commit 42041e7aed into main 2026-11-30 17:26:50 +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!312
No description provided.