Skip to content

Comments

feat: add stable --agent subset imports and update replay#2

Merged
farnoodma merged 1 commit intomainfrom
codex/fix-add
Feb 21, 2026
Merged

feat: add stable --agent subset imports and update replay#2
farnoodma merged 1 commit intomainfrom
codex/fix-add

Conversation

@farnoodma
Copy link
Owner

Summary

  • add --agent selector support to agentloom add (repeatable and comma-separated)
  • support interactive multi-select agent picking when --agent is omitted in TTY mode
  • persist stable requestedAgents selectors in lockfile entries and replay them during agentloom update
  • make lockfile upsert key include requestedAgents so different subsets are tracked independently

Details

  • wire --agent parsing from CLI argv through runAddCommand into importer selection flow
  • implement exact-first selector resolution with slug fallback and explicit missing/ambiguous selector errors
  • disable agent selection prompts during update imports and reuse lockfile selectors for deterministic updates
  • update help/docs examples to describe targeted imports

Tests

  • pnpm check
  • added tests/unit/update-command.test.ts for update replay behavior
  • expanded importer integration and conflict tests for selector matching, lock persistence, and interactive selection

Add --agent parsing to the add command, interactive multiselect when unset,
and lockfile persistence of requested agents for deterministic updates.

Update lock upsert semantics so different requested-agent subsets create
separate entries, wire update to replay requestedAgents without prompting,
and expand docs/tests for selector matching and regression coverage.

Co-authored-by: Codex <noreply@openai.com>
@farnoodma farnoodma enabled auto-merge (rebase) February 21, 2026 06:28
@farnoodma farnoodma merged commit 2a1b2e7 into main Feb 21, 2026
1 check passed
@farnoodma farnoodma deleted the codex/fix-add branch February 21, 2026 06:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant