Skip to main content
Version: 0.4.1

KQ078 — an Ecosystem's policy set shares no Code with the model's

Error · policy-set-code-is-unique · Policies

No policy set of an Ecosystem shares its Code with a policy set of the model, the two default sets aside.

An ecosystem has a policy set with the same Code as one of the model's, so security/no-key could mean either. Rename one of the two sets. Every scope has its own default-model and default-architecture sets, which is fine.

Examples​

In a model with its own security set, a set coded security in the shop's platform is the ecosystem's, so it raises KQ078:

policy-set architecture security "Shop security" { policy no-anonymous -> deny auth: none }

Renamed, it raises nothing:

policy-set architecture shop-security "Shop security" { policy no-anonymous -> deny auth: none }

© 2026 Extenza Works. All rights reserved.