Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion .github/spec-baselines.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,22 @@
"cursor-rules": {
"url": "https://cursor.com/docs/context/rules",
"hash": "24529507938b37d3e3815e86b8c1c87cbaf78230c899854f0d74b2d5356c676a",
"rules": ["CUR-001", "CUR-002", "CUR-003", "CUR-004", "CUR-005", "CUR-006"]
"rules": ["CUR-001", "CUR-002", "CUR-003", "CUR-004", "CUR-005", "CUR-006", "CUR-007", "CUR-008", "CUR-009"]
},
"cursor-hooks": {
"url": "https://cursor.com/docs/agent/hooks",
"hash": "4f55df64b01fe7d2c55a9d544eafdda070e35d7f84045c021f4a5ea9fcdd05d8",
"rules": ["CUR-010", "CUR-011", "CUR-012", "CUR-013"]
},
"cursor-subagents": {
"url": "https://cursor.com/docs/context/subagents",
"hash": "f849221f0342190122e8411587e47f129c915902077da6995753f26c8a03cc9a",
"rules": ["CUR-014", "CUR-015"]
},
"cursor-environment": {
"url": "https://cursor.com/docs/cloud-agent/setup",
"hash": "326a48176a4541dc5e1d94d7f1ef94c50a007dc4798b85e97e8ada5ec75e8a9e",
"rules": ["CUR-016"]
},
"github-copilot": {
"url": "https://docs.github.com/en/copilot/customizing-copilot",
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed
- **CUR-016 environment.json validation rewritten**: Schema now matches the current Cursor Cloud Agent spec - `install` is required, `terminals` is optional (was previously required), and `build` (with `dockerfile` and `context`) and `update` fields are now validated. Snapshot-based approach replaced with field-level structural validation. Includes 12 new unit tests.
- **CUR-001 to CUR-016 verified_on dates updated**: All 16 Cursor rules re-verified against current Cursor documentation on 2026-02-26.
- **spec-baselines.json expanded**: Baseline entries added for CUR-007 through CUR-016 to enable cross-version regression detection.

### Changed
- **Unified design system**: Import shared design tokens from agent-sh/design-system. Switch from Outfit to Inter font. Add font preconnect hints to Docusaurus config. Keeps teal accent and light/dark mode.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ agnix --target claude-code . # Target specific tool
| [Agent Skills](https://agentskills.io) | AS-\*, CC-SK-\* | 31 | SKILL.md |
| [Claude Code](https://docs.anthropic.com/en/docs/build-with-claude/claude-code) | CC-\* | 53 | CLAUDE.md, hooks, agents, plugins |
| [GitHub Copilot](https://docs.github.com/en/copilot) | COP-\* | 6 | .github/copilot-instructions.md, .github/instructions/\*.instructions.md |
| [Cursor](https://cursor.com) | CUR-\* | 10 | .cursor/rules/\*.mdc, .cursorrules |
| [Cursor](https://cursor.com) | CUR-\* | 16 | .cursor/rules/\*.mdc, .cursorrules, .cursor/hooks.json, .cursor/agents/\*\*/\*.md, .cursor/environment.json |
| [MCP](https://modelcontextprotocol.io) | MCP-\* | 12 | \*.mcp.json |
| [AGENTS.md](https://agentsmd.org) | AGM-\*, XP-\* | 13 | AGENTS.md, AGENTS.local.md, AGENTS.override.md |
| [Gemini CLI](https://github.com/google-gemini/gemini-cli) | GM-\* | 9 | GEMINI.md, GEMINI.local.md, .gemini/settings.json (hooks), gemini-extension.json (extensions), .geminiignore |
Expand Down
12 changes: 8 additions & 4 deletions crates/agnix-cli/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -530,15 +530,19 @@ rules:
message: "Cursor subagent definition is empty after frontmatter"
suggestion: "Add body instructions below the frontmatter section"
cur_016:
message: ".cursor/environment.json must be an object with snapshot, install, and terminals"
message: ".cursor/environment.json must be an object with install (required) and optional start, update, build, terminals"
parse_error: "Failed to parse .cursor/environment.json: %{error}"
snapshot: "Field 'snapshot' must be a string"
install: "Field 'install' must be a string"
missing_install: "Field 'install' is required and must be a string"
start: "Field 'start' must be a string when present"
missing_terminals: "Field 'terminals' is required and must be an array"
update: "Field 'update' must be a string when present"
invalid_build: "Field 'build' must be an object when present"
build_dockerfile: "Field 'build.dockerfile' must be a string when present"
build_context: "Field 'build.context' must be a string when present"
invalid_terminals: "Field 'terminals' must be an array, got %{got}"
terminal: "terminals[%{index}] must be an object with string fields 'name' and 'command'"
suggestion: "Use schema: {\"snapshot\":\"...\",\"install\":\"...\",\"start\":\"...\",\"terminals\":[{\"name\":\"...\",\"command\":\"...\"}]}"
terminal_not_object: "terminals[%{index}] must be a JSON object"
suggestion: "Use schema: {\"install\":\"...\",\"start\":\"...\",\"build\":{\"dockerfile\":\"...\",\"context\":\"...\"},\"terminals\":[{\"name\":\"...\",\"command\":\"...\"}]}"

# --- Cline (cline.rs) ---
cln_001:
Expand Down
12 changes: 8 additions & 4 deletions crates/agnix-core/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -530,15 +530,19 @@ rules:
message: "Cursor subagent definition is empty after frontmatter"
suggestion: "Add body instructions below the frontmatter section"
cur_016:
message: ".cursor/environment.json must be an object with snapshot, install, and terminals"
message: ".cursor/environment.json must be an object with install (required) and optional start, update, build, terminals"
parse_error: "Failed to parse .cursor/environment.json: %{error}"
snapshot: "Field 'snapshot' must be a string"
install: "Field 'install' must be a string"
missing_install: "Field 'install' is required and must be a string"
start: "Field 'start' must be a string when present"
missing_terminals: "Field 'terminals' is required and must be an array"
update: "Field 'update' must be a string when present"
invalid_build: "Field 'build' must be an object when present"
build_dockerfile: "Field 'build.dockerfile' must be a string when present"
build_context: "Field 'build.context' must be a string when present"
invalid_terminals: "Field 'terminals' must be an array, got %{got}"
terminal: "terminals[%{index}] must be an object with string fields 'name' and 'command'"
suggestion: "Use schema: {\"snapshot\":\"...\",\"install\":\"...\",\"start\":\"...\",\"terminals\":[{\"name\":\"...\",\"command\":\"...\"}]}"
terminal_not_object: "terminals[%{index}] must be a JSON object"
suggestion: "Use schema: {\"install\":\"...\",\"start\":\"...\",\"build\":{\"dockerfile\":\"...\",\"context\":\"...\"},\"terminals\":[{\"name\":\"...\",\"command\":\"...\"}]}"

# --- Cline (cline.rs) ---
cln_001:
Expand Down
Loading
Loading