Flow: New High-Level Ability
This doc contains the step-by-step flow. For inputs, tools, outputs, and safety, see /.system/skills/ssot/repo/scaffolding/new-ability-high/SKILL.md.
Step-by-Step Flow (AI + Human)
Step 1: Collect Parameters (AI -> Human)
AI asks human for:
- •Ability ID (validate: unique, follows naming convention)
- •Summary description
- •Ability type (workflow/agent)
- •Entrypoints (which ABILITY.md files should list this)
- •Type-specific implementation details
Human checkpoint: Confirm parameters before proceeding.
Step 2: Validate Inputs (AI)
AI validates:
- •
iduniqueness in existing registries - •All
entrypointsexist and have ABILITY.md with marker blocks - •Implementation reference validity
- •Hook bindings reference valid hooks (if specified)
Step 3: Preview Changes (AI)
AI runs orchestrator with --dry-run:
bash
python scripts/devops/scaffold/new_ability_high.py --id "<ability_id>" --summary "<summary>" --type <type> --entrypoints "/modules/integration" --dry-run
AI presents planned_changes to human.
Human checkpoint: Review and approve planned changes.
Step 4: Execute Registration (AI)
AI runs orchestrator without --dry-run:
bash
python scripts/devops/scaffold/new_ability_high.py --id "<ability_id>" --summary "<summary>" --type <type> --entrypoints "/modules/integration"
Step 5: Regenerate ABILITY.md Indexes (AI)
The orchestrator automatically calls:
bash
python scripts/devops/registry/abilities.py --scope integration --regenerate
Step 6: Verify Results (AI)
AI verifies:
- •Registry entry exists in
/.system/registry/high-level/ - •ABILITY.md indexes are updated
- •
abilities.py --checkpasses
Step 7: Record in Workdocs (AI)
AI records scaffold execution:
- •Task ID, timestamp, parameters
- •Registry entry created
- •ABILITY.md files updated
- •Follow-up: implement workflow steps or agent logic if not yet done