Version: v1.2.7 | Status: Active | Last Updated: April 2026
src/ contains the installable Codomyrmex Python package and its source-adjacent documentation. The package root is codomyrmex/, which exposes the module facade, CLI entry point, MCP tools, agent integrations, and the repository's source-level tests.
Current volatile counts are documented in ../docs/reference/inventory.md and refreshed with uv run python scripts/doc_inventory.py from the repository root. Avoid duplicating those numbers in this file unless they are generated.
codomyrmex/__init__.pyowns package metadata, lazy submodule loading, and the public module list.codomyrmex/cli/owns command-line dispatch; command handlers should delegate to module APIs instead of embedding domain logic.codomyrmex/model_context_protocol/owns MCP decorators, schemas, transport, discovery, and tool registration.codomyrmex/agents/,codomyrmex/skills/, andcodomyrmex/tool_use/provide agent, skill, and tool registries that expose capabilities to higher-level orchestration.codomyrmex/logging_monitoring/,codomyrmex/config_management/,codomyrmex/validation/, andcodomyrmex/exceptions/are foundation modules used across the tree.codomyrmex/tests/contains source-level unit, integration, and performance tests; package builds exclude tests perpyproject.toml.
AGENTS.mdβ Agent coordination for the source surfaceINDEX.mdβ Source indexPAI.mdβ PAI-facing source notesREADME.mdβ This overviewSPEC.mdβ Source-surface specification__init__.pyβ Source-root markercodomyrmex/β Installable package root
- Keep public API changes synchronized with module
README.md,SPEC.md,API_SPECIFICATION.md, andMCP_TOOL_SPECIFICATION.mdfiles where present. - Preserve module boundaries: foundation modules should not depend on specialized agent or domain modules.
- Use the centralized logging and validation helpers instead of ad-hoc print/error handling in shared code.
- Prefer deterministic tests and real components; avoid mocks unless a local module explicitly documents an exception.
- Before changing generated documentation, check for curated markers and repository guidance in ../AGENTS.md.
Useful targeted checks from the repository root:
uv run python scripts/doc_inventory.py
uv run python -m compileall -q src
uv run --no-sync ruff check src/codomyrmex/documentation scripts/doc_inventory.py scripts/rasp_gap_report.py
PYTHONPATH=src python3 src/codomyrmex/documentation/scripts/check_doc_links.py- Project Root: ../README.md
- Root Agent Guide: ../AGENTS.md
- Package Root: codomyrmex/README.md
- Architecture: ../docs/ARCHITECTURE.md
- Inventory: ../docs/reference/inventory.md
- Related Agents: AGENTS.md