Reporecall

August 4, 2026 · View on GitHub

 ____                                    _ _
|  _ \ ___ _ __   ___  _ __ ___  ___ __ _| | |
| |_) / _ \ '_ \ / _ \| '__/ _ \/ __/ _` | | |
|  _ <  __/ |_) | (_) | | |  __/ (_| (_| | | |
|_| \_\___| .__/ \___/|_|  \___|\___\__,_|_|_|
          |_|

License: MIT Node MCP

Local-first context + memory for coding agents
Automatic injection + an explicit Trust Contract so agents (and you) always know when the context is fresh.

Reporecall helps Claude Code, Codex, Cline, Aider and other agents work more effectively on large, high-churn or unfamiliar codebases.

What you actually get

  • Auto-injection via hooks — relevant code, call graph, wiki, memory and business context are pushed into every prompt before the model starts thinking.
  • Brutally honest freshness — every response includes indexedCommit, dirty-file count, and a clear banner when the index is EMPTY or STALE, plus direct guidance to refresh_context.
  • Smart local retrieval — intent routing + hybrid search + graph expansion + extractive compression (expand any chunk on demand).
  • Persistent local memory — rules, facts and working notes that survive across sessions.
  • Zero cloud by default — no external vector DB, no recurring costs, works completely offline.

Measured, not asserted

Every number below is produced by a command you can run, backed by a committed artifact, and registered in quality/claims.json. Anything we haven't measured says insufficient_evidence instead of guessing.

Getting the answering evidence in front of the model costs a median of 75.4% fewer tokens than reading the relevant files whole npm run benchmark:context-cost
Retrieval holds 91.6% context precision and 95.6% recall at 8.4% pollution, with 100% route accuracy and zero high-confidence-wrong answers npm run benchmark:project-context

Both measured on a real 1,306-file / 5,591-chunk codebase over 30 pre-registered queries, with no model calls — so you can reproduce them exactly. The token figure is context-assembly cost, not end-to-end agent tokens; we don't publish an end-to-end number because we haven't earned one yet. See Benchmarking & Token Evidence.

v0.9.1 focus: freshness integrity — a modified file can no longer stay indexed as fresh, the full test suite now runs on Windows and macOS, and the docs site gained offline search and rendered architecture diagrams.

Standout Features

  • 6-tool MCP surface — deliberately small and reliable after the v0.8 surface collapse.
  • Deterministic Lens — one HTML file + JSON export for the whole codebase topology, communities, and business context.
  • Full-stack local — code indexing, call-graph analysis, wiki generation, business context, and memory — all without leaving your machine.
User prompt


Claude Code hook ──► Reporecall (local)
    │                      │
    │   [check freshness]  │
    │   [route intent]     │
    │   [select + compress]│
    ▼                      ▼
Injected context + banner   (optional MCP tools for gaps)

Why teams reach for Reporecall

What you getWhy it matters in practice
Automatic per-prompt injectionContext is pushed via hooks — the agent doesn't have to remember to call tools
Explicit Trust ContractindexedCommit, dirty count + banner on every response; get_stats + refresh_context as first-class citizens
Local + zero external infraWorks completely offline; no vector DB, no cloud costs
Tiny, reliable MCP surfaceOnly 6 tools after v0.8 — deliberately small so agents use it correctly
Full deterministic bundleCode + call graph + wiki + persistent memory + business context + Lens (HTML + JSON)

Plays nicely with: Claude Code (hooks), Codex (MCP/CLI), Cline, Aider, and any MCP-compatible coding agent.

📖 Full docs + honest competitive analysis (current position, target position, and threat matrix): https://proofofwork-agency.github.io/reporecall/

v0.9.1 in practice — change detection that refuses to trust a timestamp it cannot rely on, platform coverage that fails in CI instead of at publish, and every published figure re-measured against the build that ships it.

Quick Start

npm install -g @proofofwork-agency/reporecall
reporecall init && reporecall serve

That's it. Hooks push fresh, compressed context into every prompt. The agent reads it first.

Handy one-liners:

reporecall lens --serve --open     # one-file architecture dashboard
reporecall explain "..."           # per-question diagnostics + evidence
reporecall stats                   # Trust Contract + freshness at a glance

(The memory binary alias may collide with other tools; reporecall is the canonical command.)

Note

Your npm audit will show 3 high advisories, and we'd rather tell you than let you find them. @huggingface/transformers (local embeddings) requires sharp ^0.34.5, and every sharp below 0.35.0 inherits four libvips CVEs. npm reports no fix available, and no released upstream version changes that — transformers 4.2.0 still pins the same range. Our whole use of that library is one pipeline("feature-extraction", …) call; no code path here hands transformers an image, which is sharp's only entry point, so we consider the CVEs unreachable in this usage. If you gate on audit, add { "overrides": { "sharp": "0.35.3" } } — note that our own override does not reach you, because npm honors overrides only from the root project. Reasoning in full: release verification.

Designed for hard problems

Reporecall shines on:

  • Large or fast-moving codebases
  • Architecture, trace, cross-cutting change, and "where would this break?" questions
  • Teams that want automatic high-signal context instead of hoping the agent calls the right tool
  • Anyone who values explicit honesty about freshness

You probably don't need it for tiny greenfield projects or when plain grep + the agent's built-in tools are already sufficient.

See the full, honest comparison + threat analysis in docs/competitive-positioning-2026.md.


Lens — interactive architecture dashboard

One command, one HTML file, your whole codebase at a glance:

reporecall lens --serve --open

See communities, hubs, surprises, wiki pages, product areas, and business context — all in a portable single file. Export JSON with reporecall lens --json.

reporecall init only writes project configuration, Claude hook settings, MCP config, and memory directories. It does not index code.

reporecall serve runs an initial incremental index on startup, generates wiki pages from the resulting index, and then keeps the index fresh through the file watcher. If you want a one-off foreground index without starting the daemon, run reporecall index — it indexes the codebase and generates the same deterministic wiki/business pages before exiting (pass --no-wiki to skip).

Common direct commands:

reporecall explain "which files implement authentication?"
reporecall search "checkout session"
reporecall mcp --project .
reporecall lens --json

Documentation

Full documentation is hosted on GitHub Pages at https://proofofwork-agency.github.io/reporecall/:

What Reporecall Provides

CapabilityWhat it delivers
Automatic injectionClaude Code hooks push routed, compressed evidence before the model starts thinking
Trust & freshnessEvery response includes indexedCommit, dirty-file count, and an explicit banner when stale or empty
Retrieval qualityIntent classification + hybrid (keyword + semantic) search + graph expansion + extractive compression
Local-only by defaultZero external services required; works completely offline
Agent-friendly surfaceDeliberately reduced to 6 tools after v0.8 (search_context, search_code, explain_flow, memory, refresh_context, get_stats)
Structured exportslens --json, explain --json, deterministic wiki/business pages, and a single-file HTML dashboard

We do not replace your agent or editor. We simply make the context it receives higher quality and more honest — especially on large, high-churn, or unfamiliar codebases.

How Agents Use It

Reporecall is not another tool the agent has to decide to call.
The killer feature is automatic per-prompt injection via Claude Code hooks.

Claude Code (Auto-Injection is the Product)

reporecall init wires everything:

  • Creates hooks that push context before the prompt reaches the model.
  • Adds a Reporecall section to your CLAUDE.md.
  • Sets up .mcp.json.

When reporecall serve is running:

HookWhat gets injected automatically
SessionStartProject guidance + memory instructions
UserPromptSubmitFresh, routed, compressed context (code + wiki + graph + memory + business) + explicit staleness banner

The agent reads the injected evidence first. It only needs to use search_context, explain_flow, or memory tools for gaps.

Trust contract in action: Every injected response and MCP result includes a banner when the index is empty or stale, plus indexedCommit, dirty file count, and refresh_context guidance.

See src/hooks/prompt-context.ts and src/core/staleness.ts for the implementation.

Codex

Codex uses Reporecall through the open MCP and CLI surfaces rather than Claude Code hooks.

Use MCP for interactive agent work:

reporecall mcp --project .

Use CLI commands for scriptable context:

reporecall explain --json "which files implement billing?"
reporecall search "billing controller"
reporecall lens --json

In Codex, the MCP tools are the main live interface for code search, flow navigation, business context, wiki reads, memory reads/writes, topology, and index management. The CLI is useful when an agent or script wants deterministic JSON without maintaining an MCP session.

Other Tools

External utilities should depend on the public outputs, not Reporecall internals:

SurfaceBest use
MCP serverLive code search, graph navigation, wiki/memory access, and indexing.
refresh_contextExternal-tool refresh entry point: re-index code, regenerate wiki/business pages, and return updated stats.
reporecall lens --jsonRead-only Lens JSON export with wiki, graph, memory, and business/product context.
refresh_contextMCP repair verb for re-indexing before agent work.
search_context / search_code / explain_flow / memoryCompact MCP surface for live agent retrieval, navigation, and memory.
reporecall explain --jsonPer-question retrieval diagnostics, selected files, productAreasUsed[], and businessPagesUsed[].
reporecall lens --jsonWhole-project topology, wiki graph, and business context export.
productAreas[]Business-facing grouping over related capabilities, with displayName, displaySummary, and areaKind.
businessPages[]Product-language capabilities with displayName, displaySummary, presentation quality metadata, and separated technicalEvidence.

The business context export is intentionally additive. It gives planning tools, dashboards, and MCP wrappers product-facing language while preserving the core retrieval model as code/wiki/graph evidence.

Technical symbols, classes, and service names stay available as supporting evidence. They should not become the primary product-facing capability label when Reporecall can infer a clearer business phrase.

Use displayName and displaySummary for business-facing tools, and prefer records where presentationSafe is true. displayQuality and presentationIssues tell consumers when a generated label is high-confidence, thin, fallback-derived, or dominated by technical evidence. Use technicalEvidence.files and technicalEvidence.symbols only when a trusted technical client needs the source evidence behind a page or product area. The older name, capability, summary, supportingFiles, and supportingSymbols fields remain for compatibility and diagnostics.

Generated business wiki markdown keeps its narrative business-facing as well: the body reports evidence quality and counts, while concrete file and symbol names stay in structured evidence fields for technical clients.

Product areas are not a fixed taxonomy. Reporecall starts with common software-product areas, then can derive additional areas from the repository's own business terms and data concepts. This keeps the layer generic while letting domain language surface when the indexed code and wiki evidence support it.

Each product area includes areaKind: fixed, discovered, or fallback. External tools can use this to keep foundational product areas primary while treating repo-derived domain areas as supporting context when appropriate.

External tools can ask Reporecall to refresh itself through MCP. Use refresh_context after large file changes or before a planning workflow that needs fresh wiki/product-area context. It runs the same local indexing and deterministic wiki generation path that Reporecall uses for its own Lens and agent context. Use reporecall lens --json for a read-only Lens JSON export over the current index.

How It Works

flowchart TB
  Q["User or agent question"]
  Entry["Hook, CLI, MCP, or JSON command"]
  Intent["Intent classifier"]
  Search["Code retrieval"]
  Wiki["Wiki evidence"]
  Product["Product area evidence"]
  Memory["Project memory"]
  Resolver["Capability evidence resolver"]
  Selected["Selected context"]
  Agent["Agent reads selected files first"]
  Explain["explain --json"]
  Lens["lens --json / Lens HTML"]
  BusinessTools["MCP business tools"]

  Q --> Entry --> Intent
  Intent --> Search
  Intent --> Wiki
  Wiki --> Product
  Intent --> Memory
  Search --> Resolver
  Wiki --> Resolver
  Product --> Selected
  Resolver --> Selected
  Memory --> Selected
  Selected --> Agent
  Selected --> Explain
  Product --> Lens
  Wiki --> Lens
  Product --> BusinessTools

The important rule is file coverage over chunk volume. For trace and architecture questions, Reporecall tries to cover the relevant layers: entry/UI, state or service, controller or edge function, and shared helpers when those layers exist.

Retrieval Modes

ModeUse case
lookupFind an exact symbol, file, endpoint, or module.
traceExplain how a flow works or what calls what.
bugLocalize likely files for a symptom or failure.
architectureInventory the files that implement a subsystem.
changeFind the places likely affected by a cross-cutting edit.
skipAvoid code retrieval for non-code prompts.
flowchart LR
  Query["Prompt"]
  Mode{"Mode"}
  Lookup["Exact lookup"]
  Trace["Flow reconstruction"]
  Bug["Symptom evidence"]
  Arch["Layer coverage"]
  Change["Affected surfaces"]

  Query --> Mode
  Mode --> Lookup
  Mode --> Trace
  Mode --> Bug
  Mode --> Arch
  Mode --> Change
  Trace --> Resolver["Capability evidence"]
  Arch --> Resolver
  Change --> Resolver
  Resolver --> Files["Selected files with provenance"]
  Resolver --> Areas["Product areas used"]
  Resolver --> Pages["Business pages used"]

Capability Evidence

Capability evidence is generic. It does not encode customer/project names or repository-specific file lists.

For trace, architecture, and change prompts, Reporecall can:

  • use matching wiki capability pages as anchors;
  • hydrate their relatedFiles into real code chunks;
  • add import and call neighbors from the graph;
  • keep lookup prompts small and exact;
  • suppress test/spec noise unless the query asks for tests.

Returned file records can include:

  • selectionSource
  • selectionReason
  • wikiPagesUsed
  • missingEvidence

Business Context Export

Reporecall exposes product-language context in three places:

  • reporecall lens --json for whole-project productAreas[] and businessPages[].
  • reporecall explain --json for query-specific productAreasUsed[] and businessPagesUsed[].
  • reporecall lens --json and reporecall explain --json for business/product context exports.

These surfaces are additive product-language views over code evidence for external tools.

The schema is documented in docs/business-context-schema.md.

Key fields include:

  • productAreas[]
  • displayName
  • displaySummary
  • areaKind
  • displayQuality
  • presentationSafe
  • presentationIssues
  • capability
  • actor
  • trigger
  • businessTerms
  • userActions
  • decisionPoints
  • sideEffects
  • businessOutcome
  • dataConcepts
  • technicalEvidence
  • externalSystems
  • supportingFiles
  • confidenceLabel

Business context is not fed back into core search as hard-coded rules. Hooks may append a small budgeted product-area evidence section for trace, architecture, and change prompts, but lookup prompts stay small and code retrieval remains grounded in source/wiki/graph evidence. Consumers should treat the business layer as a read-only product map with supporting evidence.

The Trust Contract (Our Differentiator)

Most context tools are silent when they're wrong.
Reporecall is not.

Every response (hooks + MCP) carries:

  • A clear banner when the index is EMPTY or STALE
  • indexedCommit vs current HEAD
  • Count of files changed since last index
  • Direct advice: run refresh_context or reporecall index

get_stats is the diagnostic you should call first.

Auto-refresh happens in the background when serve is running (debounced, safe).

This is why we collapsed the MCP surface and made freshness signals unavoidable.

See src/core/staleness.ts and the daemon auto-refresh logic.

Examplereporecall stats always leads with the Trust Contract data:

{
  "trust": {
    "banner": "⚠ ... STALE ...",
    "indexedCommit": "abc1234",
    "currentCommit": "def5678",
    "dirtyFiles": 14,
    "level": "stale"
  },
  ...
}

Benchmarking & Token Evidence

Context-assembly cost. Getting the right evidence in front of the model costs a median of 75.4% fewer tokens than reading the relevant files whole.

Measured, not estimated — and scoped precisely:

Fixture:  benchmark/project-context-queries.json (30 queries, real 1,306-file repo)
Baseline: whole-file tokens for the files that actually contain the answer,
          i.e. what grep-then-read costs. Counts ONLY known-relevant files,
          never the wrong files a real search would also open — so the
          measured saving is a floor, not a best case.
Candidate: tokens RepoRecall injects for the same query.
Guard:    a query counts only if RepoRecall delivered every mustInclude file,
          so omitting evidence can never register as a saving. 30/30 passed.
Model calls: none. Deterministic and reproducible.

median baseline    5,215 tokens  ->  median injected  1,439 tokens
median reduction   75.4%             aggregate        86.4%
by route           R0 54.5%   R1 70.4%   R2 90.8%

Reproduce it:

npm run benchmark:context-cost -- --project /path/to/repo --output ./context-cost.json

What this is not. This measures context-assembly cost only. It excludes reasoning tokens, tool-call overhead and multi-turn exploration, so it is not an end-to-end agent token measurement and is never presented as one. A full paired agentic run — native tools vs RepoRecall, same model and settings, fresh sessions, blind grading — is a separate artifact and is not yet published. Missing paired measurements are reported as insufficient_evidence, never replaced with estimates or fallback numbers.

Run npm run benchmark or see scripts/benchmarks/.

For redacted aggregate injection + freshness evidence:

npm run benchmark:tokens -- --project .

PRs with reproducible numbers on real repos are very welcome.

Lens

reporecall lens --serve --open
reporecall lens --json > lens.json

The HTML dashboard shows:

  • overview stats;
  • Louvain communities;
  • high-degree hub nodes;
  • surprising cross-module edges;
  • generated wiki pages;
  • product areas that group related business capability pages;
  • business capability pages with product-facing summaries and supporting files.

The JSON export also includes machine-readable wiki graph data, productAreas[], and businessPages[] for other tools.

Comparison — Why Reporecall

Reporecall is a context layer, not a full AI editor, hosted model, or PR review SaaS.

The rare combination that actually moves the needle for agents: automatic per-prompt hooks + explicit trust/freshness + real compression + full stack + zero external infrastructure. Very few local tools deliver all of it.

ToolAuto-Inject HooksTrust/FreshnessCompress + ExpandLocal + OSS + Zero InfraAdoption
Reporecall✅ per-prompt✅ Full (banners + indexedCommit + auto-refresh)✅ + read_chunknascent
CodeGraph❌ (tool calls)✅ Banner⚠️ limitedEstablished
Cline⚠️ "always fresh" claimEstablished
Cognee⚠️+ funding
Native Claude✅ (but thin)✅ (live files)✅ (limited)default

Full matrix, threat tiers, and honest self-assessment: docs/competitive-positioning-2026.md.

MCP Tools — deliberately small on purpose

reporecall mcp --project .

After v0.8 we collapsed the surface to exactly six tools. Fewer choices, less confusion, easier for agents to use correctly.

ToolPurpose
search_contextRouted, budgeted, compressed context for the current question
search_codeRaw search (action=search) or exact source (action=read_chunk)
explain_flowNavigation: flow / callers / callees / stack_tree / imports / symbol / resolve_seed
memoryrecall / explain / list / store / forget (independent of code index)
refresh_contextRe-index + regenerate wiki + return stats (the repair verb)
get_statsFreshness, storage, counts, conventions, latency (use this first when in doubt)

All read-only tools return staleness metadata. Memory actions work even on an empty code index.

Configuration

Configuration lives in .memory/config.json.

KeyDefaultDescription
embeddingProvider"local"Retrieval backend. local uses Xenova/all-MiniLM-L6-v2 local vector embeddings; keyword is FTS-only with no vectors (also: ollama, openai).
wikiBudget400Max tokens for wiki injection per prompt.
wikiMaxPages3Max wiki pages injected per prompt.
memoryBudget500Max tokens for memory injection per prompt.
capabilityEvidencetrueUse code/wiki/graph evidence to select related files for trace, architecture, and change prompts.
genericCapabilityHydrationtrueHydrate broad inventory evidence into prompt context for questions like "which files implement...".
contextCompressionMode"auto"Compress secondary code evidence in assembled context. Use "off" to disable or "always" for diagnostics.
contextCompressionPreserveTopChunks1Number of top chunks kept as full source before secondary evidence can be compacted.
contextCompressionMinChunkTokens100Minimum chunk size before compression is attempted.
contextCompressionTargetRatio0.75Maximum compressed/full token ratio accepted for compacted evidence.
topologyEnabledtrueRun topology/community analysis after indexing.
topologyMaxChunks50000Skip full topology graph construction above this indexed chunk count.
shutdownTimeoutMs10000Graceful shutdown timeout in milliseconds.

This table lists common keys only; see src/core/config.ts for the full, authoritative list of configuration options and defaults.

Assistant/client instruction files such as AGENTS.md, CLAUDE.md, .claude/**, .codex/**, and .mcp.json are ignored by default as code evidence.

CLI Reference

reporecall init
reporecall index
reporecall serve
reporecall lens
reporecall explain "query"
reporecall search "query"
reporecall mcp
reporecall doctor
reporecall stats
reporecall stats --json --output ./reporecall-evidence.json
reporecall graph
reporecall conventions

Changelog

v0.9.1 - Freshness Integrity

A modified file could stay indexed as fresh indefinitely, and this release closes that:

  • Change detection skips hashing when mtime, ctime and size all match. Filesystem timestamps are coarse — the Windows clock advances in ~15.6ms steps, HFS+ stores whole seconds, FAT32 two-second steps — so two writes inside one step share an mtime exactly. A file hashed between them lost the second write on every later scan, and on Windows ctime is the creation time and does not move on modification, so a length-preserving edit cleared all three signals at once. Files written within that granularity are now marked timestamp-untrusted and re-hashed on the next scan. That costs a read, not parse or embed work: a no-change re-index of 2,000 files still processes 0 files.
  • The full test suite runs on Windows and macOS in CI, not only Ubuntu. Publish was previously the first place it ever ran on Windows, which is how a class of path-identity defects reached a release gate instead of a pull request.
  • The release gate now audits the dependency tree a consumer resolves, not the one this repo develops against — npm honors overrides only from the root project, so the two differ. See the note in Quick Start.
  • The quantitative-claim detector in quality:claims never actually matched anything: its percent pattern required a word character after the %, which prose never provides. Fixed and pinned by regression tests.
  • Docs site: offline full-text search, rendered Mermaid architecture diagrams, a custom 404, and a social preview card.
  • Both registered claims re-measured against a freshly cloned and re-indexed 1,306-file repository using this release's build. Retrieval gate unchanged; context-assembly cost moved inside measurement variance.

v0.9.0 - Engineering Hardening

This release made the engineering behind the trust contract verifiable:

  • Reproducible evidence: compatibility snapshots, a claims registry, and machine-readable release gates under quality/.
  • One canonical filesystem boundary across indexing, watcher, removal, MCP, and daemon entry points.
  • Type-aware linting, coverage gates, module/cycle checks, multi-OS CI, packed tarball demos, and nightly stress/benchmark jobs.
  • Retrieval trust metrics for high-confidence-wrong results and fresh/stale/empty classification.
  • Precise lookups no longer inject wiki overview pages about unrelated code that matched on a single shared token; breadth queries still get them in full.
  • Large internals decomposed behind unchanged CLI, MCP, config, JSON, and package façades.

v0.8.0 - Trust Contract Remediation (The Foundation)

This release made honesty and restraint first-class:

  • Strict 6-tool MCP surface (see above).
  • Staleness metadata + banners on every response and hook injection.
  • indexedCommit stamping + auto-refresh on drift.
  • Empty-index handling that doesn't break memory or get_stats.
  • Leaner prompt injection that discloses what is missing.
  • Removal of broad/destructive tools from the agent surface.

The goal: agents (and humans) should trust the context they receive from Reporecall.

v0.7.1 - Self-Evaluation Patch

Patch release driven by reporecall's self-evaluation on its own codebase. Tightens seven defects in retrieval, capability evidence, indexing, and business-context routing without breaking any public API.

  • reporecall index now generates deterministic wiki/business pages at the end of an index pass so list_product_areas/business_context_query work without serve. Pass --no-wiki to skip.
  • Intent classifier routes "what files would I need to change" and similar phrasings to change/architecture mode.
  • Bulk file deletion in the indexer now uses a single transaction, fixing a SIGILL on large delete sets.
  • Wiki/business scoreFamilyEvidence no longer publishes false auth capability pages for reporecall's own infra directories, while keeping downstream React useAuth/useSession hooks classified as authentication.
  • Lookup primary seeds must share at least two non-generic anchors with the query to be returned as a high-score exact hit.
  • Architecture/change queries drop test files entirely (vs the prior multiplicative penalty) unless the query mentions test/spec/e2e/fixture/mock.
  • Capability evidence resolver now runs for lookup mode and gates non-family queries on actual file-path anchor overlap.
  • Discovered product areas can override a weak fixed match only when their score exceeds it by at least DISCOVERED_OVERRIDE_MARGIN (3).

v0.7.0 - Capability Evidence and Business Context Export

This release improves trace and architecture recall without adding project-specific rules.

  • Added generic capability evidence resolution for trace, architecture, and change prompts.
  • Business wiki pages can now act as evidence anchors without being blindly injected into prompt text.
  • Wiki relatedFiles are hydrated into concrete source chunks when the query warrants it.
  • Added selectionSource, selectionReason, and wikiPagesUsed metadata to selected files/chunks.
  • Added capabilityEvidence and genericCapabilityHydration config flags.
  • Added deterministic business capability wiki generation and stable productAreas[] / businessPages[] exports in lens --json.
  • Added areaKind metadata for product areas so consumers can distinguish fixed, discovered, and fallback groupings.
  • Added displayQuality, presentationSafe, and presentationIssues so business-facing tools can filter weak generated labels without losing technical evidence.
  • Added Lens Product Areas and Business tabs for generated business capability pages.
  • Added MCP business-context tools (list_product_areas, business_context_query), the lifecycle tool refresh_context, and the Lens export tool get_lens_data.
  • Added a large-repo stress harness (npm run stress:large-repo, npm run stress:large-repo:ci) and chunk-count guardrails on topology/Lens graph construction.
  • Documented Codex support through MCP and direct CLI usage.
  • Added docs/business-context-schema.md for external utilities that want product-language context.
  • Fixed rarest-term FTS fallback so zero-document terms do not dominate query planning.
  • Fixed Lens metadata to use the target project root for projectName instead of the current shell directory.
  • Filtered assistant/client instruction files from code evidence by default.
  • Removed project/customer-specific examples from source tests and comments.

See CHANGELOG.md for the full package history.

Development

npm install
npm run typecheck
npm run lint
npm run coverage
npm run build
npm run demo:packed

Useful verification:

npm test -- --run test/search test/hooks test/wiki test/visualize
npm run benchmark -- --provider keyword --output /tmp/reporecall-keyword.json
npm run stress:large-repo -- --files 10000 --changes 1000 --output /tmp/reporecall-large-repo.json
npm run stress:large-repo:ci

Contributing

Bug reports, reproducible benchmarks on real repos, and documentation improvements are very welcome.

See docs/competitive-positioning-2026.md for the current honest self-assessment and the areas we're actively working on.

License

MIT