openspec/changes/add-devin-desktop-support/tasks.md
src/core/command-generation/adapters/devin.ts: .devin/workflows/opsx-<id>.md, frontmatter name/description/category/tags via the shared helpers in command-generation/yaml.ts.opsx- filename prefix makes Devin a flat invocation, so the generator rewrites /opsx:<id> body references to /opsx-<id> — the name Devin registers for a workflow file.adapters/windsurf.ts and its registry/barrel entries; register devinAdapter in their place.windsurf row in AI_TOOLS with devin (skillsDir: '.devin', detectionPaths: ['.devin', '.windsurf']). Detection, the init picker, --tools validation, update, and profile sync all derive from this row.TOOL_ID_ALIASES / resolveToolIdAlias in src/core/config.ts and apply it when parsing --tools, so --tools windsurf still resolves..windsurf/workflows/openspec-*.md entry in LEGACY_SLASH_COMMAND_PATHS to devin — that map's keys are tool ids.getTransformerForTool, give devin the skill-reference transformer whenever skills are generated, so skill bodies and the getting-started hint say /openspec-* — the Devin Local agent has no workflows. Under commands-only delivery, fall through to the invocation rewrite.LEGACY_SKILLS_DIRS with LEGACY_TOOL_ROOTS, each root carrying whether leaving it needs consent (.kimi no, .windsurf yes).getFilePath so no layout is hard-coded. Skip absolute paths.findLegacyToolMigrations / migrateLegacyToolDirs) so a consent-gated move can be described before it happens.openspec update: explain the rebrand, prompt interactively, migrate under --force or non-interactively, and say plainly what declining costs.openspec init: treat selecting the tool as consent and migrate for the selected tools only.docs/supported-tools.md: give Devin its own row in the authoritative "How To Invoke" table — the catch-all row would otherwise claim /opsx-<id> for both agents. Replace the Windsurf directory row and rewrite the footnote to cover the rename, the alias, and the migration.windsurf from the --tools ID lists in docs/cli.md and docs/supported-tools.md, noting it is still accepted as an alias.docs/commands.md and docs/how-commands-work.md, plus prose mentions in faq.md, migration-guide.md, opsx.md, and the website tool list.getFilePath, and frontmatter. Hyphen rewriting is asserted end to end in the generateCommand flat-tool loop, and YAML escaping by the registry-derived parity matrix — both enroll Devin automatically..devin and legacy .windsurf both resolve to devin; neither present means not detected.--tools windsurf writes .devin/ and leaves no .windsurf/..windsurf/ survive, and a second run migrates nothing.init/update: both surfaces — .devin/workflows/opsx-*.md carry /opsx-*, .devin/skills/openspec-*/SKILL.md carry /openspec-*, and neither carries /opsx:.getTransformerForTool returns the skill transformer for Devin under both/skills delivery and the hyphen form under commands.openspec validate add-devin-desktop-support --strict.openspec archive add-devin-desktop-support --yes merges cleanly and additively (run on a scratch copy, then reverted)..windsurf install upgraded; both directories populated; IDE-written .devin/rules/ preserved; --tools windsurf alias.