Skip to content

Repository files navigation

CuraOps OpenCode Plugin

Python VersionLicenseCI

A self-correcting engineering loop that turns recurring failures into enforceable rules.

This plugin connects OpenCode AI agents to the CuraOps governance engine, enforcing safety, traceability, and compliance automatically.


✨ What Makes This Different

This is a proper OpenCode plugin, not just an MCP server:

FeatureOld ApproachThis Plugin
InstallationSeparate server processNative plugin (TypeScript)
CommandsCustom syntaxNative /ultrawork commands
ToolsMCP protocolNative OpenCode tools
SafetyHook-basedBuilt-in tool execution hooks
DependenciesManual pip installAuto-installed via Bun

🚀 Quick Start (2 Minutes)

1. Installation

# Clone the repository
git clone https://github.com/curaops/curaops-opencode-plugin.git
cd curaops-opencode-plugin
# Run the plugin installer
./install-plugin.sh

2. Verify

Restart OpenCode and type:

> /ultrawork Submit a CR for a new feature

The agent will:

  1. Create a CR with proper ID
  2. Derive software requirements
  3. Implement with traceability headers
  4. Validate the complete chain

🛠️ Commands

CommandDescription
/ultraworkComplete CR pipeline: submit → derive → implement → validate
/trace-checkValidate ASPICE v3.1 traceability
/impactAnalyze impact of changes
/compliance-scanRun GDPR/PII/OWASP scans
/safety-checkVerify operation safety

🛡️ Available Tools

Safety

  • curaops_safety_path_validate - Validate path operations
  • curaops_safety_repo_protect - Check repository protection
  • curaops_safety_backup_create - Create backups

CR Pipeline

  • curaops_cr_submit - Submit new Change Request
  • curaops_cr_derive_requirements - Derive requirements from CR
  • curaops_cr_pipeline - Complete CR workflow

Traceability

  • curaops_trace_validate - Validate bidirectional traceability
  • curaops_trace_matrix_build - Build traceability matrix
  • curaops_trace_impact_analyze - Analyze change impact

Compliance

  • curaops_compliance_gdpr_scan - GDPR compliance check
  • curaops_compliance_pii_detect - PII detection
  • curaops_compliance_owasp_check - OWASP security check

Self-Healing

  • curaops_readiness_check - Check repository readiness
  • curaops_self_healing - Auto-fix traceability issues

📁 Plugin Structure

curaops-opencode-plugin/
├── .opencode/
│ ├── plugin/
│ │ └── curaops-plugin.ts # Main plugin (native TypeScript)
│ ├── command/
│ │ ├── ultrawork.md # Complete CR pipeline command
│ │ ├── trace-check.md # Traceability validation
│ │ ├── impact.md # Impact analysis
│ │ ├── compliance-scan.md # Compliance scans
│ │ └── safety-check.md # Safety validation
│ ├── package.json # npm dependencies
│ └── opencode.json # OpenCode configuration
├── mcp_tools/ # Legacy MCP tools (optional)
└── install-plugin.sh # Installation script

📚 Documentation


🤝 Contributing

We only accept features that strengthen loop closure. See CONTRIBUTING.md.


License

MIT

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages