Skip to content

Docs/jj enhancement - #453

Open
jackieismpc wants to merge 5 commits into
libra-tools:mainfrom
jackieismpc:docs/jj-enhancement
Open

Docs/jj enhancement#453
jackieismpc wants to merge 5 commits into
libra-tools:mainfrom
jackieismpc:docs/jj-enhancement

Conversation

@jackieismpc

Copy link
Copy Markdown
Contributor

#452 文档更新

jackieismpc and others added 5 commits August 20, 2026 09:24
…n plan

Expand docs/development/operation-log-working-copy-change-id.md with a
concrete implementation section (structs, functions, implementation
path) grounded in current Libra source and the pinned Jujutsu source:
- module layout and file landing points (operation/, change/, worktree_io/)
- StateFacet/RepoViewV2/WorkspaceSnapshotV2/OperationV2/ChangeId structs
- SQLite v2 additive schema (operation_head/journal, change_* tables)
- middleware, snapshotter, store CAS, restore/undo, change builder functions
- phased implementation path with gates and verification entries

Co-Authored-By: Warp <agent@warp.dev>
- drop v1 compatibility layer in favor of direct v2 replacement;
  v1 code/tables/command paths get removed once v2 is verified
- replace additive schema plan with development-phase schema rebuild
- add StateFacet::diff for op revert semantic deltas
- remove InternalWorker from OperationKind (worker never creates an op)
- clarify pre-view rule in middleware flow and typed predecessor map
- update phase 8 to v1 code removal, phase table and mapping table

Co-Authored-By: Warp <agent@warp.dev>
- RestorePolicy simplified to AutoRestore/Rebuild/NeverRestore; drop
  security/approval categories since the design grants full permissions
- state that extension/security config is treated as AutoRestore facet
- add Gate condition: each phase must pass its verification tests
  (incl. status/CLI regressions and fail-closed guards) before proceeding
- reword section 4 row and phase 6 gate to avoid v1/migration ambiguity
  and clarify AI FileHistoryStore legacy is not operation v1

Co-Authored-By: Warp <agent@warp.dev>
Co-Authored-By: Warp <agent@warp.dev>
Signed-off-by: jackieismpc <jackieismpc@gmail.com>
Co-Authored-By: Warp <agent@warp.dev>
Signed-off-by: jackieismpc <jackieismpc@gmail.com>
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.

2 participants