This playbook provides guidance on running, testing, and deploying components within the OhMyPi (OMP) Framework, and outlines common operational procedures.
The primary mechanism for running OMP workflows involves initiating specific Python scripts that orchestrate agent actions. The main entry point for many operations, such as starting a workflow, is often:
./start_omp_workflow.shIndividual agent skills and workflows can be executed directly via Python scripts (e.g., python skills/some_skill.py or python implement_workflow.py), though this should typically be managed by higher-level orchestration tools like the task tool.
OMP emphasizes a Spec-Driven Development lifecycle, with verification integrated into the process:
- Specification (
generate-spec): The output of this stage is the core input for the next. - Verification Planning (
generate-verification): Defines how correctness will be evaluated. - Implementation (
implement-specification): Code is built against the specification. - Review (
review-implementation): Completed implementations are audited against the specification and verification plan.
Explicit automated test suites (e.g., pytest, unittest) were not prominently identified in the repository structure. Verification relies heavily on the review-implementation stage and the adherence to the defined specification artifacts.
Deployment procedures are not explicitly detailed in the foundational documents. However, based on the framework's structure, deployment would likely involve:
- Ensuring all necessary Python dependencies are installed.
- Configuring any external services or APIs required by agents (e.g., LLM providers, search services).
- Executing the appropriate workflow scripts to set up and run the desired agentic processes.
- Bootstrap Project: Use the
bootstrap-projectskill to initialize the framework in a new repository or after major architectural changes. This includes generating core documentation files. - Managing Agent Workflows: Utilize the
tasktool for delegating work to subagents in parallel. Monitor background tasks using thejobtool. - Inter-Agent Communication: Use
ircfor direct messaging between agents, especially for coordination or status updates. - Maintaining Documentation: Adhere to the principle of artifact persistence. All changes, decisions, and specifications should be documented in Markdown files within the
docs/directory or related artifact locations. - Debugging Agent Issues: Leverage the
debugtool andevalfor inspecting state and diagnosing problems within agent logic or tool execution.
Run the following workflow at the beginning of each OMP session to establish context and ensure everything is up to date:
-
Review Session Audit Reports — Use
globto find all Session Audit Reports:glob path="milestones/ -name "*SA*.md". Read the most recent SA to understand recent failures and recommended improvements. -
Run evolve-skills — Execute
evolve-skillsto analyze SAs and automatically update SKILL.md files based on recommended improvements. This ensures your agent knows the latest friction points. -
Run skills-auditor — Execute
python skills-auditor.py auditto check the health of all evolve-skills dependencies. Reviewevolve-skills/health/*.yamlreports for any critical or high-priority issues. -
Check Milestones — Use
globto find active milestones:glob path="milestones/ -type d -maxdepth 1". Identify which milestone you're working on and check its current status. -
Read Active Milestone — Read the milestone document to understand current scope and requirements.
-
Initialize Workflow — Begin work on the milestone following the Spec-Driven Development lifecycle:
- Generate specification (if needed)
- Create verification plan
- Implement specification
- Review implementation
Why this matters:
- Ensures all agent skills are updated with the latest knowledge
- Prevents working on outdated SKILL.md files
- Helps identify potential issues before they become blockers
- Maintains consistency across the framework
Purpose: Captures any session (milestone, hotfix, manual edits, external reports) into Session Audit Reports (M{X}SA{Y}.md) that drive documentation updates, skill evolution, and quality monitoring.
What it captures:
- Framework changes (framework-critical vs cosmetic)
- Recommended actions for evolve-skills
- Issue classification and recommendations
- Ingestion entries for manage-roadmap
Outputs per session:
M{X}SA{Y}.md— Main session audit reportSESSION_CHANGES.md— Detailed change logCHANGELOG_ENTRIES.md— Standard format changelog (Added/Changed/Fixed)MILESTONE_UPDATES.md— Progress tracking with task breakdownINGEST_ENTRIES.md— List of new/modified files ready for ingestion
Session types detected:
- Milestone Session: Triggered by milestone mentions
- Hotfix Session: Triggered by hotfix/hotfix-focus/bug fix mentions
- Manual Edit Session: Triggered by file modifications
- External Report Session: Triggered by external document references
- Ad-Hoc Session: No specific trigger detected
Integration with evolve-skills:
- session-audit automatically recommends prompt improvements after each session
- evolve-skills analyzes SA documents and updates SKILL.md files
- Changes require per-skill approval via evolve-skills
Integration with manage-roadmap:
- session-audit generates INGEST_ENTRIES.md
- manage-roadmap processes ingestion entries after user permission
Purpose: Analyzes recent project artifacts (M{X}SA{Y}.md, Review Reports, Completion Reports) to learn from mistakes, identify workflow inefficiencies, and automatically update/version SKILL.md files.
Key Responsibilities:
- Read all SA documents chronologically for each milestone
- Identify failure patterns, inefficiencies, and areas for improvement
- Draft targeted prompt improvements for each skill
- Apply updates to SKILL.md files with incremented version numbers
- Document evolution in EVOLUTION.md
- Process TEMP milestones before formal milestones
Artifacts Modified:
skills/*/SKILL.mdfiles (with incremented version numbers)skills/evolve-skills/EVOLUTION.mdledger
Workflow:
- Read SA documents and classify changes (framework-critical vs cosmetic)
- Analyze for failure patterns and recommended improvements
- Draft prompt improvements for each affected skill
- Show diffs for each change
- Ask user for per-skill approval
- Apply approved changes
Out of Scope:
- Creating new features
- Running implementation workflows
- Creating new templates
Purpose: Automated quality monitoring for evolve-skills dependencies, ensuring all skills meet required standards.
What it audits:
- Version consistency (version in frontmatter vs. content)
- User-invocable flag presence
- Required tools (read, edit) availability
- Description quality (minimum 10 characters)
- Dependencies list presence
- Out-of-scope declarations
Priority calculation:
- HIGH: Critical functionality with issues
- MEDIUM: Important but not critical
- LOW: All checks pass
Status values:
- HEALTHY: No issues found
- NEEDS_IMPROVEMENT: Minor issues, no blocking problems
- CRITICAL: Major issues requiring immediate attention
Health dashboard commands:
# Run full audit of all 13 skills
cd skills/evolve-skills
python3 skills-auditor.py audit
# Display color-coded dashboard
python3 skills-auditor.py list
# Audit specific skill
python3 skills-auditor.py audit --skill <skill-name>
# List all skills with health status
python3 skills-auditor.py listHealth report structure (evolve-skills/health/{skill-name}.yaml):
skill: <skill-name>
version: "1.0.0"
last_audited: "2026-07-23"
priority: "LOW"
priority_reason: "0 HIGH issues, 0 MEDIUM issues"
issues:
- type: <issue-type>
description: <description>
severity: <severity>
recommendations:
- <recommendation-1>
- <recommendation-2>
status: healthyCritical skills examples:
bootstrap-project: Required tools (read, edit)generate-spec: Required tools (read, edit)generate-verification: Required tools (read, edit)investigate-issue: Required tools (read, edit)review-implementation: Required tools (read, edit)
Dashboard output:
- Color-coded status: RED (CRITICAL), YELLOW (NEEDS_IMPROVEMENT), GREEN (HEALTHY)
- Priority and issue counts per skill
- Detailed health reports in YAML format
- Last audited date for each skill
Integration with session-audit:
- session-audit automatically triggers skills-auditor audit after generating SA report
- Recommended evolve-skills actions often include health fixes
- Health dashboard used during every session to ensure framework quality