huskies: merge 730_story_use_numeric_only_story_ids_across_mcp_worktrees_git_branches_and_log_paths

This commit is contained in:
dave
2026-04-27 20:17:03 +00:00
parent 63d5a500de
commit 1388658ae8
10 changed files with 223 additions and 64 deletions
+9
View File
@@ -64,6 +64,11 @@ pub struct StoryMetadata {
/// Used by the bug-645 salvage path to require real test evidence, not just
/// compilation success.
pub run_tests_passed: Option<bool>,
/// Item type: "story", "bug", "spike", or "refactor".
///
/// Present on items created with numeric-only IDs (no slug suffix).
/// Used by the pipeline to determine routing (e.g. spikes skip QA).
pub item_type: Option<String>,
}
#[derive(Debug, Clone, PartialEq, Eq)]
@@ -102,6 +107,9 @@ struct FrontMatter {
/// Used by the bug-645 salvage path to distinguish a genuine test-passing
/// session from one that merely compiled.
run_tests_passed: Option<bool>,
/// Item type: "story", "bug", "spike", or "refactor".
#[serde(rename = "type")]
item_type: Option<String>,
}
pub fn parse_front_matter(contents: &str) -> Result<StoryMetadata, StoryMetaError> {
@@ -144,6 +152,7 @@ fn build_metadata(front: FrontMatter) -> StoryMetadata {
depends_on: front.depends_on,
frozen: front.frozen,
run_tests_passed: front.run_tests_passed,
item_type: front.item_type,
}
}