Building and testing from source¶
Repository layout¶
| Directory | Contents |
|---|---|
cored/ |
Native Go monitoring core (daemonitor-cored), CLI & TUI (daemonitor-cli), and debug client (daemonitor-corectl) |
core/ |
Shared Kotlin domain models, process classifier, SQLite store, and JVM collector fallback |
cli/ |
Kotlin headless terminal UI (--headless) |
src/ |
Compose Multiplatform Desktop application and local MCP server |
gradle-plugin/ |
Experimental Gradle build-observation plugin (0.1.0, standalone project) |
website/ |
Zensical documentation website (isolated Python/uv workspace) |
docs/ |
Internal technical plans, specs, and shared public screenshots (docs/images/) |
Building and testing Go (cored/)¶
Building and testing Kotlin / Desktop¶
Requires JDK 21:
# Run unit and contract tests (excludes @Tag("documentation") screenshot capture)
./gradlew test
# Run the Desktop application locally
./gradlew run
# Regenerate deterministic Desktop screenshots (docs/images/*.png)
./gradlew captureReadmeScreenshots
Testing the experimental Gradle plugin¶
Contributing¶
- Treat the implementation (
cored/,core/,src/,gradle-plugin/) as the source of truth when updating user-facing documentation. - Run
./gradlew test,cd cored && go test ./..., andpython3 website/scripts/validate_docs.pybefore opening a pull request.