Skip to content

Make Install OpenWiz the only install instruction - #3311

Open
jparker2006 wants to merge 14 commits into
mainfrom
cursor/install-openwiz-phrase-b0b8
Open

jparker2006 wants to merge 14 commits into
mainfrom
cursor/install-openwiz-phrase-b0b8

Conversation

@jparker2006

@jparker2006 jparker2006 commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

The install instruction is the phrase Install OpenWiz. A person says that to a coding agent. The agent follows AGENTS.md and does not need a repository URL to begin.

What an agent does

  1. Resolve GitHub's Latest release.
  2. 0.1.0 uses WizSkills 33eef93ba30cd8db256f6fe270e3ed28747a79bd, not the commit in that tag's wizskills.lock (the tag's lock is 0.2.1, f6857cfa8e6abafd84673038f76d8f1f3ef56e56). The command reference is docs/install.md#openwiz-010.
  3. Any other tag, including v0.1.1, is cloned into a new private temporary directory (openwiz=$(mktemp -d)) and follows the commit in that clone's wizskills.lock. A tag with no lock commit stops. The numbered steps in that clone's guide expect build identity 0.1.1. When the version is not 0.1.1, the agent stops unless that guide expects the version.
  4. The numbered steps on this branch's docs/install.md are the 0.1.1 command reference. In them, <tag> is v0.1.1. They are not the steps for 0.1.0 or for a later release.

Today's pages (README, first hour, Grok Bot) point at the 0.1.0 steps. tools/install/install --help opens with The install instruction is: Install OpenWiz.

6b73f0cf corrects the support line. Preflight already accepts aarch64-unknown-linux-gnu. The guide had still said Linux on ARM is not supported, and it described a hard GLIBC_2.39 failure on ARM64 as a warning. ARM64 Linux is a supported target with glibc 2.34 or later. CloudRoom has no ARM64 Linux build. An x86_64 build may warn and still start; an ARM64 package with a hard GLIBC_2.39 requirement does not. That package rebuild is #3298 and #3299, not this pull request.

Checklist

  • The five pages quote Install OpenWiz and do not quote Install OpenWiz from.
  • 0.1.0 keeps the pinned skill, not its lock commit.
  • A later tag is cloned into a new private directory and follows that tag's lock.
  • The numbered steps are the 0.1.1 reference only.
  • The support line matches preflight: macOS and Linux x86_64 or ARM64.
  • python3 -I tools/install/test_phrase.py (6 tests) and docs/evidence/2227/check_docs.py passed locally on 6b73f0cf.

No product path changes, so there is no changes/<ticket>.md. No ticket is linked. The pinned WizSkills install skill still quotes the longer line, and tools/install/tests/journey/test_journey.py still checks that copy.

Other repositories

This pull request does not change WizSkills, WizSite, or WizMarket. Those copies still tell people to paste the longer line. Landing that wording is a separate decision. Do not rewrite existing tags.

Open in Web Open in Cursor 

jparker2006 and others added 2 commits November 26, 2026 09:34
A person says that phrase to a coding agent. AGENTS.md tells the agent to resolve GitHub's Latest release, follow that release's install skill, and run the commands itself. The install guide's commands stay as the reference, and a check refuses any other quoted install line on the public pages.

Co-authored-by: Jake Parker <jparker2006@users.noreply.github.com>
The tests name the phrase and the surfaces. The journey file stays as it was, because the pinned skill still quotes the older line.

Co-authored-by: Jake Parker <jparker2006@users.noreply.github.com>
@cursor

cursor Bot commented Nov 26, 2026

Copy link
Copy Markdown

Verdict: needs changes.

Reviewed head 37356d7d5cbf8f6e1585d040e58b7b171af22489. CI on this head is green, including changelog, ci, lint, rust, web-test, privacy, owned-paths, line-budget and release (1) through (4). git merge-tree against current main is clean. python3 -I tools/install/test_phrase.py passed 4/4. python3 -I tools/install/install --help prints "The install instruction is: Install OpenWiz."

The five pages quote Install OpenWiz on its own line and no longer quote Install OpenWiz from. README and docs/install.md point at AGENTS.md#install-openwiz. That part of the change matches the guard.

Blocking:

  1. AGENTS.md:27-31 tells the agent to read that release's install skill, then sends every version from 0.1.1 onward to one skill, WizSkills tag v0.4.0, and to the numbered steps in docs/install.md. Those steps clone --branch v0.1.1 (docs/install.md:27). Step 3 then says to follow that same guide after cloning <tag>. An agent that resolves a later Latest release, including a future 0.1.2, follows the 0.1.1 skill and, when that skill cannot be read, clones v0.1.1 anyway. wizskills.lock on main is already version 0.5.0, so the hardcoded v0.4.0 skill is not "that release's" skill for main. Fix: keep the 0.1.0 bullet, bind the v0.4.0 skill and the numbered steps to 0.1.1 only, and for any other tag clone that tag and follow the install skill recorded on that tag. When the tag has no row, stop and say so.

The guard does not catch this. It checks that the two skill URLs and releases/latest appear, so the wrong version map stays green.

Also worth doing in the same pass, not blocking on their own:

  • docs/first-hour.md and docs/grok-bot.md quote the phrase and point at docs/install.md. They do not point at AGENTS.md#install-openwiz. The pull request text says those pages point at the AGENTS section.
  • The live install skill people already have still quotes the longer line. This pull request says so, and the journey test still requires that copy. Until WizSkills and WizSite change, a new agent is still handed the longer line. That is outside this diff; it means this merge does not by itself make the short phrase the only install instruction.

Changelog is green because docs/, tools/, AGENTS.md and README.md are non-product paths in .github/actions/changelog/check.py. The no-changelog label is unnecessary for this diff.

I am commenting rather than approving.

jparker2006 and others added 2 commits November 26, 2026 10:17
0.1.0 and 0.1.1 keep their skills. Any other tag is cloned as itself and follows the skill its wizskills.lock records. A tag with no recorded skill stops. The phrase guard checks that map, and the first-hour and Grok Bot pages point at the same agent section.

Co-authored-by: Jake Parker <jparker2006@users.noreply.github.com>
Any Latest tag other than 0.1.0 is cloned as itself and follows the commit in that tag's wizskills.lock. The phrase guard rejects a hardcoded v0.4.0 pin and a v0.1.1 clone, including when those URLs are still present.
@cursor

cursor Bot commented Nov 26, 2026

Copy link
Copy Markdown

The blocking pin is fixed on ee386ee8.

Install OpenWiz is unchanged. 0.1.0 still uses WizSkills 33eef93ba30cd8db256f6fe270e3ed28747a79bd. Every other Latest tag, including v0.1.1, is cloned as itself and follows the commit in that tag's wizskills.lock. On this checkout the lock is 0.5.0 (cf2abfe13020661b47c47adb71afa993caaf16bf). A tag with no lock commit stops. docs/install.md preflight clones --branch <tag>.

Checklist

  • Phrase stays Install OpenWiz on the five pages and in tools/install/install --help.
  • 0.1.0 keeps its fixed skill and docs/install.md#openwiz-010.
  • Later tags derive the skill from wizskills.lock, and the guide clones <tag>.
  • python3 -I tools/install/test_phrase.py: the stale v0.4.0 / --branch v0.1.1 fixture fails while those URLs are present; the checkout passes, 6/6.
  • python3 -I tools/comment-check/check.py diff --base HEAD^1 and the privacy check on this commit passed locally.
  • CI on ee386ee8 (running).

install-openwiz-phrase-guard.mp4

release (4) was cancelled while apt-get waited on the Ubuntu archive, before any test ran. The other release parts, lint, rust, privacy, changelog, owned-paths and line-budget passed.

