huskies: merge 730_story_use_numeric_only_story_ids_across_mcp_worktrees_git_branches_and_log_paths
This commit is contained in:
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user