Skip to content

docs(hooks): add "reading the full output" to agent instructions#2156

Open
tiagodocouto wants to merge 1 commit into
rtk-ai:developfrom
tiagodocouto:fix/hooks-document-full-output
Open

docs(hooks): add "reading the full output" to agent instructions#2156
tiagodocouto wants to merge 1 commit into
rtk-ai:developfrom
tiagodocouto:fix/hooks-document-full-output

Conversation

@tiagodocouto
Copy link
Copy Markdown

Summary

  • Adds a "Reading the full output" section to every agent instruction template (hooks/*/rtk-awareness.md and rules.md). The templates tell agents to run commands through rtk, but not how to recover the complete, unfiltered output when the filtered summary isn't enough — e.g. to confirm a "tests pass" / "build clean" claim rather than skim it. Both raw paths already exist (rtk proxy <cmd> and the [full output: <path>] tee log) but weren't documented where agents actually read. Mirrors the principle already in CONTRIBUTING.md (respect explicitly-requested detail).
  • The Claude template also replaces a dangling Refer to CLAUDE.md line with rtk --help.
  • Docs-only; the section is identical across all 7 templates.

Test plan

  • cargo fmt --all && cargo clippy --all-targets && cargo test — fmt clean, test 1974 passed, 0 failed. (clippy hits a pre-existing uninlined_format_args lint in build.rs, untouched by this docs-only diff; CI is green on develop.)
  • Manual testing: inspected rtk cargo test (filtered) vs rtk proxy cargo test (raw) vs the [full output: <path>] tee log against a failing and a non-compiling crate — the documented behavior matches.

Agent instruction files explained how to run commands through rtk but not
how to recover the complete, unfiltered output when the filtered summary is
not enough (e.g. to confirm a test or build claim). Add a short "Reading the
full output" section to every agent template, pointing to `rtk proxy <cmd>`
and the `[full output: <path>]` tee log.

The Claude template also swaps its dangling "Refer to CLAUDE.md" line for
`rtk --help`.
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented May 29, 2026

CLA assistant check
All committers have signed the CLA.

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