feat: import 5 CEP workflow commands and add convert-cc-defs skill#61
Merged
Conversation
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
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
brainstorm,compound,plan,review,work) from CEP upstream (commit04ee7e4) through the full conversion pipeline: mechanical conversion + intelligent rewrites (code block audits, branding, CC-specific feature handling)convert-cc-defsproject 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 supportsync-manifest.schema.jsonwithupstream_content_hash,rewrites, andmanual_overridesfields; populatesync-manifest.jsonwith all 5 command entriesDetails
Workflow commands imported
Each command went through:
bun src/cli.ts convert(tool names, paths, prefixes, frontmatter)convert-cc-defs skill
Project-specific skill for this repo only. Phases:
Other changes
ManifestRewriteinterface and extendedManifestDefinitiontype insrc/lib/manifest.tsdelegate_task(OMO plugin) references withtask(native OpenCode) across repoVerification
bun src/cli.ts list commands: all 9 commands visible including 5 workflows