Feature: Cursor - #685
Closed
rauldiaz wants to merge 3 commits into
Closed
Conversation
…dist/cursor Add .cursor to the core harness enumerations (KNOWN_HARNESS_DIRS, KNOWN_HARNESSES, the doctor otherTrees list) and add a .cursor required-files branch to --doctor (hooks.json, SKILL.md, a rules/*/*.mdc layer, AGENTS.md, and the default-space memory tree), mirroring .codex. Regenerate every dist/<harness>/ tree (the core .ts tools are byte-copied into each) and commit the full dist/cursor/ distribution. Byte-parity guard (package.ts --check) passes.
Generate full design specification for the Cursor harness via APEX workflow: requirements (26 reqs), architecture (6 ADRs, 96/100 score), security (STRIDE threat model, 10 threats, 33 test cases), user stories (12 stories, 3 sprints), and project management artifacts.
Contributor
|
Thanks, Raul. We have chosen PR #661 as the Cursor integration path. Your work on phase-selective rules and native workflow shortcuts informed that implementation, and I credited your design direction in the PR #661 discussion. This PR also surfaced two areas worth carrying forward: packaging the base Cursor harness for marketplace installation and validating the session lifecycle on Cursor cloud agents. We would welcome your help taking those forward on #661 so we can build them into the selected implementation together. To keep a single implementation path, I’m closing this PR in favor of #661. Thank you for the design and implementation work that moved Cursor support forward. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Design specification for the Cursor IDE harness — the sixth AI-DLC distribution target. Defines requirements, architecture, security assessment, and sprint plan for implementing
harness/cursor/and generatingdist/cursor/.Changes
Key architectural decisions:
.mdcin named subfolders for rules (per official Cursor docs)emit.tsgenerates all Cursor-native surfaces (rules, hooks.json, commands, cli.json){permission:"deny"}JSONbeforeSubmitPromptfor session init (cloud agent compatible)tierFlavor: "claude"(Cursor uses Anthropic model identifiers)User experience
Before: AI-DLC supports five platforms (Claude, Kiro, Kiro IDE, Codex, opencode). Cursor IDE users cannot run AI-DLC workflows natively.
After: Users copy
dist/cursor/into their project, invoke/aidlcin Cursor agent mode, and the full 14-agent, 32-stage methodology runs. Utility commands/aidlc-status,/aidlc-jump,/aidlc-scopeare available as native Cursor slash commands. Works identically across Cursor IDE, cursor-agent CLI, and cloud agents.Checklist
Test Plan
Test Plan
Design specification only — no runtime code changes in this commit.
generated/design/README.mdresolve to existing filesbun scripts/package.ts --checkandbun tests/run-tests.ts --smoke --unitAcknowledgment
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the [project license](https://github.com/awslabs/aidlc-workflows/blob/main/LICENSE).