docs: AGENTS.example.md names the surfaces that load from ~/.openmax/ - #224
Merged
Merged
Conversation
The trimmed template said every surface the system prompt names also loads from ~/.openmax/. Memory is project-only (.openmax/memory) and providers.json is global-only, so name the five that do: tools, skills, prompt templates, hooks, permissions. Drops the parenthetical the frozen prompt already carries (run --check after writing) so the file keeps its headroom under the cap: 1,953 bytes, guard green.
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.
Why
Follow-up to #223. The trimmed
AGENTS.example.mdsaid the file surfaces the system prompt names "each also load from~/.openmax/". Two of them do not: memory is project-only (.openmax/memory/,memory.rs), and providers is global-only (~/.openmax/providers.json). The file's own Development rule is "never invent paths or claim missing features", so the sentence has to be exact.Summary
~/.openmax/mirror: tools, skills, prompt templates, hooks, permissions (registry::external_tool_dirs,skills::skill_dirs,templates::template_dirs,hooks::hook_dirs,permissions::permission_files), project winning on a name collision as README and docs/extending.md state.agents_example_fits_the_injection_capstays green.Test Plan
cargo test -p open-max-core --lib agents_example_fits_the_injection_cap: passes at 1,953 bytes.Greptile Summary
This update makes the example project instructions accurately name the five extension surfaces that can load from
~/.openmax/: tools, skills, prompt templates, hooks, and permissions. The project-first precedence guidance remains intact. Focused checks confirmed those loading and precedence behaviors, and the revised example remains within the instruction-injection limit.Confidence Score: 5/5
Safe to merge: the updated documentation matches the implemented extension-loading behavior.
Focused Rust tests passed for the instruction-size guard and project-over-global precedence across tools, skills, prompt templates, hooks, and permissions. The revised example measured 1,954 bytes, below the 2,000-byte limit.
Files Needing Attention: No files need further attention.
What T-Rex did
Reviews (1): Last reviewed commit: "docs: AGENTS.example.md names the surfac..." | Re-trigger Greptile