docs: refresh per-package AGENTS.md + di-explainer to current binders
Six per-package AGENTS.md tables and the di-explainer wiring trace all showed pre-ADR-014 binder shapes. Refreshed to the post-ADR-015 reality: - Per-package "Public exports" tables now show the (config, tracer, logger, bus, queue) production signature and the (tracer, logger, bus, queue) dev-seed companion. auth and marketing-pages also list their newly-public ./di/container, ./di/symbols, and (marketing-pages only) ./services/mailer + ./services/recording-mailer subpaths. - di-explainer's wiring trace adds the resolveEventsAndJobs* step in bindAll(), the (config, tracer, logger, bus, queue) binder signature, and the // <gen:event-handlers> / // <gen:jobs> injection sites. No code change; pre-existing AGENTS.md staleness predates ADR-014 + ADR-015 — this commit catches both up.
This commit is contained in:
@@ -29,7 +29,8 @@ Header global for main site navigation. Provides the Header Payload global and t
|
||||
| `./ui` | `headerQuery` — React Query option builder |
|
||||
| `./api` | `navigationRouter` (tRPC router) |
|
||||
| `./cms` | Payload Header global definition |
|
||||
| `./di/bind-production` | `bindProductionNavigation(container, config)` |
|
||||
| `./di/bind-production` | `bindProductionNavigation(config, tracer, logger, bus, queue)` — swaps mock impls for real Payload-backed ones at app boot |
|
||||
| `./di/bind-dev-seed` | `bindDevSeedNavigation(tracer, logger, bus, queue)` — replaces the default empty mock with a populated one for dev / Storybook |
|
||||
|
||||
## Use-case + controller patterns
|
||||
|
||||
|
||||
Reference in New Issue
Block a user