Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
7a38fca
feat(checkpoints): per-write checkpoints, task-start baseline, and pe…
easonliang28 Aug 27, 2026
b4cecca
fix(fws): export the webview initializer and test the pre-hydration c…
easonliang28 Aug 28, 2026
256e833
chore(ci): empty commit — re-trigger CI and the CodeRabbit current-he…
easonliang28 Aug 30, 2026
599c160
fix(checkpoints): skip baseline on aborted task; share default constant
easonliang28 Oct 12, 2026
7c15c43
fix(checkpoints): await write-path checkpoint saves before state handoff
easonliang28 Oct 12, 2026
8744b9a
test(checkpoints): pin one-checkpoint-per-patch for multi-file patches
easonliang28 Oct 12, 2026
314eb5b
fix(tools): defer the queued-message handoff until the patch checkpoi…
easonliang28 Oct 13, 2026
daa3d0f
fix(task): never dequeue queued messages for an aborted task
easonliang28 Oct 13, 2026
5cf9b0b
test(tools): pin the partial-failure handoff semantics of the patch c…
easonliang28 Oct 13, 2026
2f1dc20
chore: remove carried-over Stryker suppression directives from touche…
easonliang28 Oct 14, 2026
a5c7482
test: strengthen the early-return handoff assertions
easonliang28 Oct 15, 2026
aebf9e5
test: assert the in-place update checkpoint contract
easonliang28 Oct 15, 2026
6801c93
fix(apply-patch): fail moves when source deletion fails; checkpoint p…
easonliang28 Oct 16, 2026
5254149
fix(tools): checkpoint retained writes before handoff after a handler…
easonliang28 Oct 17, 2026
6189599
fix(task): task-start checkpoint baseline errors no longer abort task…
easonliang28 Oct 17, 2026
9f7a818
fix(checkpoints): restore a clobbered move destination when source de…
easonliang28 Oct 18, 2026
0d8f38f
fix(checkpoints): harden task-start baseline and service init per review
easonliang28 Oct 18, 2026
fbe23ff
fix(task): bound the task-start baseline save; report a failed move r…
Oct 21, 2026
9b16b06
fix(tools): make the apply_patch move transactional with atomic stagi…
easonLiangWorldedtech Oct 22, 2026
1297678
fix(tools): preserve destination identity and permissions in the atom…
easonLiangWorldedtech Oct 22, 2026
2819fb3
fix(checkpoints): serialize per-task checkpoint saves
easonLiangWorldedtech Oct 22, 2026
4b312e6
fix(tools): keep staging owner-only and make partial patch mutations …
easonLiangWorldedtech Oct 22, 2026
2e7a95b
style: apply prettier formatting to the staging and mutation-tracking…
easonLiangWorldedtech Oct 22, 2026
d5901b1
fix(tools): track committed mutations outside the handler-return boun…
easonLiangWorldedtech Oct 22, 2026
4741505
chore: re-trigger CI after the e2e restart-phase timeout
easonLiangWorldedtech Oct 22, 2026
6340aaf
test+fix(checkpoints): correct the delete-ordering mock, kill the han…
easonLiangWorldedtech Nov 8, 2026
cf4fb8a
fix(per-write-checkpoints): lock restores, track retained writes, nam…
easonLiangWorldedtech Nov 9, 2026
3ac9d29
test(task): raise the abort latch through requestAbort in the three c…
easonLiangWorldedtech Nov 9, 2026
2ed5c8a
Fix the two checkpoint-queue findings the review raised, and stop a s…
easonLiangWorldedtech Nov 9, 2026
1ee8f64
test(webview): carry perWriteCheckpoints in the postMessageToWebview …
Nov 10, 2026
9a43270
test(vscode-e2e): regenerate the chat-dark visual baseline for the ac…
easonLiangWorldedtech Nov 11, 2026
db0606b
test(checkpoints): assert shadow git contents for checkpointSave
easonLiangWorldedtech Nov 11, 2026
6a441a6
fix(checkpoints): hand an expired caller back to the initialization s…
easonLiangWorldedtech Nov 11, 2026
c87da7a
fix(checkpoints): decline to publish a baseline a write overtook rath…
easonLiangWorldedtech Nov 11, 2026
1139756
style(checkpoints): format the premise gate and its test
easonLiangWorldedtech Nov 11, 2026
083dc9b
test(checkpoints): cover the dropped save and the retry behind it in …
easonLiangWorldedtech Nov 11, 2026
6f2857d
fix(checkpoints): let the premise setup infer its return type rather …
easonLiangWorldedtech Nov 11, 2026
90e485b
fix(apply-patch): write a move through a destination symlink
easonLiangWorldedtech Nov 11, 2026
c068454
test(apply-patch): carry toolCallId in the callback fixtures at the r…
easonLiangWorldedtech Nov 11, 2026
524433a
fix(checkpoints): refuse a read-only destination before the atomic re…
easonLiangWorldedtech Nov 12, 2026
dc3ee7d
test(checkpoints): pin the per-write default and the label and descri…
easonLiangWorldedtech Nov 12, 2026
333b900
test(webview-ui): pin the per-write-checkpoints default at the save b…
easonLiangWorldedtech Nov 12, 2026
d30c969
fix(apply-patch): create the staging entry exclusively
Nov 12, 2026
718c953
test(apply-patch): follow the destination link before writing the mov…
Nov 12, 2026
fea250f
test(checkpoints): call the save path with its own content premise
Nov 12, 2026
ca04725
i18n(webview): say saving a file from the editor registers no checkpo…
easonLiangWorldedtech Nov 13, 2026
fb89a99
test(core): prove a restore queued behind an in-flight save waits for…
easonLiangWorldedtech Nov 13, 2026
8f1a57d
fix(checkpoints,apply-patch): release a queued caller at its deadline…
easonLiangWorldedtech Nov 13, 2026
b24145d
checkpoints: latch the deadline release so a released save cannot sta…
easonLiangWorldedtech Nov 13, 2026
2d186aa
checkpoints: drop duplicated refusal arms so the extension package cl…
easonLiangWorldedtech Nov 14, 2026
1090f52
fix(task): take the task-start checkpoint baseline before the request…
easonLiangWorldedtech Nov 29, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions packages/types/src/__tests__/global-settings.test.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions packages/types/src/global-settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,13 @@ export const MAX_CHECKPOINT_TIMEOUT_SECONDS = 60
*/
export const DEFAULT_CHECKPOINT_TIMEOUT_SECONDS = 15

/**
* Whether per-write checkpoints and task-start baseline are enabled by default.
* Master switch for the B cluster of checkpoint features.
* @default true
*/
export const DEFAULT_PER_WRITE_CHECKPOINTS = true
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved

/**
* GlobalSettings
*/
Expand Down Expand Up @@ -226,6 +233,12 @@ export const globalSettingsSchema = z.object({
.min(MIN_CHECKPOINT_TIMEOUT_SECONDS)
.max(MAX_CHECKPOINT_TIMEOUT_SECONDS)
.optional(),
/**
* Whether to record a shadow-git checkpoint after every successful write_to_file,
* edit_file, and apply_patch (per-write checkpoints), plus a task-start baseline.
* @default true
*/
perWriteCheckpoints: z.boolean().optional(),

ttsEnabled: z.boolean().optional(),
ttsSpeed: z.number().optional(),
Expand Down
1 change: 1 addition & 0 deletions packages/types/src/vscode-extension-host.ts
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,7 @@ export type ExtensionState = Pick<

enableCheckpoints: boolean
checkpointTimeout: number // Timeout for checkpoint initialization in seconds (default: 15)
perWriteCheckpoints: boolean
maxOpenTabsContext: number // Maximum number of VSCode open tabs to include in context (0-500)
maxWorkspaceFiles: number // Maximum number of files to include in current working directory details (0-500)
showRooIgnoredFiles: boolean // Whether to show .rooignore'd files in listings
Expand Down
Loading
Loading