- Alpha: monitor, vault, transform, diff layers are under active development; CLI and MCP may change without notice.
- Upcoming priorities and ideas: NEXT.md.
| Metric | Value | Target | Status |
|---|---|---|---|
| Code Coverage | 86.4% | 100% | |
| Mutation Kill % | 56.2% | ≥90% | |
| Traceability | 61.5% | 100% | |
| Docker Freshness | v1 | Up to date | ✅ Pass |
| Section | Files | LOC | Characters | Tokens | % Tokens |
|---|---|---|---|---|---|
| api | 202 | 13,125 | 465,117 | 73,490 | 33.7% |
| cli | 26 | 1,670 | 58,603 | 10,665 | 4.9% |
| mcp | 9 | 553 | 20,020 | 3,780 | 1.7% |
| utils | 0 | 0 | 0 | 0 | 0.0% |
| Total | 237 | 15,348 | 543,740 | 87,935 | 40.3% |
| Type | Files | LOC | Characters | Tokens | % Tokens |
|---|---|---|---|---|---|
| Unit Tests | 98 | 11,282 | 391,605 | 68,346 | 31.3% |
| Integration Tests | 13 | 1,548 | 52,085 | 9,516 | 4.4% |
| Smoke Tests | 7 | 352 | 11,848 | 2,049 | 0.9% |
| Total | 118 | 13,182 | 455,538 | 79,911 | 36.6% |
| Category | Files | LOC | Characters | Tokens | % Tokens |
|---|---|---|---|---|---|
| User Documentation | 7 | 228 | 7,065 | 1,766 | 0.8% |
| Developer Documentation | 43 | 2,827 | 113,651 | 28,406 | 13.0% |
| Specifications | 0 | 0 | 0 | 0 | 0.0% |
| Total | 50 | 3,055 | 120,716 | 30,172 | 13.8% |
| Type | Files | LOC | Characters | Tokens | % Tokens |
|---|---|---|---|---|---|
| CI/CD | 4 | 401 | 12,424 | 3,106 | 1.4% |
| Build/Config | 5 | 187 | 4,377 | 1,092 | 0.5% |
| Scripts | 22 | 2,437 | 83,982 | 16,021 | 7.3% |
| Total | 31 | 3,025 | 100,783 | 20,219 | 9.3% |
Mutation Testing: Tests the quality of our test suite by introducing small changes (mutations) to the code and verifying that existing tests catch them. A score of 56.2% means 56.2% of introduced mutations were successfully killed by the test suite.
Test Statistics: 648 tests across 112 test files.
| Domain | Coverage | Mutation % | Killed/Total |
|---|---|---|---|
| cat | 94% | 60% | 60/100 |
| config | 98% | 60% | 255/423 |
| daemon | 84% | 37% | 131/355 |
| database | 90% | 62% | 393/632 |
| diff | 86% | 52% | 315/606 |
| link | 97% | 52% | 630/1217 |
| log | 94% | 55% | 299/547 |
| mcp | 97% | 51% | 204/398 |
| monitor | 99% | 58% | 995/1702 |
| service | 92% | 86% | 99/115 |
| transform | 88% | 59% | 685/1166 |
| utils | 0% | — | — |
| vault | 100% | 57% | 756/1316 |
WKS provides intelligent filesystem monitoring, vault link tracking, and document transformation capabilities. Built as a layered architecture with MongoDB backend and Model Context Protocol (MCP) integration for AI assistants.
Important Note: WKS is currently in alpha development status and is not yet ready for external users. Our immediate focus is on comprehensive revision and ensuring 100% test coverage across existing features.
Core Capabilities:
- Filesystem Monitoring: Priority-based file tracking with automatic indexing
- Vault Link Management: Bidirectional link tracking for Obsidian vaults
- Transform Layer: Document conversion (PDF → Markdown) with intelligent caching
- MCP Server: AI assistant integration via Model Context Protocol
- Service Daemon: Background monitoring with automatic sync
| Command Group | Description |
|---|---|
wksc monitor |
Filesystem monitoring operations |
wksc vault |
Vault link management (Obsidian-style) |
wksc link |
Resource edge/link operations |
wksc daemon |
Daemon runtime management |
wksc service |
System service install/uninstall |
wksc config |
Configuration operations |
wksc database |
Database operations |
wksc mcp |
MCP server management |
wksc monitor - Filesystem monitoring
status- Get filesystem monitoring statuscheck <path>- Check if path would be monitored and its prioritysync <path> [--recursive]- Force update file/directory into databasefilter show [list_name]- Show filter list contentsfilter add <list_name> <value>- Add value to filter listfilter remove <list_name> <value>- Remove value from filter listpriority show- List all priority directoriespriority add <path> <priority>- Set priority for directorypriority remove <path>- Remove priority directory
wksc vault - Vault link management
status- Get vault link health statussync [path] [--recursive]- Sync vault links to databasecheck [path]- Check vault link healthlinks <path> [--direction to|from|both]- Show edges to/from a file
wksc link - Resource edge operations
status- Get health and statistics for links collectionshow <uri> [--direction to|from|both]- Show edges connected to URIcheck <path> [--parser]- Check links in filesync <path> [--parser] [--recursive] [--remote]- Sync links to database
wksc daemon - Daemon runtime
status- Check daemon statusstart [--restrict] [--blocking]- Start daemonstop- Stop daemonclear- Clear daemon logs (only if stopped)
wksc service - System service
status- Check service statusstart/stop- Start/stop serviceinstall [--restrict]- Install system serviceuninstall- Uninstall system service
wksc config - Configuration
list- List configuration sectionsshow <section>- Show section configurationversion- Show WKS version
wksc database - Database operations
list- List all databasesshow <database> [--query] [--limit]- Show database contentsreset <database>- Reset (clear) databaseprune <database> [--remote]- Prune stale entries
wksc mcp - MCP server
list- List MCP installationsinstall <name> [--type] [--settings-path]- Install MCP serveruninstall <name>- Uninstall MCP serverrun [--direct]- Run MCP server
Global Options: --version / -v, --display json|yaml (default: yaml), --help / -h
- Python 3.12, 3.13, or 3.14
- MongoDB 4.0+
- macOS/Linux
# Clone and setup
git clone https://github.com/wawiesel/wks.git
cd 2025-WKS
# Create virtual environment
python3 -m venv .venv
source .venv/bin/activate
# Install dependencies
pip install -e '.[all]'
# Optional: Install docling for PDF/Office transformation
pipx runpip wksc install doclingwksc config
wksc service start
wksc service status
wksc vault sync
wksc vault links ~/vault/Note.md
## MCP Integration
Install for AI assistants:
```bash
wksc mcp install # Install for all clients
wksc mcp install --client cursor --client claude
Available tools: wksm_* (see qa/specs/wks.md for details)
The system's architecture is designed in layers, with core functionality currently implemented and under revision up to the Indexing Layer as described in the specifications.
See qa/specs/wks.md for the complete system specification.
Key Layers (Implemented & Under Revision):
- Monitor Layer: Filesystem state tracking
- Vault Layer: Knowledge graph links
- Transform Layer: Document conversion
- Diff Layer: File comparison engines
- Service Layer: Background daemon
- Index Layer: Building towards comprehensive search indices (conceptualized in SPEC.md)
- CONTRIBUTING.md: Development & Testing Guide
- docker/README.md: CI Docker Image Guide
- qa/specs/wks.md: The complete system specification and architectural overview.
- NEXT.md: Current development priorities and high-level roadmap.
- AGENTS.md: Specific directives and guidelines for AI agents working on this project.
- LICENSE.txt: Project license details.