diff options
Diffstat (limited to 'makima/src/daemon/skills')
| -rw-r--r-- | makima/src/daemon/skills/directive.md | 68 | ||||
| -rw-r--r-- | makima/src/daemon/skills/mod.rs | 4 |
2 files changed, 72 insertions, 0 deletions
diff --git a/makima/src/daemon/skills/directive.md b/makima/src/daemon/skills/directive.md new file mode 100644 index 0000000..cdfdaa2 --- /dev/null +++ b/makima/src/daemon/skills/directive.md @@ -0,0 +1,68 @@ +--- +name: makima-directive +description: Directive orchestration tools for autonomous goal-driven execution. Use when working with directives, chains, steps, verifiers, and approvals. +--- + +# Makima Directive Commands + +These commands let orchestrators interact with directive state. Environment variables (`MAKIMA_API_URL`, `MAKIMA_API_KEY`, `MAKIMA_DIRECTIVE_ID`) are pre-configured by the daemon. + +## Status and Information + +### Get directive status +```bash +makima directive status +``` +Returns full directive details including status, autonomy level, thresholds, and tracking info. + +### Get directive goals +```bash +makima directive goals +``` +Returns the goal, requirements, acceptance criteria, constraints, and external dependencies. + +### List chains +```bash +makima directive chains +``` +Returns all chains (plan generations) for the directive, ordered by generation. + +### Get chain with steps +```bash +makima directive chain <chain_id> +``` +Returns a chain and all its steps with status, dependencies, and evaluation info. + +### List steps in a chain +```bash +makima directive steps <chain_id> +``` +Returns just the steps array from a chain. + +## Status Updates + +### Update directive status +```bash +makima directive update-status <status> +``` +Updates the directive status. Valid statuses: `draft`, `planning`, `active`, `paused`, `completed`, `archived`, `failed`. + +## Output Format + +All commands output JSON to stdout. + +Example workflow: +```bash +# Check directive details and goals +makima directive status +makima directive goals + +# List execution chains +makima directive chains + +# Get details of a specific chain +makima directive chain <chain_id> + +# Update status to active +makima directive update-status active +``` diff --git a/makima/src/daemon/skills/mod.rs b/makima/src/daemon/skills/mod.rs index 0b05f3a..6e5d0a8 100644 --- a/makima/src/daemon/skills/mod.rs +++ b/makima/src/daemon/skills/mod.rs @@ -9,8 +9,12 @@ pub const SUPERVISOR_SKILL: &str = include_str!("supervisor.md"); /// Contract skill content - task-contract interaction commands pub const CONTRACT_SKILL: &str = include_str!("contract.md"); +/// Directive skill content - directive orchestration commands +pub const DIRECTIVE_SKILL: &str = include_str!("directive.md"); + /// All skills as (name, content) pairs for installation pub const ALL_SKILLS: &[(&str, &str)] = &[ ("makima-supervisor", SUPERVISOR_SKILL), ("makima-contract", CONTRACT_SKILL), + ("makima-directive", DIRECTIVE_SKILL), ]; |
