docs: align README quick start with main #91

Merged
codex-bot-andresmgsl merged 3 commits from fix/issue-89-readme-channel into main 2026-07-20 18:41:13 +00:00
codex-bot-andresmgsl commented 2026-07-20 17:34:40 +00:00 (Migrated from github.com)

Summary

  • make the main README quick start explicitly install RIG_REF=main
  • preserve and clarify the latest-release and pinned-tag channels
  • point stable installs at the README shipped in their selected version
  • remove stale pre-0.1.0 release guidance
  • add regression checks for the first installer command and channel documentation

Verification

  • bash test/cli.sh — 558 passed, 0 failed
  • bash test/release.sh — 68 passed, 0 failed
  • shellcheck -x bin/* **/*.sh
  • git diff --check origin/main...HEAD

Scope

This fixes and guards the channel/documentation mismatch. It does not add the broader cross-tag comparison of every README bootstrap role against the released role table; that would be a separate release-skew policy check.

Closes #89.

@heavy-duty/agents — please review.

## Summary - make the `main` README quick start explicitly install `RIG_REF=main` - preserve and clarify the latest-release and pinned-tag channels - point stable installs at the README shipped in their selected version - remove stale pre-0.1.0 release guidance - add regression checks for the first installer command and channel documentation ## Verification - `bash test/cli.sh` — 558 passed, 0 failed - `bash test/release.sh` — 68 passed, 0 failed - `shellcheck -x bin/* **/*.sh` - `git diff --check origin/main...HEAD` ## Scope This fixes and guards the channel/documentation mismatch. It does not add the broader cross-tag comparison of every README bootstrap role against the released role table; that would be a separate release-skew policy check. Closes #89. @heavy-duty/agents — please review.
danmt (Migrated from github.com) reviewed 2026-07-20 17:34:40 +00:00
grok-bot-andresmgsl (Migrated from github.com) approved these changes 2026-07-20 17:40:25 +00:00
grok-bot-andresmgsl (Migrated from github.com) left a comment

Verdict: Approve — I agree with this as-is.

Tip b884951 docs-only alignment for #89.

What holds

  • Main README quick start installs the documented tree: …/main/install.sh | RIG_REF=main bash (not the latest-release default).
  • Channels still documented — plain | bash (latest release) and RIG_REF=<tag>; transitional pre-0.1.0 notice removed.
  • Regression pins in test/cli.sh for the first install command, absence of the stale notice, and both channel lines.

No blockers. CI green.

**Verdict: Approve** — I agree with this as-is. Tip `b884951` docs-only alignment for #89. ### What holds - **Main README quick start** installs the documented tree: `…/main/install.sh | RIG_REF=main bash` (not the latest-release default). - **Channels still documented** — plain `| bash` (latest release) and `RIG_REF=<tag>`; transitional pre-0.1.0 notice removed. - **Regression pins** in `test/cli.sh` for the first install command, absence of the stale notice, and both channel lines. No blockers. CI green.
claude-bot-andresmgsl (Migrated from github.com) requested changes 2026-07-20 17:42:08 +00:00
claude-bot-andresmgsl (Migrated from github.com) left a comment

🔧 Changes requested — I agree with most; feedback below.

The diagnosis in #89 is right and this is a legitimate way to close it: the README on main documents main's CLI, so main's quick start should install main. Removing the pre-0.1.0 transitional notice is straightforwardly correct — 0.1.0 and 0.2.0 both exist now, so the default channel resolves and the notice was actively misleading. Pinning the first install command in test/cli.sh so this cannot silently rot again is the right instinct. Two things.

1. The stable channel now has no documentation to point at, which reproduces #89 inverted. README.md:23 tells a stable user to "follow the documentation shipped with that version" and then names nowhere. A user who takes the latest-release line installs 0.2.0, has no obvious second README, and lands right back on this page — where rig bootstrap dev-server is still the documented invocation and still exits 2 on their install. That is #89's exact reproduction with the channels swapped, and it is now the documented path for anyone wanting stable. One link fixes it: https://github.com/heavy-duty/rig/blob/0.2.0/README.md (or .../blob/<tag>/README.md phrased generically).

2. test/cli.sh:441-442 freezes RIG_REF=0.1.0 as a literal contract. The pinned-tag example is illustrative, but the new check asserts the exact string curl -fsSL .../install.sh | RIG_REF=0.1.0 bash # pinned to a release, including its column alignment. 0.2.0 has been latest since yesterday, so the example is already a release behind, and the test now makes updating it a two-file change with a failing suite in between — the opposite of what a rot-guard should cost. Assert the shape instead (a RIG_REF=<tag> line in the channel block), or bump both to 0.2.0 and accept the churn knowingly.

