Skip to content

Add deterministic project detection - #2

Merged
KingEmma7 merged 2 commits into
mainfrom
agent/add-project-detection
Aug 1, 2026
Merged

Add deterministic project detection#2
KingEmma7 merged 2 commits into
mainfrom
agent/add-project-detection

Conversation

@KingEmma7

@KingEmma7 KingEmma7 commented Aug 1, 2026

Copy link
Copy Markdown
Owner

What changed

  • adds a deterministic cursor-os detect command for repository stack, tooling, paths and marker discovery
  • reuses detection during project initialization so generated context reflects the actual repository
  • expands smoke coverage across representative fixtures and packaged-install behavior
  • updates CI, contributor guidance, release checks, memory, decision records and user documentation
  • keeps Nx/Turborepo configuration as tooling evidence without misclassifying single-package projects as monorepos

Why

Project setup previously depended too heavily on manual description and could drift from repository facts. A single deterministic detector gives initialization, users and automation the same evidence-based project model.

Review identified that nx.json and turbo.json prove task-runner use, not a multi-package workspace. Monorepo classification is now reserved for actual workspace declarations while task-runner detection remains available separately.

Impact

Cursor OS can now identify common project characteristics without executing repository code or relying on network services. The output is stable enough for scripts while remaining readable for developers, and localization will not be misdirected by standalone Nx or single-package Turborepo configurations.

Validation

  • complete project smoke suite — 159 checks passed
  • packaged tarball end-to-end installation and detection smoke test
  • GitHub Actions passed on reviewed head 11ed5e8

@KingEmma7
KingEmma7 marked this pull request as ready for review August 1, 2026 10:22

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f063ddc1b9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/detect.mjs Outdated
@KingEmma7
KingEmma7 merged commit 0957db8 into main Aug 1, 2026
5 checks passed
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