- This repository is for the Comitor project.
- Documentation source of truth is under
docs/, rendered by Zensical viazensical.toml.
- Always create a detailed plan right after receiving a request.
- Wait for user confirmation before implementation.
- Only do what the requester explicitly asks.
- Do not touch unrelated files, flows, or modules.
- When writing code, add a concise comment that explains each function's purpose in Vietnamese.
- Build and test only the parts where code was changed.
- Do not run full-repo build/tests unless the user explicitly asks for it.
- Only report fully complete when the required build/test scope passes.
- If verification fails, report incomplete status and list remaining failures.
- Project documentation must be written in Vietnamese.
- Update or add markdown docs only when the new work is related to business flow or code that truly needs documentation.
- The agent must self-assess whether documentation is necessary for the requested change.
- Avoid duplicate content. Always review existing docs first and update existing pages when equivalent sections already exist.
- Create a new docs file only when existing files cannot be extended cleanly without reducing clarity.
- New docs file naming must follow
slug-YYYYMMDD.md. - When adding a new docs file, update:
docs/index.mdzensical.tomlnavigation
- Do not place project documentation files at repo root (except governance files like
AGENTS.md).
- Run docs build only when docs were changed:
./.venv/bin/zensical build -f zensical.toml- If
.venvis not available, use:zensical build -f zensical.toml
- Receive request -> write detailed plan.
- Wait for user confirmation.
- Implement strictly within requested scope.
- Update docs only if needed by the documentation rules.
- Build/test only changed code parts.
- Report exact completion status based on required verification.