Skip to content

park and resume carve out into opensoft/openRepoTools: its own installer, its own suite, pinned to the openRepoShape commit it was verified against; workBenches pins both standards by vendored copy (follows #77, #82) #92

Closed

Description

@brettheap

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.

  1. The user commands — openRepoShape, park, resume, three bash files at this repository's
    root, all three placed by openRepoShape --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). park and resume MOVE. The openRepoShape shim STAYS: it is the
    scaffold's front door, and what it fetches is setup.sh and setup-project.py.
  2. The Make targets — templates/assembly-root/Makefile and templates/family-root/Makefile,
    copied into every project and digest-pinned in its contracts/shape-pin.yaml. UNCHANGED, and
    see the acceptance criterion below: nothing under templates/ is touched by this work, so no
    project receives an upstream-changed row from it.
  3. The mechanics — the Speckit git extension's park.sh, resume.sh and workspace-common.sh
    in workBenches, installed by setup-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.
  4. The record — the person's <user>-wip repository, named once in ~/.agents/workspace.yaml.
    UNCHANGED, and nothing in Brett's dotfiles names the install line this change alters
    (checked: brettheap/new-workstation documents 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)

  • park and resume are DELETED; so is tests/test_park_resume_commands.py (1350 lines), which
    goes with them. tests/test_park_resume_targets.py STAYS — it tests layer 2, the Makefile verbs,
    and layer 2 is not moving.

  • openRepoShape --install goes back to placing ONE command. INSTALLABLES becomes 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 -- --install
    

    It 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.html follow, and no new ## heading is added, so
    README_HEADING_TO_HANDBOOK_ID and the page's section ids do not move. AGENTS.md keeps rules 1-4
    of "Parking and resuming" (they are about make park and make 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 -n step drops park and resume.
    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 of make park and make resume today; none mentions the
    installed commands, which is what makes the carve invisible to projects.
  • No breakage window. After S2 a person who already has park keeps 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/bin comes before /usr/local/bin (Layer 0 writes that into /etc/skel/.zshrc and
    .bashrc), so an --install run 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, resume and both installers are
    bash; on Windows the way in is WSL2, exactly as it is for setup.sh. openRepoTools ships no
    PowerShell twin and no Invoke-WebRequest two-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)

  1. 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 on main again. 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.
  2. $OPENREPOSHAPE_REMOTE_BASE → $OPENREPOTOOLS_REMOTE_BASE in resume. 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).
  3. openRepoTools' merge method: squash only, matching this repository, so a pinned commit is
    always a commit on main that the next reader can fetch. Set on the repository the same day.

Activity

  1. brettheap commented on Sep 10, 2026

    @brettheap
    ContributorAuthor

    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, branch feat/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 at 5777ca8b3f7b5167750073492129bae1a46ea83c (main today, pre-S2) by both W1 and T1.

    Reads before claiming:

    1. Comments on this record: none (opened by this lane).
    2. 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.
    3. git ls-remote --heads origin | grep -i -E 'tools|pin|carve|vendor': openRepoShape has three descendant…pin branches from other lanes, a different object; workBenches none; openRepoTools has only main (d0a29ab).
  2. brettheap commented on Sep 10, 2026

    @brettheap
    ContributorAuthor

    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 row xFactory-2 is 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"): bare park with 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); resume keeps its refusal; run_one_estate()/refuse() factored in park; 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 compares git 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/resume from d090a7a via openRepoShape --install (3 of 3); your P3 operator step replaces that.

  3. brettheap commented on Sep 10, 2026

    @brettheap
    ContributorAuthor

    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: bare park with 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 from 5777ca8 to d090a7a: 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/resume changes belong in opensoft/openRepoTools (PR #1 there), not here.

  4. brettheap commented on Sep 10, 2026

    @brettheap
    ContributorAuthor

    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-run finds five estates and exits 1, because MedxEHR, MedxGlass, openDox and openXdox carry no Speckit overlay and their make park refuses (exit 2). Whether openRepoTools' park should 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), openRepoShape feat/carve-estate-commands (d62c834 pushed, draft PR pending).

  5. brettheap commented on Sep 10, 2026

    @brettheap
    ContributorAuthor

    MERGED — lane xfactory-2 (xFactory-2), session 8fa66b30, 2026-09-10T17:05Z: opensoft/openRepoTools PR #1 → 9fbf01c789c311aa7c190b238a3df48ea39473e1 (squash). park/resume now live there at openRepoShape d090a7a's bytes plus header, provenance and the OPENREPOTOOLS_REMOTE_BASE rename; installer openRepoTools --install; openRepoShape mounted at upstream/openRepoShape pinned d090a7a. Adversarial review: 0 defects, 4 nits (README pin-bump order fixed in 95347fa). The pointer URL raw.githubusercontent.com/opensoft/openRepoTools/main/openRepoTools now resolves, so S2 (#94) leaves draft.

  6. brettheap commented on Sep 10, 2026

    @brettheap
    ContributorAuthor

    MERGED — lane xfactory-2 (xFactory-2), session 8fa66b30, 2026-09-10T17:20Z: openRepoShape PR #94 → 0fa73b7df704266589dcc27afca020c0127fa36f (squash). park, resume and tests/test_park_resume_commands.py are gone from this repository; openRepoShape --install places 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.

  7. added 2 commits that reference this issue on Sep 10, 2026
  8. brettheap commented on Sep 10, 2026

    @brettheap
    ContributorAuthor

    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.

    slice PR main
    T1 openRepoTools content opensoft/openRepoTools#1 9fbf01c
    S2 openRepoShape lets them go #94 0fa73b7
    W1 workBenches vendors + pins openRepoShape opensoft/openBenches#33 f4b943d
    W2 second source openRepoTools opensoft/openBenches#34 3eae325 (closed #32)
    P3 Eagle — dev-bench-base:latest rebuilt 2026-09-10T17:56Z; /usr/local/bin/{openRepoShape,openRepoTools,park,resume} 0755 with sha256 equal to the pin rows; no project.yaml in the image; host ~/.local/bin reinstalled via both README one-liners and cmp-equal to both mains

    Pins: 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 park exits 1 when a root lacks the Speckit overlay; a ruling here lands in openRepoTools. (2) A stale pre-carve ~/.local/bin/openRepoShape --install run 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's desktop.exe credsStore fails from WSL (error getting credentials); the build ran with DOCKER_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 handoff session-handoff-2026-09-10b-lane-xFactory-2.md.

  9. brettheap commented on Sep 10, 2026

    @brettheap
    ContributorAuthor

    RULING for the OPEN ITEM above (bare park and 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 (bare park, #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-vendors park afterwards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions