Repository navigation
docs: Conform Install Docs to Install-Composition Policy B - #50
Conversation
There was a problem hiding this comment.
Pull request overview
Updates wt’s documentation to comply with the shll toolkit “install-composition” Policy B by removing per-formula Homebrew install instructions from the user-facing install guide and recording the resulting conformance verdict in the repo’s standards receipt.
Changes:
- Replaced
docs/site/install.md’s “Homebrew (preferred)” section with a “Via shll.ai (preferred)” section that points to the shll.ai bootstrap andshll install wt. - Updated the toolkit-standards conformance receipt (and regenerated the memory index entry) to record Policy B PASS for the audited repo-docs scope.
- Added the fab change record artifacts for this change (intake/plan/status/history).
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| fab/changes/260720-i1il-install-docs-shll-pointer/plan.md | Documents requirements/acceptance for the docs conformance change. |
| fab/changes/260720-i1il-install-docs-shll-pointer/intake.md | Captures the audit + verbatim replacement block for the install docs section. |
| fab/changes/260720-i1il-install-docs-shll-pointer/.status.yaml | Tracks pipeline stage completion for the change. |
| fab/changes/260720-i1il-install-docs-shll-pointer/.history.jsonl | Records the change’s stage transition history. |
| docs/site/install.md | Removes per-formula brew install instructions and points installs to shll.ai. |
| docs/memory/wt-cli/toolkit-standards-conformance.md | Records the install-composition Policy B repo-docs verdict and scope. |
| docs/memory/wt-cli/index.md | Regenerated index description to match updated conformance receipt metadata. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| - **AND** the new section links to the shll.ai curl bootstrap, mentions `shll install wt`, and retains the `wt update` upgrade pointer to `./workflows.md#wt-update` | ||
|
|
||
| #### R2: All other content and files stay intact | ||
| Every other section of `docs/site/install.md` (intro, Manual build, Shell wrapper, `shll shell-install` cross-tool note, "Where wt came from" history, Next steps) SHALL remain byte-identical, and no other file SHALL change: `README.md` (already conformant), `docs/site/workflows.md` (its line ~119 `brew install sahil87/tap/wt` mention documents the `wt update` binary's own reinstall hint — the Policy A-mandated hint shape — and MUST be kept), `docs/site/skill.md` (no install content), and all source code (binary hint strings are Policy A territory, out of scope). Per the `readme-extraction` standard's docs/site-closure rules, no anchor that other pages link to may be removed (`workflows.md` links to `./install.md` and `./install.md#shell-wrapper-enables-open-here` — both unaffected; nothing links to `#homebrew-preferred`). |
There was a problem hiding this comment.
Skipped — R2 asserts the apply-stage diff (its GIVEN is "the working tree after the R1 edit") and was verified at apply time; the memory-receipt update lands at the hydrate stage and the fab/changes/ record at ship — pipeline-managed additions on every fab PR, outside the plan's acceptance scope.
|
|
||
| - **GIVEN** the working tree after the R1 edit | ||
| - **WHEN** `git diff --name-only` is inspected | ||
| - **THEN** `docs/site/install.md` is the only modified file |
There was a problem hiding this comment.
Skipped — T002's git diff check ran at apply time, when docs/site/install.md was the only modified file; the memory and change-record files were added by the later hydrate/ship pipeline stages, which the plan's verification deliberately does not cover.
| ### Functional Completeness | ||
|
|
||
| - [x] A-001 R1: `docs/site/install.md` contains a `## Via shll.ai (preferred)` section with the subset curl bootstrap (`curl -fsSL https://shll.ai/install | sh -s -- wt`), the full-toolkit variant, the `shll install wt` alternative, and a link to https://shll.ai | ||
| - [x] A-002 R2: `git diff` for this change touches only `docs/site/install.md`; README.md, workflows.md, skill.md, and all source code are unchanged |
There was a problem hiding this comment.
Skipped — A-002 records the apply-stage verification (true when checked); hydrate-stage memory writes and the fab change record are pipeline bookkeeping present on every fab PR, not part of the change's acceptance scope.
| - **brew-handling safety**: no code path may SIGKILL brew mid-transaction, and `brew upgrade` may carry no short hard timeout. `brew upgrade` had a 120s `exec.CommandContext` SIGKILL bound (`brew update`/`brew info` 30s, same kill mode). The fix runs `brew upgrade` unbounded (plain `exec.Command`) and routes `brew update` (5 min) / `brew info` (60s) through a shared `newBoundedBrewCmd` helper whose `cmd.Cancel` sends SIGTERM with a 10s `WaitDelay` grace. Full contract: [update-command-contract](/wt-cli/update-command-contract.md) § Brew-handling safety. | ||
| - **`version`** (binary): **PASS — test added** (260719-32su). `wt --version` already conformed — exit 0, version on stdout, ≤2s with no network I/O, first non-empty line the cobra-canonical `wt version <token>` shape, binary name on PATH (`wt`) equal to the tool name. The only gap was SHOULD-level: no test covered `--version` anywhere. The fix adds a version test pinning exit 0 + stderr-empty + the first-line `^wt version \S+$` shape (documenting shll's `versionTokenRE`/`versionPrefixRE`); no version behavior changed. | ||
| - **`shell-init`** (binary): **PASS — fixed** (260719-32su). Two MUST violations: an unsupported/missing shell emitted the wrapper on stdout and exited 0, when any failure MUST exit non-zero with empty stdout, and a missing/unsupported shell MUST be a usage error (exit 2, usage on stderr, empty stdout). The fix makes the shell argument required and constrained to `zsh|bash`, removes `$SHELL` inference, and routes missing/unsupported through the exit-2 direct-exit pattern (`wt.ExitWithError(wt.ExitInvalidArgs, ...)`) with empty stdout. The SHOULD-level eval-in-subshell test was also added. Full contract: [shell-init-contract](/wt-cli/shell-init-contract.md). | ||
| - **`install-composition`** (repo docs) — **Policy B repo-docs half: PASS — fixed** (`260720-i1il`). Policy B forbids per-tool READMEs and doc pages from carrying per-formula `brew install sahil87/tap/<tool>` install instructions; installation points to https://shll.ai (curl bootstrap `curl -fsSL https://shll.ai/install | sh`, subset via `shll install <tool>`). One violation: `docs/site/install.md`'s `## Homebrew (preferred)` section was the per-formula brew instruction — replaced with a `## Via shll.ai (preferred)` shll.ai-pointer section (subset curl bootstrap, full-toolkit variant, `shll install wt`, shll.ai link, preserved `wt update` upgrade pointer). `README.md`'s Install section was already conformant (shll.ai curl bootstrap, no per-formula line). `docs/site/workflows.md`'s `brew install sahil87/tap/wt` mention (the `wt update` reinstall hint) is kept — it is the Policy A-mandated actionable-hint shape, a documented binary behavior, not an install instruction. **Scope**: only Policy B's repo-docs half was audited. Policy A (the binary's probe-before-invoke / graceful-degradation install-hint behavior) and Policy B's tap-formula half are **not yet audited** — no verdict is recorded for them. |
There was a problem hiding this comment.
Fixed — stated the audited surface explicitly (README.md + docs/site/, the user-facing install docs the standard's verification bullet names) and called out docs/specs/build-and-release.md's brew line as outside it (maintainer-facing release-pipeline spec; no verdict recorded for it). (e054ab8)
| ```markdown | ||
| ## Via shll.ai (preferred) | ||
|
|
||
| ```bash | ||
| curl -fsSL https://shll.ai/install | sh -s -- wt | ||
| ``` | ||
|
|
||
| Installs wt (plus the shll meta-CLI) via Homebrew, handling tap trust | ||
| automatically. To install the entire [shll toolkit](https://shll.ai) instead, | ||
| drop the `-s -- wt` suffix; if you already have the `shll` meta-CLI, | ||
| `shll install wt` does the same thing. For the full install story, see | ||
| [https://shll.ai](https://shll.ai). To upgrade later, `wt update` self-updates | ||
| via Homebrew (see the [workflows reference](./workflows.md#wt-update)). | ||
| ``` |
There was a problem hiding this comment.
Fixed — widened the outer fence to four backticks so the nested bash fence renders and the snippet is copy-pasteable verbatim. (e054ab8)
Meta
i1ilPipeline: intake ✓ → apply ✓ → review ✓ → hydrate ✓ → ship → review-pr
Summary
The shll toolkit's install-composition standard (Policy B) centralizes install documentation on https://shll.ai and prohibits per-tool repos from carrying per-formula
brew install sahil87/tap/<tool>instructions.docs/site/install.mdstill opened with a "Homebrew (preferred)" section containing exactly that prohibited instruction, puttingwtout of conformance with a standard the constitution's Toolkit Standards article binds it to.Changes
## Homebrew (preferred)section indocs/site/install.mdwith a## Via shll.ai (preferred)section pointing to the shll.ai curl bootstrap andshll install wt, preserving thewt updateself-upgrade pointerinstall-compositionstandard's Policy B PASS verdict indocs/memory/wt-cli/toolkit-standards-conformance.md