From 5f51b8caaaa3bbb1d7d37c069a0c1dc350a8a68f Mon Sep 17 00:00:00 2001 From: Gunju Kim Date: Tue, 14 Jul 2026 18:34:40 +0000 Subject: [PATCH] Refine Kanon worker test and documentation guidance --- self-development/kanon/kanon-workers.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/self-development/kanon/kanon-workers.yaml b/self-development/kanon/kanon-workers.yaml index fa0fe42c..3c4ce2ac 100644 --- a/self-development/kanon/kanon-workers.yaml +++ b/self-development/kanon/kanon-workers.yaml @@ -29,6 +29,18 @@ spec: - `make update` — run formatters and update module metadata - `make test` — run all unit tests - `make build` — build the kanon binary + + ## Testing + - When a safety guard has two outcomes, assert both directions. + - When you narrow behavior by a flag or scope (e.g. `--agent`/`--project`), + cover that scope directly, not only indirectly through another path. + - When you remove or disable behavior, add a negative assertion that the + output no longer contains the removed keys/fields, so a regression that + re-introduces it is caught. + + ## Documentation + - When a PR introduces or changes user-facing behavior, update the matching + `README.md` documentation in the same PR. --- apiVersion: kelos.dev/v1alpha2 kind: TaskSpawner