Skip to content

feat: add PAM 0.5.0 file-only coverage gate#7

Merged
Yehonal merged 4 commits into
mainfrom
feat/file-only-coverage
Jun 2, 2026
Merged

feat: add PAM 0.5.0 file-only coverage gate#7
Yehonal merged 4 commits into
mainfrom
feat/file-only-coverage

Conversation

@Yehonal

@Yehonal Yehonal commented May 27, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add PAM 0.5.0 file-only coverage gate for graph-first retrieval without semantic memory search
  • add memory:graph:coverage CLI, coverage scenario, graph aliases/nodes, and runtime documentation
  • add the 0.4.0 -> 0.5.0 procedural migration guide

Migration

  • Migration guide: migrations/0.4.0-to-0.5.0-file-only-coverage.md
  • Graph schema stays pam-graph-v1; this is an optional adoption guide, not a data schema migration.
  • Required adoption checks are version metadata, graph validation, coverage scenario, and coverage result classification as PASS / PARTIAL / BLOCKED.

Validation

  • npm test: 27/27 passing
  • npm run memory:graph:validate: OK
  • node tools/memory-graph.mjs coverage --json: 5/5 PASS, hit rate 1.0, 0 partial, 0 blocked
  • git diff --check: OK

Performance / read-volume proxy

  • File-only PAM-first core read volume: 5 files, 7,914 bytes, token proxy 1,980
  • Corpus-first comparison in coverage report: 15 files, 72,268 bytes, token proxy 18,071
  • Existing baseline benchmark comparison: markdown 6,655 token proxy -> graph 1,370 token proxy, 79.41% reduction

Privacy

  • Coverage and benchmark reports are aggregate-only.
  • No raw text, absolute paths, or private paths are included in generated report output.

@Yehonal Yehonal force-pushed the feat/file-only-coverage branch from ed7f266 to 725945f Compare May 27, 2026 08:39
@Yehonal Yehonal changed the title feat: add file-only coverage gate feat: add PAM 0.5.0 file-only coverage gate May 27, 2026
@Yehonal Yehonal requested a review from Copilot May 28, 2026 06:29

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds PAM 0.5.0 support for a file-only graph coverage gate, helping agents measure graph-first retrieval effectiveness without semantic memory search.

Changes:

  • Adds memory:graph:coverage CLI and tests for file-only coverage reporting.
  • Adds default coverage scenario, graph nodes/aliases/edges, and runtime/README docs.
  • Updates package/version metadata, changelog, and migration guidance for 0.5.0 adoption.

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tools/memory-graph.mjs Implements coverage collection, budgets, CLI flags, and command handling.
tools/test-memory-graph.mjs Adds tests for coverage output and blocked query classification.
package.json Bumps package version and adds coverage npm script.
README.md Documents coverage command and default budget.
benchmarks/file-only-coverage.json Adds default smoke scenario queries.
memory/pam.version.json Updates PAM metadata and enables file-only coverage feature flag.
memory/graph/nodes.jsonl Adds graph nodes for coverage CLI and migration guide.
memory/graph/edges.jsonl Adds graph relationships for coverage feature.
memory/graph/aliases.jsonl Adds aliases for coverage-related graph lookup.
memory/graph/catalog.json Updates graph counts and generation metadata.
memory/agent-memory/pam-runtime.md Adds file-only efficiency gate guidance.
CHANGELOG.md Adds 0.5.0 release notes.
migrations/0.4.0-to-0.5.0-file-only-coverage.md Adds optional adoption guide for the coverage gate.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tools/memory-graph.mjs Outdated
Comment thread tools/memory-graph.mjs Outdated
@Yehonal Yehonal force-pushed the feat/file-only-coverage branch from ed0c2b2 to 87232e1 Compare May 28, 2026 12:41
@Yehonal Yehonal force-pushed the feat/file-only-coverage branch from 87232e1 to 4caa9ed Compare June 2, 2026 11:26
@Yehonal Yehonal merged commit 95484fe into main Jun 2, 2026
1 check passed
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.

2 participants