Skip to content

feat(guide): generic 'conventions first' rule in guide, skill and MCP initialize (#1395) - #1396

Merged
ajianaz merged 1 commit into
developfrom
feat/conventions-first-rule-1395
Oct 9, 2026
Merged

ajianaz merged 1 commit into
developfrom
feat/conventions-first-rule-1395

Conversation

@ajianaz

@ajianaz ajianaz commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator

What

  • uteke_core::guide: new CONVENTIONS_FIRST constant; recall_guide gets one bullet with the same wording (so uteke guide and GET /guide show it).
  • MCP initialize response gains an instructions field: the same rule plus a pointer to uteke guide. The full guide is deliberately not injected.
  • uteke-memory skill: 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

  • fmt, clippy -D warnings, cargo test --workspace, vecq-only core lib tests green
  • New tests: the guide bullet equals the shared constant (no drift) and names no specific room; the MCP instructions carry the rule, point to uteke guide, and stay under 800 chars
  • Behaviour notes: initialize now has an optional instructions field and GET /guide text 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)
  • Not tested: how individual MCP clients display instructions

🤖 Generated with Claude Code

… 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]>
@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown

🔍 Cora AI Code Review

✅ No issues found. Code looks good!


Review powered by cora-code · BYOK · MIT

@ajianaz
ajianaz merged commit c4fceaa into develop Oct 9, 2026
15 checks passed
@ajianaz
ajianaz deleted the feat/conventions-first-rule-1395 branch October 9, 2026 02:56
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.

feat(guide): generic 'conventions first' rule in guide, skill and MCP initialize instructions

1 participant