()
| 208 | |
| 209 | #[test] |
| 210 | fn new_defaults_to_feature() { |
| 211 | let (repo, _dir) = init_repo(); |
| 212 | let (created, kind) = create_intent(&repo, "Plain work", "feature", None).unwrap(); |
| 213 | assert_eq!(kind, "feature"); |
| 214 | assert_eq!(manifest_kind(&repo, &created.id), "feature"); |
| 215 | // Hash back-compat: a default-kind intent omits the `kind` frontmatter key. |
| 216 | let inputs = bridge::read_intent(&repo, &created.id).unwrap(); |
| 217 | assert!(!inputs.frontmatter.contains_key("kind")); |
| 218 | } |
| 219 | |
| 220 | #[test] |
| 221 | fn new_kind_bug_sets_bug() { |
nothing calls this directly
no test coverage detected