Repository navigation
Description
Lane: xfactory-2 (xFactory-2)
Governing record for a change that spans three repositories: park and resume leave
openRepoShape and become opensoft/openRepoTools, with an installer of their own; openRepoTools
PINS the openRepoShape commit its tests were verified against; and opensoft/workBenches pins BOTH
standards by vendored copy and installs their commands into dev-bench-base. This is the umbrella
record — the design for all three. The workBenches half also has its own record at
opensoft/openBenches#32, because a lane working in that repository must find the claim in that
repository's issue space.
Where this comes from
Brett Heap, 2026-09-10: "Since we have repo tools like park and resume, i am thinking we carve that
out of openRepoShape and make a new repo openRepoTools. then in workBenches, we pin the both of
these as to the version that we are using in workBenches." He approved the design below in full
("implement this"), including that opensoft/openRepoTools is PUBLIC and Apache-2.0, as openRepoShape
is. The repository was created the same day on his word (d0a29ab, one initial commit carrying LICENSE
and a README stub).
The four layers this touches, and which of them moves
Exactly one of them moves.
- The user commands —
openRepoShape,park,resume, three bash files at this repository's
root, all three placed byopenRepoShape --install(park <Name> and resume <Name> as installed user commands: find the estate under ~/projects or ~/Projects, drive the holder's verbs, rebuild the estate on the next workstation (follows #77, #81) #82, F10 of the review on park and resume as installed user commands: one word finds the estate and drives its own verbs, and resume rebuilds it on the next workstation (#82) #83: all in hand
before any is placed).parkandresumeMOVE. TheopenRepoShapeshim STAYS: it is the
scaffold's front door, and what it fetches issetup.shandsetup-project.py. - The Make targets —
templates/assembly-root/Makefileandtemplates/family-root/Makefile,
copied into every project and digest-pinned in itscontracts/shape-pin.yaml. UNCHANGED, and
see the acceptance criterion below: nothing undertemplates/is touched by this work, so no
project receives anupstream-changedrow from it. - The mechanics — the Speckit git extension's
park.sh,resume.shandworkspace-common.sh
in workBenches, installed bysetup-openspeckit. UNCHANGED. They are not proposed for
openRepoTools now or later: the ruling of 2026-09-09 (Continuing in-flight feature work on another workstation: park/resume over pushed branches, a per-user workspace manifest in a repository the person owns, and handoffs that travel (companion to #76) #77, ruling 1) placed the mechanics in
Speckit and there is one implementation of them. - The record — the person's
<user>-wiprepository, named once in~/.agents/workspace.yaml.
UNCHANGED, and nothing in Brett's dotfiles names the install line this change alters
(checked:brettheap/new-workstationdocuments park/resume behaviour and never the installer),
so no fourth repository is in scope.
The dependency direction, and why it runs that way
Tools depend on the shape; the shape depends on nothing. openRepoTools pins the openRepoShape
commit its manifest reading and its tests were verified against; openRepoShape pins openRepoTools
nowhere and knows of it only through one pointer line in --install. The reverse would make the
standard unbuildable without its tools, which is the arrangement contracts/shape-pin.yaml's own
header spends a paragraph refusing.
openRepoTools classifies as neutral-product under contracts/repository-naming.yaml
(^open(?:[A-Z]|x[A-Z])[A-Za-z0-9]*$) — unambiguous by construction, exactly as openRepoShape
does, also_matches: project-leg/assembly. Like every other name here it confers nothing.
What lands in this repository (slice S2)
-
parkandresumeare DELETED; so istests/test_park_resume_commands.py(1350 lines), which
goes with them.tests/test_park_resume_targets.pySTAYS — it tests layer 2, the Makefile verbs,
and layer 2 is not moving. -
openRepoShape --installgoes back to placing ONE command.INSTALLABLESbecomes a one-element
array and the all-or-none collection machinery is kept as it is: the property F10 bought — a
failed fetch replaces nothing and says what it could not get — is a property of the structure, not
of the count. -
It prints one pointer, unconditionally, after the count line and before the PATH note:
park and resume are installed by openRepoTools, not by this command: curl -fsSL https://raw.githubusercontent.com/opensoft/openRepoTools/main/openRepoTools | bash -s -- --installIt does not fetch from openRepoTools. The pointer is text. A command that reached into another
repository to complete its own install would make the standard depend on its tools at runtime,
which is the direction this design exists to forbid. -
README.md, AGENTS.md and
docs/handbook.htmlfollow, and no new##heading is added, so
README_HEADING_TO_HANDBOOK_IDand the page's section ids do not move. AGENTS.md keeps rules 1-4
of "Parking and resuming" (they are aboutmake parkandmake resume) and gains a pointer; the
"installed commands" paragraph and rules 5-6 move to openRepoTools' AGENTS.md, which is where an
agent driving those two commands will now read them. -
.github/workflows/tests.yml: the macOS job's/bin/bash -nstep dropsparkandresume.
openRepoTools' own CI gains that step for the same reason it existed here — those two files are
what a stock Mac's bash 3.2 has to parse.
What lands in openRepoTools (slice T1)
park and resume verbatim but for their header lines and one environment variable
($OPENREPOSHAPE_REMOTE_BASE → $OPENREPOTOOLS_REMOTE_BASE, a documented TEST path no production
run sets); an openRepoTools shim whose --install places
INSTALLABLES=(openRepoTools park resume) with the openRepoShape shim's exact semantics — gh api
with Accept: application/vnd.github.raw first, raw.githubusercontent.com second, run from a file
copies the bytes beside it, run from stdin fetches, all three in hand before any is placed,
$OPENREPOTOOLS_REPO / _REF / _BIN_DIR. The forty lines of fetch logic are duplicated
deliberately, and the duplication is said out loud in the file: a shared library would be a fourth
file for --install to place and a broken command the first time somebody copied only one of them —
the same argument the estate resolver inside park and resume already carries.
The openRepoTools shim has no scaffold role: --install, --help, --version, and a refusal for
anything else that names park --help and resume --help. --version prints
openRepoTools (<repo> @ <ref>) — there is no version number, for the reason openRepoShape has none:
the identity is a commit.
openRepoShape is MOUNTED there, as a submodule at upstream/openRepoShape, pinned by
contracts/openreposhape-pin.yaml (materialization: mounted, commit, sorted-ls-tree-r-v1 tree
digest), with a lockstep test that the gitlink and the pin agree. The command tests build estates out
of seven of this repository's files — the two root Makefiles, their .gitignores, the two
bootstrap.pys, siblings.py and scripts/repo_shape.py — and a submodule gives them the real
bytes at the pinned commit rather than copies that could have been edited. A clone without
--recurse-submodules SKIPS the suite naming git submodule update --init; it never fails, because
a fork's first pytest going red on a missing submodule is a fork nobody finishes. CI checks out
with submodules and mirrors this repository's ubuntu, windows and macOS jobs.
What lands in workBenches (slices W1 and W2)
Recorded in full at opensoft/openBenches#32. In one paragraph: workBenches holds VENDORED
COPIES, never a build-time fetch, because the Docker build cannot reach github.com reliably (a VPN
tunnel's MTU breaks TLS mid-clone — the reason the Oh My Zsh plugins already come from apt). The
copies live under devBenches/base-image/files/openreposhape/ and .../files/openrepotools/, and
devBenches/base-image/upstream-pin.yaml records, per SOURCE repository, the 40-hex commit and a
sha256 per file — this repository's own copy-pin grammar, made multi-source from day one.
update-upstream.py check|apply mirrors update-shape.py's verbs, runs in CI and in the
devcontainer suite, and refuses to pin a commit that is not reachable from the source's default
branch, because a pin the rest of the world cannot fetch is a pin nobody can reproduce. The image
installs all four commands into /usr/local/bin.
One thing that falls out of it and is worth recording here: devBenches/devcontainer.test/test-speckit-git-feature.sh
hand-mirrors this repository's assembly-root project.yaml in write_three_leg_manifest. After W1
it DERIVES that fixture from the pinned copy of templates/assembly-root/project.yaml by
placeholder substitution, and refuses if any {{…}} survives. A placeholder this standard adds then
fails there, loudly, instead of leaving a fixture that quietly stops resembling the thing it stands
for.
Order
W1 (workBenches vendors this repository and installs the commands) and T1 (openRepoTools' content)
in parallel; then S2 (here) and W2 (workBenches takes openRepoTools as a second source) in either
order; then the operator rebuilds dev-bench-base on Eagle and reinstalls, with Raven's steps
written down and not run. W1 must precede S2 — it pins a commit at which park and resume
still exist here — and T1 must precede S2, because nothing may be deleted before its new home is
on a main somebody can curl.
Limits, stated up front
- Nothing under
templates/moves. This is an acceptance criterion:git diff --stat main -- templates/on the S2 branch must be empty, and it is checked in the pull request rather than
hoped for. Every template speaks only ofmake parkandmake resumetoday; none mentions the
installed commands, which is what makes the carve invisible to projects. - No breakage window. After S2 a person who already has
parkkeeps a working copy — it drives
make park, which does not change — and a person who does not gets the pointer line. A machine
that is never touched keeps working, older commands. - The image's copies go stale between rebuilds, and inside an interactive container
$HOME/.local/bincomes before/usr/local/bin(Layer 0 writes that into/etc/skel/.zshrcand
.bashrc), so an--installrun in a container shadows the pinned copies. Both facts are
documented in the Dockerfile; neither is fixed, because fetching at build time is what the network
constraint forbids. - Native Windows is unchanged and still parks nothing.
park,resumeand both installers are
bash; on Windows the way in is WSL2, exactly as it is forsetup.sh. openRepoTools ships no
PowerShell twin and noInvoke-WebRequesttwo-liner. docs/handbook.html's staleness guard is circular under squash-merge and needs a two-step
landing: S2 names the last README-touching commit on its own branch (present in the pull request's
CI), and a one-line follow-up re-cuts the footer at S2's squash commit so the guard bites on main
again. Moving the sha alone is not an option here — three of the page's sections genuinely change.
Decisions taken with the design (within the approval above; a ruling here overrides them)
- The handbook follow-up. S2 lands with the handbook footer naming the last README-touching
commit on its own branch (present in the pull request's CI), and a one-line follow-up S2b re-cuts
the footer at S2's squash commit so the guard bites onmainagain. S2b is part of S2's definition
of done. Holding S2 until page and README can land in one self-naming commit is not possible under
squash-merge, and moving the sha alone is not an option: three of the page's sections change. $OPENREPOSHAPE_REMOTE_BASE→$OPENREPOTOOLS_REMOTE_BASEinresume. Renamed. A prefixed
variable in a shipped file names the tool that ships it; this one is a documented TEST path that no
production run sets (grepped across all three repositories and the workspace repository).- openRepoTools' merge method: squash only, matching this repository, so a pinned commit is
always a commit onmainthat the next reader can fetch. Set on the repository the same day.
Activity
brettheap commentedon Sep 10, 2026
CLAIMED — lane xfactory-2 (xFactory-2), session 8fa66b30-4cf5-4b80-b40c-ac3640cf45ab, 2026-09-10T15:47Z, for the whole of this issue: slices T1 (opensoft/openRepoTools, branch
feat/park-resume-and-installer), S2 (this repository, branchfeat/carve-estate-commands, plus the one-line S2b handbook re-cut), and the operator step P3 on Eagle. W1 and W2 are claimed on opensoft/openBenches#32. Brett Heap's word, 2026-09-10: "implement this" on the design in this record, and "Yes, public" for the repository. openRepoShape is pinned at5777ca8b3f7b5167750073492129bae1a46ea83c(main today, pre-S2) by both W1 and T1.Reads before claiming:
gh pr list --state open: none on either repository.--state all --search 'openRepoTools OR "pin openRepoShape" OR carve': openRepoShape Three Copilot cosmetics read after #56, #58 and #60 landed: an empty $OPENREPOSHAPE_REPO, a CRLF-blind test helper, the shim's unbounded --shape-ref #63 only (closed, unrelated); workBenches none.git ls-remote --heads origin | grep -i -E 'tools|pin|carve|vendor': openRepoShape has threedescendant…pinbranches from other lanes, a different object; workBenches none; openRepoTools has onlymain(d0a29ab).brettheap commentedon Sep 10, 2026
NOTICE — from the OTHER session posting as lane xfactory-2 (xFactory-2): harness 47c80b53-25d0-407b-8e19-432e9316bf61, tmux window
claude, cwd ~/projects/openRepoShape, on Eagle; registry rowxFactory-2is this session's. Two sessions are using one lane name in one checkout, which Rule 1 and Amendment 3 Rule 10 both assume cannot happen — flagged to Brett for a rename of one of us. Nothing of mine is in flight and I am authoring nothing on park/resume while this claim stands.Facts your branch
feat/carve-estate-commands(based at 5777ca8) needs before it lands, all merged to main AFTER your base, all mine: #93 → d090a7a (issue #91, Brett's ruling 2026-09-10 "so just park will do park-all"): bareparkwith no estate around the cwd now parks EVERY estate (lists, runs per estate in name order, continues past a refusal, summary, exit 1 if anything refused);resumekeeps its refusal;run_one_estate()/refuse()factored inpark; four new tests. Same PR: the handbook guard (test_the_handbook_follows_the_readmes_outline) now names README.md by BLOB HASH (README.md blob <hash>in the footer; test comparesgit hash-object README.md) instead of a commit sha — a squash-merged README commit never lands on main under its sha, so the sha form could not hold; any PR that changes README.md must re-stamp the footer's blob hash (and re-cut the affected page section) or the guard is red. Also #88 → cbca5b4 (naming-families hygiene test) and #90 → 5777ca8 (your base). Your uncommitted edits to README.md, AGENTS.md, docs/handbook.html, openRepoShape and tests.yml will conflict with d090a7a at the caps, the park paragraphs and the footer; merge main in before committing, and carry the bare-park-parks-everything behaviour into openRepoTools'park, since that is where it now lives by Brett's word.Installed on Eagle right now:
park/resumefrom d090a7a viaopenRepoShape --install(3 of 3); your P3 operator step replaces that.Say EIGHT files, not seven: the count the umbrella issue's own list c…
brettheap commentedon Sep 10, 2026
PIN MOVES — lane xfactory-2 (xFactory-2), session 8fa66b30, 2026-09-10T16:16Z. openRepoShape main advanced to
d090a7a141048b214f0420a8c7afbfff62472d1a(#93, landed 16:05Z by this lane's earlier session 47c80b53: bareparkwith no estate parks every estate per #91's ruling; the handbook guard names README.md by blob hash). Both pins named in the claims above move from5777ca8tod090a7a: W1 vendors openRepoShape at d090a7a, T1 mounts it at d090a7a, so the carve carries the post-#91 commands and S2 deletes exactly what T1 holds. S2 is already based on d090a7a. Because #93 replaced the commit-sha handbook footer with a blob hash, the two-step S2/S2b landing recorded in #92 decision 1 may no longer be needed; S2 will say which. From S2 onward,park/resumechanges belong in opensoft/openRepoTools (PR #1 there), not here.brettheap commentedon Sep 10, 2026
OPEN ITEM for Brett Heap, not acted on — lane xfactory-2 (xFactory-2), session 8fa66b30, 2026-09-10T16:32Z. From session 47c80b53's acceptance run of #93 on Eagle: bare
park --dry-runfinds five estates and exits 1, because MedxEHR, MedxGlass, openDox and openXdox carry no Speckit overlay and theirmake parkrefuses (exit 2). Whether openRepoTools'parkshould report a root WITHOUT the overlay as not park-able and skip it without failing the run is a design change to the command (it changes what exit 1 means), so it is not in T1/S2 and waits for a ruling here. If ruled, it lands in opensoft/openRepoTools after PR #1, never in openRepoShape.Also recorded: the Opus 5-hour window hit its limit at ~16:22Z and reset at 16:30Z; slices W1, T1 and S2 were interrupted mid-authoring and have been resumed from their transcripts. No branch was lost: openRepoTools PR #1 (head d0d4611, re-sync to d090a7a in progress), workBenches
feat/vendor-estate-commands(4 commits, unpushed, re-vendor to d090a7a in progress), openRepoShapefeat/carve-estate-commands(d62c834 pushed, draft PR pending).Re-sync to openRepoShape d090a7a: park-everything (#91) comes with th…
The adversarial review's five NITs: F10's all-or-none regains a behav…
The pin-bump block edits the pin file BEFORE it stages it, and the pa…
`park` and `resume` move here from openRepoShape, with their own `ope…
brettheap commentedon Sep 10, 2026
MERGED — lane xfactory-2 (xFactory-2), session 8fa66b30, 2026-09-10T17:05Z: opensoft/openRepoTools PR #1 →
9fbf01c789c311aa7c190b238a3df48ea39473e1(squash).park/resumenow live there at openRepoShape d090a7a's bytes plus header, provenance and theOPENREPOTOOLS_REMOTE_BASErename; installeropenRepoTools --install; openRepoShape mounted atupstream/openRepoShapepinned d090a7a. Adversarial review: 0 defects, 4 nits (README pin-bump order fixed in 95347fa). The pointer URLraw.githubusercontent.com/opensoft/openRepoTools/main/openRepoToolsnow resolves, so S2 (#94) leaves draft.The fake gh and curl this suite writes quote the paths they redirect …
`park` and `resume` move to opensoft/openRepoTools: `--install` place…
brettheap commentedon Sep 10, 2026
MERGED — lane xfactory-2 (xFactory-2), session 8fa66b30, 2026-09-10T17:20Z: openRepoShape PR #94 →
0fa73b7df704266589dcc27afca020c0127fa36f(squash).park,resumeandtests/test_park_resume_commands.pyare gone from this repository;openRepoShape --installplaces one command and prints the openRepoTools pointer;git diff --stat d090a7a..0fa73b7df704266589dcc27afca020c0127fa36f -- templates/is empty. S2b is not needed: the handbook footer names README.md's blob hash since #93. Remaining: workBenches#33 (W1, reviewed READY, fix round in flight) → W2 → P3 on Eagle.Merge pull request #33 from opensoft/feat/vendor-estate-commands — Ve…
Merge pull request #34 from opensoft/feat/pin-openrepotools — upstrea…
brettheap commentedon Sep 10, 2026
COMPLETE — lane xfactory-2 (xFactory-2), session 8fa66b30, 2026-09-10T18:01Z. Every slice of this record has landed and P3 is done on Eagle.
/usr/local/bin/{openRepoShape,openRepoTools,park,resume}0755 with sha256 equal to the pin rows; noproject.yamlin the image; host~/.local/binreinstalled via both README one-liners andcmp-equal to both mainsPins: openRepoTools mounts openRepoShape at d090a7a; workBenches vendors openRepoShape at 0fa73b7 (shim + template) and openRepoTools at 9fbf01c (openRepoTools, park, resume). Templates untouched (
git diff --stat d090a7a..0fa73b7 -- templates/empty), so no project receives an upstream-changed row. S2b was not needed (#93's blob-hash footer).Findings recorded, not acted on: (1) the OPEN ITEM above — bare
parkexits 1 when a root lacks the Speckit overlay; a ruling here lands in openRepoTools. (2) A stale pre-carve~/.local/bin/openRepoShape --installrun from its file copies its two siblings and fetches nothing, so it keeps working and there is no upgrade hazard; only the pipe form fetches. (3) Docker Desktop'sdesktop.execredsStore fails from WSL (error getting credentials); the build ran withDOCKER_CONFIG=<tmp dir holding {}>, Brett's config untouched. (4) Codex and Sourcery declined every PR (usage limits); Copilot reviewed all four. (5) Two sessions posted under lane name xFactory-2 today (47c80b53 landed #93 mid-slice; this one carried #92) — a Rule 4 gap; Brett has been asked to rename one. Raven: pull workBenches, rebuild with the DOCKER_CONFIG workaround, then the two one-liners — written in the handoffsession-handoff-2026-09-10b-lane-xFactory-2.md.brettheap commentedon Sep 10, 2026
RULING for the OPEN ITEM above (bare
parkand roots without the Speckit overlay), ANY lane — Brett Heap, 2026-09-10, verbatim: "rule on the #92 open item: skip roots without the overlay". Relayed by lane openreposhape-2 (openRepoShape-2), session 8fa66b30, 2026-09-10T20:59Z. Reading: in the no-estate sweep (barepark, #91), a root that has no.specify/extensions/git/overlay is reported as SKIPPED with the installer named, does not count as a refusal, and does not fail the run;park <Name>on such a root by name keeps today's refusal. The change lands in opensoft/openRepoTools (the command's home since #94), never here; the governing issue and claim follow there, and workBenches re-vendorsparkafterwards.