-
Notifications
You must be signed in to change notification settings - Fork 1
Modernize AGENTS.md, add MCP memory reference server, generator golden tests & docs #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
- refresh AGENTS and docs for 2025-2026 agent workflows - add MCP memory server reference with tests - add generator golden tests and templates AI-Generated: Yes Reviewed-by: N/A
CI Feedback 🧐A test triggered by this PR failed. Here is an AI-generated analysis of the failure:
|
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
|||||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||||||||||
User description
Motivation
AGENTS.mdthe canonical, cross-tool agent interface and adding minimal integrations for modern coding agents (Copilot, Claude Code, Cline, etc.).Description
AGENTS.mdcanonical and AGENTS-first: replaced/streamlined root AGENTS.md and added guidance that tool-specific files must reference it; added pointer docs indocs/guides/AGENTS_AND_TOOL_RULES.mdand updatedCLAUDE.mdand templates to defer to AGENTS.md.src/mcp-memory/with a file-backed JSON MemoryStore and an HTTP JSON-RPC (MCP-style) server exposingadd_memory,search_memory,summarize_memory,resources/list, andresources/read.AGENTS.md.hbstemplates, conditional generation fixes (skip packages when not selected), exposeformat:checkin generatedpackage.jsontemplates, and addVIBECODE_TEST_YEARsupport for deterministic test runs.src/validate.js(runs lint, format:check, test),package.jsonscripts (format:check,mcp-memory),.eslintrc.cjs(basic ESLint config), and GitHub Copilot / PR templates plus an agent task checklist template for multi-agent coordination.tests/setup/generator-golden.test.js+tests/golden/setup-output.snapshot.json), and a small contract-first example demonstrating a contract test pattern.Testing
pnpm test(runs Node.js built-in tests undertests/), which executed the MCP MemoryStore unit tests, MCP server integration test, and generator golden test; all tests passed locally (4 tests, 0 failures).node src/test-setup.js(used by generator golden test) and refreshed the golden snapshot attests/golden/setup-output.snapshot.jsonto lock expected scaffold hashes.node src/validate.js(invoked bymake validate) which runspnpm run lint,pnpm run format:check, andpnpm test— this command was exercised during development and the test step passed.Commands to validate locally
pnpm installormake installpnpm run test-setup(deterministic generator run)pnpm testmake validateornode src/validate.js(runs lint + format check + tests)Files/areas touched (high level)
AGENTS.md,CLAUDE.md,README.md,docs/(new guides)src/mcp-memory/*(memory store + server)src/validate.js,src/setup.js,src/test-setup.jstemplates/*(AGENTS templates, package.json.hbs updates)tests/mcp-memory/*,tests/setup/generator-golden.test.js,tests/golden/setup-output.snapshot.jsonAll automated tests included in
pnpm testpassed locally.Codex Task
PR Type
Enhancement, Tests, Documentation
Description
Modernize
AGENTS.mdas canonical, cross-tool agent interface for 2025–2026 agentic workflowsAdd minimal MCP memory reference server with file-backed JSON storage and HTTP JSON-RPC interface
Implement generator golden tests and per-package
AGENTS.mdtemplates for reproducible scaffoldingAdd validation entrypoint, ESLint config, GitHub templates, and MCP/Copilot/Claude guides
Diagram Walkthrough
File Walkthrough
29 files
Refactor to canonical, concise agent interfaceSimplify to pointer-based Claude guidanceStreamline generated AGENTS.md for claritySimplify generated Claude guidanceDocument format:check commandAdd per-package AGENTS.md to structureCreate package-level API agent guidanceCreate package-level CLI agent guidanceCreate package-level core agent guidanceCreate package-level types agent guidanceCreate package-level web agent guidanceAdd agent task issue templateAdd GitHub Copilot agent mode instructionsAdd PR template with agent checklistAdd contract-first example implementationAdd contract test exampleDocument AGENTS.md canonical alignmentAdd Claude Code usage guideAdd Copilot agent mode guideAdd MCP memory server usage guideAdd fast-track onboarding guideAdd agent task coordination checklistUpdate with reference MVP implementationUpdate structure with new guides and testsUpdate documentation indexAdd contract-first example referenceAdd contract-first pattern explanationAdd tool support and documentation linksDocument generator output snapshots6 files
Add format:check and mcp-memory scriptsImplement file-backed JSON memory storeImplement HTTP JSON-RPC MCP serverAdd VIBECODE_TEST_YEAR support for determinismCreate validation entrypoint scriptAdd mcp-memory script and test path fix1 files
Skip templates for unselected packages1 files
Add ESLint configuration4 files
Add unit tests for memory storeAdd integration tests for MCP serverAdd golden test for generator outputAdd generator output snapshot baseline