Repository navigation
Add scoped memory graphs and finish Memory Hub navigation - #3228
Merged
Hillary Mutisya (hillary-mutisya) merged 5 commits intoOct 26, 2026
Merged
Conversation
Expose bounded document/event graphs with exact provenance and generation paging. Add graph drilldown, summary inventories and responsive Views/activity navigation, preserving existing Questions and curated topics. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Expose truthful graph capability and MCP tool inventory. Preserve receipt/family fingerprints across detached retrieval, keep optimistic schema tests waiting for build settlement, and cover pause/privacy read behavior. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
CI exposed two hydration-count expectations left behind by inventory read projections. Assert one fresh projection read, zero full-state hydrations and unchanged historical consolidation nomination parity, retaining the expired-scope and privacy guards. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Preserve both graph/inventory and knowledge checkpoint transports; close the knowledge coordinator within the idempotent graph preparation shutdown lifecycle. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Nonblocking inventory reads can finish a build between the snapshot and job reads. Capture the optimistic head after checking jobs so conflict guards use the settled publication. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.
Summary
Independent base and exclusions
Targets main, not PR3. Prerequisites #3224 (Questions/acquisition) and #3225 (quality/curated lazy topics) are merged. Extracted from the immutable integration source using two-tip comparisons while retaining main's later fixes. No PR3 coordinator, automatic corpus question discovery, knowledge checkpoint/policy/readiness API/UI, integrated source-plus-view answering, or benchmark harness integration is included. Existing Questions functionality is retained.
Validation
All final local checks passed in the isolated PR4 worktree:
pnpm run buildfromts(full workspace).ts/packages/memory/service:pnpm run jest-esm --maxWorkers=2 --workerIdleMemoryLimit=512MB --testPathPattern=".*[.]spec[.]js$"(localNODE_OPTIONS=--max-old-space-size=8192). Includes graphService/Projection/Paging, viewIndexConcurrency, snapshot reuse/freshness/historical conflict parity, topic/event/privacy lifecycle, all view/editorial/consolidation and other existing service regressions.pnpm --filter @typeagent/memory-client run test:local: 48 tests.pnpm --filter @typeagent/memory-mcp-server test: 12 suites, 39 tests (real bounded MCP protocol round trips and host inventory included).pnpm --filter @typeagent/browser run test:views:gateway: 111 tests, including scoped graph gateway and strict validation/lifecycle.pnpm --filter @typeagent/browser run test:views:client: 41 suites, 371 tests, including graph/Explore/Views/activity/Questions/management.pnpm run prettier:changed.pnpm run code-lint -- --ratchet --base origin/main.pnpm run code-complexity:ci.pnpm run code-circular -- --ratchet --base origin/main --exceptions-file tools/scripts/code/circular-baseline-exception.json(not concurrent with Git-fixture tests).pnpm run code-debt -- --gate --base origin/main.Coverage is deterministic/offline; no live inference, qualification pilot, recording or long-lived server was used. These checks do not establish generated knowledge/answer quality. Read-only graph responses may report separately scheduled preparation or unsupported provider projections rather than claim completeness.
CI remediation
The first matrix run exposed two pre-projection hydration-count expectations in snapshotReuse. The follow-up ordinary commit asserts one fresh projection read and zero full-state hydrations, while retaining expired-scope freshness, privacy checks and historical consolidation parity. The complete 80-suite service run passes after this fix; no test or gate was disabled.