Skip to main content
Version: Next

KQP103 — the element's path

Lint · element-path · Decision records

A decision record's element path is the path its element Id is at in the model.

A decision record's element.path is not the path its element.id is at in the model now, as when the element was renamed or moved. The site follows the Id, so the record still finds its element, and the path is there for whoever reads the file. Write the path the finding gives. Only kq portal:build finds it, since it needs the model.

Examples​

This record names the model's architecture policies by their Id, but its path is the path of the policy no-key inside them, so it raises KQP103:

portal/Home/0001-Calls-never-sign-in-with-a-key.adr.md
---
description: No call in the shop signs in with a key; the model's architecture policies deny it.
status: accepted
date: 2026-09-27
element:
id: aca6a5a9-f6a7-563c-801b-7f1d71dc3a0f
path: default-architecture/no-key
---

Every call signs in with a token from the identity provider, so no key is ever handed out.

With the path the Id is at, default-architecture, it raises nothing:

portal/Home/0001-Calls-never-sign-in-with-a-key.adr.md
---
description: No call in the shop signs in with a key; the model's architecture policies deny it.
status: accepted
date: 2026-09-27
element:
id: aca6a5a9-f6a7-563c-801b-7f1d71dc3a0f
path: default-architecture
---

Every call signs in with a token from the identity provider, so no key is ever handed out.

© 2026 Extenza Works. All rights reserved.