Skip to content

atlas memory slice 3: MCP query surface over the unified Atlas index (mcpx namespace) (#8567) #8625

Todo

Description

@developing-today

Slice 3 of the Atlas memory integration (parent #8567; design record: pkgs/atlas-search/docs/memory-integration-design-8567.md, sections 3–4).

Expose the cross-agent query surface as an MCP server (an mcpx namespace) in front of atlas-core run_search — the design's decided access pattern. The MCP layer stamps the calling agent's identity, enforces its sensitivity ceiling and corpus scoping (filters inside the branch queries, never post-ranking), and audit-logs queries. Native library access stays Atlas-internal only.

Acceptance:

  • OpenClaw, an OpenCode session, OpenChamber, and a Muse lane can each query the unified index through the namespace with their own identity and ceiling.
  • A caller cannot retrieve chunks above its sensitivity ceiling or outside its corpus scope (negative tests named).
  • Every hit carries corpus + source_ref provenance; queries are audit-logged with agent identity.

Acceptance criteria

Activity

  1. added
    kind/design
    on Nov 11, 2026
  2. added
    design/atlas-memory-integration
    epic/atlas
    on Nov 12, 2026
  3. added this to the Atlas program milestone on Nov 12, 2026
  4. added
    epic/atlas-program
    on Nov 12, 2026
  5. added
    queue/blocked
    status/blocked
    on Nov 17, 2026
  6. dezren39 commented on Nov 17, 2026

    @dezren39
    Member

    🤖 Agent note · blocked (dependency)

  7. removed their assignment
    on Nov 20, 2026
  8. dezren39 commented on Nov 23, 2026

    @dezren39
    Member

    Claim — Lane BT (archer), 2026-11-22

    Taking the hosted-transport slice of this issue under Drew's direct order (2026-11-22 ~20:32 CST): build the Atlas MCP server as a versioned Cloudflare deployment and wire it into the laptop's mcpx as a remote server.

    Scope of this slice, precisely:

    • Extend the existing atlas-search Worker (pkgs/atlas-search/worker, fleet CF account) with an MCP Streamable HTTP endpoint (POST /mcp) exposing one tool, search, over the exact same gated path as POST /v1/search — same GATE_TOKEN gate, same per-query Durable Object cache, same pinned hosted-per-user context (atlas(worker): state the disclosure context on hosted search requests and key the result cache by it #12622) and personal ceiling. No new surface beyond search: cache purge is a write and cache inspect is an operator/audit surface, so both stay off MCP.
    • Deploy as a NEW Worker version via the sanctioned cf binary (cf workers versions create + deployments create), with the prior version retained for rollback.
    • Wire mcpx: native remote-server entry in home/common/mcpx-settings.nix with a bearer auth block whose token expands from the daemon environment (${ATLAS_SEARCH_GATE_TOKEN} — no secret in the repo); the daemon gets the variable through services.mcpx.environmentFile, provisioned from the fleet secrets route (atlas.search-worker-gate-token).

    What this does NOT close in #8625's acceptance: per-calling-agent identity stamping, per-agent ceilings/corpus scoping inside the branch queries, and the query audit log. Callers through this endpoint share the one hosted identity (hosted-per-user, ceiling personal) — the same identity the existing /v1/search surface already serves. Those acceptance parts remain open and are the next slices.

  9. added 3 commits that reference this issue on Nov 23, 2026
  10. 17 remaining items

  11. dezren39 commented on Nov 29, 2026

    @dezren39
    Member

    🤖 Census note — 2026-11-29 (lane CEN-C06, Drew's full issue census)

    Rechecked firsthand: body, all comments, dependency and PR states.

  12. added
    priority/high
    on Nov 29, 2026
  13. added
    priority/normal
    on Nov 29, 2026
  14. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Census 2026-11-29 (Felix):

  15. added
    status/needs-triage
    effort/m
    and removed
    priority/normal
    on Nov 29, 2026
  16. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Issue census — 2026-11-29

    Gaps found: no ## Acceptance criteria section.

    Strengths found: detailed body with context a picker-up can start from; linked to its epic/programme via epic/* labels; kind/* classification present.

    Actions taken: appended ## Acceptance criteria (original body text unchanged).

    Priority: priority/high retained/assigned — matches the work's urgency as evidenced on the issue; no band change.

  17. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Felix lane 0640-AP claims the next slice of #8625 (drawn via fleet agent next, shortlist rank 3). Slice: per-agent policy in the atlas-search Worker — extend the AGENT_TOKENS identity (PR #15903) so each agent id carries a sensitivity ceiling and corpus scope, and enforce both inside the search execution (filters in the branch queries, never post-ranking), with the negative tests the acceptance names (a caller cannot retrieve chunks above its ceiling or outside its corpus scope). The four-surface credential configuration and the four-surface probe stay follow-on (they need the live surfaces). If a sibling lane is live on this slice, say so here and I will stand down.

  18. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Felix lane 0640-AP — claim released with a re-scope, after a firsthand read of the Worker on current main:

    Priority check: priority/high stands — the surface is live and the missing scoping is the acceptance's remaining code gap; the blocked state does not lower its intrinsic band. #8625 stays open on #16880 + the surface configuration/probe.

  19. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    Contributor

    agent-note claim + remainder disposition — lane 0322-AM (delta PRESS 2026-11-30 03:22 CST refill; successor to 0322-R / 0307-R staged record)

    Claim-scan live this lane (transport verified: two consecutive gh api rate_limit rc=0): issue + all 16 comments read firsthand. No live claim — Felix 0640-AP claimed 2026-11-29T16:40:15Z and released-rescoped 16:42:02Z; no activity since.

    Verified live this lane:

    Acceptance map:

    Disposition: the remainder is live-surface configuration + probing, not a Worker code slice. Per this issue's acceptance ("Follow-on work, if any remains, is filed as its own issue and linked here"), I am filing that follow-on as its own issue in this pass and linking it as a blocked_by edge; #8625 stays open on that edge alone. Wake: follow-on issue closes with probe evidence → #8625 closes.

    Key: 0322-AM

  20. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    Contributor

    Follow-on filed by lane 0322-AM: #17146 — #17146 (four-surface MCP credential configuration + probe with negative tests). Linked as a native blocked_by edge on this issue; #8625 remains open on that edge alone.

    Key: 0322-AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/atlas-searchdesign/atlas-memory-integrationeffort/mepic/atlasepic/atlas-programkind/designpriority/highstatus/needs-triage

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions