huskies: rename project from storkit to huskies
Rename all references from storkit to huskies across the codebase: - .storkit/ directory → .huskies/ - Binary name, Cargo package name, Docker image references - Server code, frontend code, config files, scripts - Fix script/test to build frontend before cargo clippy/test so merge worktrees have frontend/dist available for RustEmbed Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -64,8 +64,8 @@ pub struct WizardStepInfo {
|
||||
/// - `token` streams partial model output.
|
||||
/// - `update` pushes the updated message history.
|
||||
/// - `error` reports a request or processing failure.
|
||||
/// - `work_item_changed` notifies that a `.storkit/work/` file changed.
|
||||
/// - `agent_config_changed` notifies that `.storkit/project.toml` was modified.
|
||||
/// - `work_item_changed` notifies that a `.huskies/work/` file changed.
|
||||
/// - `agent_config_changed` notifies that `.huskies/project.toml` was modified.
|
||||
enum WsResponse {
|
||||
Token {
|
||||
content: String,
|
||||
@@ -97,7 +97,7 @@ enum WsResponse {
|
||||
merge: Vec<crate::http::workflow::UpcomingStory>,
|
||||
done: Vec<crate::http::workflow::UpcomingStory>,
|
||||
},
|
||||
/// `.storkit/project.toml` was modified; the frontend should re-fetch the
|
||||
/// `.huskies/project.toml` was modified; the frontend should re-fetch the
|
||||
/// agent roster. Does NOT trigger a pipeline state refresh.
|
||||
AgentConfigChanged,
|
||||
/// An agent's state changed (started, stopped, completed, etc.).
|
||||
@@ -773,14 +773,14 @@ mod tests {
|
||||
stage: "2_current".to_string(),
|
||||
item_id: "42_story_foo".to_string(),
|
||||
action: "start".to_string(),
|
||||
commit_msg: "storkit: start 42_story_foo".to_string(),
|
||||
commit_msg: "huskies: start 42_story_foo".to_string(),
|
||||
};
|
||||
let json = serde_json::to_value(&resp).unwrap();
|
||||
assert_eq!(json["type"], "work_item_changed");
|
||||
assert_eq!(json["stage"], "2_current");
|
||||
assert_eq!(json["item_id"], "42_story_foo");
|
||||
assert_eq!(json["action"], "start");
|
||||
assert_eq!(json["commit_msg"], "storkit: start 42_story_foo");
|
||||
assert_eq!(json["commit_msg"], "huskies: start 42_story_foo");
|
||||
}
|
||||
|
||||
#[test]
|
||||
@@ -901,7 +901,7 @@ mod tests {
|
||||
stage: "2_current".to_string(),
|
||||
item_id: "42_story_foo".to_string(),
|
||||
action: "start".to_string(),
|
||||
commit_msg: "storkit: start 42_story_foo".to_string(),
|
||||
commit_msg: "huskies: start 42_story_foo".to_string(),
|
||||
from_stage: None,
|
||||
};
|
||||
let ws_msg: Option<WsResponse> = evt.into();
|
||||
@@ -1166,7 +1166,7 @@ mod tests {
|
||||
|
||||
// Create minimal pipeline dirs so load_pipeline_state succeeds.
|
||||
for stage in &["1_backlog", "2_current", "3_qa", "4_merge"] {
|
||||
std::fs::create_dir_all(root.join(".storkit").join("work").join(stage)).unwrap();
|
||||
std::fs::create_dir_all(root.join(".huskies").join("work").join(stage)).unwrap();
|
||||
}
|
||||
|
||||
let ctx = Arc::new(AppContext::new_test(root));
|
||||
@@ -1381,7 +1381,7 @@ mod tests {
|
||||
stage: "2_current".to_string(),
|
||||
item_id: "99_story_test".to_string(),
|
||||
action: "start".to_string(),
|
||||
commit_msg: "storkit: start 99_story_test".to_string(),
|
||||
commit_msg: "huskies: start 99_story_test".to_string(),
|
||||
from_stage: None,
|
||||
})
|
||||
.unwrap();
|
||||
|
||||
Reference in New Issue
Block a user