Simplify: reuse prompt-join and settings-path helpers

main

Commit

Soph2mo ago

Quality pass (/simplify) findings:

  • Export checkpoint.RedactedJoinedPrompts (was the private redactedJoinedPrompts) and call it from fsstore instead of inlining join+redact twice, so alternate backends produce identically-redacted prompt blobs through the canonical path.
  • Extract settingsAbsPaths/worktreeSettingsPaths helpers in the settings package and use them from Load, loadForWorktreeRoot, and checkpointsSettingsPaths, removing the triplicated base+local path resolution.

No behavior change; full unit suite green.

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com Entire-Checkpoint: 52172b38461a

Checkpoints

Checkpoint Backend Registry and Settings-Driven Selection

Claude CodeOpus 4.8[1m]
View session
Checkpoint 1