Skip to content

fix(evolution): scope destructive reset to requested workspace - #120

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

fix(evolution): scope destructive reset to requested workspace#120
cursor[bot] wants to merge 4 commits into
mainfrom
cursor/critical-bug-investigation-fe12

Conversation

@cursor

@cursor cursor Bot commented Jul 17, 2026

Copy link
Copy Markdown

Summary

  • Fix evolution reset --force potentially deleting global/default chat evolution data while leaving the requested project's evolved skills active.
  • Add --workspace/-w (default .), route every reset mutation through that workspace, and remove _evolved from both skills/ and .skills/ because runtime discovery scans both.
  • Add a cross-workspace isolation regression test and synchronized EN/ZH command docs.

Task Linkage

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

Injected Specs

  • spec/architecture-boundaries.md
  • spec/security-nonnegotiables.md (not a sandbox/security-policy change)
  • spec/testing-policy.md
  • spec/docs-sync.md

Validation Evidence

  • Commands executed:
    • cargo test -p skilllite --test cli_evolution_workspace evolution_reset_workspace_flag_isolates_all_destructive_changes -- --exact
    • cargo test -p skilllite
    • cargo test
    • cargo fmt --check
    • cargo clippy --all-targets -- -D warnings
    • cargo clippy --all-targets -- -D warnings -A clippy::question_mark -A clippy::useless_borrows_in_formatting
    • python3 scripts/validate_tasks.py
  • Key results:
    • Regression, package, and full workspace tests passed.
    • Formatting and task validation passed.
    • Strict Clippy is baseline-blocked by two untouched Rust 1.97 lints in scan.rs and skill/add/admission.rs; the full workspace passes when only those exact pre-existing categories are exempted.

Regression Scope

  • Areas likely affected:
    • Evolution reset CLI parsing, dispatch, and destructive path resolution.
  • Explicit non-goals:
    • Workspace cleanup for disable, explain, or repair-skills.

Docs Sync (EN/ZH)

  • Not needed
  • Updated EN + ZH docs
  • Files:
    • README.md
    • docs/zh/README.md

Review Checklist

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

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