Co-authored-by: Jake Parker <jparker2006@users.noreply.github.com>
@cursor

cursor Bot commented Nov 26, 2026

Copy link
Copy Markdown

CI on ee386ee8 failed because release (4) was cancelled during apt-get for zsh after the Ubuntu mirror stalled. The phrase guard passed in release (2): python3 -I tools/install/test_phrase.py ran 6 tests and printed OK.

c987ea3b retries that run. Changelog and line-budget are already green on it; the rest is in progress.

@cursor

cursor Bot commented Nov 26, 2026

Copy link
Copy Markdown

CI is green on c987ea3b.

  • Phrase stays Install OpenWiz.
  • Later tags follow wizskills.lock on that tag; 0.1.0 keeps its fixed skill.
  • The stale v0.4.0 / --branch v0.1.1 fixture fails; the checkout passes.
  • CI: changelog, privacy, lint, rust, line-budget, owned-paths, release (1) through (4), ci, and web-test all succeeded.

The screen recording is in the earlier comment on this pull request.

jparker2006 and others added 3 commits November 26, 2026 12:06
The numbered steps expect build identity 0.1.1. Today's release is 0.1.0, and its commands are the guide's 0.1.0 section. A later tag stops unless that clone's guide expects its own version. The README's 0.1.0 section is a heading, so the doc check can see it.

Co-authored-by: Jake Parker <jparker2006@users.noreply.github.com>
The later-tag step cloned into an unset directory. That directory is now a new private temporary directory. 0.1.0 stays on its pinned skill, not the commit in that tag's wizskills.lock.

Co-authored-by: Jake Parker <jparker2006@users.noreply.github.com>
Preflight already accepts aarch64-unknown-linux-gnu. The install guide still said Linux on ARM is not supported, and it described a hard GLIBC_2.39 failure on ARM64 as a warning.

Co-authored-by: Jake Parker <jparker2006@users.noreply.github.com>

Copy link
Copy Markdown
Member Author

Review #3311 at 6b73f0c

Reviewer: Gemini Neon medium (agy), comment-only.

Findings:

  1. high: The tag and commit values are passed to git clone without validation, so a value starting with - could inject options. Validate them against a strict pattern and pass -- before positional args.
  2. medium: One check in test_phrase.py compares the lockfile to itself, so it can never fail. Compare it against the real source of truth.
  3. medium: README.md is no longer covered by the release-pin check. Add it back to the checked files.

VERDICT: CHANGES at 6b73f0c

jparker2006 and others added 4 commits November 26, 2026 21:30
A tag has to match v and three numbers, and a commit has to be 40 hex digits, before either is used. The clone passes -- before the repository. The phrase check compares the lock commit with the install instructions, and the release-pin check covers the README again.

Co-authored-by: Jake Parker <jparker2006@users.noreply.github.com>
A search for v and three numbers still matches a tag that continues with an option. The tag and the commit are accepted only when the whole value matches, and the clone still passes -- before the repository and the directory.

Co-authored-by: Jake Parker <jparker2006@users.noreply.github.com>
Searching the lock file for the commit it just parsed cannot fail. The check still refuses to paste that commit into the install instructions, and it now requires the commit to be the one the published v<version> tag points at.

Co-authored-by: Jake Parker <jparker2006@users.noreply.github.com>
README was only refused when it named the old WizSkills tag or a fixed v0.1.1 clone. It now has to derive the skill from wizskills.lock and clone with -- after the whole tag matches, the same as the install guide.

Co-authored-by: Jake Parker <jparker2006@users.noreply.github.com>
@cursor

cursor Bot commented Nov 26, 2026

Copy link
Copy Markdown

Fixes for Review #3311 at 6b73f0c, new head b2eaee5

  1. high: tag and commit values go into git clone unvalidated. Commit 0bea052. The whole tag must match v and three numeric parts with no leading zeros, and the whole commit must be 40 lowercase hex digits, before either is used. The clone passes -- before the repository and the directory. The tag is the --branch value. The commit is the skill URL, not a git clone argument. A search for v[0-9]+.[0-9]+.[0-9]+ still matches a tag that continues with an option; the whole-value pattern does not.

  2. medium: one check in test_phrase.py compared the lockfile to itself. Commit 3e4475d. The lock commit must equal the commit the published WizSkills tag points at. The instructions still must not paste that commit in as a skill URL.

  3. medium: README.md was no longer covered by the release-pin check. Commit b2eaee5. README is checked with the install guide for wizskills.lock, the safe clone, and the whole-tag pattern.

3ea87ea had already started these three. These commits close what that pass left open.

CI on b2eaee5 is green: changelog, privacy, lint, rust, line-budget, owned-paths, release (1) through (4), ci, and web-test.

Nothing is merged or tagged. A pre-release tag such as v0.1.1-rc.1 stops the install until the pattern is widened.

Copy link
Copy Markdown
Member Author

Review #3311 at b2eaee5

Reviewer: Gemini Neon medium (agy), comment-only.

OpenWiz #3311 (install instruction): fixed: tag/commit are validated, quoted and passed after --; the lock tautology is gone; README is now covered by the pin check. Still open: test_phrase.py checks for "stop and say so", which still matches line 25, so dropping the missing-lock stop rule goes unnoticed; OPEN_RANGE always matches "Python 3.9 or later"; the version check is hardcoded to 0.4.0; and the pin_failures branches have no unit tests. New: published_commit() runs a live git ls-remote in the unit tests, so CI fails whenever the network or GitHub hiccups, and the ^{} lookup only finds annotated tags.

VERDICT: CHANGES at b2eaee5

The missing-lock stop is a sentence of its own, so the no-release stop no longer satisfies it. An open range is a version plus those words, so Python 3.9 or later does not trip it. Any named WizSkills version other than the lock fails, and each refusal has a fixture. The test no longer asks GitHub which commit a tag points at.

Co-authored-by: Jake Parker <jparker2006@users.noreply.github.com>
@jparker2006

Copy link
Copy Markdown
Member Author

Review #3311 at b4457bc

Reviewer family is OpenAI Codex. I inferred Grok (xAI) as the builder from the Cursor attribution.

  • Blocking (high) — AGENTS.md:28, docs/install.md:107. The new fallback sends a 0.1.0 user to a section that summarizes the pinned skill's steps and leaves out the commands for setup and the required skill replacement. I checked the actual 0.1.0 archive. It ships install skill 0.2.0, which tells a restarted agent to run install open. The tagged installer rejects that command. Give the fallback a complete 0.1.0 runbook or a way to recover the pinned skill by commit before proceeding.
  • Blocking (high) — docs/install.md:36, AGENTS.md:35. The 0.1.1 fallback resolves and clones a specific tag, then downloads from GitHub Latest and checks the expected build identity after activation. Using the repo's release fixture, I simulated a selected v0.1.1 and served 0.1.2 as Latest at download time. The documented commands activated 0.1.2. Pass --version "$tag" and check the selected version before activation.
  • Nit — no linked ticket (docs/agents/fleet.md:85). I used the PR description as the spec. There is no ticket-owned path list to check.
  • Nit — tools/install/test_phrase.py:160. The forged-lock test asserts that the string it just inserted is present and differs from the original. All 10 phrase tests still passed after I replaced the checkout's lock commit with a different 40-hex string in a scratch copy. The test can either exercise an independent expected pin or focus on the documented URL rule.

The five docs and installer help use the requested phrase. The test diff is within the repo's budget. The phrase guard, docs evidence check, installer, pull and install journey tests passed locally. I also verified help output and ARM64 preflight. GitHub CI is green on this head.

VERDICT: CHANGES at b4457bc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants