Installs the three-layer agent-pipeline scaffold (https://github.com/varutasu/agent-pipeline @ v0.5.0): L1 — Context (curated brain) - AGENTS.md: orientation, conventions, 8 explicit gotchas - .cursor/rules/: no-go-zones, api-routes, auth-and-permissions, db-and-schema, ui-and-theming, schema-map - .cursor/skills/: add-api-route, add-page recipes - docs/agent-context/README.md: layer explainer - docs/SCHEMA_MAP.md: hand-curated Neon Postgres reference (replaces Prisma schema map since stack is raw SQL) L2 — Subagent roles (copied verbatim from upstream templates) - 9 .cursor/agents/role-*.md files: Conductor, IA-Architect, UX-Reviewer, Architect, Implementer, Reviewer, Design-System-Auditor, A11y-Auditor, Doc-Writer L3 — Pipeline scaffolding (Vercel variant) - CI: lint + schema-map-drift only (no duplicate build — Vercel handles it). Test job commented out until vitest lands. - preview-smoke + visual-diff via wait-for-vercel-preview - pr-health-rollup sticky comment aggregator - agent-context-drift weekly cron - PULL_REQUEST_TEMPLATE, CODEOWNERS (auth/admin paths tagged) - .convoys/ folder + seed ship-readiness.md review - lib/flags/index.js (JS — converted from TS template) - scripts/wt.sh (Cursor 3.2 deprecation stub), scripts/log-convoy-event.sh - tests/smoke/app.smoke.spec.ts (Playwright skeleton) Manifest - .agent-context-manifest.yml: tracks 31 artifacts by sha256 for future sync-agent-context drift detection Review - .convoys/ship-readiness.md: 16 findings (7 P0 ship-blockers, 5 P1 quality-bar, 4 P2 refactor, P3 UX/IA/a11y/docs) with proposed 13-convoy launch sequence. No production code changed in this commit. All findings in the ship-readiness review will be addressed in follow-up convoys starting with fix-auth-bypass. Structural brain: user-code-review-graph MCP has indexed the codebase (122 files, 628 nodes, 5602 edges, 11 communities, 84 flows). Per-developer; not committed. Co-authored-by: Cursor <cursoragent@cursor.com>
37 lines
1.3 KiB
Bash
Executable file
37 lines
1.3 KiB
Bash
Executable file
#!/usr/bin/env bash
|
|
# wt.sh — DEPRECATED in Cursor 3.2+.
|
|
#
|
|
# Cursor 3.2 (Apr 24, 2026) added native worktree management to the
|
|
# Agents Window with one-click foregrounding. Use that instead:
|
|
# https://cursor.com/docs/configuration/worktrees
|
|
#
|
|
# This stub is kept for two reasons:
|
|
# 1. Pre-3.2 users who haven't upgraded yet.
|
|
# 2. Scripted / CI worktree creation outside the IDE.
|
|
#
|
|
# To create a worktree manually:
|
|
# git worktree add -b brief/<convoy>/<N>-<title> \
|
|
# "$(dirname "$(git rev-parse --show-toplevel)")/$(basename "$(git rev-parse --show-toplevel)")-worktrees/brief-<N>-<title>" \
|
|
# develop
|
|
#
|
|
# See docs/multitask-playbook.md for when to spin up worktrees vs.
|
|
# running implementers in the same checkout.
|
|
|
|
set -euo pipefail
|
|
|
|
cat <<'EOF' >&2
|
|
wt.sh: deprecated. In Cursor 3.2+ use the Agents Window worktree UI.
|
|
|
|
Why this is deprecated:
|
|
- Cursor 3.2 worktrees integrate with subagent runs and one-click foreground.
|
|
- The legacy script duplicates that feature without the integration.
|
|
|
|
What to do instead:
|
|
- In Cursor: open Agents Window → "New worktree" → pick brief branch.
|
|
- For CI / scripted use: run `git worktree add` directly.
|
|
|
|
Reference: docs/multitask-playbook.md (worktrees section)
|
|
https://cursor.com/changelog/04-24-26
|
|
EOF
|
|
|
|
exit 0
|