KQ090 — a preset's set is written out only where no other preset is judged
Error · preset-written-out-alone · Policies
No policy set has a preset's Code while the repository sets a preset of its kind, and no two presets of one kind are both written out.
A policy set is coded as a preset while kanoniq.repository.json sets a preset of its kind, or both presets of one kind are written out. Only one preset of each kind is judged at a time, and a written-out preset would be judged twice beside the setting. Keep one: remove that kind from preset in kanoniq.repository.json to keep the written-out set, or remove the set to keep the setting.
Examples
Both model presets written out, each a set of its own, raise KQ090:
policy-set model baseline-model-recommended {
policy vaulted when credential: secret or certificate -> deny stored-in: unstated
}
policy-set model baseline-model-strict {
policy vaulted when credential: secret or certificate -> deny stored-in: unstated
}
Keeping only the strict one raises nothing:
policy-set model baseline-model-strict {
policy vaulted when credential: secret or certificate -> deny stored-in: unstated
}
© 2026 Extenza Works. All rights reserved.