Skip to content

The Mac path, a rehearsal that creates nothing, and what a failed scaffold leaves: README follow-up of #46, sequenced after #49 #54

Closed

Description

@brettheap

Lane: xfactory-2 (xFactory-2)

RULING — Brett Heap, 2026-09-05, in session, verbatim: "go, file the issue and pick it up after #49 lands", following "read the readme for this repo and lets see if it is complete enought for a novice to install this tool and use it. we have the case for windows only and wsl/linux users and mac users. we need to make sure it is explained for all. i think we have nothing so far for mac users".

The finding

Read against main (e9c4827, 821 README lines). #46 gave the README a "Quick start for a first-time user" — gh install for Homebrew, Debian/Ubuntu, Fedora and WSL2; login and the credential helper; the openRepoShape command; the run — and #49 (in flight, this lane) adds the native Windows route. Three things a novice still meets are not there:

  1. macOS is one line. brew install gh # macOS, or Linux with Homebrew is the only Mac-specific text. Nothing says where git, make and a python3 come from on a Mac (the Xcode Command Line Tools — and a fresh Mac's first git invocation pops that installer), nor that Homebrew itself may need installing first, nor that the stock /bin/bash 3.2 is enough (a grep of setup.sh and openRepoShape for ${x,,}, ${x^^}, readarray, mapfile, declare -A, local -n, |&, &>>, ;;& finds none), nor that the default zsh is irrelevant because both entry points run under bash explicitly. And nothing has ever RUN on a Mac: tests.yml is ubuntu-latest (plus windows-latest after No native Windows path: setup.sh and the openRepoShape command are bash; a Python entry point, Windows CI, and the README path #49).
  2. The gh api variant decodes with base64 -d (README line 123). macOS's BSD base64 wants -D or --decode; --decode is the spelling GNU coreutils and BSD both accept. One token.
  3. A novice can neither rehearse nor recover. setup.sh --local-remote-dir <dir> — "create three BARE repositories in and use them as origins. No network, no gh, and no real repository is created" — is the safest first run there is, the openRepoShape command passes it through, and the README never names it (nor --help). And nothing says what a scaffold that fails after the first gh repo create leaves behind: scaffold-project.py has no rollback (none found in the source), refuses to run over anything that exists, and has no --force on purpose; the exits (--reuse-empty-repo for a zero-commit root; deleting empty legs by hand, which needs the delete_repo scope; a different name) are nowhere a first-time user would look. Nor that --visibility internal exists only on GitHub Enterprise Cloud organisations.

What lands

  1. README § Quick start: a macOS paragraph beside the Windows ones. xcode-select --install for git, make and a python3 that is 3.9 or newer; Homebrew from brew.sh when absent, and the PATH line its installer prints on Apple Silicon; brew install gh; brew install git-filter-repo only for adopting. That bash 3.2 suffices and zsh does not matter, in one sentence each.
  2. base64 -d → base64 --decode in the gh api one-liner. Only the README carries it.
  3. README: a rehearsal that creates nothing. --local-remote-dir <dir> (and --help), in the Quick start or the worked example: the same preflight, plan, typed yes, tree and make bootstrap, against three bare repositories on disk, nothing on GitHub — so a novice sees the whole run before touching an organisation.
  4. README: if it fails part-way. Which phases write nothing (everything up to the typed yes), the order the three repositories are created in, that there is NO rollback, and the honest exits. The implementer READS the scaffold's creation order and failure behaviour and writes what is true, not what this brief guesses. One line for internal needing Enterprise Cloud.
  5. macOS CI is the acceptance. tests.yml gains a macos-latest job on the full suite — the bash suites included, macOS has bash — with pytest and git-filter-repo pinned exactly as the Linux job pins them. Green on macos-latest is what "runs on a Mac" means here: there is no Mac on this side, the same principle No native Windows path: setup.sh and the openRepoShape command are bash; a Python entry point, Windows CI, and the README path #49 set for Windows. A test that is Linux-only in fact is skipped by an explicit marker naming why, never loosened.
  6. Hygiene cap moves by the lines added, with the dated rationale in the tests/test_repo_hygiene.py docstring convention.

Out of this issue: a Windows twin of the openRepoShape command (#49 ruled it out), the templates' .gitattributes (#51), the setup.sh shim (#50). AGENTS.md gains at most one line naming --local-remote-dir as the rehearsal, if the implementer finds an agent needs it; otherwise unchanged.

Nothing about what the shape means changes; the shape still confers nothing.

Sequencing

After #49 lands — Brett's word, above. Both edit README § Quick start's platform paragraph, the hygiene cap line and tests.yml. Branch from the post-#49 main in worktree ~/projects/openRepoShape-worktrees/macos-quick-start; one PR, body Lane: xfactory-2 (xFactory-2) then Claim: <this issue>.

Claim + sibling disclosure

CLAIMED — lane xfactory-2 (xFactory-2), a SECOND window of the lane: session harness 42466ae1-e3f5-42d1-b680-9bf896e6e8e8 (Claude Code, profile team-04a, cwd ~/projects/openRepoShape, cross-session name openreposhape-b1 [90c755]), 2026-09-05T20:07Z, for the whole of the above. The lane's other window (xFactory-2 [8247c3], harness 6bdb2e35) holds #49 and its worktree; neither is touched, and it is told of this claim with this filing. Rule 1 reads: (1) no existing governing record — #43/#46 landed the quick start this extends; (2) gh pr list --state all --search "macOS": #46 and #14, both merged, neither adds a Mac path; --search "homebrew xcode": none; (3) gh issue list --state all --search "macOS" and --search "rehearsal local-remote-dir novice": none; (4) git ls-remote --heads origin | grep -iE 'mac|darwin|novice|rehears|quick|install': no branch. Sibling lanes on this repository: xFactory-1 (update-shape messages on family roots) and openxfactory-4-opendox-extraction (#40/#42 landed) — no overlap.

Lane: xfactory-2 (xFactory-2)

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