Repository navigation
Add reviewed CLI rewind with stale-context checks - #107
Merged
Merged
Conversation
Open
5 of 25 tasks
vanedaltro
force-pushed
the
feat/daily-rewind
branch
from
November 3, 2026 19:36
5396899 to
d53643e
Compare
vanedaltro
marked this pull request as ready for review
November 3, 2026 20:35
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
cyber sessions rewind <session> --to <message> --target code|conversation|bothnow previews an owned rewind without changing source files or the active conversation. Applying requires the exact reviewed--confirm <fingerprint>; stale Session/Location/snapshot context is refused.Validation on macOS: four real CLI/server/scripted-provider scenarios; four server ownership/recovery regressions; 12 real Git snapshot tests; 79 CLI unit tests including generated help; SDK typecheck and 128 tests (10 external tests skipped); current OpenAPI artifact check; CLI/server/snapshot all-target Clippy; strict OpenSpec validation (114 items), spec lint (0 errors, 25 warnings), formatting and diff checks. An unchanged-main branch-checkout baseline passed before edits. No external provider was called. All 19 checks passed on original head
53968990. After #106 merged, this branch was rebased tod53643e7; two OpenSpec conflicts were resolved while preserving both the revised scheduling and completed rewind evidence. The rewind implementation itself is unchanged. Fresh CI is running for the rebased head. Local composition checks passed: current OpenAPI artifact, SDK generation/typecheck/128 tests (10 external skips), strict OpenSpec validation (114 items), 80 CLI unit tests including generated help and binary recovery, and all four real CLI/server rewind/branch scenarios.Part of #93, implementing task 2.2 after contract reconciliation. TUI rewind/undo/redo, broader crash/interrupt/restart acceptance, private non-Git snapshots and restore journaling, path rules/context, root structured output and JSONL input remain unfinished. Conversation-only rewind works without Git; code rewind currently requires the reviewed Git host. Existing one-step owner rewind and explicit revert routes retain their compatibility behavior. No arbitrary external-writer atomicity or complete historical exclusion reporting is claimed.
#106 is merged. Its manual binary-draft recovery is retained by this rebase, leaving only this goal PR open.