chore(dev): install rtk-oss from dev-setup.sh #228
Notifications
Due Date
No due date set.
Depends on
Reference: Mortis/Kamino#228
Reference in new issue
Block a user
Spec: Committed skills as agent instructions: ownership, updates and required tools, resolution comment, point 7.
Blocked by docs(contributing): split the contributor docs into CONTRIBUTING.md and docs/contributing/: that issue creates
docs/contributing/setup.md, where this issue writes thertkline (the body of #189 says that line is written here).What
rtk(asrtk-oss, Apache-2.0 only) is a mandatory contributor tool. The repository installs it from the setup script and documents it:scripts/dev-setup.shchecks forrtkat a tested minimum version. If it is missing or older, the script installs the pinnedrtk-ossinto~/.local/bin(onPATHoutside the virtualenv, because the hook calls it from every shell). It downloads a tagged release binary and verifies it against a pinned checksum; ifrtk-osspublishes no checksummed release, it falls back to building from source at the pinned version. Nevercurl | sh. The version and checksum pins live in the script. No crate namedrtk-ossexists on crates.io (checked 2026-11-17), so first confirm on the pinned release whether a checksummed binary exists and how the edition is built from source; if neither works, stop and report.rtkis required, installed bydev-setup.sh, and held as aspirational (no control sees a contributor's machine).The
rtkhook is not part of this issue. It ships as an apm hook primitive and is taken throughapm.ymlin the scope of Re-check Shared agent primitives once the skills source is public. Until it ships,rtkis installed and no tracked hook calls it; that gap is accepted. Nothing is written to the tracked.claude/settings.jsonhere.Acceptance
dev-setup.shon a machine withoutrtkinstalls the pinned version and verifies it; on a machine with a new enoughrtkit leaves it alone.dev-setup.shwarns when it finds a globalrtkhook (rtk init --show), since a globalrtk init -ghook can double-wrap a command with the apm-deployed one. (Whichever of this issue and #194 lands second tests the double-wrap; if this one lands second, keep the warning.)shellcheckpasses; the PR says what was verified and what was not.Notes
.claude/is under CODEOWNERS (all of it).rtk init: it writes aCLAUDE.md, and this repository has none.Review of the map (2026-11-17).
.claude/settings.json. Making sure an agent actually loads the guidance, decision 8, found thatapm audit --cifails on entries apm did not deploy, and its fallback names two keys, not this hook. Where the hook lives in that case is open in The rtk hook if apm's audit keeps comparing the whole settings file. Do step 2 after that ticket and after the retest in the local-settings issue.cargo install rtk-oss --version <pin>. No crate namedrtk-ossexists on crates.io (checked 2026-11-17). The decision says only "falls back tocargo installat the pinned version". First confirm on the pinned release whether a checksummed binary exists and how the edition is built from source; if neither works, stop and report.rtk hook claudeexists (seen inrtk0.42.4).Changed: this issue is now blocked by the ticket on the
rtkhook.Scope changed by The rtk hook if apm's audit keeps comparing the whole settings file (resolution, points 1, 4 and 5):
.claude/settings.json. It ships as an apm hook primitive in a newrtkplugin in the skills source, and Kamino takes it throughapm.ymlin the scope of Re-check Shared agent primitives once the skills source is public. Rule: every hook in the tracked settings file arrives through apm.rtkfromdev-setup.sh(thertk-osscrate correction above still applies) and the setup docs. Until the plugin ships,rtkis installed and no tracked hook calls it; that gap is accepted.rtk init -ghook). The double-wrap check goes with whichever of this issue and the re-check lands second; if this one lands second, keep thertk init --showwarning indev-setup.sh.Moved to Continuous delivery by Which issues must land before the first friend (question 5): with the hook gone to #194, what remains (install from
dev-setup.sh, docs) is aspirational and not a precondition for the first contributor.Body rewritten on 2026-11-20 to the final state of the comments above (final validation round of the map, #87 (comment)). The body is the spec; the earlier comments are history.
dev-setup.shinstall ofrtk-oss, the setup docs and thertk init --showwarning remain; no "Blocked by #196" line.chore(dev): install rtk-oss from dev-setup.sh and track its guarded Claude Code hookto chore(dev): install rtk-oss from dev-setup.shFinal validation round, second pass (2026-11-20): body edited.
docs/contributing/setup.mdwhere this issue writes itsrtkline; one line saying so is in the body.