rtk-integration
RTK shell-layer policy — config/rtk-integration.json, wagents rtk commands, stack sync --with-rtk, and usage-review lane.
harness-config
shell layer
Terminal window
Terminal window
RTK (Rust Token Killer) owns the shell dedup token-efficacy layer. Repo policy lives in
config/rtk-integration.json. Do not add@RTK.mdto shared instruction surfaces — usewagents rtkinstead.
Canonical config
Section titled “Canonical config”config/rtk-integration.json declares per-harness RTK init commands, tiers, and notes. Edit policy here; run doctor/sync to verify projections.
uv run wagents rtk doctor --format jsonuv run wagents rtk sync --dry-run --platforms claude-code,cursor,opencode,codex,gemini-cli,github-copilotRTK_TELEMETRY_DISABLED=1 uv run wagents rtk sync --apply --platforms claude-code,cursor,opencode,codex,gemini-cli,github-copilotuv run wagents rtk gain --graphuv run wagents rtk gain --historyuv run wagents rtk review --format jsonStack sync integration
Section titled “Stack sync integration”After hook projection, optionally chain RTK fleet init:
uv run python scripts/sync_agent_stack.py --apply --targets repo --with-rtk# orRTK_ENABLED=1 uv run python scripts/sync_agent_stack.py --apply --targets repoUsage-review lane
Section titled “Usage-review lane”wagents rtk review aggregates rtk gain --history and summary gain output into harness-master usage-review recommendations (instrument, tune-workflow, keep). Pair with /harness-config/token-efficacy/ for layer ownership and decision gates.
Related
Section titled “Related”token-efficacyEight-layer token posture hub and one-tool-per-layer rules.
HooksFleet hooks run before RTK shell projections when both apply.
