## Summary - remove tenant-based Graph options access from runtime service paths and enforce provider-only resolution - add `MicrosoftGraphOptionsResolver` and `ProviderConfigurationRequiredException` for centralized, actionable provider-config errors - turn `Tenant::graphOptions()` into a fail-fast kill switch to prevent legacy runtime usage - add and update tests (including guardrail) to enforce no reintroduction in `app/` - update Spec 088 artifacts (`spec`, `plan`, `research`, `tasks`, checklist) ## Validation - `vendor/bin/sail bin pint --dirty` - `vendor/bin/sail artisan test --compact --filter=NoLegacyTenantGraphOptions` - `vendor/bin/sail artisan test --compact tests/Feature/Filament` - `CI=1 vendor/bin/sail artisan test --compact` ## Notes - Branch includes the guardrail test for legacy callsite detection in `app/`. - Full suite currently green: 1227 passed, 5 skipped. Co-authored-by: Ahmed Darrazi <ahmeddarrazi@MacBookPro.fritz.box> Reviewed-on: #105
12 lines
582 B
Markdown
12 lines
582 B
Markdown
# Contracts — Remove Legacy Tenant Graph Options
|
|
|
|
This feature introduces **no new HTTP/API endpoints** and does not change the Microsoft Graph contract registry.
|
|
|
|
## Why `contracts/` exists anyway
|
|
The SpecKit workflow expects a `contracts/` directory for features that introduce or modify external interfaces.
|
|
|
|
## Contract impact for this feature
|
|
- **No changes** to `config/graph_contracts.php` are required.
|
|
- **No new** application routes/controllers are introduced.
|
|
- The change is limited to **internal configuration sourcing** (provider connection resolution + guardrail).
|