AGENT SKILL

kaal-controls

Tell directive, preventive, detective and corrective controls apart, say what each is for, combine them without letting one stand for another, and keep every claim about a control to what has been observed. Use when writing, reviewing or reporting on a rule, check, gate, review, safeguard or repair, or when saying that something is enforced, prevented, guaranteed or protected.

License 许可
MIT
所属仓库
Kai-Hacks-AI/KAAL
最近更新
2026-11-15
Stars
★ 0
Forks
0

01 前言 Front Matter

name
kaal-controls
license
MIT
description
Tell directive, preventive, detective and corrective controls apart, say what each is for, combine them without letting one stand for another, and keep every claim about a control to what has been observed. Use when writing, reviewing or reporting on a rule, check, gate, review, safeguard or repair, or when saying that something is enforced, prevented, guaranteed or protected.

03 SKILL.md 正文

Working with controls

A control is a measure taken so that an unwanted outcome does not happen, is noticed, or is put right. This Skill covers what the four types are for, how they work together, and how far a claim about one may go. It prescribes no tool, no naming and no procedure.

The four types

Tell the type by what the control does when its rule is broken. Do not tell it by its name, by the tool that runs it, or by how firmly it is worded.

  • Directive states the behavior that is required. The rule can be broken and nothing happens to the rule. A policy, a guideline or an instruction is directive.
  • Preventive stops a prohibited action from taking effect. It does this for a named actor or interface, inside a named boundary where it is enforced.
  • Detective reveals that a rule was broken. A report, a scan, a test or a reviewer reading a proposal detects. It blocks nothing.
  • Corrective puts back the wanted state after a deviation. It acts after the fact.

The type is a matter of design. It does not change with what you have seen the control do. A preventive control you have never seen operate is still preventive, and you say that you have not seen it operate.

How they work together

They cooperate. A directive says what is wanted, a detective control shows when it is not met, a preventive control stops the action it governs, and a corrective control restores what was lost. Keep them independent while they do:

  • One being present is no evidence of another. A written rule is not a check, a clean report is not a block, and a block is not a repair.
  • A gate that requires a detective control's result joins the two. The detective control still only reveals. The gate prevents only the action it governs, and only where it is enforced.
  • Whatever joins controls is neither of them. Judge each by its own type, and name every type a combination holds.
  • Call a check or review independent only when you know it was not done by whoever did the work.

What you may claim

A claim is no stronger than what has been observed.

  • A rule that is written is not enforced. Say "the rule requires", not "it cannot happen".
  • A setting is not operation. To say a control operates, cite a result it produced for the case in question.
  • One operation is not effectiveness.
  • A preventive claim names the action, the actor or interface, and the boundary. Anything outside it, such as another route or someone who can override it, is not covered. Never say an action is impossible.
  • A report that finds nothing shows only that nothing was found in what it examined. What you could not observe stays unknown.

What verification, validation and a finding are is Testing's. Follow the kaal-testing Skill for them.

When you describe a control, say its type and what it does when the rule is broken, then what you have observed and what you have not.

04 同仓库更多 Skills

Kai-Hacks-AI
Kai-Hacks-AI/KAAL

kaal-testing

Design a capability's tests in three loops (architecture conformance, acceptance of the delivered capability, implementation test-first) and report what they show as calibrated findings. Use when planning, writing or reviewing tests, deciding what a test must prove, or reporting test results, failures, defects or coverage.

★ 0
Kai-Hacks-AI
Kai-Hacks-AI/KAAL

kaal-review

Review work as an Agent reviewing another Agent's work, and leave the human observer what they need to see. Use when asked to review a change, a pull request, a plan or another Agent's result, in any repository.

★ 0
Kai-Hacks-AI
Kai-Hacks-AI/KAAL

kaal-release

Design and drive an end-to-end release process for any target, such as a protected branch, a package registry or a deployment. Use when preparing, deciding, promoting, publishing, verifying or recovering a release, or when designing how a repository releases.

★ 0
Kai-Hacks-AI
Kai-Hacks-AI/KAAL

kaal-hosting

Select and use Hosting operations for portable file reads, initialization, publication, guarded file changes and installed commands. Use when working through @kaihacksai/kaal-hosting, handling a refused or stale operation, recovering from a failed reconciliation, verifying an installation or interpreting its boundary results.

★ 0
Kai-Hacks-AI
Kai-Hacks-AI/KAAL

kaal-graph

Check and navigate the relationships between KAAL Nodes, as Edges embedded in each Node's frontmatter. Use when adding a relationship to a Node, checking that a set of Nodes is consistent, or finding what a Node relates to or what relates to it.

★ 0
Kai-Hacks-AI
Kai-Hacks-AI/KAAL

kaal-engineer-skill

Produce and update KAAL Skills, and check that their Agent Skill conforms to the Agent Skills standard. Use when creating, changing or checking a KAAL Skill, its Skill Node, or its SKILL.md.

★ 0