Skip to content

context: build local-first institutional memory with an MCP surface #34

Description

@guicybercode

Context

The project can become more than a terminal manager by providing agents with inspectable local knowledge about repositories, instructions, decisions, ownership, dependencies, and previous task outcomes.

Goal

Build a local-first context index and read-only MCP server for engineering knowledge.

Initial sources

  • README and project documentation;
  • ADRs;
  • AGENTS.md and vendor instruction files;
  • repository metadata and Git history;
  • task notes and completed task summaries;
  • manually configured service ownership and dependency metadata.

MCP tool candidates

  • search_docs;
  • get_project;
  • get_owner;
  • get_dependencies;
  • search_tasks;
  • get_architecture_decision;
  • search_code_metadata.

Acceptance criteria

  • Indexing is opt-in per project and works without cloud services.
  • Every result includes source path/entity, revision, timestamp, and freshness.
  • Deleted or moved sources are reconciled incrementally.
  • Secrets, ignored files, env data, PTY output, and unsupported paths are excluded by default.
  • Agents receive only context authorized for their current task/project.
  • MCP tools are read-only in the first version.
  • Index size, query time, and result count are bounded.
  • Users can inspect, rebuild, disable, and delete the local index.
  • Tests cover stale documents, ignored files, permission boundaries, and provenance.

Out of scope

Jira, Slack, Confluence, Notion, cloud embeddings, and cross-company search.

Activity

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

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions