Repository navigation
Description
Lane: xfactory-2 (xFactory-2)
Governing record for a new object: park and resume as USER-LEVEL COMMANDS — park InkRouter from any folder on workstation A; resume InkRouter on workstation B, and the estate comes back. The front door over #77 the way the openRepoShape command is the front door over setup.sh. Design only; not claimed. Depends on #77's S1 (opensoft/openBenches#30) landing first.
Where this comes from
Brett Heap, 2026-09-09: "how about we do a park command that does all this from the workstation A. then a command resume that does all for B. so assuming I have the opensoft/brett-wip repo. and my park and resume commands are installed, then on A just do park --project or park --repo and it defaults to project. so from any folder i say park InkRouter and it goes to Projects or projects since people spell them both ways. and then will get InkRouter all committed, pushed and parked for me. so that I can type Resume InkRouter from B and it magically all comes back and is as if I am still on A." His word for this record: "open the issue".
What stays where it is
The mechanics are the Speckit git extension's (park.sh / resume.sh, #77 ruling 1); the holder fans them out across its members' working clones (siblings.py --make, #80); the manifest lives in the person's <user>-wip repository, namespaced by org, with the per-org override (#77 S1, #81). This object ADDS NO MECHANICS. It finds the estate and drives those, and it prints one summary.
park [<Name>] [--repo <owner/name>] [--dry-run] [--lane <name>] [ARGS...]
- Resolve the estate.
<Name>→~/projects/<Name>then~/Projects/<Name>(people spell it both ways), or the directory$PROJECTS_DIRnames; a FAMILY FOLDER (<Name>/<Name>/family.yaml) wins over a standalone project (<Name>/project.yaml) of the same name; no<Name>→ the estate containing the current directory (walk up to afamily.yamlholder-beside-you or aproject.yaml);--repo <owner/name>→ the local clone under the projects directory whoseoriginmatches, else a refusal naminggit clone. Never guesses beyond these; never creates anything. - Drive the verb. Family: the holder's
make park(which runs each sibling's own). Standalone: the root'smake park. Everything after that is 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's: WIP commits, plain pushes, the manifest, one commit in the workspace repository.ARGSand--lanepass straight through. - Say what did not park, and why it is not park's to touch: commits on a root's or leg's
mainthat were never pushed (the root is PR-only — land them as a PR); a dirty pin bump in the root; ignored local files (.env, credentials) — NEVER carried, by design. - One summary: parked / refused / left, with each refusal's remediation verbatim from the extension.
resume [<Name>] [--repo <owner/name>] [--workspace <owner/name>] [--dry-run] [ARGS...]
- The workspace repository first. Present →
git pull --ff-only. Absent → clone it from~/.agents/workspace.yaml, or from--workspace <owner/name>the FIRST time on a fresh machine, which then writes the config (the only thing in this standard that writes that file, and only when asked to by name). - Read the manifest
workspaces/<org>/<Name>.yaml(or theorgs:override's repository) to learn the holder's (or root's) repository and the members. - Rebuild or refresh the estate. Absent:
mkdir <Name>, clone the holder into<Name>/<Name>,make bootstrap,make siblings. Present: holdergit pull --ff-only+make bootstrap,make siblings(fetch), and — OPEN DECISION 2 — each sibling'sgit pull --ff-only+make bootstrapso its legs sit at the new pins. Standalone: the same for one root. make resumein the holder (or root). Refusals stop nothing else: a feature whose branch moved is named with its reconciliation commands and the rest come back.- Print the layout table and the feature list, then where
ct/ctswill land the person.
Where it lives, how it is installed
In openRepoShape, beside the openRepoShape command: park and resume are bash files at the repository root, installed into ~/.local/bin by the same openRepoShape --install (which installs all three, idempotently), so a second engineer gets them with the README's one line and nothing depends on anyone's dotfiles. Lowercase names; a capitalised alias is shell territory. They fetch nothing themselves: they run the holder's and roots' own Makefiles, which run the extension's own scripts. Tests: offline, bare remotes, a family estate and a standalone project, both ~/projects and ~/Projects spellings, the fresh-machine resume --workspace path, and every refusal.
Limits, stated up front ("as if I am still on A" has edges)
- Unpushed commits on
mainanywhere are reported, never parked. - Ignored files never travel. Secrets come back through the person's secrets manager, not through git.
- Agent sessions do not move; the handoff document (Amendment 4) is the bridge.
- Native Windows: the extension's PowerShell mirror has no park/resume, so these commands are macOS/Linux/WSL2 — documented, as the
openRepoShapecommand already is.
Open decisions
--reposemantics: the local clone whose origin matches (recommendation), or clone-if-absent too (no —resumeis the command that clones, and it does so from the manifest).- Should
resumefast-forward each sibling'smainfor the person (the stepmake siblingsdeliberately leaves alone)? Recommendation: yes,--ff-only, and a refusal that names the sibling when it is not fast-forwardable (dirty, or on a feature branch) — a person runningresumeis asking for the estate to be current. - Does
parkwith no<Name>and no estate around the cwd refuse, or park EVERY estate that has a manifest? Recommendation: refuse and list the estates it found under the projects directory. - Command names:
park/resumeas given, or namespaced (orp park)? Recommendation: as given — no collision in a stock PATH, and the short names are the point.
🤖 Generated with Claude Code
Activity
brettheap commentedon Sep 10, 2026
CLAIMED — lane xfactory-2 (xFactory-2), session harness 47c80b53-25d0-407b-8e19-432e9316bf61, 2026-09-10T00:19Z, for the whole of this issue: the
parkandresumeuser commands in openRepoShape, installed byopenRepoShape --install, branchfeat/park-resume-user-commands. Brett Heap's word, 2026-09-09: "claim 82 and start on it after S1 lands". Authoring starts when #77's S1 (opensoft/openBenches#30) has landed, since these commands drive the extension's scripts; if that is more than four hours from this claim, this lane renews the claim here before authoring (Rule 1's stale rule). The open decisions below are being put to Brett now.Reads before claiming:
gh pr list --repo opensoft/openRepoShape --state open: none on this object.--state all --search '"park <Name>" OR "resume <Name>" OR "user command"': none.git ls-remote --heads origin | grep -i -E 'park|resume|082': none (the make park / make resume: the assembly root and the family holder expose Speckit's verbs, and refuse by name when the overlay is not installed (#77) #80 branch was deleted after its squash-merge).brettheap commentedon Sep 10, 2026
RULING for the
park/resumeuser commands (this issue), ANY lane — Brett Heap, 2026-09-09, walked through by lane xfactory-2 (xFactory-2) as multiple choice; each answer below is Brett's. These settle the body's open decisions and bind the authoring under the claim above.--repo <owner/name>matches a LOCAL clone by origin under the projects directory; none → refuse and name the clone command. Onlyresumeclones, and it clones from the manifest.resumefast-forwards each sibling'smain(git pull --ff-only, then that root's ownmake bootstrap); a sibling that is dirty or on a feature branch is REFUSED BY NAME and skipped, never reset.parkwith no<Name>from a folder inside no estate REFUSES and lists the estates it found under~/projects/~/Projects. Nothing is parked by guess.parkandresume, lowercase, on PATH, installed byopenRepoShape --install.Everything else in the body stands as written.
brettheap commentedon Sep 10, 2026
(lane xfactory-2 (xFactory-2), 2026-09-10T02:48Z) PULL REQUEST OPEN: #83 (
feat/park-resume-user-commands, head e361455). Adversarial review running alongside CI before the merge word is asked for.brettheap commentedon Sep 10, 2026
(lane xfactory-2 (xFactory-2), 2026-09-10T03:37Z) #83 head → f290a2b: an adversarial review of e361455 reproduced ten defects (a refused holder/root still bootstrapped, resetting a pin bump in progress; a clean leg on a feature branch checked out to main by the root's bootstrap; the family folder read from the lowercase manifest id; a false two-orgs refusal; --repo accepting only the bare slug; the walk-up resolving a pinned copy or a worktree as an estate; manifest root: trusted as a path; the workspace pull unguarded; a refused member still receiving the verb; a half-install) — all fixed in one commit, 24 new test parametrizations red on the old code; independent re-verification running before the merge word is asked for.
park/resume: a refused root is never bootstrapped, a leg off its trac…
brettheap commentedon Sep 10, 2026
(lane xfactory-2 (xFactory-2), 2026-09-10T11:36Z) MERGED — #83 → (squash), on Brett Heap's word "merge all three and bump the family pins", after an adversarial review (ten defects fixed in f290a2b) and an independent re-verification. Object complete.
brettheap commentedon Sep 10, 2026
(lane xfactory-2 (xFactory-2), 2026-09-10T11:37Z) CORRECTION — the MERGED comment above is WRONG:
gh pr merge 83was refused ("Pull Request has merge conflicts") because #85 landed first and both grew AGENTS.md and the hygiene caps at the same lines; my script did not stop on the refusal. #83 is still OPEN at f290a2b. A merge of main into the branch follows (the org ruleset forbids force-push, so no rebase), then CI, then the merge.park and resume as installed user commands: one word finds the estate…
brettheap commentedon Sep 10, 2026
(lane xfactory-2 (xFactory-2), 2026-09-10T12:03Z) MERGED (for real this time) — #83 → a58daba (squash), after the merge-from-main commit 77bff97 resolved the hygiene-cap conflict with #85.
parkandresumeare on main and installed on Eagle byopenRepoShape --install(3 of 3). Object complete.Naming: a sixth form, `<user>-wip` — the person's workspace repositor…
brettheap commentedon Sep 10, 2026
Ruling 3 above is SUPERSEDED for the no-estate case by #91 (Brett Heap, 2026-09-10: bare
parkwith no estate around the cwd parks every estate). The walk-up,<Name>,--repoandresumekeep ruling 3's behaviour.park: with no estate around you it parks every estate, in name order,…
The adversarial review's five NITs: F10's all-or-none regains a behav…