A5: a crew line's range takes 7-40 hex shas, and files= stands in for it (#45) #118

Closed
jupiter wants to merge 2 commits from jupiter/45-a5-line-forms into main
Member

Purpose (gap): a crew line Martha reads takes the range forms crew-code's shorthand takes, so a HANDOFF or VERDICT on a short range, or on work outside git, is read and not taken as prose. Refs #45 (row A5), ruling #45 c3256.

Scope as ruled: the range takes 7-40 hex per end; files=

@sha256:<64 hex> stands in for it (martha digest <dir> emits exactly that line, src/digest_a_work_directory/digest_a_work_directory.ts:160). ci= stays OPTIONAL with no new validation (Raf's 11-23 cut, martha#55 c1717).

What a short range reaches:

  • the runs check: a short tip is resolved in the crew's clone (git rev-parse --verify --quiet <tip>^{commit}) before the host is asked, as crew-code's fullShaIn does; one it cannot resolve is marked ci not verified (<why>): the runs on <tip>, never a pass. A full tip runs nothing new.
  • the head nudge: a PR head that begins with the short tip is at it (was ===).
  • a live run's claims keep full shas (A_FULL_RANGE), unchanged.

Tests: red first on main's sources (7 new cases fail); 242/242 on the touched slices; tsc, eslint, check:restated-values/private/marthas-names/no-import-cycle/base-tests clean. The #253 39-hex case is renamed to 6/41 hex (Drops-test trailer).
Mutants on the guards: 12/12 killed (range 40 / 6-41, digest length, files inPlaceOf, full tip short-cut, rev-parse shape, exit code, relative workspace, runs on the resolved tip, live-run full range, head === and includes).

CLAIMS / stated limit: the landing (find_the_work_a_verdict_passed headOf) still reads a short VERDICT tip as it is written: its PR lookup notes "no open pull request at " and lands that head. Not touched here because Venus's PR 116 rewrites that file. Role cards still teach the 40-hex form and no files= line.

Purpose (gap): a crew line Martha reads takes the range forms crew-code's shorthand takes, so a HANDOFF or VERDICT on a short range, or on work outside git, is read and not taken as prose. Refs #45 (row A5), ruling #45 c3256. Scope as ruled: the range takes 7-40 hex per end; files=<dir>@sha256:<64 hex> stands in for it (`martha digest <dir>` emits exactly that line, src/digest_a_work_directory/digest_a_work_directory.ts:160). ci= stays OPTIONAL with no new validation (Raf's 11-23 cut, martha#55 c1717). What a short range reaches: - the runs check: a short tip is resolved in the crew's clone (`git rev-parse --verify --quiet <tip>^{commit}`) before the host is asked, as crew-code's fullShaIn does; one it cannot resolve is marked `ci not verified (<why>): the runs on <tip>`, never a pass. A full tip runs nothing new. - the head nudge: a PR head that begins with the short tip is at it (was ===). - a live run's claims keep full shas (A_FULL_RANGE), unchanged. Tests: red first on main's sources (7 new cases fail); 242/242 on the touched slices; tsc, eslint, check:restated-values/private/marthas-names/no-import-cycle/base-tests clean. The #253 39-hex case is renamed to 6/41 hex (Drops-test trailer). Mutants on the guards: 12/12 killed (range 40 / 6-41, digest length, files inPlaceOf, full tip short-cut, rev-parse shape, exit code, relative workspace, runs on the resolved tip, live-run full range, head === and includes). CLAIMS / stated limit: the landing (find_the_work_a_verdict_passed headOf) still reads a short VERDICT tip as it is written: its PR lookup notes "no open pull request at <short>" and lands that head. Not touched here because Venus's PR 116 rewrites that file. Role cards still teach the 40-hex form and no files= line.
A5: a crew line's range takes 7-40 hex shas, and files=<dir>@sha256: stands in for it (macula-io/martha#45)
All checks were successful
dependency advisories / node in . (container) (pull_request) Has been skipped
dependency advisories / node in installer (container) (pull_request) Has been skipped
dependency advisories / node in installer (pull_request) Successful in 11s
c4 model / c4-model-1 (pull_request) Successful in 5s
dependency advisories / advisories (pull_request) Successful in 0s
c4 model / c4-model (pull_request) Successful in 0s
CI / structural floor (pull_request) Successful in 32s
CI / links resolve (pull_request) Successful in 6s
CI / no import cycle (pull_request) Successful in 35s
CI / Martha's names are its own (pull_request) Successful in 30s
CI / the engine drift check bites (pull_request) Successful in 31s
CI / the posted text check bites (pull_request) Successful in 16s
CI / the host drift check bites (pull_request) Successful in 1m13s
CI / the ring reaches the owner on the live run's tmux (pull_request) Successful in 17s
CI / workflows are valid (pull_request) Successful in 11s
CI / the relay loads in the recorded host (pull_request) Successful in 15m8s
CI / installer (pull_request) Successful in 2m15s
CI / nothing private (pull_request) Has been skipped
CI / no test the base passed goes missing (pull_request) Successful in 35s
CI / the pictures change only with the version (pull_request) Successful in 21s
CI / no literal restates a defined value (pull_request) Successful in 1m8s
CI / every check runs in a job (pull_request) Successful in 14s
CI / every job has a timeout (pull_request) Successful in 15s
standalone / standalone Martha runs alone (ubuntu-latest) (pull_request) Successful in 35s
standalone / the pinned Node is nodejs.org's (pull_request) Successful in 15s
CI / gate coverage (pull_request) Has been skipped
CI / the clean-install proof removes its container (pull_request) Successful in 16m37s
dependency advisories / node in . (pull_request) Successful in 12s
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (pull_request) Successful in 11s
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (container) (pull_request) Has been skipped
fa66b4e5d8
The HANDOFF and VERDICT reader now takes each end of a range as 7 to 40 hex
digits, as crew-code's shorthand reads it, and a files= digest (the line
`martha digest <dir>` prints) in place of the range. ci= stays optional,
with no new validation (Supervisor ruling on #45 c3256, quoting Raf's
11-23 cut of the ci= grammar, martha#55 c1717).

What reads a short range:
- the runs a HANDOFF names: a short tip is resolved in the crew's clone
  (git rev-parse --verify) before the host is asked, since a host matches
  a run only against a full sha; one the clone cannot resolve is marked
  `ci not verified (<why>)`, never a pass (crew-code's fullShaIn).
- the head nudge: a PR head that begins with the short tip is at it.
- a live run's claims keep full shas (A_FULL_RANGE), unchanged.

Drops-test: src/read_a_crew_line/read_a_crew_line.node-test.ts :: #253: a tip of thirty-nine hex digits goes as prose, with the field named, and nothing reaches a ledger
A5 review fix: a ref named like a short tip does not answer for it (macula-io/martha#45)
All checks were successful
CI / gate coverage (pull_request) Has been skipped
dependency advisories / node in . (pull_request) Successful in 10s
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (pull_request) Successful in 10s
dependency advisories / node in installer (pull_request) Successful in 10s
dependency advisories / node in . (container) (pull_request) Has been skipped
dependency advisories / advisories (pull_request) Successful in 0s
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 4s
c4 model / c4-model (pull_request) Successful in 0s
CI / links resolve (pull_request) Successful in 5s
CI / structural floor (pull_request) Successful in 25s
CI / no import cycle (pull_request) Successful in 25s
CI / Martha's names are its own (pull_request) Successful in 27s
CI / the engine drift check bites (pull_request) Successful in 26s
CI / the posted text check bites (pull_request) Successful in 11s
CI / the host drift check bites (pull_request) Successful in 1m4s
CI / the ring reaches the owner on the live run's tmux (pull_request) Successful in 12s
CI / workflows are valid (pull_request) Successful in 10s
CI / installer (pull_request) Successful in 2m10s
CI / nothing private (pull_request) Has been skipped
CI / no test the base passed goes missing (pull_request) Successful in 30s
CI / the pictures change only with the version (pull_request) Successful in 16s
CI / no literal restates a defined value (pull_request) Successful in 52s
CI / every check runs in a job (pull_request) Successful in 12s
CI / every job has a timeout (pull_request) Successful in 12s
standalone / standalone Martha runs alone (ubuntu-latest) (pull_request) Successful in 28s
standalone / the pinned Node is nodejs.org's (pull_request) Successful in 14s
CI / the relay loads in the recorded host (pull_request) Successful in 14m30s
CI / the clean-install proof removes its container (pull_request) Successful in 16m5s
218edf466b
git reads a hex word as a ref name before a short sha, so theFullTipOf now
keeps git's answer only when the full sha begins with the tip asked for.
Test red first: a branch named like the tip, pointing at the base.
Owner

Closed by the Supervisor for a clean slate (Raf 2026-11-24: "close the stale PRs we need to start from a slate as clean as possible"). Only the Martha pilot path stays open. The branch is kept; reopen if this work comes back.

Closed by the Supervisor for a clean slate (Raf 2026-11-24: "close the stale PRs we need to start from a slate as clean as possible"). Only the Martha pilot path stays open. The branch is kept; reopen if this work comes back.
supervisor closed this pull request 2026-11-24 06:33:25 +00:00
All checks were successful
CI / gate coverage (pull_request) Has been skipped
dependency advisories / node in . (pull_request) Successful in 10s
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (pull_request) Successful in 10s
dependency advisories / node in installer (pull_request) Successful in 10s
dependency advisories / node in . (container) (pull_request) Has been skipped
dependency advisories / advisories (pull_request) Successful in 0s
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 4s
c4 model / c4-model (pull_request) Successful in 0s
CI / links resolve (pull_request) Successful in 5s
CI / structural floor (pull_request) Successful in 25s
CI / no import cycle (pull_request) Successful in 25s
CI / Martha's names are its own (pull_request) Successful in 27s
CI / the engine drift check bites (pull_request) Successful in 26s
CI / the posted text check bites (pull_request) Successful in 11s
CI / the host drift check bites (pull_request) Successful in 1m4s
CI / the ring reaches the owner on the live run's tmux (pull_request) Successful in 12s
CI / workflows are valid (pull_request) Successful in 10s
CI / installer (pull_request) Successful in 2m10s
CI / nothing private (pull_request) Has been skipped
CI / no test the base passed goes missing (pull_request) Successful in 30s
CI / the pictures change only with the version (pull_request) Successful in 16s
CI / no literal restates a defined value (pull_request) Successful in 52s
CI / every check runs in a job (pull_request) Successful in 12s
CI / every job has a timeout (pull_request) Successful in 12s
standalone / standalone Martha runs alone (ubuntu-latest) (pull_request) Successful in 28s
standalone / the pinned Node is nodejs.org's (pull_request) Successful in 14s
CI / the relay loads in the recorded host (pull_request) Successful in 14m30s
CI / the clean-install proof removes its container (pull_request) Successful in 16m5s

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/martha!118
No description provided.