feat: Add SOLID principles and TDD reference documentation

- Created solid.md to document the SOLID principles for clean code practices.
- Created tdd.md to outline Test Driven Development principles and practices.
- Added kana-rust-backend-best-practice.md as a reference guide for building a Rust backend using Axum and SeaORM.
- Established push-flow-convention.md to enforce pre-commit and pre-push hooks with versioning rules.
- Introduced AGENTS.md to provide guidance on best practices and available commands for Kilo.
- Configured kilo.json to include new skills and agents for enhanced functionality.
- Added lefthook.yml for managing git hooks to ensure code quality and adherence to conventions.
This commit is contained in:
asepharyana
2026-07-21 07:10:17 +07:00
parent d615090dcd
commit 55677dd671
23 changed files with 2110 additions and 33 deletions
+1 -1
View File
@@ -476,7 +476,7 @@ fn handle_compact(state: &mut AppStateRest) {
let client = zesdex_infrastructure::llm::provider::LlmClient::new(api_key, model, api_base);
if let Some(ref mut rt) = state.session_runtime {
let tokio_rt = tokio::runtime::Runtime::new().unwrap();
let tokio_rt = tokio::runtime::Runtime::new().expect("create tokio runtime for AI compaction");
if let Ok(()) = tokio_rt.block_on(zesdex_application::agent::turn_service::compact_messages_with_ai(&mut rt.messages, &client)) {
let msg_count = rt.messages.len();
state.push_transcript(ChatMessageDisplay::new(
+1 -1
View File
@@ -83,7 +83,7 @@ async fn static_handler(
.status(200)
.header("Content-Type", mime.to_string())
.body(axum::body::Body::from(data))
.unwrap()
.expect("Response builder with known-valid status and header")
.into_response()
}
Err(_) => (StatusCode::NOT_FOUND, "Not found").into_response(),