Skip to content

Phase 3 continuation: reset_devin v0.4 thin manifest + survivors-list fix - #10

Merged
fotedev merged 2 commits into
mainfrom
feat/devin-thin-manifest
Oct 17, 2026
Merged

fotedev merged 2 commits into
mainfrom
feat/devin-thin-manifest

Conversation

@fotedev

@fotedev fotedev commented Oct 17, 2026

Copy link
Copy Markdown
Owner

Summary

  • reset_devin v0.4: the 17-step Windsurf/Devin reset now runs every store mutation through the Python core (same contract as reset_cursor v0.3); the repo's LAST inline temp-.py heredoc is gone (generalized delete-secrets with ESCAPE'd LIKE patterns)
  • New core capabilities: patch-argv (JSONC-safe crash-reporter-id + username scrub), replace-text, json-set (dotted path + skip-if-empty), delete-secrets generalization
  • BUGFIX in both manifests: delete-secrets survivors is a per-pattern LIST — PS 'array -eq 0' filters elements instead of answering all-zero (non-zero survivors could pass); reset_zcode already used Measure-Object -Sum
  • 1419 -> 1003 lines; v0.3 archived locally per convention
  • Live comparison run pending user supervision (same gate as the cursor pilot)

Gates: parse-check both manifests - Pester 36/36 - harness 12/12 - unittest 67/67

…hase 3 continuation)

The 17 steps (14 per data root x Devin/Windsurf + 3 global), their order,
audit keys, restore actions and summary are IDENTICAL to v0.3 (archived
locally at archive/reset_devin_windows-v0.3.ps1, never committed per
convention). Every store mutation runs through src/python/ghost_cli.py via
Invoke-GhostCore using the groundwork subcommands:
machineid-file, json-patch, sqlite-update, delete-secrets (generalized with
the ESCAPE'd windsurf/devin LIKE patterns - the repo's LAST temp-.py
heredoc is gone), sweep-file, salt-rotate, json-remove, replace-text
(username scrub), store-delete, sweep-tree, json-set (org blanking with the
skip-if-empty contract), backup. Kept as PS orchestration: root detection,
self-elevation + done marker (devin_v0.4_done.txt), tree-kill, workspace
glob, per-root purge + watchdog, final probes, summary.

BUGFIX (both manifests): delete-secrets survivors is a LIST per pattern/key
- PS 'array -eq 0' FILTERS elements instead of answering all-zero, so
non-zero survivors could pass the step. Explicit non-zero count test now
(reset_zcode already did this right via Measure-Object -Sum).

Fail-fast: Python required for every step (abort before any mutation).
1419 -> 1003 lines. Live comparison run pending user supervision.
@coderabbitai

coderabbitai Bot commented Oct 17, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 18 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 882e4ab6-3598-4d39-b9ea-49adc45db875
📥 Commits

Reviewing files that changed from the base of the PR and between e781573 and 3774003.

📒 Files selected for processing: 4
  • AGENTS.md
  • CHANGELOG.md
  • src/windows/reset_cursor.ps1
  • src/windows/reset_devin.ps1
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@fotedev
fotedev merged commit 5f62721 into main Oct 17, 2026
4 checks passed
@fotedev
fotedev deleted the feat/devin-thin-manifest branch October 23, 2026 21:40
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