--- id: CommitAdjusted name: Commit Adjusted version: 1.0.0 summary: Published when a manager overrides a submitted forecast for someone in their team. owners: - revenue-intelligence schemaPath: schema.json --- import Footer from '@catalog/components/footer.astro'; ## Event Overview Fired when a manager changes a rep's number through `POST /tenants/{tenant_id}/forecast/adjust`, guarded by `require_adjust_permission`. The adjustment is stored as a new `fact_forecast_revision` row, so the original submission is preserved. ### Envelope | Field | Value | |---|---| | Bus | `{env}-rio-events` (but see the service page - this repo defaults to `rio-commit-events`) | | `source` | `rio.commit` (`api/events/schemas.py:11`) | | `detail-type` | `Commit Adjusted` (`api/events/schemas.py:21`) | | `detail.event_name` | `rio.commit.commit.adjusted` | | `detail.entity_type` | `commit` | | `detail.action` | `adjusted` | | Emitted at | `api/services/forecast_service.py:2083-2088` | ### What the payload carries Only the audit envelope. The rich domain fields (amounts, breakdowns, quarter labels) are **dropped** before publishing - see the service page. `before` and `after` are always `null`. ### Who consumes it Only the Audit Service, through its catch-all rule matching any `source` beginning with `rio`. No service subscribes to it specifically. ### Payload Schema