Expand description
Task management and reusable workflow primitives for Gestura.
gestura-core-tasks owns the persistent task-list model and reusable
workflow definitions used by agent sessions, orchestration layers, and user
interfaces.
§Responsibilities
- session-scoped task CRUD and persistence via
TaskManager - hierarchical task lists, task state transitions, and metadata tracking
- task-memory lifecycle events used to mirror memory promotions and blockers
- reusable markdown workflow definitions discovered by
WorkflowManager
§Architecture role
This crate is the source of truth for task and workflow domain behavior.
Higher-level orchestration—such as deciding when a supervisor creates or
blocks tasks—remains in gestura-core, but the underlying task graph and
workflow loading logic live here.
§Storage model
Task state is persisted under the workspace .gestura/ area so it can be
resumed across sessions. Workflow definitions are loaded from workspace-local
or user-level workflow directories, allowing reusable templates without
hard-coding them into the pipeline.
§Stable import paths
Most code should import through the facade:
gestura_core::tasks::*gestura_core::workflows::*
Re-exports§
pub use tasks::get_global_task_manager;pub use semantic_client::SemanticClient;pub use semantic_client::SemanticClientConfig;pub use semantic_client::SemanticClientError;pub use semantic_client::SemanticQueryHit;pub use semantic_client::SemanticQueryRequest;pub use semantic_client::SemanticQueryResult;pub use verification::PromptVerificationTargets;pub use verification::VerificationAttempt;pub use verification::VerificationCheck;pub use verification::VerificationLoop;pub use verification::VerificationLoopConfig;pub use verification::VerificationReport;
Modules§
- semantic_
client - Optional lightweight semantic client for live intent enrichment.
- tasks
- Task management system for tracking agent workflows
- verification
- Verification helpers for advanced planning primitives.
- workflows
- Workflow management system for prompt templates and automation
Structs§
- Advanced
Plan Outcome - Result of the optional advanced-planning middleware.
- Advanced
Plan Request - Request envelope for the optional advanced-planning middleware.
- Advanced
Primitives - Optional advanced task primitives for complex intent-first planning.
- Bos1921
Waveform - BOS1921 waveform bridge payload derived from Gestura’s existing haptic model.
Constants§
- ADVANCED_
PRIMITIVES_ ENABLED - Compile-time flag exported to downstream crates so the middleware branch can constant-fold away when advanced primitives are disabled.