How nolane-x/nolane-habitat works
Nolane Habitat is a local, durable project-intelligence environment for coding agents. The principal workflow is to inspect a source tree and build revision-aware semantic context, let an agent reason about project state, govern source changes, execute and verify work, then preserve evidence and checkpoints for later sessions. The graph also includes documented cognition, learning, and observability capabilities. Several internal links are based on README descriptions rather than inspected call sites; those are marked dashed with no evidence path.
Main entry points: _workspace_core.py Workspace intelligence · storage.py Workspace database · execution.py Execution and receipts · learning.py Project memory and epistemics
Components 21
Agent interface
- Agent protocol
habitat/protocol.py - Workspace facade
habitat/workspace.py
Project intelligence
- Workspace intelligence
habitat/_workspace_core.py - Semantic analysis
habitat/semantic/project.py - Source compiler
habitat/compiler.py - Context compiler and VM
habitat/context/_compiler_base.py - Project and counterfactual worlds
habitat/project_world.py - Project cognition twins
habitat/effect_twin.py
Governed work
- Evidence authority
habitat/truth/authority.py - Governed mutations
habitat/mutation.py - Execution and receipts
habitat/execution.py - Containment evidence
habitat/security/containment.py - Testing impact
habitat/testing/impact.py - Executive trajectory
habitat/executive.py
Durable state
- Workspace database
habitat/storage.py - Project memory and epistemics
habitat/repositories/learning.py - Learning plane
habitat/learning_plane/model.py
Operations and insight
- Local execution provider
habitat/backends/local.py - Observatory projection
habitat/observatory.py - Browser operator context
habitat/ui/browser_provider.py
Other components
- Coding agent
Connections 22
- Coding agent → Agent protocol: sends requests
- Agent protocol → Workspace facade: dispatches operations
habitat/protocol.py - Workspace facade → Workspace intelligence: delegates workspace work
- Workspace intelligence → Semantic analysis: builds semantic state
habitat/_workspace_core.py - Semantic analysis → Source compiler: uses source analysis
habitat/semantic/project.py - Coding agent → Context compiler and VM: requests task context
README.md - Context compiler and VM → Workspace intelligence: pages exact source
README.md - Workspace intelligence → Project and counterfactual worlds: projects worlds
README.md - Workspace intelligence → Project cognition twins: derives project twins
README.md - Workspace intelligence → Evidence authority: tracks evidence authority
README.md - Coding agent → Governed mutations: stages source changes
README.md - Governed mutations → Workspace database: journals transitions
README.md - Coding agent → Execution and receipts: requests execution
README.md - Execution and receipts → Local execution provider: delegates execution
README.md - Local execution provider → Containment evidence: reports containment
habitat/backends/local.py - Execution and receipts → Testing impact: records verification evidence
README.md - Executive trajectory → Workspace database: persists trajectory
habitat/storage.py - Workspace intelligence → Project memory and epistemics: maintains project memory
README.md - Project memory and epistemics → Workspace database: reads and writes records
habitat/repositories/learning.py - Learning plane → Project memory and epistemics: evaluates policy candidates
README.md - Observatory projection → Workspace database: projects durable state
README.md - Browser operator context → Workspace intelligence: supplies operator context
README.md