Skip to content

Multi-repo indexing + repo allowlist enforcement #4

Description

@webdevtodayjason

Thread Assignment

Thread C (Codex)

Problem

MVP indexes one local folder at a time. Phase 2 requires indexing multiple repos from one config and querying across all of them.

Requirements

  • Add ~/.argentmunch/repos.yaml config format (list of repo paths + optional names)
  • argentmunch index --config repos.yaml indexes all listed repos
  • argentmunch query --all <query> searches across all indexed repos
  • Repo allowlist enforcement: only repos listed in config can be indexed
  • CLI argentmunch repos add/remove/list for managing the allowlist
  • Index metadata tracks config-hash to detect config drift

Acceptance Criteria

  1. Index 3+ repos from one config file → all appear in argentmunch list
  2. Cross-repo query returns results from multiple repos, ranked by score
  3. Attempt to index a repo NOT in allowlist → rejected with clear error
  4. argentmunch repos list shows all configured repos with index status

Merge Gate

  • Tests for multi-repo index, cross-repo query, allowlist enforcement
  • PR linked to this issue

Execution Order

#4 in Sprint Slice 2 — after secure health lands.

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

    sprint:slice-2Sprint Slice 2 — Production Hardeningthread:FThread F — ArgentMunch multi-repo + webhook

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions