Repository navigation
feat(guide): generic 'conventions first' rule in guide, skill and MCP initialize (#1395) - #1396
Merged
Merged
Conversation
… initialize (#1395) One workspace-independent rule: before writing a memory, look for the workspace's memory convention (a *conventions* room or doc, AGENTS.md, CLAUDE.md); follow it if present, else use the defaults. Shared constant in uteke_core::guide feeds the guide bullet and the MCP initialize `instructions`; both skill copies get a matching section. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
🔍 Cora AI Code Review✅ No issues found. Code looks good! Review powered by cora-code · BYOK · MIT |
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.
What
uteke_core::guide: newCONVENTIONS_FIRSTconstant;recall_guidegets one bullet with the same wording (souteke guideandGET /guideshow it).initializeresponse gains aninstructionsfield: the same rule plus a pointer touteke guide. The full guide is deliberately not injected.uteke-memoryskill: new "Conventions first" section in both byte-identical copies (parity test unchanged and green).Why
Closes #1395. A baseline rule that works for anyone: before writing, look for the workspace's memory convention (a
*conventions*room or doc, AGENTS.md, CLAUDE.md), follow it if present, otherwise use defaults. It names no owner-specific room and uses the room-name filter from #1336.Testing
-D warnings,cargo test --workspace, vecq-only core lib tests greenuteke guide, and stay under 800 charsinitializenow has an optionalinstructionsfield andGET /guidetext gains one bullet. Both are additive; to be noted on cloud fix(ci): find artifacts recursively — merge-multiple adds subdir #117 (MCP/guide are CORE-adjacent)instructions🤖 Generated with Claude Code