agent/php
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
..
Actions feat(agent/agentic): RFC foundation — atomic CompleteTask + credit ledger reconcile 2026-04-25 20:59:38 +01:00
Agentic feat(agentic): implement §9 Services (FleetService + CreditService + SessionService) (#849) 2026-04-25 05:28:49 +01:00
Configs revert fcb9c189e5 2026-04-23 12:32:57 +01:00
Console feat(agent/php): artisan agentic:sync-profiles + agentic:dispatch-queue (#829) 2026-04-26 01:08:42 +01:00
Controllers feat(api): implement §3 fleet+credits+subscription+sync+agent-auth routes (#848) 2026-04-25 05:43:51 +01:00
docs revert fcb9c189e5 2026-04-23 12:32:57 +01:00
Events feat(core/events): add WebhookRegistering lifecycle event (HIGH) 2026-04-25 19:37:23 +01:00
Facades revert fcb9c189e5 2026-04-23 12:32:57 +01:00
Http/Controllers/Api feat(agent/php): Phase 4 scheduler + Mantis webhook (#830 narrowed) 2026-04-26 01:03:31 +01:00
Jobs feat(agent/php): DispatchMantisTicketJob + HermesClient + agent_dispatches table (#827) 2026-04-26 00:52:37 +01:00
Lang/en_GB revert fcb9c189e5 2026-04-23 12:32:57 +01:00
Mcp feat(agent/mcp): McpContext::getScopes() + hasScope() (HIGH) 2026-04-25 19:04:35 +01:00
Middleware revert fcb9c189e5 2026-04-23 12:32:57 +01:00
Migrations feat(agent/php): DispatchMantisTicketJob + HermesClient + agent_dispatches table (#827) 2026-04-26 00:52:37 +01:00
Mod feat(agent/admin+hub): RFC foundation — admin scaffold + Hub global components 2026-04-25 21:09:22 +01:00
Models feat(agent/php): DispatchMantisTicketJob + HermesClient + agent_dispatches table (#827) 2026-04-26 00:52:37 +01:00
Pipeline feat(pipeline): add MetaReader contract + Forgejo-backed implementation 2026-04-23 18:09:54 +01:00
resources feat(mcp): implement extended RFC services + transport (#842) 2026-04-25 05:50:16 +01:00
Routes feat(agent/php): Phase 4 scheduler + Mantis webhook (#830 narrowed) 2026-04-26 01:03:31 +01:00
Service revert fcb9c189e5 2026-04-23 12:32:57 +01:00
Services feat(agent/php): artisan agentic:sync-profiles + agentic:dispatch-queue (#829) 2026-04-26 01:08:42 +01:00
Support revert fcb9c189e5 2026-04-23 12:32:57 +01:00
tests feat(agent/php): artisan agentic:sync-profiles + agentic:dispatch-queue (#829) 2026-04-26 01:08:42 +01:00
View revert fcb9c189e5 2026-04-23 12:32:57 +01:00
Website feat(agent/admin+hub): RFC foundation — admin scaffold + Hub global components 2026-04-25 21:09:22 +01:00
.DS_Store revert fcb9c189e5 2026-04-23 12:32:57 +01:00
agentic.php revert fcb9c189e5 2026-04-23 12:32:57 +01:00
AGENTS.md revert fcb9c189e5 2026-04-23 12:32:57 +01:00
Boot.php feat(agent/agentic): RFC foundation — atomic CompleteTask + credit ledger reconcile 2026-04-25 20:59:38 +01:00
config.php fix(brain): wire Qdrant api-key header from BRAIN_QDRANT_API_KEY 2026-04-24 05:21:15 +01:00
CoreServiceProvider.php feat(core/events): add WebhookRegistering lifecycle event (HIGH) 2026-04-25 19:37:23 +01:00
FINDINGS.md revert fcb9c189e5 2026-04-23 12:32:57 +01:00
GEMINI.md revert fcb9c189e5 2026-04-23 12:32:57 +01:00
TODO.md revert fcb9c189e5 2026-04-23 12:32:57 +01:00