story-kit: merge 265_story_spikes_skip_merge_and_stop_for_human_review

This commit is contained in:
Dave
2026-03-17 16:33:55 +00:00
parent 7b324ea96e
commit 86694a4383
3 changed files with 187 additions and 17 deletions

View File

@@ -4,8 +4,7 @@ use std::process::Command;
use crate::io::story_metadata::clear_front_matter_field;
use crate::slog;
#[allow(dead_code)]
fn item_type_from_id(item_id: &str) -> &'static str {
pub(super) fn item_type_from_id(item_id: &str) -> &'static str {
// New format: {digits}_{type}_{slug}
let after_num = item_id.trim_start_matches(|c: char| c.is_ascii_digit());
if after_num.starts_with("_bug_") {