23 lines
835 B
Markdown
23 lines
835 B
Markdown
# Spec 079: Inventory links support non-UUID IDs
|
|
|
|
**Date**: 2026-02-07
|
|
|
|
## Problem
|
|
|
|
Inventory dependency extraction writes edges into `inventory_links`. Some Microsoft Graph / Intune identifiers (notably scope tag IDs) can be non-UUID strings (e.g. `"0"`). The current schema defines `inventory_links.source_id` and `inventory_links.target_id` as UUID columns, causing PostgreSQL failures when non-UUID identifiers are inserted.
|
|
|
|
## Goal
|
|
|
|
Allow storing non-UUID identifiers in `inventory_links` without crashing inventory sync/extraction.
|
|
|
|
## Requirements
|
|
|
|
- `inventory_links.source_id` and `inventory_links.target_id` must accept arbitrary string identifiers.
|
|
- Existing UUID identifiers must continue to work.
|
|
- Behavior must be covered by tests.
|
|
|
|
## Non-goals
|
|
|
|
- No redesign of the dependency graph model.
|
|
- No UI/Filament changes.
|