Skip to content

Team-level cross-repo code search #166

Description

@rsnodgrass

Summary

The multi-repo foundation exists in CodeDB's SQLite schema (`repos` table). Extend this to support team-level code search across all repos associated with a team.

Near-term easier path

When querying, check if other repos for the same team have local indexes available (e.g., in sibling `.sageox/cache/codedb/` dirs). If they exist locally, include them in search results. Do NOT create indexes for repos that don't have them — only opportunistically use what's already there.

This gives cross-repo search without dedicated "team index" infrastructure.

Longer term

  • `ox code index --team` discovers all team repos via `GET /api/v1/cli/repos` and indexes them
  • Daemon could proactively index all team repos in background
  • Also consider: querying other repo ledgers via ox for the same team to get broader context

Priority

P4 — backlog / future idea

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogAccepted but not scheduledfeatureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions