Commit Graph

229 Commits

Author SHA1 Message Date
Adrian
4db39f8b42 verification: opencode-command-md-merge 2026-02-20 13:34:49 -05:00
Adrian
06d4aea70c phase 06: update documentation 2026-02-20 13:32:52 -05:00
Adrian
27319bd85f phase 05: change permissions default to none 2026-02-20 13:31:31 -05:00
Adrian
3914dfdebe phase 04: deep merge opencode json 2026-02-20 13:30:17 -05:00
Adrian
5abddbcbd9 phase 03: write command md files 2026-02-20 13:28:25 -05:00
Adrian
f0b6ce9689 phase 02: convert command to md files 2026-02-20 13:20:48 -05:00
Adrian
da94da90db phase 01: type change for command files 2026-02-20 13:16:02 -05:00
Adrian
d83c1a29c3 docs: ADR 0001-0003 — OpenCode commands, config merge, permissions default
Why: Architectural decisions recorded during planning phase.
See docs/plans/feature_opencode-commands_as_md_and_config_merge.md for full context.
2026-02-20 13:13:36 -05:00
Kieran Klaassen
174cd4cff4 release: v2.35.1 — add system-wide test check to /workflows:work
- Add System-Wide Test Check to work command task execution loop (5 questions: callbacks, real chain coverage, orphaned state, API parity, error alignment)
- Add integration test guidance to Test Continuously section
- Add System-Wide Impact sections to plan templates (MORE + A LOT)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 21:50:56 -08:00
Kieran Klaassen
d53ef1e837 Merge pull request #197 from zbeyens/fix/feature-video-public-url-verification
feature-video: remove hardcoded R2 URL and require public URL verification
2026-02-18 20:08:18 -08:00
zbeyens
c2c211107f docs(feature-video): remove hardcoded R2 URL and require 200 check 2026-02-18 17:28:50 +01:00
Kieran Klaassen
e84075660a release: v0.9.0 — add Kiro CLI target provider
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 12:37:33 -08:00
Kieran Klaassen
0099e2559a Merge PR #196: feat(kiro): add Kiro CLI as 8th --to target provider 2026-02-17 12:36:21 -08:00
Wilson Tovar
a77eacb856 docs(kiro): add Kiro format spec and update README with Kiro provider 2026-02-17 12:35:47 -08:00
Wilson Tovar
7a41f64f06 test(kiro): add converter and writer tests for Kiro provider 2026-02-17 12:35:23 -08:00
Wilson Tovar
ee76195daf feat(kiro): add Kiro CLI target provider types, converter, writer, and CLI registration 2026-02-17 12:35:23 -08:00
Kieran Klaassen
d314d7fa2a fix: resolve first-run workflow failures (2.35.0)
- fix(lfg, slfg): make ralph-loop step optional — graceful fallback
  when ralph-wiggum skill not installed (#154); add explicit
  "do not stop" instruction across all pipeline steps (#134)
- fix(plan): add mandatory "Write Plan File" step with explicit Write
  tool instructions before post-generation options — plan always
  written to disk even in LFG/SLFG pipeline context (#155, #134)
- fix(plan): use full qualified agent name for spec-flow-analyzer
  to prevent Claude prepending wrong 'workflows:' prefix (#193)

Closes #154, #155, #193
Contributing to #134

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 10:42:42 -08:00
Kieran Klaassen
e1906592cb chore: bump version to 0.8.0, update CHANGELOG 2026-02-17 10:27:37 -08:00
Kieran Klaassen
83277feee8 fix: remove deleted cursor sync/converter imports after native plugin migration 2026-02-17 10:26:36 -08:00
Kieran Klaassen
4f5efbf852 resolve merge conflict: use native Cursor plugin install, add Copilot sync 2026-02-17 10:24:58 -08:00
Kieran Klaassen
a7b76a059c Add Cursor Plugin metadata
Add Cursor Plugin metadata
2026-02-17 10:23:26 -08:00
Eric Zakariasson
7549f38623 Merge branch 'main' into chore/remove-cursor-target-support 2026-02-17 10:07:38 -08:00
Brayan Jules
dbb25c63dd fix: Preserve command namespace in Copilot skill names
Stop stripping namespace prefixes when converting commands to Copilot
skills. `workflows:plan` now becomes `workflows-plan` instead of just
`plan`, avoiding clashes with Copilot's own features in the chat UI.

Also updates slash command references in body text to match:
`/workflows:plan` → `/workflows-plan`.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 02:05:37 -03:00
Brayan Jules
7055df5d8e fix: Route copilot install to .github/ instead of opencode default
Add copilot case to resolveTargetOutputRoot so `install --to copilot`
writes to .github/ in the current directory instead of falling through
to the opencode default (~/.config/opencode).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 01:44:44 -03:00
Brayan Jules
5d984ab2da fix: Add missing closing brace for copilot target entry
The copilot entry in the targets record was missing its closing `},`
after merging with the gemini target branch, causing a parse error.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 01:41:57 -03:00
Brayan Jules
a21bc5844d Merge branch 'main' into feat/copilot-converter-target 2026-02-15 09:25:05 -03:00
Kieran Klaassen
1a3e8e2b58 release: v0.7.0 / plugin v2.34.0 — add Gemini CLI target
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 20:50:46 -08:00
Kieran Klaassen
bbe4dfadc9 Merge pull request #190 from EveryInc/feat/gemini-target
feat: add Gemini CLI as sixth target provider
2026-02-14 22:49:35 -06:00
Kieran Klaassen
fb6a2a3d11 chore: add todos/ to .gitignore
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 20:49:05 -08:00
Kieran Klaassen
3e1d62d4c4 chore: remove todos from git tracking
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 20:48:46 -08:00
Kieran Klaassen
552ebceb0b chore: mark review todos as complete
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 20:46:53 -08:00
Kieran Klaassen
d487915f0f fix: address code review findings for gemini target
- Extract named GeminiMcpServer type (eliminates NonNullable indexing)
- Deep-merge mcpServers in settings.json (preserves existing entries)
- Warn when existing settings.json cannot be parsed
- Add test for uniqueName dedup (agent/skill name collision)
- Add test for TOML triple-quote escaping

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 20:46:31 -08:00
Kieran Klaassen
e113d20126 docs: mark gemini target plan as completed
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 20:35:09 -08:00
Kieran Klaassen
8351851a13 docs: add Gemini CLI spec and update README with gemini target
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 20:34:31 -08:00
Kieran Klaassen
201ad6d0fb feat(gemini): add Gemini CLI as sixth target provider
Add `--to gemini` support for both `convert` and `install` commands,
converting Claude Code plugins into Gemini CLI-compatible format.

- Agents convert to `.gemini/skills/*/SKILL.md` with description frontmatter
- Commands convert to `.gemini/commands/*.toml` with TOML prompt format
- Namespaced commands create directory structure (workflows:plan -> workflows/plan.toml)
- Skills pass through unchanged (identical SKILL.md standard)
- MCP servers written to `.gemini/settings.json` with merge support
- Content transforms: .claude/ paths, Task calls, @agent references
- Hooks emit warning (different format in Gemini)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 20:33:21 -08:00
Brayan Jules
4f7c598f27 feat: Add GitHub Copilot converter target
Add Copilot as the 6th converter target, transforming Claude Code plugins
into Copilot's native format: custom agents (.agent.md), agent skills
(SKILL.md), and MCP server configuration JSON.

Component mapping:
- Agents → .github/agents/{name}.agent.md (with Copilot frontmatter)
- Commands → .github/skills/{name}/SKILL.md
- Skills → .github/skills/{name}/ (copied as-is)
- MCP servers → .github/copilot-mcp-config.json
- Hooks → skipped with warning

Also adds `compound sync copilot` support and fixes YAML quoting for
the `*` character in frontmatter serialization.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 00:14:40 -03:00
Kieran Klaassen
134a994c08 [2.33.1] Add status frontmatter to plan templates
- Plan templates now include `status: active` in YAML frontmatter
- /workflows:work updates plan status to `completed` after shipping
- Agents can grep frontmatter to distinguish current vs historical plans

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 09:54:42 -08:00
ericzakariasson
e469ab0cc0 Remove cursor target and add plugin metadata 2026-02-13 12:14:48 -05:00
Kieran Klaassen
b42163f1c0 Add CLI changelog with 0.6.0 release notes
Credits contributors @gvkhosla (Pi target) and @waltbeaman (model alias fix).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 20:38:22 -08:00
Kieran Klaassen
e41904a569 Add droid and cursor sync targets, extract shared path helpers
- Add sync --target droid (skills to ~/.factory/skills/)
- Add sync --target cursor (skills + MCP to .cursor/)
- Extract expandHome/resolveTargetHome to src/utils/resolve-home.ts
- Remove duplicated path helpers from convert.ts and install.ts
- Bump version to 0.6.0

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 20:37:25 -08:00
Kieran Klaassen
84af459c79 Merge pull request #182 from waltbeaman/fix/bare-model-alias-resolution
Fix bare Claude model alias resolution in OpenCode converter
2026-02-12 22:05:20 -06:00
Kieran Klaassen
25fa591559 Merge pull request #181 from gvkhosla/feat/pi-target
feat: add first-class Pi target with MCPorter + subagent compatibility
2026-02-12 22:04:02 -06:00
Walt Beaman
4132af155a Fix bare Claude model alias resolution in OpenCode converter
normalizeModel() turned bare aliases like 'haiku' into 'anthropic/haiku',
which is not a valid OpenCode model ID. This caused
ProviderModelNotFoundError when agents using model: haiku (e.g.
learnings-researcher, lint) were invoked during workflows like /plan.

Add CLAUDE_FAMILY_ALIASES map to resolve haiku, sonnet, and opus to their
full model IDs (e.g. anthropic/claude-haiku-4-5). A console.warn alerts
during conversion so the map can be updated when new versions release.
2026-02-12 21:01:51 -06:00
Geet Khosla
e84fef7a56 feat: add first-class pi target with mcporter/subagent compatibility 2026-02-12 23:07:34 +01:00
Kieran Klaassen
87e98b24d3 Bump version to 0.5.2
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 13:32:15 -08:00
Kieran Klaassen
d929b8f091 Fix cursor install defaulting to cwd instead of opencode config dir
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 13:32:06 -08:00
Kieran Klaassen
7232f26e0e Bump version to 0.5.1 for npm publish
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 13:29:55 -08:00
Kieran Klaassen
20446e9add Fix: install by name always fetches from GitHub (#180)
* feat(cursor): add Cursor CLI as target provider

Add converter, writer, types, and tests for converting Claude Code
plugins to Cursor-compatible format (.mdc rules, commands, skills,
mcp.json). Agents become Agent Requested rules (alwaysApply: false),
commands are plain markdown, skills copy directly, MCP is 1:1 JSON.

* docs: add Cursor spec and update README with cursor target

* chore: bump CLI version to 0.5.0 for cursor target

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* docs: note Cursor IDE + CLI compatibility in README

* fix: install by name always fetches from GitHub

Previously, `install compound-engineering` would resolve to any local
directory named `compound-engineering` in the current working directory
before trying GitHub. This broke installs when users had a same-named
directory that wasn't a valid plugin.

Now bare names always go to GitHub. Only explicit paths (starting with
./ or / or ~) are treated as local paths.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 15:24:58 -06:00
Kieran Klaassen
0aaca5a7a7 Add Cursor CLI as target provider (#179)
* feat(cursor): add Cursor CLI as target provider

Add converter, writer, types, and tests for converting Claude Code
plugins to Cursor-compatible format (.mdc rules, commands, skills,
mcp.json). Agents become Agent Requested rules (alwaysApply: false),
commands are plain markdown, skills copy directly, MCP is 1:1 JSON.

* docs: add Cursor spec and update README with cursor target

* chore: bump CLI version to 0.5.0 for cursor target

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* docs: note Cursor IDE + CLI compatibility in README

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 15:16:43 -06:00
Kieran Klaassen
56b174a056 Add configurable review agents via setup skill and compound-engineering.local.md (#124)
* feat(commands): add /compound-engineering-setup for configurable agents

Adds a new setup command that allows users to configure which review
agents to use instead of hardcoding them in workflows. This enables:

- Multi-step onboarding with AskUserQuestion for easy setup
- Auto-detection of project type (Rails, Python, TypeScript, etc.)
- Three setup modes: Quick (smart defaults), Advanced, and Minimal
- Configuration stored in .claude/compound-engineering.json
- Support for both global (~/.claude/) and project-specific config

Updated workflows to read from config:
- /workflows:review - reads reviewAgents from config
- /plan_review - reads planReviewAgents from config
- /workflows:work - references config for reviewer agents
- /workflows:compound - references config for specialized agents

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* feat: auto-trigger setup when no config exists

Workflows now detect missing config and offer inline quick setup:
- "Quick Setup" - auto-detect project type, create config, continue
- "Full Setup" - run /compound-engineering-setup for customization
- "Skip" - use defaults just this once

This ensures users get onboarded automatically when running any
workflow for the first time, without needing to know about the
setup command beforehand.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* feat(review): wire all conditionalAgents categories

Extended /workflows:review to invoke conditional agents for:
- migrations (existing)
- frontend (new): JS/TS/Stimulus changes
- architecture (new): structural changes, 10+ files
- data (new): model/ActiveRecord changes

Each category reads from conditionalAgents.* config key and
runs appropriate specialized agents when file patterns match.

Resolves: todos/001-ready-p2-conditional-agents-not-invoked.md

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* chore: mark todo #001 as complete

* feat(setup): add custom agent discovery and modify flow

- Auto-detect custom agents in .claude/agents/ and ~/.claude/agents/
- Add modify existing config flow (add/remove agents, view config)
- Include guide for creating custom review agents
- Add customAgents mapping in config to track agent file paths
- Update changelog with new config schema including customAgents

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* chore: remove completed todos directory

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* [2.29.1] Improve /workflows:brainstorm question flow

- Add "Ask more questions" option at handoff phase
- Clarify that Claude should ask the user questions (not wait for user)
- Require resolving ALL open questions before offering to proceed

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Simplify plugin settings: replace 486-line wizard with .local.md pattern

- Rewrite setup.md (486 → 95 lines): detect project type, create
  .claude/compound-engineering.local.md with smart defaults
- Make review.md and work.md config-aware: read agents from .local.md
  frontmatter, fall back to auto-detected defaults
- Wire schema-drift-detector into review.md migrations conditional block
- Delete technical_review.md (duplicated /plan_review)
- Add disable-model-invocation to setup.md
- Bump to v2.32.0

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Rewrite .claude/ paths for OpenCode/Codex targets, add npm publish workflow

- Converters now rewrite .claude/ → .opencode/ (OpenCode) and .codex/ (Codex)
  in command bodies and agent bodies so .local.md settings work cross-platform
- Apply transformContentForCodex to agent bodies (was only commands before)
- Add GitHub Action to auto-publish to npm on version bump merge to main
- Bump to v0.4.0

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* feat(workflows-work): require post-deploy monitoring section

Add a mandatory Post-Deploy Monitoring & Validation section to the /workflows:work PR template, include no-impact fallback guidance, and enforce it in the quality checklist.

* Add learnings-researcher to review workflow, fix docs site counts

- Add learnings-researcher as parallel agent #14 in /workflows:review
  so past solutions from docs/solutions/ are surfaced during code review
- Make /release-docs command invocable (remove disable-model-invocation)
- Fix stale counts across docs site (agents 28→29, commands 19→24,
  skills 15→18, MCP servers 2→1)
- Bump version to 2.32.1

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Move /release-docs to local .claude/commands/, bump to 2.32.2

Repo maintenance command doesn't need to be distributed to plugin users.
Update command count 24 → 23 across plugin.json, marketplace.json, and docs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Move settings to project root: compound-engineering.local.md

Tool-agnostic location — works for Claude, Codex, OpenCode without
path rewriting. No global fallback, just project root.

Update commands (setup, review, work) and converter tests.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Make /compound-engineering-setup interactive with auto-detect fast path

Two paths: "Auto-configure" (one click, smart defaults) or "Customize"
(pick stack, focus areas, review depth). Uses AskUserQuestion throughout.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Replace /compound-engineering-setup command with setup skill

Setup is now a skill invoked on-demand when compound-engineering.local.md
doesn't exist. Review and work commands just say "invoke the setup skill"
instead of inlining the full setup flow.

- Remove commands/setup.md (command)
- Add skills/setup/SKILL.md (skill with interactive AskUserQuestion flow)
- Simplify review.md and work.md to reference the skill
- Counts: 29 agents, 22 commands, 19 skills

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Prepare v2.33.0 release: setup skill, configurable review agents

- Bump version to 2.33.0
- Consolidate CHANGELOG entries for this branch
- Fix README: update counts (29/22/19), add setup + resolve-pr-parallel skills
- Remove stale /compound-engineering-setup command reference

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-12 11:43:16 -06:00