Skip to content

refactor: share cleanup policy across adapters - #52

Merged
ElbertePlinio merged 1 commit into
mainfrom
refactor/shared-cleanup-policy
Jul 19, 2026
Merged

ElbertePlinio merged 1 commit into
mainfrom
refactor/shared-cleanup-policy

Conversation

@ElbertePlinio

Copy link
Copy Markdown
Member

Summary

  • move provider resolution, local-only enforcement, prompt selection, request/response handling, raw fallback, and segment safety into engine::cleanup
  • map legacy cleanup CLI flags and credentials into the shared policy while preserving delivery, custom-command, and exit-code behavior
  • route desktop doctor validation through the same provider/privacy resolution

Validation

  • cargo test --workspace --locked --all-targets
  • bun run build
  • CLI smoke: no-LLM raw output, conservative segment silence, local-only raw fallback, strict non-zero exit
  • serious local review plus targeted fix verification

Refs #47 — CAND-2 only. CAND-1 incremental orchestration and the settings module from #51 are unchanged.

@ElbertePlinio
ElbertePlinio merged commit 8ae3c96 into main Jul 19, 2026
1 check passed
@ElbertePlinio
ElbertePlinio deleted the refactor/shared-cleanup-policy branch July 19, 2026 21:35
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