Osop
by @archie0125
OSOP workflow authoring, validation, risk analysis, and self-optimization for AI agents
1. Define a workflow
osop_version: "1.0"
id: "deploy-staging"
name: "Deploy to Staging"
description: "Build, test, and deploy to staging environment."
version: "1.0.0"
tags: [deploy, staging]nodes:
- id: "build"
type: "cli"
name: "Build Project"
description: "Run the build command"
- id: "test"
type: "cicd"
subtype: "test"
name: "Run Tests"
description: "Execute test suite"
- id: "deploy"
type: "infra"
name: "Deploy to Staging"
description: "Push to staging environment"
security:
risk_level: "medium"
approval_gate: true
edges:
- from: "build"
to: "test"
mode: "sequential"
- from: "test"
to: "deploy"
mode: "conditional"
when: "tests.passed == true"
2. Review for risks
Run /osop-review deploy-staging.osop to check for security issues before execution.
3. Execute and log
After running, use /osop-log to record what happened as a structured .osoplog.yaml.
4. Generate report
Run /osop-report to create a standalone HTML report with dark mode and expandable nodes.
clawhub install osop