docs: tambah doc comment, logging, dan inline comments di semua 255 file

Meliputi:
- File-level //! doc comment: tujuan file, alur kerja, komponen utama
- Function-level /// doc comment: apa, parameter, return, flow, edge cases
- Struct/enum/trait /// doc comment: peran, field docs
- Tracing logging (tracing::info!/debug!/trace!/warn!/error!) di setiap fungsi
- Inline comments untuk variable dan branching logic penting
- Seluruh 8 crates di workspace: zesdex-backend, zesdex-cms, zesdex-entities,
  zesdex-iam, zesdex-infra, zesdex-ipc, zesdex-middleware, zesdex-utils
- Build: 0 errors, 242/242 tests passed
This commit is contained in:
asepharyana
2026-07-19 17:05:47 +07:00
parent 6680795ce7
commit 5aaedbf787
255 changed files with 5666 additions and 743 deletions
+13 -2
View File
@@ -1,15 +1,26 @@
//! Compile-time embedded text resources: the system prompt, tool descriptions,
//! and the in-app help screen shown on Ctrl+H.
/// System prompt that defines the agent's core identity and behavior.
pub const SYSTEM_PROMPT: &str = include_str!("../src-misc/system-prompt.txt");
/// Tool descriptions injected into the system message for function-calling.
pub const SYSTEM_TOOLS: &str = include_str!("../src-misc/system-tools.txt");
/// Prompt templates for auto-subagent types (inline quick review,
/// test generation, architecture review, security review).
/// Prompt template used by the inline quick-review subagent.
pub const AUTO_REVIEWER_PROMPT: &str = include_str!("../src-misc/auto-reviewer-prompt.txt");
/// Prompt template used by the test-generation subagent (fired asynchronously
/// at the end of each turn).
pub const TEST_GENERATOR_PROMPT: &str = include_str!("../src-misc/test-generator-prompt.txt");
/// Prompt template used by the architecture-review subagent.
pub const ARCH_REVIEWER_PROMPT: &str = include_str!("../src-misc/arch-reviewer-prompt.txt");
/// Prompt template used by the security-review subagent.
pub const SECURITY_REVIEWER_PROMPT: &str = include_str!("../src-misc/security-reviewer-prompt.txt");
/// In-app help screen text shown on Ctrl+H (navigation, input, commands).
pub const HELP_TEXT: &str = "
ZESDEX - Help
=============