Context resolution
When preferences conflict, UNACI applies a fixed order.
| Priority | Layer | Example |
|---|---|---|
| 1 | Current task | “Make this banner colourful” |
| 2 | Active Space | Nordic Coffee Co. uses green and gold |
| 3 | Your Identity | You generally prefer monochrome |
| 4 | Default templates | Baseline guidance |
get_task_context applies this order for the assistant. When an Identity entry and a Space entry cover the same topic (the same name, the same title, or the same meaning in a related category), only the Space entry is sent and the Identity entry is listed as overridden, by key only. Entries that came from a template and were approved unchanged count as defaults.
read_context returns everything with its layer, so an assistant using it applies the order itself.
The order never overrides security: connection scope, visibility limits and revocation always apply before ranking, and nothing in an entry can widen what a connection may read.
Checks in the app lists every place where a Space overrides your Identity, and entries that look like duplicates.