Skip to content

Fix evolution reset workspace scoping#110

Draft
cursor[bot] wants to merge 2 commits into
mainfrom
cursor/critical-bug-investigation-d05c
Draft

Fix evolution reset workspace scoping#110
cursor[bot] wants to merge 2 commits into
mainfrom
cursor/critical-bug-investigation-d05c

Conversation

@cursor

@cursor cursor Bot commented Jul 5, 2026

Copy link
Copy Markdown

Summary

  • Fix a destructive workspace split in skilllite evolution reset --force: reset now uses the selected workspace for both chat prompt/log/database state and evolved skill deletion.
  • Add --workspace/-w to evolution reset, disable, and explain so these maintenance commands match the rest of the evolution CLI.
  • Add regression coverage for env-vs-target workspace reset scoping and update EN/ZH docs.

Task Linkage

  • Task ID: TASK-2026-070
  • Task folder: tasks/TASK-2026-070-evolution-reset-workspace-scope/

Injected Specs

  • spec/architecture-boundaries.md (entry/commands routing touched, no dependency direction change)
  • spec/security-nonnegotiables.md (not sandbox/security policy)
  • spec/testing-policy.md (Rust CLI behavior change)
  • spec/docs-sync.md (CLI flags/docs changed)

Validation Evidence

  • Commands executed:
    • rustup update stable && rustup default stable (resolved Cloud VM Cargo 1.83 / edition2024 blocker)
    • cargo fmt --check
    • cargo test -p skilllite-commands --features agent
    • cargo test -p skilllite
    • cargo clippy --all-targets -- -D warnings
    • cargo test
    • python3 scripts/validate_tasks.py
  • Key results:
    • Focused commands tests passed: 42 passed; 0 failed, including reset_uses_workspace_argument_for_chat_and_skills_when_env_differs.
    • cargo test -p skilllite, full cargo test, and Clippy with -D warnings passed.
    • Task validation passed: 70 task directories checked.

Regression Scope

  • Areas likely affected:
    • skilllite evolution reset
    • skilllite evolution disable
    • skilllite evolution explain
    • Evolution CLI help/docs
  • Explicit non-goals:
    • Sandbox behavior
    • LLM provider/runtime configuration
    • Desktop L2 JSON command contracts
    • Nested workspace project-root normalization

Docs Sync (EN/ZH)

  • Not needed
  • Updated EN + ZH docs
  • Files:
    • docs/en/ASSISTANT-SPLIT-ARCHITECTURE.md
    • docs/zh/ASSISTANT-SPLIT-ARCHITECTURE.md

Review Checklist

  • Acceptance criteria in tasks/TASK-2026-070-evolution-reset-workspace-scope/TASK.md satisfied
  • tasks/TASK-2026-070-evolution-reset-workspace-scope/STATUS.md updated with latest progress
  • tasks/TASK-2026-070-evolution-reset-workspace-scope/REVIEW.md includes merge readiness decision
  • tasks/board.md status is up to date
Open in Web View Automation 

cursoragent and others added 2 commits July 5, 2026 11:08
Co-authored-by: EXboy <EXboys@users.noreply.github.com>
Co-authored-by: EXboy <EXboys@users.noreply.github.com>
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