huskies: merge 589_story_wizard_auto_detects_project_components_and_configures_scripts_accordingly

This commit is contained in:
dave
2026-04-16 00:18:42 +00:00
parent 61502f51d9
commit df2f20a5e5
4 changed files with 643 additions and 8 deletions
+11 -3
View File
@@ -16,9 +16,13 @@ pub enum WizardStep {
Stack,
/// Step 4: create script/test
TestScript,
/// Step 5: create script/release
/// Step 5: create script/build
BuildScript,
/// Step 6: create script/lint
LintScript,
/// Step 7: create script/release
ReleaseScript,
/// Step 6: create script/test_coverage
/// Step 8: create script/test_coverage
TestCoverage,
}
@@ -29,6 +33,8 @@ impl WizardStep {
WizardStep::Context,
WizardStep::Stack,
WizardStep::TestScript,
WizardStep::BuildScript,
WizardStep::LintScript,
WizardStep::ReleaseScript,
WizardStep::TestCoverage,
];
@@ -40,6 +46,8 @@ impl WizardStep {
WizardStep::Context => "Generate project context (00_CONTEXT.md)",
WizardStep::Stack => "Generate tech stack spec (STACK.md)",
WizardStep::TestScript => "Create test script (script/test)",
WizardStep::BuildScript => "Create build script (script/build)",
WizardStep::LintScript => "Create lint script (script/lint)",
WizardStep::ReleaseScript => "Create release script (script/release)",
WizardStep::TestCoverage => "Create test coverage script (script/test_coverage)",
}
@@ -262,7 +270,7 @@ mod tests {
#[test]
fn default_state_has_all_steps_pending() {
let state = WizardState::default();
assert_eq!(state.steps.len(), 6);
assert_eq!(state.steps.len(), 8);
for step in &state.steps {
assert_eq!(step.status, StepStatus::Pending);
}