Skip to content

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

Closed

Description

@brettheap

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...]

  1. Resolve the estate. <Name> → ~/projects/<Name> then ~/Projects/<Name> (people spell it both ways), or the directory $PROJECTS_DIR names; 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 a family.yaml holder-beside-you or a project.yaml); --repo <owner/name> → the local clone under the projects directory whose origin matches, else a refusal naming git clone. Never guesses beyond these; never creates anything.
  2. Drive the verb. Family: the holder's make park (which runs each sibling's own). Standalone: the root's make 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. ARGS and --lane pass straight through.
  3. Say what did not park, and why it is not park's to touch: commits on a root's or leg's main that 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.
  4. 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...]

  1. 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).
  2. Read the manifest workspaces/<org>/<Name>.yaml (or the orgs: override's repository) to learn the holder's (or root's) repository and the members.
  3. Rebuild or refresh the estate. Absent: mkdir <Name>, clone the holder into <Name>/<Name>, make bootstrap, make siblings. Present: holder git pull --ff-only + make bootstrap, make siblings (fetch), and — OPEN DECISION 2 — each sibling's git pull --ff-only + make bootstrap so its legs sit at the new pins. Standalone: the same for one root.
  4. make resume in the holder (or root). Refusals stop nothing else: a feature whose branch moved is named with its reconciliation commands and the rest come back.
  5. Print the layout table and the feature list, then where ct/cts will 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 main anywhere 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 openRepoShape command already is.

Open decisions

  1. --repo semantics: the local clone whose origin matches (recommendation), or clone-if-absent too (no — resume is the command that clones, and it does so from the manifest).
  2. Should resume fast-forward each sibling's main for the person (the step make siblings deliberately 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 running resume is asking for the estate to be current.
  3. Does park with 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.
  4. Command names: park / resume as 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

  1. brettheap commented on Sep 10, 2026

    @brettheap
    ContributorAuthor

    CLAIMED — lane xfactory-2 (xFactory-2), session harness 47c80b53-25d0-407b-8e19-432e9316bf61, 2026-09-10T00:19Z, for the whole of this issue: the park and resume user commands in openRepoShape, installed by openRepoShape --install, branch feat/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:

    1. Comments on this record: none (opened by this lane).
    2. gh pr list --repo opensoft/openRepoShape --state open: none on this object. --state all --search '"park <Name>" OR "resume <Name>" OR "user command"': none.
    3. 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).
  2. brettheap commented on Sep 10, 2026

    @brettheap
    ContributorAuthor

    RULING for the park / resume user 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.

    1. --repo <owner/name> matches a LOCAL clone by origin under the projects directory; none → refuse and name the clone command. Only resume clones, and it clones from the manifest.
    2. resume fast-forwards each sibling's main (git pull --ff-only, then that root's own make bootstrap); a sibling that is dirty or on a feature branch is REFUSED BY NAME and skipped, never reset.
    3. park with no <Name> from a folder inside no estate REFUSES and lists the estates it found under ~/projects / ~/Projects. Nothing is parked by guess.
    4. The commands are park and resume, lowercase, on PATH, installed by openRepoShape --install.

    Everything else in the body stands as written.

  3. brettheap commented on Sep 10, 2026

    @brettheap
    ContributorAuthor

    (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.

  4. brettheap commented on Sep 10, 2026

    @brettheap
    ContributorAuthor

    (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.

  5. brettheap commented on Sep 10, 2026

    @brettheap
    ContributorAuthor

    (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.

  6. brettheap commented on Sep 10, 2026

    @brettheap
    ContributorAuthor

    (lane xfactory-2 (xFactory-2), 2026-09-10T11:37Z) CORRECTION — the MERGED comment above is WRONG: gh pr merge 83 was 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.

  7. brettheap commented on Sep 10, 2026

    @brettheap
    ContributorAuthor

    (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. park and resume are on main and installed on Eagle by openRepoShape --install (3 of 3). Object complete.

  8. brettheap commented on Sep 10, 2026

    @brettheap
    ContributorAuthor

    Ruling 3 above is SUPERSEDED for the no-estate case by #91 (Brett Heap, 2026-09-10: bare park with no estate around the cwd parks every estate). The walk-up, <Name>, --repo and resume keep ruling 3's behaviour.

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