TenantAtlas/specs/044-drift-mvp/quickstart.md
2026-01-13 23:28:02 +01:00

31 lines
865 B
Markdown

# Quickstart: Drift MVP (044)
## Run locally (Sail)
```bash
./vendor/bin/sail up -d
./vendor/bin/sail artisan queue:work --tries=1
```
## Prepare data
1. Open the admin panel and select a tenant context.
2. Navigate to Inventory and run an Inventory Sync **twice** with the same selection (same `selection_hash`).
## Use Drift
1. Navigate to the new Drift area.
2. On first open, Drift will dispatch a background job to generate findings for:
- baseline = previous successful run for the same `scope_key`
- current = latest successful run for the same `scope_key`
3. Refresh the page once the job finishes.
## Triage
- Acknowledge a finding; it should move out of the “new” view but remain visible/auditable.
## Notes
- UI must remain DB-only for label resolution (no render-time Graph calls).
- Findings store minimal, sanitized evidence only.