Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
abfbe7f
feat(checkpoints): per-write checkpoints, task-start baseline, and pe…
easonliang28 Aug 27, 2026
93a8329
feat(checkpoints): per-task change journal with torn-tail repair (B2,…
easonliang28 Aug 27, 2026
7b83143
chore(ci): empty commit — re-trigger CI and the CodeRabbit current-he…
easonliang28 Aug 30, 2026
a5764dd
fix(checkpoints): address CodeRabbit review feedback (PR 1406)
easonliang28 Aug 30, 2026
69485e4
Merge remote-tracking branch 'upstream/main' into feat/change-journal-b2
Sep 28, 2026
6654bff
test(visual): regenerate electron chat-dark sidebar reference for #1406
Sep 29, 2026
1d2373d
Merge upstream/main (9c069e94ef) into feat/change-journal-b2
easonliang28 Oct 12, 2026
86f4182
style(checkpoints): prettier-format files flagged by the new format:c…
easonliang28 Oct 12, 2026
ba5908b
fix(checkpoints): skip task-start baseline on history resume
easonliang28 Oct 12, 2026
6503823
fix(checkpoints): skip baseline on aborted task; share default constant
easonliang28 Oct 12, 2026
e443eb8
fix(checkpoints): recheck cancellation after the baseline state lookup
easonliang28 Oct 12, 2026
4c0bc15
fix(checkpoints): await write-path checkpoint saves before state handoff
easonliang28 Oct 12, 2026
7b85cf2
fix(task): never dequeue queued messages for an aborted task
easonliang28 Oct 13, 2026
82639cc
chore: remove carried-over Stryker suppression directives from touche…
easonliang28 Oct 14, 2026
502d3b7
Merge remote-tracking branch 'upstream/main' into feat/change-journal-b2
easonLiangWorldedtech Oct 14, 2026
a3fb016
fix: satisfy unused-variable lint after main refresh
easonliang28 Oct 14, 2026
8d9a0e2
fix: validate the runtime shape of parsed journal lines
easonliang28 Oct 15, 2026
f1faf66
Merge remote-tracking branch 'upstream/main' into feat/change-journal-b2
easonLiangWorldedtech Oct 15, 2026
a3cde76
Merge upstream/main (tool-call state scoping) and adapt execute spec …
easonliang28 Oct 15, 2026
59fc275
style: apply Prettier formatting to callback fixture edits
easonliang28 Oct 15, 2026
02849ce
docs: align journal contract and spec block name with partial-flush b…
easonliang28 Oct 15, 2026
afe14ad
fix: harden change-journal append and task-ID path containment
easonliang28 Oct 15, 2026
182f4b0
fix: propagate non-ENOENT tail-inspection errors and complete partial…
easonliang28 Oct 15, 2026
25fe557
Merge upstream/main into b2 (upstream refresh; e2e screenshot conflic…
easonliang28 Oct 17, 2026
568688c
Merge remote-tracking branch 'upstream/main' into feat/change-journal-b2
easonliang28 Oct 17, 2026
d987e84
chore(checkpoints): satisfy the production knip gate for the split chain
easonliang28 Oct 17, 2026
43b49b7
fix(checkpoints): harden journal durability and flush recorded writes…
easonliang28 Oct 18, 2026
65324b7
fix(checkpoints): harden task-start baseline and service init per review
easonliang28 Oct 18, 2026
78275a3
fix(tools): journal move source deletion and harden catch-path flush …
easonliang28 Oct 18, 2026
8f1fcb6
fix(i18n): use the complete Vietnamese term for patch
Oct 21, 2026
a3599f8
Merge remote-tracking branch 'upstream/main' into feat/change-journal-b2
easonLiangWorldedtech Oct 22, 2026
1a6e35f
style: apply repo Prettier to the merge resolution
easonLiangWorldedtech Oct 22, 2026
b476c31
fix(checkpoints): make the checkpoint and its change-journal entries …
easonLiangWorldedtech Oct 22, 2026
c19a53e
chore(checkpoints): keep the pending-marker path helper module-private
easonLiangWorldedtech Oct 22, 2026
a80b6d8
style(checkpoints): apply prettier formatting to the transaction files
easonLiangWorldedtech Oct 22, 2026
5f503af
chore(checkpoints): document the exported transaction seams as internal
easonLiangWorldedtech Oct 22, 2026
f330566
fix(checkpoints): make the pending journal a hard prerequisite and ke…
easonLiangWorldedtech Oct 22, 2026
488f081
fix(checkpoints): mark a committed checkpoint incomplete when its jou…
easonLiangWorldedtech Oct 22, 2026
2b1327e
fix(checkpoints): fold leftover markers before overwriting and valida…
easonLiangWorldedtech Oct 22, 2026
d6554dd
style: apply prettier formatting to the marker-recovery tests
easonLiangWorldedtech Oct 22, 2026
2a67969
Merge upstream/main (3ee042d91) into feat/change-journal-b2
easonLiangWorldedtech Nov 3, 2026
6bc14e7
fix(checkpoints): read perWriteCheckpoints on the catch path before f…
easonLiangWorldedtech Nov 7, 2026
e12e961
test(settings): name perWriteCheckpoints in the checkpoint payload as…
easonLiangWorldedtech Nov 7, 2026
c1b051b
fix(checkpoints): sync journal markers before rename, guard and merge…
easonLiangWorldedtech Nov 8, 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
13 changes: 13 additions & 0 deletions packages/types/src/global-settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,13 @@
*/
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

Check warning on line 122 in packages/types/src/global-settings.ts

View workflow job for this annotation

GitHub Actions / mutation-diff

Mutation test advisory

packages/types/src/global-settings.ts:122: Survived BooleanLiteral mutant (replacement: false). See the job summary for the complete list and resolution guidance.

/**
* GlobalSettings
*/
Expand Down Expand Up @@ -223,6 +230,12 @@
.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 @@ -366,6 +366,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
466 changes: 466 additions & 0 deletions src/core/checkpoints/__tests__/changeJournal.spec.ts

Large diffs are not rendered by default.

Loading
Loading