Skip to content

chore(templates): migrate templates and editor glue off Cursor - #648

Merged
c-vigo merged 2 commits into
feature/625-nix-claude-migrationfrom
feature/629-templates-editor-cursor
Jun 23, 2026
Merged

c-vigo merged 2 commits into
feature/625-nix-claude-migrationfrom
feature/629-templates-editor-cursor

Conversation

@c-vigo

@c-vigo c-vigo commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

C4 #629 — Migrate templates & editor glue off Cursor (VS Code only)

Reconciles the workspace template left behind by C1 (#626) and removes the
remaining Cursor editor glue in #629's scope. Decision: VS Code only.

Changes

  • Template .cursor/ → .claude/: deleted the stale assets/workspace/.cursor/
    tree. C1's sync-manifest hook already propagated .claude/skills/ and
    .claude/worktrees.json; this PR adds .claude/agent-models.toml to
    scripts/manifest.toml so the template carries the same payload the old
    .cursor/ template did
    (skills + agent-models.toml + worktrees.json). The
    template's synced subagent-delegation skill references agent-models.toml,
    so this also fixes a dangling reference C1 left.
  • verify-auth.sh: dropped the /tmp/cursor-remote-ssh-*.sock glob from the
    SSH-agent socket scan.
  • justfile.devc: open recipe now launches VS Code only (removed the
    command -v cursor fallback).
  • docs/COMMIT_MESSAGE_STANDARD.md (root SSoT + synced template copy):
    "VS Code / Cursor" → "VS Code".
  • CHANGELOG: added an ## Unreleased Changed entry.

Scope boundaries (intentionally NOT touched)

TDD

  • RED: tests/bats/init-workspace.bats — assert template scaffolds .claude/
    (+ skills/), does NOT scaffold .cursor/, and carries no cursor-remote /
    command -v cursor glue. Committed failing first.
  • GREEN: implementation makes all four pass; full init-workspace.bats suite
    27/27 green.
  • Build-free rationale: the integration initialized_workspace fixture requires
    a container image build (out of bounds this batch). init-workspace.sh rsyncs
    assets/workspace/ verbatim, so structural assertions on the template tree are
    a faithful proxy for what new workspaces scaffold.

Verification

Refs: #629

c-vigo added 2 commits June 23, 2026 10:52
Replace the stale assets/workspace/.cursor/ template tree with the
Claude-native .claude/ payload (skills, agent-models.toml, worktrees.json)
via the sync manifest, and drop Cursor editor glue:

- Remove assets/workspace/.cursor/; add .claude/agent-models.toml to the
  workspace sync manifest so the template carries the same payload the old
  .cursor/ template did.
- Drop the cursor-remote-ssh socket glob from verify-auth.sh.
- Drop the command -v cursor fallback in justfile.devc open recipe (VS Code only).
- COMMIT_MESSAGE_STANDARD.md: VS Code / Cursor -> VS Code.

Refs: #629
@c-vigo
c-vigo marked this pull request as ready for review June 23, 2026 09:04
@c-vigo
c-vigo merged commit 977e6a4 into feature/625-nix-claude-migration Jun 23, 2026
13 checks passed
@c-vigo
c-vigo deleted the feature/629-templates-editor-cursor branch June 23, 2026 09:05
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