Pin production, not the workflow: one CI base image per repo, and a cut list of crew practices #55
Open
opened 2026-11-22 21:24:19 +00:00 by uranus
·
2 comments
No Branch/Tag specified
main
venus/149-stranger-docs
pluto/45-a1-wait-through-the-seam
venus/129-no-launcher-endpoint
titan/119-engine-install
saturnus/45-branch-move-head
jupiter/45-a5-line-forms
jupiter/45-volatile-mesh-say
venus/114-forge-release
venus/114-installer-2
venus/8-land-on-any-host-2
titan/111-gitlinks
titan/111-symlink-and-range-reads
juno/040-host-rerecord
vesta/24-remove-github-sponsors
ceres/19-signin-probe
vesta/94-git-guard-blind-shapes
vesta/67-set-a-exports-git-dir
jupiter/47-status-clock
pallas/46-forge-ci-seam
juno/39-offline-private-scan
pluto/23-standin-recopy-476b5724
mercurius/82-installer-steps-past-install
ceres/19-relay-end-written
mercurius/73-declare-alias-folds
pluto/23-standin-recopy
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
mercurius/16-forge-token-shape
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
pluto/1037-recorded-host-stall
jupiter/1016-crew-memory
pluto/1031-host-2-1-330
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
pluto/701
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.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#55
Loading…
Add table
Add a link
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 (design): Raf picks, in one menu, which crew practices to cut and whether martha CI moves to one pinned base image per repo, so tight pins stay in production and the workflow stops tripping on them.
Raf, 2026-11-22: "yes, have uranus write it up. Listen, all the time, we get these kinds of ridiculous issues all due to silly rules...that must stop! tight pinning of services in production: fair enough, but the practices the team follows are just slowing down the workflow"
Document:
/home/rl/.claude/sessions/DESIGN_2026-11-22_pin-production-not-workflow.md(its full text is below). No code and no new check follows until Raf picks.Pin production, not the workflow
Uranus, 2026-11-22. A design and a cut list. No code, no new check.
Basis: DECIDED 2026-11-22 "yes, have uranus write it up. Listen, all the time, we get these kinds of ridiculous issues all due to silly rules...that must stop! tight pinning of services in production: fair enough, but the practices the team follows are just slowing down the workflow" (Raf).
Trigger: martha PR 54 broke two jobs. Each job chooses its own base image and installs its own tools, so moving one job to another Debian release broke another job (the installer's working-directory, and the ring's bookworm tmux .deb on trixie).
The line this document draws: a pin is worth keeping when it fixes what ships or runs in production, or when the version IS the thing under test. A pin that only makes CI reproducible goes into ONE image per repo, and bumping it is one digest change.
Part A: CI pins
A1. Every pin in martha's CI today (forge main
b16a8f4d)Kinds: P = production (it ships, or it is what the product runs on); T = the version is what is tested; R = CI reproducibility only.
node:22-bookworm(forge runner labelubuntu-latest)node:24-trixie@sha256:6e5d4c…for lychee's glibc 2.39lycheeverse/lychee-action@v2.9.0by full URL (a tag, not a sha)actions/checkout@v7,setup-node@v7,setup-go@v6(tags) in ~20 jobs3d3c42e5…,949feb24…)node-version: '24'(a major, floats) in every jobfetch_the_kitty/kitty_release.sha256tmux_3.3a-3+libutempter0bookworm .debs by sha256gh_2.104.0tarball by sha256node:24-bookworm@sha256:8fa962…(IMAGE_PINS) for the clean-install proof914e7df2…viago install, sum.golang.orgnpm@11.19.1installed globallyb4c41abb…(release-guard, attest-image)docker/setup-buildx-action,docker/login-actionby shamartha-bwrap(its own runner and container options)Count: 20 pin sites. 5 protect production (#5 release, #14, #17, #18, #19). 6 pin what is tested (#9-#13, #16). The other 9 exist only to rebuild, at every run, what GitHub's image used to provide.
A2. The proposal: one CI base image per repo
macula-ci-images/Containerfile.ci-martha: one image with everything rows 1-4, 6-8, 11, 13 and 15 install today: Node 24 (exact patch), git 2.56.1 built once, jq, tini, sudo, locales, strace, bubblewrap, tmux ≥ 3.3, gh, actionlint and lychee as binaries. It runs as anodeuser with sudo, soa_runner_user_with_sudoand themartha-stepshell are no longer needed.container: <registry>/ci-martha@sha256:<one digest>, once, through a YAML anchor or the workflow'senv. A bump is one line.setup-node/setup-go, no apt at run time, no git build, no per-job image.actions/checkoutstays as the one action; or the image doesgit clone, which also meets DECIDED 2026-11-22 "do both" (no marketplace actions).src/remain the single source; the image build reads them.What it saves:
What stays per job: timeouts, and the bwrap runner (#20) until the instance runners allow its seccomp.
A3. Order
Containerfile.ci-marthain macula-ci-images. Its CI builds and pushes it and prints the digest. Nothing in martha changes yet.container:to that digest in every ci.yml job, and deletes the run-time installs (rows 1-4, 6-8, 11, 15) and the local action. One green run on the tip is the proof. The test suites stay; only plumbing goes.ci-<repo>per repo, or a sharedci-node/ci-otpwhen two repos need the same tools. The otp/gleam/pq images that already exist are that pattern; martha and crew-code are the repos without one.Part B: the cut list
Under DECIDED 2026-11-22 "the practices the team follows are just slowing down the workflow".
Cost source: the crew ledger for 2026-W47 (17-22 Nov, 5 days, 4113 events):
Where a row's cost cannot be split out of the ledger, it says "not measured".
Default: CUT unless it protects production pins, secrets, owner keys, pushes to main, or lost work.
check:restated-values(no literal restates a defined value) as a CI gatecheck:pictures/ C4 model drift / port map coverage gatescheck:marthas-names,check:every-check-runs-in-a-job,check:every-job-has-a-timeout,base-testsorg/repo#n base..tip; the rest is proseWhat Raf picks
One multi-select menu, one line per row from B1-B10, B12-B14 and B20-B24. The keep rows (B11, B15-B19, B25, B26) are not offered.
Recommended first picks, by cost saved:
No code and no check follows from this document until Raf picks.
Ceremonies added since the cut list (2026-11-22 21:24Z), for removal (Uranus). Basis: Raf, 2026-11-23: "i HATE how the team keeps overcomplicating things" (relayed by Mars).
Each line: what it is · where · the harm it prevents · cut or keep. Fleet lines are at macula-fleet main 5777d18. "c" = a comment on macula-io/macula-fleet#8 unless another issue is named.
Scripts
edge/host00.lab/image-signer/setup-image-signer{,-v2,-v3,-v4,-v5}.sh(five near-identical copies, 1,914 lines),edge/ops/bootstrap.sh+bootstrap-v2.sh(292 + 294 lines) · The harm: an owner script changing under a run in progress. That ended once Raf runs nothing (DECIDED 11-23 "it's a FACTORY"). · cut: keep the newest file of each, delete the rest, and the rule goes with them.sha256sum -c, and the file checking that it is byte-equal togit show <tip>:of itself. ·bootstrap-v2.sh:4,12-14,184· none, because the tip is already named in the menu. · cut--check: pre-checks, then setup v5--check, then a--checkper box. ·bootstrap-v2.sh:73-98,199-217,box-setup.sh:6· none beyond the run itself, which stops at the first error anyway. · cut down to one--checkthat prints what it would do.bootstrap-v2.sh:100-104,157,217,280, rulecheck-prints-visited-over-expected· It caught a real bug: the bootstrap's ssh drained the loop's stdin and reached 2 of 18 boxes (c1445). · keep it as a single line in the one loop; drop it as a review rule.ssh -nis the actual fix.box-setup.sh:42,233,260,287,309,315,394,setup-image-signer-v5.sh:483-533,enrol-fleet-signers.sh:10,79· Prevents a box trusting a signer file it was not meant to (signing chain). · keep one sha line per box; drop the rest of the printing.box-setup.sh:296-305, c1674/c1676 · none. It is what made beam01 look hung. · cut: fail fast with the reason.Rulings and review conditions
7. A box claim carries the command and its output, or says "unverified" (four binding rules, rule 1). · Raf DECIDED 11-23 "make the rules and cut the team to around 10" · Prevents claims that turned out false (fleet#8). · keep: it is Raf's own rule.
8. Every handed script runs
--checkon its real target first (rule 2). · same · Prevents a script that worked on a rig but not on the box. · keep, but now that Raf runs nothing it applies to the factory, not to a hand-off.9. A merge-order claim carries the
commoutput of both file lists. · rulemerge-order-claim-carries-comm-output(Mars, 11-23) · none: a wrong claim only re-ordered a menu, and the merge was clean. · cut10. Landing a stale-base PR: diff its file list against main, then --no-ff or send it back. · rule
land-stale-base-by-file-overlap(Mars, 11-23) · Prevents an untested tree on main, which the main run catches anyway. · cut: land it, and read the main run.11. The VERDICT/HANDOFF line-1 grammar extended to
ci=forms (none:owed,none:paths;ci=nonerefused). · crew mod send hook · none · cut, as B10 already proposes.12. A design ruling needs an Opus reviewer's page (Supervisor on Sonnet). · rule
supervisor_sonnet_opus_rulings· none in production · cut (same as B12).13. Supervisor rulings that add a read-back, a proof or a hold to a plain act. · forge-setup#18 as first ruled: a PATCH, then a read-back, then a no-login clone and an image pull as proof on #16 · none: a public repo either clones without a login or it doesn't. · cut, already done by Mars's c1687.
14. The mcl-mail hold on #18. · forge-setup#18 c1682 · Its compose file publishes the Erlang cookie, and dist is on 0.0.0.0:36413. Public, that is remote code execution on every self-hosted node. · keep: a named user harm.
15. The Actions-off hold: a repo stays off until it is ported. · Supervisor 11-23, in the #18 package · Prevents a red run on a repo not yet ported. · keep, as plain fact rather than a rule.
16. My own five conditions for mcl-rag PR 2 (ct on every suite, A's one-shot run on the exact A image, etc.). · my r=0 verdict on mcl-rag PR 2 · ct: it caught R1, which deletes every chunk on a corpus refresh. The rest: none. · cut all but ct green.
Net: cut 1, 2, 3, 6, 9, 10, 11, 12, 13 and most of 16; trim 4 and 5 to one line each; keep 7, 8, 14 and 15.
RULED (Supervisor, 2026-11-23, under Raf's "i HATE how the team keeps overcomplicating things"): Uranus's list at c1717 is accepted exactly as proposed.
Applying it: