You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prefer RTK guidance for noisy gx agent commands (#515)
Agents need concrete compact-command examples in the gx prompt and managed AGENTS snippet. This adds an RTK prompt slice and matching skill guidance while keeping Guardex internals on raw command output for parsed contracts.
Constraint: rtk may be absent from PATH, so guidance must fall back cleanly without making it a hard dependency
Rejected: Routing internal git helpers through rtk | RTK output filtering would break --porcelain, --json, and other parsed stdout contracts
Confidence: high
Scope-risk: narrow
Directive: Do not wrap machine-readable Guardex command calls with RTK unless the parser contract is changed and tested
Tested: /home/deadpool/.local/bin/rtk test node --test test/prompt.test.js test/metadata.test.js
Tested: /home/deadpool/.local/bin/rtk test openspec validate agent-codex-optimize-gx-to-use-rtk-2026-05-04-06-03 --strict
Tested: git diff --check
Not-tested: Full repo test suite
Co-authored-by: NagyVikt <nagy.viktordp@gmail.com>
Co-authored-by: OmX <omx@oh-my-codex.dev>
When inspecting or verifying, prefer `rtk` compact wrappers if available (`rtk git status`, `rtk grep`, `rtk test <cmd>`). Do not wrap commands whose stdout is parsed by scripts.
When inspecting or verifying, prefer `rtk` compact wrappers if available (`rtk git status`, `rtk grep`, `rtk test <cmd>`). Do not wrap commands whose stdout is parsed by scripts.
0 commit comments