Canonize work-record flavor and residual default-exclusion.
All checks were successful
CI Smoke / host-smoke (push) Successful in 1s
CI Smoke / container-smoke (push) Successful in 3s
Python Tests / pytest (push) Successful in 26s

STATE-WP-0092-T01: flavor is a closed bucket on workplans and tasks;
residuals are a flavor, not a kind, and are omitted from default open
views until demand or risk promotes them. depends_on is the workplan
frontmatter edge.
This commit is contained in:
codex 2026-09-14 15:28:58 +02:00
parent b5e4b1d97c
commit ffad21146f
6 changed files with 132 additions and 28 deletions

View file

@ -19,6 +19,12 @@
"type": "array",
"items": { "type": "string", "pattern": "^[a-z0-9-]+$" }
},
"flavor": {
"enum": ["planning", "implementation", "refactoring", "extension", "residual"]
},
"flavor_promotion_reason": {
"enum": ["demand", "risk"]
},
"owner": {
"type": "string",
"minLength": 2
@ -32,7 +38,14 @@
"owner": { "$ref": "#/$defs/owner" },
"tags": { "$ref": "#/$defs/tags" },
"uuid": { "$ref": "#/$defs/uuid" },
"created_at": { "$ref": "#/$defs/date" }
"created_at": { "$ref": "#/$defs/date" },
"flavor": { "$ref": "#/$defs/flavor" },
"flavor_promotion_reason": { "$ref": "#/$defs/flavor_promotion_reason" },
"flavor_promoted_from": { "$ref": "#/$defs/flavor" },
"depends_on": {
"type": "array",
"items": { "type": "string", "minLength": 3 }
}
}
}
}