Canonize work-record flavor and residual default-exclusion.
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:
parent
b5e4b1d97c
commit
ffad21146f
6 changed files with 132 additions and 28 deletions
|
|
@ -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 }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue