Repository navigation
docs: trim always-loaded agent guides - #688
Draft
dmihalcik-virtru wants to merge 1 commit into
Draft
dmihalcik-virtru wants to merge 1 commit into
dmihalcik-virtru wants to merge 1 commit into
Conversation
Cut content a session can rederive from the repo (layout tables, standard pytest invocations, generic debugging steps, the test-file tour) from the root AGENTS.md, which CLAUDE.md symlinks to and every session loads. Move xtest-only material to where it loads lazily: the XT_FORCE_SUPPORTS walkthrough and XT_* variables into xtest/AGENTS.md, and the known-failure recipes into a .claude/skills/xtest-troubleshooting skill. The root keeps a one-line warning that version gates make an unreleased fix skip silently, plus a pointer to the recipes for agents that don't read skills. Signed-off-by: Dave Mihalcik <dmihalcik@virtru.com>
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Root
AGENTS.md(whichCLAUDE.mdsymlinks to) loads into every agent session. This trims it from ~10.5k to ~5.5k chars.Cut: things a session can work out by reading the repo
platform/is installed rather than committed, and thedist/wrappers come fromotdf-sdk-mgr install.pytest file.py/file.py::testexamples.ec_tdf_enabledrequirement stay.xtest/AGENTS.md.xtest/AGENTS.mdlayout.Moved: xtest-only material, so it only loads when needed
XT_FORCE_SUPPORTSwalkthrough moves toxtest/AGENTS.md. The root keeps a one-line warning, because the failure is silent: version gates skip the cell and the run goes green.XT_*variable bullets are dropped from the root. They were already in xtest's env table, which now also notes theforce-platform-supportsCI input..claude/skills/xtest-troubleshooting/SKILL.md, copied word for word. The root keeps a pointer so agents that don't read skills can still find it.Nested guides
xtest/AGENTS.md: drops the layout rows fortest_*.py,conftest.py,fixtures/andtdfs.py.otdf-local/AGENTS.md: drops log commands that were listed twice and two generic "Extending" bullets.Docs only, no code changes.