Skip to content

feat: import 5 CEP workflow commands and add convert-cc-defs skill#61

Merged
marcusrbrown merged 4 commits into
mainfrom
feat/import-cep-workflow-commands
Feb 10, 2026
Merged

feat: import 5 CEP workflow commands and add convert-cc-defs skill#61
marcusrbrown merged 4 commits into
mainfrom
feat/import-cep-workflow-commands

Conversation

@marcusrbrown
Copy link
Copy Markdown
Owner

Summary

  • Import 5 workflow commands (brainstorm, compound, plan, review, work) from CEP upstream (commit 04ee7e4) through the full conversion pipeline: mechanical conversion + intelligent rewrites (code block audits, branding, CC-specific feature handling)
  • Add convert-cc-defs project skill (.opencode/skills/convert-cc-defs/SKILL.md) — 5-phase workflow for importing/syncing definitions from CEP/Superpowers into Systematic, with manifest tracking, manual override preservation, and idempotent re-sync support
  • Extend sync-manifest.schema.json with upstream_content_hash, rewrites, and manual_overrides fields; populate sync-manifest.json with all 5 command entries

Details

Workflow commands imported

Each command went through:

  1. Mechanical conversion via bun src/cli.ts convert (tool names, paths, prefixes, frontmatter)
  2. Intelligent rewrite — code block audit (TodoWrite/Task/CLAUDE.md inside fenced blocks), branding fixes (attribution footers, PR badges), CC-specific feature decisions (Swarm Mode kept as aspirational reference)

convert-cc-defs skill

Project-specific skill for this repo only. Phases:

  1. Identify & Fetch — upstream source evaluation with fit criteria table
  2. Mechanical Conversion — converter pipeline with documented limitations
  3. Intelligent Rewrite — description rewrite, branding audit, code block audit, CC-specific feature handling, quality checklist
  4. Write & Register — file placement + manifest entry with rewrite logging
  5. Verify — build/typecheck/lint/tests

Other changes

  • Fix CEP/CC disambiguation in docs (CEP is a plugin FOR Claude Code, not Claude Code itself)
  • Add ManifestRewrite interface and extended ManifestDefinition type in src/lib/manifest.ts
  • Add converter tests for new tool mappings and edge cases
  • Replace delegate_task (OMO plugin) references with task (native OpenCode) across repo

Verification

  • Build: clean (14 modules)
  • Typecheck: clean
  • Lint: clean (42 files)
  • Tests: 323/323 pass, 609 expect() calls
  • bun src/cli.ts list commands: all 9 commands visible including 5 workflows

Import brainstorm, compound, plan, review, and work workflow commands
from CEP upstream (04ee7e4). Each command went through mechanical
conversion via the converter pipeline followed by intelligent rewrites:
code block audits, branding fixes, CC-specific feature handling.

Add convert-cc-defs project skill (.opencode/skills/) for importing and
syncing definitions from CEP/Superpowers into Systematic. Includes
5-phase workflow, manifest tracking, manual override preservation, and
re-sync support.

Other changes:
- Extend sync-manifest schema with upstream_content_hash, rewrites,
  manual_overrides fields
- Populate sync-manifest.json with all 5 command entries
- Fix CEP/CC disambiguation in docs (CEP is a plugin FOR Claude Code)
- Add converter tests for new tool mappings and edge cases
@marcusrbrown marcusrbrown self-assigned this Feb 10, 2026
Upgrade manual_overrides from string[] to structured ManualOverride[]
objects with field, reason, original, and overridden_at. This enables
agents to track post-import customizations with provenance, and the
re-sync workflow to detect conflicts between upstream changes and local
overrides.

Changes:
- Add ManualOverride interface and isManualOverride type guard
- Update JSON Schema with structured override object definition
- Add Phase 4e 'Record Manual Edit' sub-workflow to convert-cc-defs skill
- Add override merge matrix and conflict presentation to Re-Sync Workflow
- Add 5 new tests for override validation (structured, empty, string
  rejection, missing fields, optional original)
Add best practice doc for structured ManualOverride[] tracking in sync
manifest. Includes agent workflow for recording post-import edits and
re-sync conflict resolution matrix. Cross-linked with converter doc.
- Update module count from 12 to 13 in core implementation section.
- Add details about upstream provenance tracking in data flow.
- Correct test file counts in commands and tests sections.
- Enhance manifest tracking information in key types and modules.
@marcusrbrown marcusrbrown enabled auto-merge (squash) February 10, 2026 07:00
@marcusrbrown marcusrbrown merged commit 0b70ecd into main Feb 10, 2026
9 checks passed
@marcusrbrown marcusrbrown deleted the feat/import-cep-workflow-commands branch February 10, 2026 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant