list_repos
List the repos ingested into the key's workspace.
Returns {full_name, branch, last_ingested_at} records. Use this when
the agent needs to know what context is available before asking a
question.
Reads what ingest actually recorded for this namespace: repos.json
(the repo→clone map every other read path resolves through) plus the
per-repo _state files that carry the branch and the last run's
timestamp.
It used to read a Firestore subcollection users/{uid}/repos, which
was wrong twice over. It was keyed by the person rather than the
workspace — the bug this module was fixed for — and nothing in the
codebase has ever written to that path, so the tool returned an empty
list to everyone, forever. Hence branch rather than the old
default_branch: the state file records the branch that was actually
ingested, and no caller can be depending on a key that never had a row
under it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |