Skip to content

chore: sync CEP upstream definitions#135

Open
fro-bot wants to merge 9 commits intomainfrom
chore/sync-cep
Open

chore: sync CEP upstream definitions#135
fro-bot wants to merge 9 commits intomainfrom
chore/sync-cep

Conversation

@fro-bot
Copy link
Collaborator

@fro-bot fro-bot commented Mar 2, 2026

Summary

  • Scope: all
  • Definitions processed: 22
  • Hash changes applied: 15
  • Conflicts detected: 7
  • Errors (from precheck): 0

Hash Changes

Definition Old Hash New Hash Status
agents/research/git-history-analyzer 59e7c2d949ba 1db50b5a3b6d ✅ Applied
agents/research/learnings-researcher e00e3057c2f3 00d6a822f837 ✅ Applied
commands/workflows/brainstorm d8d4115a284e 4da1f2a2923e ✅ Applied
commands/workflows/compound f11cc78c4723 1c3f7446dee6 ⚠️ Conflict (skipped)
commands/workflows/plan 22366b777e48 d00dd6a8c1c5 ⚠️ Conflict (skipped)
commands/workflows/review 51f05ebeaafe c3ec31bd5acf ✅ Applied
commands/workflows/work a2ba5f4113e3 a2dc5e74c806 ⚠️ Conflict (skipped)
agents/review/code-simplicity-reviewer 79ea6dd7b3be ba357f31a056 ✅ Applied
skills/brainstorming 38fbe289b7fc bfaefce6fdc8 ✅ Applied
skills/create-agent-skills 920952ddd72b 37757fd0d53c ✅ Applied
skills/file-todos ea5689a414ba 139e84d36ee7 ✅ Applied
skills/git-worktree 69f74cbe64fc 644188574a09 ✅ Applied
skills/document-review 05df50a58f97 c3510c76ee50 ✅ Applied
commands/create-agent-skill 284758e2573b b7a09a12833c ✅ Applied
commands/deepen-plan 0fe39343ec75 82f4b9526971 ⚠️ Conflict (skipped)
commands/deploy-docs 15af80995e8b a48aba0af9f5 ⚠️ Conflict (skipped)
commands/heal-skill 60e169b3c8d8 958890e0d370 ✅ Applied
commands/lfg 11ef24eea927 d7f3b34af47f ✅ Applied
commands/slfg a87eb2cd7310 e5a7d4744482 ✅ Applied
commands/test-xcode 1b5f72322817 1c6abb5d178e ✅ Applied
skills/resolve-pr-parallel 301eed8837cf 03bfe278a708 ⚠️ Conflict (skipped)
skills/setup a9f344dd6def fa132d95ebf9 ⚠️ Conflict (skipped)

Conflicts

Definition Field Override Value Upstream Value Action
commands/workflows/compound body:branding Edit compound-engineering.local.md or invoke the setup skill Upstream changed (hash change detected); skipped auto-apply to preserve manual overrides ⚠️ Conflict (skipped)
commands/workflows/plan body:cc-specific-text Run /workflows:work docs/plans/<plan_filename>.md & to start work in background for Claude Code web Upstream changed (hash change detected); skipped auto-apply to preserve manual overrides ⚠️ Conflict (skipped)
commands/workflows/work body:code-block-comment # Run linting (per AGENTS.md) Upstream changed (hash change detected); skipped auto-apply to preserve manual overrides ⚠️ Conflict (skipped)
commands/deepen-plan body:cc-specific-features mcp__plugin_compound-engineering_context7__resolve-library-id / ~/.claude/plugins/cache paths / find-based plugin discovery Upstream changed (hash change detected); skipped auto-apply to preserve manual overrides ⚠️ Conflict (skipped)
commands/deploy-docs body:full-rewrite CEP-specific: .claude-plugin validation, JSON schema validation, CEP hosting platform deployment Upstream changed (hash change detected); skipped auto-apply to preserve manual overrides ⚠️ Conflict (skipped)
skills/resolve-pr-parallel scripts:example-repo echo "Example: get-pr-comments 123 EveryInc/cora" Upstream changed (hash change detected); skipped auto-apply to preserve manual overrides ⚠️ Conflict (skipped)
skills/setup description, body:branding Auto-detects stack and writes compound-engineering.local.md.; Compound Engineering Setup / compound-engineering.local.md (6 occurrences) Upstream changed (hash change detected); skipped auto-apply to preserve manual overrides ⚠️ Conflict (skipped)

New Upstream (report-only)

Definition Files
commands/ce/brainstorm brainstorm.md
commands/ce/compound compound.md
commands/ce/plan plan.md
commands/ce/review review.md
commands/ce/work work.md
skills/proof SKILL.md

Upstream Deletions (report-only)

  • (None)

Errors

  • (None)

Rewrite Failures

  • (None)

Phantom References

  • (None)

fro-bot and others added 9 commits March 2, 2026 00:11
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
@fro-bot fro-bot added the sync-cep Tracks CEP upstream sync runs label Mar 2, 2026
@fro-bot fro-bot added the agent: working Agent is currently working on this label Mar 2, 2026
@fro-bot
Copy link
Collaborator Author

fro-bot commented Mar 2, 2026

This sync brings in 15 upstream changes and correctly handles 7 conflicts. However, there are two breaking regressions that would leave /lfg, /slfg, and the deprecated workflow commands non-functional after merge.

🔴 Breaking: lfg.md and slfg.md use wrong plugin namespace

commands/lfg.md and commands/slfg.md had systematic: namespace commands replaced with compound-engineering: — the CEP upstream namespace:

-3. `/systematic:deepen-plan`
+3. `/compound-engineering:deepen-plan`
-6. `/systematic:resolve_todo_parallel`
+6. `/compound-engineering:resolve_todo_parallel`

The body:tool-references rewrite (tracked in the manifest) maps compound-engineeringsystematic but was not re-applied here. The commands /compound-engineering:deepen-plan, /compound-engineering:resolve_todo_parallel, etc. do not exist in Systematic. Any user invoking /lfg or /slfg will hit errors at steps 3, 6, 7, and 8.

Additionally, steps 2/4/5 now reference /ce:plan, /ce:work, /ce:review — the new CEP command namespace — which are listed as New Upstream (report-only) and were not imported. Both issues compound: /lfg has zero working steps 2–8.

🔴 Breaking: Deprecated workflows: stubs point to non-existent ce: commands

commands/workflows/brainstorm.md and commands/workflows/review.md are now deprecation stubs:

NOTE: /workflows:brainstorm is deprecated. Please use /ce:brainstorm instead.
/ce:brainstorm $ARGUMENTS

But commands/ce/brainstorm.md and commands/ce/review.md don't exist in the repo — they're under New Upstream (report-only). The disable-model-invocation: true stubs will correctly display the deprecation note, then invoke /ce:brainstorm which OpenCode cannot find. Existing users of /workflows:brainstorm and /workflows:review lose functionality entirely.

The correct approach: either import the ce: commands first (before or in the same PR as deprecating the workflows: aliases), or keep the workflows: commands functional until the replacements exist.


🟡 Rewrite non-application in create-agent-skills

The manifest for skills/create-agent-skills declares:

"body:path-references": ".claude/→.opencode/, Claude Code→OpenCode in SKILL.md and supporting files"

But the applied content went the opposite direction — reverting to CEP branding:

  • SKILL.md description: "OpenCode" → "Claude Code"; .opencode/commands/.claude/commands/
  • Workflow files (add-workflow.md, create-new-skill.md, audit-skill.md): question tool (OpenCode) → AskUserQuestion (Claude Code-specific tool name)

The precheck reported 0 rewrite failures, but these are effective regressions — previously-applied rewrites were overwritten by the upstream content without being re-applied.

🟡 Branding regressions in agents and skills

Several files now reference CEP-specific artifacts instead of Systematic-specific ones:

  • agents/research/git-history-analyzer.md: "systematic pipeline artifacts" → "compound-engineering pipeline artifacts"; /workflows:plan/ce:plan
  • agents/review/code-simplicity-reviewer.md: New protection rule added references "compound-engineering pipeline artifacts created by /ce:plan" and /ce:work — neither of which is correct for Systematic users
  • commands/create-agent-skill.md: Description "OpenCode skills" → "Claude Code skills"
  • commands/test-xcode.md: "restart OpenCode" → "restart Claude Code" in error recovery instructions
  • skills/file-todos/SKILL.md: Work log template "OpenCode / Developer Name" → "Claude Code / Developer Name"

🟡 ${CLAUDE_PLUGIN_ROOT} in skills/git-worktree/SKILL.md

All bash scripts/worktree-manager.sh calls were rewritten to bash ${CLAUDE_PLUGIN_ROOT}/skills/git-worktree/scripts/worktree-manager.sh. The path fix is correct conceptually — the skill needs an absolute reference to the bundled script. But ${CLAUDE_PLUGIN_ROOT} is a Claude Code plugin environment variable and is not set in OpenCode. The bash commands embedded in this skill will fail for Systematic users if the variable is unset.


✅ What looks good

  • sync-manifest.json: Hash and timestamp updates are correct; unicode normalization (em dashes, arrows) of string values is fine
  • skills/create-agent-skills/references/official-spec.md: N/A${CLAUDE_SESSION_ID} for the session ID variable is a real fix
  • argument-hint formatting normalized from YAML list to quoted strings — consistent with other commands
  • skills/git-worktree/SKILL.md: The intent behind the script path change is right; execution context was the problem with relative paths
  • Conflict detection and skip behavior for the 7 manually-overridden definitions is working correctly

Run Summary
Field Value
Event pull_request
Repository marcusrbrown/systematic
Run ID 22556226549
Cache hit
Session ses_3541bba5affeatGI4QYMqbMkGm

@fro-bot fro-bot removed the agent: working Agent is currently working on this label Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sync-cep Tracks CEP upstream sync runs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant