Skip to main content

Crate godmode_core

Crate godmode_core 

Source
Expand description

Core domain and integration library for the godmode CLI.

Task graph logic, session orchestration, and external-tool adapters live here.

Modules§

agent
Agent definitions, YAML persistence, Markdown generation, and frontmatter migration.
agent_index
Agent discovery, filtering, and Markdown index generation.
builder
Interactive and file-driven task graph construction.
cache
Task-graph status snapshots for the Starship cache.
config
Configuration for godmode — loaded from .godmode.toml (repo-local) or ~/.config/godmode/config.toml (global fallback).
context
Session context assembly for hooks and subagents.
detect
Resolve the repo root and .ctx/ path from the current working directory.
dispatch
Compute independent task chains for parallel agent dispatch.
doctor
Environment validation checks for godmode doctor.
eval
Skill evaluation runs, baselines, and CI gates.
graph
Task-graph persistence, dependency resolution, and state transitions.
hooks
Hook implementations ported from Nushell scripts.
init
godmode init — global and project-level setup.
insights
Append-only insight capture, date filtering, and Markdown report rendering.
integrations
External-tool adapters and session handon/handoff orchestration.
memory_banking
Memory banking — persistent source-backed project context at .ctx/memory-bank/.
model
Task, task-graph, status, priority, provenance, and summary data types.
pipeline
Pipeline definitions, persisted run state, and deterministic step execution.
plan
Parse a plan markdown file and extract tasks for the task graph.
policy
Governance policy engine — loads, composes, and enforces agent policies.
registry
Persistent registry types for installed skills and agents.
release
Release orchestration: version bumping, tagging, pushing, and changelog generation.
report_index
Report index — tracks files across categorised report subdirectories.
review
Conformance checks for skills, agents, plugin metadata, and library references.
sarif
SARIF v2.1.0 output for verify and review reports.
scaffold
Test scaffold generation — produces test module stubs for each testing dimension.
session
Session-owned task transitions, persistence, tracing, and handoff summaries.
session_trace
Crux-backed session trace persistence for task graph lifecycle events.
skill
Discovery of local skill directories containing SKILL.md.
templates
Task template loading, variable substitution, and graph application.
test_check
Test coverage check — verifies that a Rust source file has associated tests.
todo_issue_sync
Native synchronization of source TODO markers to GitHub issues.
trace_query
Read side of the godmode trace log.
trace_store
Filesystem adapter for the trace log.
verify
Composable project verification gates and aggregate pass/fail reports.
wave
Persistent parallel-agent wave state, concurrency, health, and retry tracking.
workflow
Causal workflow system — command-driven DAGs per agent.
worktree
Git worktree creation and guarded cleanup under .worktrees/.
write_mode
Explicit preview-versus-apply mode for mutating operations.