agent/php/tests/Unit
Snider b0118ef8ef feat(core/events): add WebhookRegistering lifecycle event (HIGH)
WebhookRegistering event exposes:
- register(string $type, array $spec): add a webhook type to the
  registry
- types(): array — queryable post-dispatch registry

CoreServiceProvider dispatches the event at app boot and exposes the
collected registry via webhookTypes() — matches the existing
ApiRoutesRegistering / ConsoleBooting / ClientRoutesRegistering
event-driven module pattern.

Pairs with #1034 ofm.bot WebhookRegistrar (just landed) — that
service can now also be wired through this event, allowing OTHER
modules and external apps using Core to register webhook types via
the standard Core lifecycle.

Note: real Core lifecycle dispatcher lives in a sibling read-only
framework checkout. CoreServiceProvider here is a local shim that
mirrors the dispatch behaviour. Upstream patch needed when that
sibling lands.

Pest covers: instantiation + register, boot-time dispatch, post-boot
registry lookup.

Co-authored-by: Codex <noreply@openai.com>
Closes tasks.lthn.sh/view.php?id=1013
2026-04-25 19:37:23 +01:00
..
Concerns 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
Pipeline feat(pipeline): add MetaReader contract + Forgejo-backed implementation 2026-04-23 18:09:54 +01:00
.gitkeep revert fcb9c189e5 2026-04-23 12:32:57 +01:00
AgentDetectionTest.php revert fcb9c189e5 2026-04-23 12:32:57 +01:00
AgenticManagerTest.php revert fcb9c189e5 2026-04-23 12:32:57 +01:00
AgentToolRegistryTest.php revert fcb9c189e5 2026-04-23 12:32:57 +01:00
BrainServiceTest.php fix(brain): wire Qdrant api-key header from BRAIN_QDRANT_API_KEY 2026-04-24 05:21:15 +01:00
ClaudeServiceTest.php revert fcb9c189e5 2026-04-23 12:32:57 +01:00
GeminiServiceTest.php revert fcb9c189e5 2026-04-23 12:32:57 +01:00
OpenAIServiceTest.php revert fcb9c189e5 2026-04-23 12:32:57 +01:00
ProcessContentTaskTest.php revert fcb9c189e5 2026-04-23 12:32:57 +01:00