2.8 KiB
2.8 KiB
| description | allowed-tools |
|---|---|
| Initialize a new guardrailed project with manifest | Bash, Write, Read |
Initialize Guardrailed Project
Initialize a new project called "$ARGUMENTS" with guardrail enforcement and workflow system.
Generated Files
This command creates:
project_manifest.json- Entity definitions and dependencies.workflow/index.yml- Version tracking index.workflow/versions/- Directory for version snapshots
Steps
Step 1: Run the initialization script
python3 skills/guardrail-orchestrator/scripts/init_project.py --name "$ARGUMENTS" --path .
Step 2: Initialize Workflow Directory Structure [MANDATORY]
# Create workflow directory structure
mkdir -p .workflow/versions
# Create index.yml if it doesn't exist
if [ ! -f .workflow/index.yml ]; then
cat > .workflow/index.yml << 'EOF'
versions: []
latest_version: null
total_versions: 0
EOF
fi
Step 3: Verify and Display Summary
# Verify files exist
ls project_manifest.json .workflow/index.yml
Display:
╔══════════════════════════════════════════════════════════════╗
║ ✅ PROJECT INITIALIZED ║
╠══════════════════════════════════════════════════════════════╣
║ Project: $ARGUMENTS ║
║ Phase: DESIGN_PHASE ║
╠══════════════════════════════════════════════════════════════╣
║ Files Created: ║
║ ✓ project_manifest.json ║
║ ✓ .workflow/index.yml ║
║ ✓ .workflow/versions/ ║
╠══════════════════════════════════════════════════════════════╣
║ Next Steps: ║
║ /guardrail:design Design features in manifest ║
║ /workflow:spawn <feat> Start automated workflow ║
╚══════════════════════════════════════════════════════════════╝
Notes
- Project starts in DESIGN_PHASE (manifest edits only)
- Use
/guardrail:designfor manual design workflow - Use
/workflow:spawnfor automated design + implementation