agent/php/Console/Commands
Snider 48b2c2fe58 feat(agent/php): artisan agentic:sync-profiles + agentic:dispatch-queue (#829)
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>
2026-04-26 01:08:42 +01:00
..
AgenticDispatchQueueCommand.php feat(agent/php): artisan agentic:sync-profiles + agentic:dispatch-queue (#829) 2026-04-26 01:08:42 +01:00
AgenticGenerateCommand.php revert fcb9c189e5 2026-04-23 12:32:57 +01:00
AgenticSyncPluginsCcCommand.php feat(agent/php): plugin-cc integration — column + sync command (#837) 2026-04-26 00:48:37 +01:00
AgenticSyncProfilesCommand.php feat(agent/php): artisan agentic:sync-profiles + agentic:dispatch-queue (#829) 2026-04-26 01:08:42 +01:00
BrainCleanCommand.php feat(brain): add brain:clean artisan command 2026-04-23 13:30:27 +01:00
BrainIngestCommand.php revert fcb9c189e5 2026-04-23 12:32:57 +01:00
BrainPruneCommand.php feat(brain): add brain:prune artisan command 2026-04-23 13:36:41 +01:00
BrainReindexCommand.php fix(brain): close openbrain audit gaps — org scoping + index cleanup + reindex flags + MCP schemas + circuit layer 2026-04-24 08:14:06 +01:00
BrainSeedMemoryCommand.php revert fcb9c189e5 2026-04-23 12:32:57 +01:00
DispatchCommand.php revert fcb9c189e5 2026-04-23 12:32:57 +01:00
GenerateCommand.php feat(agent/agentic): RFC foundation — atomic CompleteTask + credit ledger reconcile 2026-04-25 20:59:38 +01:00
PlanCommand.php revert fcb9c189e5 2026-04-23 12:32:57 +01:00
PlanRetentionCommand.php revert fcb9c189e5 2026-04-23 12:32:57 +01:00
PrepWorkspaceCommand.php revert fcb9c189e5 2026-04-23 12:32:57 +01:00
PrManageCommand.php revert fcb9c189e5 2026-04-23 12:32:57 +01:00
ScanCommand.php revert fcb9c189e5 2026-04-23 12:32:57 +01:00
TaskCommand.php revert fcb9c189e5 2026-04-23 12:32:57 +01:00