Repository navigation
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,81 @@ | ||
| # #22: INSTALL.md never tells you to clone the repo | ||
|
|
||
| - Issue: #22 | ||
| - Branch: 22-install-clone-step | ||
| - Started: 2026-10-07 | ||
|
|
||
| ## TL;DR | ||
|
|
||
| INSTALL.md says you need a git clone but no step makes one. This adds an | ||
| explicit `git clone` step at the end of section 1, a note that a private repo | ||
| needs `gh auth login`, a narrow leak-gate exemption so the real clone URL can | ||
| be written, and an explicit, declared skip of the clone block in the install | ||
| rig. | ||
|
|
||
| ## Scope | ||
|
|
||
| In scope: | ||
| - Clone block and private-repo note in INSTALL.md. | ||
| - Leak-gate exemption for the canonical repo URL only, plus self-test cases. | ||
| - Install rig: declare the clone block as deliberately skipped, with a reason. | ||
|
|
||
| Out of scope: | ||
| - Anything else in INSTALL.md or the rig (see Follow-ups). | ||
|
|
||
| ## Acceptance | ||
|
|
||
| - INSTALL.md has an explicit clone step with the real URL. | ||
| - `pnpm check:leaks` and `pn 8000 pm check:leaks -- --self-test` pass. | ||
| - The rig extracts and runs the clone block, or deliberately skips it with a | ||
| comment saying why. This change skips it (see Decisions log). | ||
|
|
||
| ## Test plan | ||
|
|
||
| - `node scripts/leak-gate.mjs --self-test`: new cases prove the URL is exempt, | ||
| and the name rule still fires on the bare name, on a different URL and on a | ||
| longer owner or repo path that merely starts with the URL. | ||
| - `pnpm check:leaks`, `pnpm check:dashes` and the other CI checks. | ||
| - `node rig/self-test.mjs`: new case proves a skipped block is accounted for | ||
| and a stale skip is reported. The container rig needs Docker and is not run | ||
| here. | ||
|
|
||
| ## Decisions log | ||
|
|
||
| - Clone block placed at the end of section 1, not a new heading: the rig keys | ||
| runs to heading slugs, so a new section would renumber ids for no gain. | ||
| - Exemption is a per-rule `contentExemptPattern` that blanks the exact URL | ||
| (optionally `.git`, followed by a non-name character) before the rule | ||
| runs, so any other occurrence of the name on the same line still fires. It | ||
| applies to content scope only, and only to the first-name rule. The URL is | ||
| assembled from fragments in the gate source, as the gate's other samples are. | ||
| - The rig skips the clone block rather than running it: the rig copies the | ||
| working tree into a container that has no network credentials, and the repo | ||
| is private, so a real clone cannot succeed there. Skips are declared in | ||
| `rig/install-plan.mjs` with a reason, and count as claimed in the coverage | ||
| accounting, so a stale skip (block gone from the document) fails the rig. | ||
| - The `gh auth login` note is marked for deletion once the repo is public, as | ||
| the issue asks. gh is not added to the prerequisites install line: the note | ||
| only applies to private access, and adding a package there changes tested | ||
| blocks for a temporary need. | ||
|
|
||
| ## Check results | ||
|
|
||
| - Pass: `check:leaks` and `--self-test`, `check:boundaries`, `check:licence`, | ||
| `check:lib-version`, `check:dashes`, `typecheck`, `node rig/self-test.mjs`. | ||
| - Already failing on main, unchanged by this work: `pnpm test` has 4 failures | ||
| (`create-agent` CANNOT VERIFY case, `inbox` and `inbox-push` shell suites, | ||
| the pane-gate cases). This machine lacks `xxd` and has no `LANG` set, both | ||
| of which INSTALL.md section 1 names as causes. Confirmed identical on a | ||
| clean checkout of main. | ||
| - Already failing: `check:leaks:messages` reports 6 findings in three older | ||
| commits on main, none from this branch. | ||
| - Not run: the Docker install rig (no Docker here). | ||
|
|
||
| ## Follow-ups | ||
|
|
||
| - Tidy: `pnpm check:leaks -- --self-test` fails because pnpm forwards the | ||
| literal `--`; the self-test works as `pnpm check:leaks --self-test`. | ||
| - Remove the private-repo `gh auth login` paragraph from INSTALL.md once the | ||
| repository is public. | ||
| - Reword the `check:leaks:messages` findings in the older commits, or decide | ||
| they are accepted. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
INSTALL.md never tells you to clone the repo (#22) #49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
INSTALL.md never tells you to clone the repo (#22) #49
Changes from all commits
66b03a2f8fe1c2701fe11File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.