fix: address review findings on formula templates and BOOTSTRAP docs

- upgrade-dependency.toml: fix forge upgrade command (forge update, not
  forge install); remove redundant `npm install` after lockfile write;
  simplify description to "Upgrade {{package}} to {{to_version}}" so it
  reads cleanly when from_version is omitted
- add-rpc-method.toml: remove dead `namespace` variable; inline namespace
  derivation logic into register-method step description
- BOOTSTRAP.md: mark formula label entry as requiring feat/formula merge;
  add YAML front matter example so operators know the issue schema

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
openhands 2026-03-17 16:52:49 +00:00
parent d16dc6175d
commit 88eed09e71
3 changed files with 8 additions and 12 deletions

View file

@ -1,7 +1,7 @@
# formulas/upgrade-dependency.toml — Upgrade a package dependency
name = "upgrade-dependency"
description = "Upgrade {{package}} from {{from_version}} to {{to_version}}"
description = "Upgrade {{package}} to {{to_version}}"
version = 1
[vars.package]
@ -38,11 +38,11 @@ description = """
Run the appropriate upgrade command for ecosystem={{ecosystem}}:
- npm: npm install {{package}}@{{to_version}} (or @latest)
Then: npm install (to sync lockfile)
- cargo: cargo update -p {{package}} [--precise {{to_version}}]
Or bump version in Cargo.toml, then: cargo build
- forge: Update version in foundry.toml or gitmodules, then:
forge install {{package}} (or forge update {{package}})
- forge: forge update {{package}}
(Use forge install only if reinstalling from scratch after manually
editing the commit hash in .gitmodules or lib/)
Confirm the lockfile / manifest now reflects {{to_version}}.
"""