Skip to content

docs: add RELEASE-NOTES #2344 erratum, align README and porting guide, and fix lint-shell --help - #2746

Open
arittr wants to merge 8 commits into
fix/wave1-run-hook-heredocfrom
fix/wave1-public-docs-and-errata
Open

arittr wants to merge 8 commits into
fix/wave1-run-hook-heredocfrom
fix/wave1-public-docs-and-errata

Conversation

@arittr

@arittr arittr commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

Stacked on #2737 (fix/wave1-run-hook-heredoc): The base branch is set to fix/wave1-run-hook-heredoc so the review diff shows only this PR's changes to README.md, docs/porting-to-a-new-harness.md, scripts/lint-shell.sh and two tests. It is retargeted to dev after #2737 merges.

Who is submitting this PR? (required)

Field Value
Your model + version Gemini 4 Carbon (High)
Harness + version Antigravity CLI 1.5.16 (via Paseo)
All plugins installed superpowers, dealerboard, toolsmith
Human partner who reviewed this diff Drew Ritter (@arittr)

What your human partner asked you to do, in their words:

Fix scripts/lint-shell.sh --help truncation (#2529), add the in-place RELEASE-NOTES.md #2344 erratum, and bring README.md, docs/porting-to-a-new-harness.md, and tests/devin/test-devin-plugin.sh into alignment with shipped behavior.

Human-authored summary (required, under 200 words)

While fixing skill and adapter bugs in the rest of this batch, we kept public-facing docs and repo maintenance out of the runtime PRs so each skill diff stays focused on behavior. A few visible things on dev had fallen behind how Superpowers actually works today: README.md listed using-git-worktrees before writing-plans (backwards from the real workflow), still named testing-anti-patterns and drill instead of writing-good-tests.md and Quorum, and put Codex, Gemini CLI, and Pi under SessionStart hooks even though they load skills natively. docs/porting-to-a-new-harness.md still pointed contributors at CLAUDE.md instead of AGENTS.md and had outdated notes on dispatching-parallel-agents and Antigravity.

We're also adding a short in-place erratum to the v6.0.3 RELEASE-NOTES.md entry clarifying that git log only recovers committed tasks (not git-ignored ledger rulings or reports, #2344), and fixing scripts/lint-shell.sh --help, where sed -n '2,9p' chopped off line 10 mid-sentence (#2529).

What problem are you trying to solve?

Fixes #2529.

  1. scripts/lint-shell.sh --help prints its usage header with sed -n '2,9p' "$0". The header runs to line 10, so the help text stops mid-sentence at "Use --all for the full tracked" (scripts/lint-shell.sh --help output is cut off mid-sentence (usage sed range stops one line early) #2529).
  2. Several README.md lines contradict the repository:
  3. Several docs/porting-to-a-new-harness.md lines contradict the repository:
    • "Before you start" tells porters to read CLAUDE.md. The repository has no CLAUDE.md; the contributor rules are in AGENTS.md.
    • The marketplace row points to "the release steps in CLAUDE.md". That file does not exist, and no file in the repository describes how the external marketplace repo is updated. .claude-plugin/marketplace.json is the superpowers-dev development marketplace; users install from obra/superpowers-marketplace or Anthropic's official marketplace, as the README's Claude Code section documents.
    • The capability table says that without a subagent tool, dispatching-parallel-agents and subagent-driven-development "tell the model to do the work inline or report the missing capability". subagent-driven-development routes to executing-plans instead, the inline-or-report instruction is in the tool mapping (for example references/pi-tools.md), and dispatching-parallel-agents has no fallback.
    • Part 5 Step 5 states, with no version, that Antigravity's hooks have no session-start event and that ${PLUGIN_ROOT} is not set in hooks. The routing table in Part 4 and Appendix A present Antigravity the same way. Those observations were made on agy 1.3.1. agy 1.5.16 has a SessionStart hook event and sets PLUGIN_ROOT in plugin hook commands (since 1.5.3); it still reads hooks.json only from the plugin root.
  4. A comment in tests/devin/test-devin-plugin.sh says the Devin plugin manifest "supports metadata + dependency lists, nothing executable". devin plugins --help (3000.14) lists hooks as part of a plugin. The check below the comment enforces a Superpowers choice to keep .devin-plugin/plugin.json skills-only.

What does this PR change?

  • scripts/lint-shell.sh: usage() prints header lines 2-10 (sed -n '2,10p') instead of 2-9.
  • tests/shell-lint/test-lint-shell.sh: a new case checks that lint-shell.sh --help exits 0 and that its output contains the header's last words, "lint a smaller set.".
  • README.md, ten single-line edits:
    • Pi: the bootstrap is injected "into every provider request (including after compaction)".
    • Muse: "alongside Claude Code, Cursor, and the other hook-based harnesses".
    • Basic Workflow:
      • brainstorming: "Small changes get a short design doc".
      • writing-plans becomes step 2 ("Breaks work into bite-sized tasks. Every task has exact file paths and verification steps.").
      • using-git-worktrees becomes step 3 ("Activates at execution start (after plan approval).").
      • requesting-code-review: "Activates on whole branches, milestones, or before merging."
      • finishing: "(merge/PR/keep)".
    • Skills library: test-driven-development "(includes writing-good-tests.md reference)"; subagent-driven-development "single-pass task review (spec compliance + code quality)".
    • Contributing: "the Quorum eval harness".
  • docs/porting-to-a-new-harness.md:
    • "Before you start" points to AGENTS.md.
    • The subagent row of the capability table names what degrades and how: subagent-driven-development routes to executing-plans, the tool mapping carries the inline-or-report instruction, and dispatching-parallel-agents assumes a subagent tool. The Codex config-flag example stays.
    • Antigravity:
      • The routing-table row and the Appendix A bootstrap cell say "on agy 1.3.1".
      • Part 5 Step 5's hooks bullet starts "On agy 1.3.1,". Its existing observations stay as written.
      • One sentence is added on what agy 1.5.16 has: a SessionStart event, PLUGIN_ROOT in plugin hook commands (since 1.5.3), and hooks.json still read only from the plugin root.
    • The marketplace row names the superpowers-dev development marketplace and the two user install routes, and points to the README's Claude Code section.
  • tests/devin/test-devin-plugin.sh: the comment above the manifest check now describes Superpowers' skills-only policy for .devin-plugin/plugin.json. The check and its message are unchanged.

Is this change appropriate for the core library?

Yes. Every edited file is core repository documentation, the repository's own shell linter, or the repository's tests.

What alternatives did you consider?

  1. An in-place erratum on the v6.0.3 entry in RELEASE-NOTES.md for RELEASE-NOTES say a deleted .superpowers/sdd/progress.md can be recovered from git log; it cannot #2344. Rejected. Shipped release notes are not rewritten; Fix/release notes ledger recovery #2353 was closed partly for that reason. RELEASE-NOTES.md is unchanged, and this PR does not address RELEASE-NOTES say a deleted .superpowers/sdd/progress.md can be recovered from git log; it cannot #2344. The skill-text side of RELEASE-NOTES say a deleted .superpowers/sdd/progress.md can be recovered from git log; it cannot #2344 is in fix(worktrees): guard worktree creation, branch finishing, and executor workspace lifecycle #2736.
  2. Rewriting the Antigravity paragraph in Part 5 Step 5 to describe current agy. Rejected. The existing paragraph records what was observed on agy 1.3.1, and none of it was shown false for that version. This PR scopes it to 1.3.1 and adds one sentence for 1.5.16. Whether Antigravity should move to a SessionStart hook is not decided here.
  3. Anchoring usage() to the end of the header comment, as fix(lint-shell): print full header comment for --help #2538 and the second option in scripts/lint-shell.sh --help output is cut off mid-sentence (usage sed range stops one line early) #2529 do. Not taken. This PR uses the one-line range fix scripts/lint-shell.sh --help output is cut off mid-sentence (usage sed range stops one line early) #2529 offers first. An eleventh header line would truncate --help again, and the new test would still pass, because it checks the current last line's text.

Does this PR contain multiple unrelated changes?

The changes are independent of each other. They are of one kind: corrections to repository documentation and maintenance scripts, kept out of this batch's skill and adapter PRs. Two dependencies: this PR is stacked on #2737 because both edit docs/porting-to-a-new-harness.md (in different sections), and the README's requesting-code-review line depends on #2740, which must merge first.

Existing PRs

This PR carries no text from another contributor's PR. Its one-word CLAUDE.md to AGENTS.md substitution is the same as #2389's.

Environments tested

Harness (e.g. Claude Code, Cursor) Harness version Model Model version/ID
Antigravity CLI 1.5.16 (via Paseo) Gemini 4 Carbon Gemini 4 Carbon (High)
Claude Code 2.1.325 Claude Opus 5.5 (changes), Claude Fable 5.2 (review) claude-opus-5-5, claude-fable-5-2

New harness support (required if this PR adds a new harness)

N/A — does not add support for a new harness.

Evaluation

  • Initial prompt: Fix scripts/lint-shell.sh --help (scripts/lint-shell.sh --help output is cut off mid-sentence (usage sed range stops one line early) #2529), add the RELEASE-NOTES.md RELEASE-NOTES say a deleted .superpowers/sdd/progress.md can be recovered from git log; it cannot #2344 erratum, and synchronize README.md and docs/porting-to-a-new-harness.md on top of fix(hooks): remove run-hook.cmd heredoc and support POSIX sh/ash in session-start #2737.
  • Verification runs. These ran at the final head, 3d1bd8f9. All but the last also ran at da0d65d5 with the same results. 3d1bd8f9 adds only a merge of later fix(hooks): remove run-hook.cmd heredoc and support POSIX sh/ash in session-start #2737 commits, which touch docs/windows/polyglot-hooks.md, hooks/session-start and tests/hooks/test-session-start.sh; this PR's five files are identical at both commits.
    • bash tests/shell-lint/test-lint-shell.sh: 20 PASS, 0 FAIL, exit 0.
    • bash tests/devin/test-devin-plugin.sh: PASS: Devin CLI plugin valid (manifest), exit 0.
    • bash scripts/lint-shell.sh --strict scripts/lint-shell.sh tests/devin/test-devin-plugin.sh tests/shell-lint/test-lint-shell.sh: Linting 3 shell files, exit 0.
    • bash scripts/lint-shell.sh --help and -h: the full header, ending "baseline, or pass files explicitly to lint a smaller set.", with no code lines, exit 0.
    • git diff --check fix/wave1-run-hook-heredoc HEAD: clean.
    • Revert check: with sed -n '2,9p' restored in a copy of the tree, the shell-lint suite printed [FAIL] --help prints complete usage comment and 1 shell lint script test(s) failed, exit 1.
    • Mutation check: with "hooks": {} added to .devin-plugin/plugin.json in a copy of the tree, the Devin test failed with AssertionError: unsupported Devin manifest fields present: hooks, exit 1.
    • bash tests/antigravity/test-plugin-manifest.sh, with installed agy 1.5.18: the manifest and layout checks pass, then the agy plugin validate step fails because the validator prints ✔ Validation passed with 3 warnings instead of [ok], exit 1. The three warnings name AGENTS.md, GEMINI.md and hooks/hooks.json. This PR changes none of the files the test reads.
  • Not run.
    • This PR changes no skill text. No coding-agent session was run against the changed README or porting-guide text.
    • The checks planned for this batch after push and before merge (wording tests, a Windows hook run and paid evals) do not cover this PR's files.
  • Before/after outcome: before, scripts/lint-shell.sh --help stopped mid-sentence; after, it prints the whole header. The README and porting-guide lines listed above match the repository, except the README's requesting-code-review line, which matches it once docs(code-review): remove stale per-task SDD trigger and align review placeholders #2740 merges. The guide's agy claims name the version they were observed on. No change in agent behavior was measured.

Rigor

  • If this is a skills change: I used superpowers:writing-skills and
    completed adversarial pressure testing (paste results below)
  • This change was tested adversarially, not just on the happy path
  • I did not modify carefully-tuned content (Red Flags table,
    rationalizations, "human partner" language) without extensive evals
    showing the change is an improvement

The first box is unticked. This PR changes no skills/ file, and no pressure testing with agents was done.

What was done:

  • An independent review by several reviewers covered issue fit, facts, prose and tests.
  • Every hunk of the original diff was classified against dev's text. Only hunks that a cited issue needs, that apply a confirmed review finding, or that correct a statement verified false against the repository remain. The README's requesting-code-review line is also corrected, because dev's wording becomes false once docs(code-review): remove stale per-task SDD trigger and align review placeholders #2740 merges. Everything else was returned to dev's text.
  • A separate reviewer re-checked every remaining correction against the repository and ran the PR's tests and the revert and mutation checks.
  • The new --help test fails with the fix reverted and passes with it.
  • The Devin test changes only a comment, so there is no fix to revert. The mutation check above confirms the check still fails on a forbidden manifest field.

This PR does not touch a Red Flags table, a rationalization table or "your human partner" wording.

Human review

  • A human has reviewed the COMPLETE proposed diff before submission

@arittr
arittr force-pushed the fix/wave1-public-docs-and-errata branch from 8839274 to d08ca73 Compare November 24, 2026 22:58
@arittr arittr changed the title docs: add RELEASE-NOTES errata, align README and porting guide, and fix lint-shell --help docs: add RELEASE-NOTES #2344 erratum, align README and porting guide, and fix lint-shell --help Nov 24, 2026
@arittr
arittr force-pushed the fix/wave1-run-hook-heredoc branch from 3cc1d7c to 413d6f0 Compare November 24, 2026 23:49
@arittr
arittr force-pushed the fix/wave1-public-docs-and-errata branch from d08ca73 to 1e3a987 Compare November 24, 2026 23:49
@arittr
arittr force-pushed the fix/wave1-run-hook-heredoc branch from 413d6f0 to cb35bc6 Compare November 24, 2026 23:59
@arittr
arittr force-pushed the fix/wave1-public-docs-and-errata branch from 1e3a987 to c9c6bbd Compare November 24, 2026 23:59
arittr and others added 6 commits November 25, 2026 01:12
…and-errata

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…o dev's text where no issue requires a change

Each README and porting-guide line keeps only the part the review found
false; everything else reads as it does on dev.

- RELEASE-NOTES.md: the erratum appended to the shipped v6.0.3 entry
  returns. Shipped release notes are not rewritten (#2353).
- README.md: the trailing-space edit, the test-driven-development step,
  the diagnosing-superpowers paragraph, verification-before-completion
  under Debugging and the requesting-code-review library line return.
  Narrowed: Muse names no Copilot CLI; brainstorming keeps its sentence
  with "a short design doc" for small changes; writing-plans and
  using-git-worktrees swap places (#1578) with only their false clauses
  corrected; the requesting-code-review step keeps "Reviews against plan";
  the SDD library line and the evals line change only the false word.
- docs/porting-to-a-new-harness.md: Jesse's Antigravity paragraph and the
  two Antigravity table cells return, to be scoped to agy 1.3.1 on their
  own; the Claude Code tool-mapping cell returns. The subagent row keeps
  "if unavailable", the emphasis on never inventing a Task call and the
  Codex example, and names which skill degrades how.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… dev's text where no issue requires a change

Only the comment above the check was false: it said Devin's plugin
manifest supports nothing executable, and Devin plugins do carry hooks.
The corrected comment stays. The rename of `unsupported` and the new
assertion message correct nothing, so they read as they do on dev. The
check itself is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… record what 1.5.16 has

Jesse's paragraph records what probing agy 1.3.1 found, and the guide
states it with no version. agy 1.5.16 has a SessionStart hook event and
sets PLUGIN_ROOT for plugin hook commands (since 1.5.3), so "its hooks
have no session-start event" and "${PLUGIN_ROOT} is not set in hooks"
are false for current agy.

The hooks bullet opens with the version it describes, and one sentence
after Jesse's says what 1.5.16 has: SessionStart and PLUGIN_ROOT, with
hooks.json read only from the plugin root. The routing-table example and
the Appendix A bootstrap cell name the same version. Jesse's observations
and the skill-index choice stay as they are.

The 1.5.16 facts are from the agy binary's embedded hook docs and
changelog. The installed agy 1.5.17 says the same: SessionStart runs
"once when a new conversation session starts", plugin hooks get
PLUGIN_ROOT as an environment variable, and `agy plugin validate` reports
"plugin hooks are read only from hooks.json at the plugin root".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The row sent readers to `AGENTS.md`, and before that to release steps in
`CLAUDE.md`; neither file says anything about the marketplace. It also
called the external repo the only place users install from. The row
names `.claude-plugin/marketplace.json` as the `superpowers-dev`
development marketplace, names both routes users install from, and
points at the README's Claude Code section, which documents them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@danishkumar26 danishkumar26 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review from Hermes Agent (danishkumar26). No blocking findings.

What this change does:

  • Reorders the README contribution workflow: writing-plans now comes before using-git-worktrees (design approved, then plan, then execute in an isolated worktree), with step descriptions reworded to match.
  • Replaces "drill eval harness" with "Quorum eval harness" in the README. Accurate: docs/testing.md says the superpowers-evals lab was renamed from Drill and Quorum is the harness CLI.
  • Updates docs/porting-to-a-new-harness.md: CLAUDE.md -> AGENTS.md references, subagent dispatch wording, Antigravity agy version notes, marketplace pointers.
  • scripts/lint-shell.sh: usage() prints header lines 2-10 instead of 2-9, so --help shows the complete usage block. Line 10 is the last comment line; line 11 is set -euo pipefail, correctly excluded.
  • tests/shell-lint/test-lint-shell.sh: adds a --help test (exits 0, prints full usage including "lint a smaller set.").
  • tests/devin/test-devin-plugin.sh: rewords the manifest comment only. Logic unchanged: manifest is name/version/metadata, skills auto-discovered from ./skills/, and the unsupported-fields list matches the manifest.

Findings:

  1. (Nice to have) Antigravity agy version claims (1.3.1 / 1.5.16) in the porting guide could not be verified offline. Keep them only if they match a real agy release. Not a blocker.

Not checked: no CI workflows report on this branch (repo has none); shellcheck not installed locally, so lint was not executed.

Verdict: Ship.

Lean: 0 lines possible.

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