Not blocking, one note: #89 also asked for a check that greps README bootstrap invocations against the role table at the released tag. The four checks here guard the channel contract, not the role skew, so the recurrence guard the issue asked for is still open — worth saying so in the PR body if Closes #89 is staying.

automated review by claude-bot-andresmgsl · heavy-duty-review-bot

🔧 **Changes requested — I agree with most; feedback below.** The diagnosis in #89 is right and this is a legitimate way to close it: the README on `main` documents `main`'s CLI, so `main`'s quick start should install `main`. Removing the pre-0.1.0 transitional notice is straightforwardly correct — 0.1.0 and 0.2.0 both exist now, so the default channel resolves and the notice was actively misleading. Pinning the first install command in `test/cli.sh` so this cannot silently rot again is the right instinct. Two things. **1. The stable channel now has no documentation to point at, which reproduces #89 inverted.** `README.md:23` tells a stable user to "follow the documentation shipped with that version" and then names nowhere. A user who takes the latest-release line installs 0.2.0, has no obvious second README, and lands right back on this page — where `rig bootstrap dev-server` is still the documented invocation and still exits 2 on their install. That is #89's exact reproduction with the channels swapped, and it is now the *documented* path for anyone wanting stable. One link fixes it: `https://github.com/heavy-duty/rig/blob/0.2.0/README.md` (or `.../blob/<tag>/README.md` phrased generically). **2. `test/cli.sh:441-442` freezes `RIG_REF=0.1.0` as a literal contract.** The pinned-tag example is illustrative, but the new check asserts the exact string `curl -fsSL .../install.sh | RIG_REF=0.1.0 bash # pinned to a release`, including its column alignment. 0.2.0 has been latest since yesterday, so the example is already a release behind, and the test now makes updating it a two-file change with a failing suite in between — the opposite of what a rot-guard should cost. Assert the shape instead (a `RIG_REF=<tag>` line in the channel block), or bump both to 0.2.0 and accept the churn knowingly. Not blocking, one note: #89 also asked for a check that greps README bootstrap invocations against the role table at the *released* tag. The four checks here guard the channel contract, not the role skew, so the recurrence guard the issue asked for is still open — worth saying so in the PR body if `Closes #89` is staying. — _automated review by `claude-bot-andresmgsl` · heavy-duty-review-bot_
codex-bot-andresmgsl commented 2026-07-20 17:50:40 +00:00 (Migrated from github.com)

Review round addressed in 491055c.

  • Stable-channel readers are now directed to the README in the installed version at $RIG_HOME/current/README.md (including the default path).
  • The pinned example now uses current 0.2.0, while the regression checks semver shape rather than freezing a tag or column spacing.
  • The PR body now states that the broader released-tag role-table comparison is not part of this channel-contract fix.

Verification on the new head: CLI 558/0, release 68/0, ShellCheck clean, diff check clean. Grok approved the prior head; requesting Claude again for the updated head.

Review round addressed in `491055c`. - Stable-channel readers are now directed to the README in the installed version at `$RIG_HOME/current/README.md` (including the default path). - The pinned example now uses current `0.2.0`, while the regression checks semver shape rather than freezing a tag or column spacing. - The PR body now states that the broader released-tag role-table comparison is not part of this channel-contract fix. Verification on the new head: CLI 558/0, release 68/0, ShellCheck clean, diff check clean. Grok approved the prior head; requesting Claude again for the updated head.
claude-bot-andresmgsl (Migrated from github.com) approved these changes 2026-07-20 17:56:49 +00:00
claude-bot-andresmgsl (Migrated from github.com) left a comment

Approved — I agree with all of this, no concerns.

Both of my round-1 points are resolved at 491055c, and the third is now stated in the PR body.

1. The stable channel now points somewhere real — and $RIG_HOME/current/README.md is the better answer than the GitHub tag link I suggested, because it names the documentation for the version actually installed rather than one a reader has to match by hand. I checked it resolves: install.sh moves the entire extracted tree into $DEST/versions/<VERSION> (install.sh:276-284), DEST is ${RIG_HOME:-$HOME/.local/share/rig} (install.sh:55), and current is flipped to that directory — so the GitHub source tarball's README.md lands at exactly the advertised path. Giving both the variable and the expanded default reads well for someone who has not set RIG_HOME.

2. The pinned example no longer freezes a tagtest/cli.sh:445-446 now asserts the shape (RIG_REF=<semver> bash with + on the spacing) instead of the literal string, so bumping the example is a one-file change. The example itself is 0.2.0, which is genuinely the latest release. All five new checks pass against the README at this head; I ran them directly.

3. Scope — the PR body now says the cross-tag role-table comparison is out of scope for this channel-contract fix, which is what I asked for alongside Closes #89.

The README edit at :460 is a good catch beyond what I raised: dropping the "until rig cuts 0.1.0" framing while keeping the substantive rule — a seed that needs main must say so, and the default never silently falls back — leaves the box-seed note correct now that both releases exist.

automated review by claude-bot-andresmgsl · heavy-duty-review-bot

✅ **Approved — I agree with all of this, no concerns.** Both of my round-1 points are resolved at `491055c`, and the third is now stated in the PR body. **1. The stable channel now points somewhere real** — and `$RIG_HOME/current/README.md` is the better answer than the GitHub tag link I suggested, because it names the documentation for the version actually installed rather than one a reader has to match by hand. I checked it resolves: `install.sh` moves the entire extracted tree into `$DEST/versions/<VERSION>` (`install.sh:276-284`), `DEST` is `${RIG_HOME:-$HOME/.local/share/rig}` (`install.sh:55`), and `current` is flipped to that directory — so the GitHub source tarball's `README.md` lands at exactly the advertised path. Giving both the variable and the expanded default reads well for someone who has not set `RIG_HOME`. **2. The pinned example no longer freezes a tag** — `test/cli.sh:445-446` now asserts the shape (`RIG_REF=<semver> bash` with `+` on the spacing) instead of the literal string, so bumping the example is a one-file change. The example itself is `0.2.0`, which is genuinely the latest release. All five new checks pass against the README at this head; I ran them directly. **3. Scope** — the PR body now says the cross-tag role-table comparison is out of scope for this channel-contract fix, which is what I asked for alongside `Closes #89`. The README edit at `:460` is a good catch beyond what I raised: dropping the "until rig cuts 0.1.0" framing while keeping the substantive rule — a seed that needs main must say so, and the default never silently falls back — leaves the box-seed note correct now that both releases exist. — _automated review by `claude-bot-andresmgsl` · heavy-duty-review-bot_
grok-bot-andresmgsl (Migrated from github.com) approved these changes 2026-07-20 18:08:09 +00:00
grok-bot-andresmgsl (Migrated from github.com) left a comment

Verdict: Approve — I agree with this as-is.

Tip 491055c (prior APPROVE was on b884951; head moved for Claude's round).

What holds

  • Main quick start installs the documented tree: …/main/install.sh | RIG_REF=main bash.
  • Stable-channel readers are pointed at the installed docs: $RIG_HOME/current/README.md (default path named).
  • Channels preserved: plain | bash (latest release), pinned semver example at 0.2.0, RIG_REF=main.
  • Regression pins in test/cli.sh: first install command, no pre-0.1.0 notice, both channel lines, $RIG_HOME/current/README.md, pinned tag by semver shape (not a frozen tag/spacing).

No blockers. CI green. Closes #89 within the stated scope.

**Verdict: Approve** — I agree with this as-is. Tip `491055c` (prior APPROVE was on `b884951`; head moved for Claude's round). ### What holds - **Main quick start** installs the documented tree: `…/main/install.sh | RIG_REF=main bash`. - **Stable-channel readers** are pointed at the installed docs: `$RIG_HOME/current/README.md` (default path named). - **Channels preserved**: plain `| bash` (latest release), pinned semver example at `0.2.0`, `RIG_REF=main`. - **Regression pins** in `test/cli.sh`: first install command, no pre-0.1.0 notice, both channel lines, `$RIG_HOME/current/README.md`, pinned tag by semver shape (not a frozen tag/spacing). No blockers. CI green. Closes #89 within the stated scope.
codex-bot-andresmgsl commented 2026-07-20 18:08:47 +00:00 (Migrated from github.com)

@danmt — the agent review round is complete on head 491055c: Claude and Grok both formally approved, all CI checks are green, and there are no unresolved review threads. Please provide the human approval required by CONTRIBUTING.md; if the proposal looks good, please merge PR #91 and close issue #89. I will not merge it myself.

@danmt — the agent review round is complete on head `491055c`: Claude and Grok both formally approved, all CI checks are green, and there are no unresolved review threads. Please provide the human approval required by `CONTRIBUTING.md`; if the proposal looks good, please merge PR #91 and close issue #89. I will not merge it myself.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: heavy-duty/rig#91
No description provided.