Skip to content

feat(discovery): list all supported agents across known Codex homes #16

Closed

Description

@abruption

Python's unfiltered list combines agents and enumerates default, CODEX_HOME, Orca and configured Codex homes. TS requires an explicit --agent for listing. Codex listing additionally requires a single --codex-home; Claude listing does not need that option and rejects it as inapplicable. TS already inventories competing homes in writer.ts for send safety; that existing protection must be retained and reused where suitable.

Scope and completion criteria

  • Allow unfiltered Claude/Codex discovery and preserve explicit agent/home filters. Add other registered agents only when their adapter is implemented.
  • Enumerate only bounded documented home sources; canonicalize aliases, retain identical UUIDs in different homes, and return row-level codexHome/stateDb plus per-home diagnostics.
  • Preserve successful rows on a failed source; distinguish optional absence/not_installed from explicit missing homes, invalid configuration, permissions and incompatible DBs. Aggregate failures must remain nonzero.
  • Match local/SSH ordering and --all semantics. Listing must not select a live writer, connect to an inbox or submit a queue item.
  • Port tests/core/test_unified_list.py and tests/codex/test_multi_home_list.py cases to TS, including duplicate UUIDs, alias deduplication, malformed configuration and partial results on all supported operating systems.

Dependencies and priority

Dependencies: None; implement within the existing guarded local/SSH contract.

Planning priority: P1 (P1 = foundational/common workflow; P2 = subsequent or optional capability). Milestone is a planning group, not a release or deployment approval.

Evidence

Compared Python 1.0.2 (47c2371) with TS 0.1.0 (0edc4f8), both main heads verified on 2026-09-27.

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

    enhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions