agentic:sync-profiles iterates AgentProfile rows, calls GET {gateway}/v1/models
via Http::withToken, infers capability_tags from exposed model ids
(claude-opus → handoff/analysis/core; gpt-5.4-mini → dispatch/cheap;
embedding-* → embedding), leaves last_dispatched_at untouched.
agentic:dispatch-queue uses extended MantisClient->listOpen() (new
small wrapper), skips assigned tickets + 5min in-flight markers, runs
ProfileSelector::pickFor, adds suppression note via MantisClient->note,
queues DispatchMantisTicketJob up to --limit (default 3). Both
commands emit progress via Log.
Pest Feature tests use Http::fake + Queue::fake. Tests register the
new commands directly (Boot.php registration is a deferred follow-up
per #837 lane note).
Codex note: php -l clean; pest blocked by unrelated repo migration
infra (dedicated brain connection + SQLite-incompatible agent_sessions
rename).
Closes tasks.lthn.sh/view.php?id=829
Co-authored-by: Codex <noreply@openai.com>
|
||
|---|---|---|
| .. | ||
| AgenticDispatchQueueCommand.php | ||
| AgenticGenerateCommand.php | ||
| AgenticSyncPluginsCcCommand.php | ||
| AgenticSyncProfilesCommand.php | ||
| BrainCleanCommand.php | ||
| BrainIngestCommand.php | ||
| BrainPruneCommand.php | ||
| BrainReindexCommand.php | ||
| BrainSeedMemoryCommand.php | ||
| DispatchCommand.php | ||
| GenerateCommand.php | ||
| PlanCommand.php | ||
| PlanRetentionCommand.php | ||
| PrepWorkspaceCommand.php | ||
| PrManageCommand.php | ||
| ScanCommand.php | ||
| TaskCommand.php | ||