Skip to main content

commit_worktree_changes_signed

Function commit_worktree_changes_signed 

Source
pub fn commit_worktree_changes_signed(
    layout: &RepositoryLayout,
    ref_name: &str,
    message: &str,
    options: WorktreePatchCommitOptions,
    signer: &impl AuthorSigner,
) -> Result<WorktreePatchCommitReport>
Expand description

Author a node-addressed patch from worktree changes against the replay-derived baseline, sign it with a real role-bound Ed25519 AUTHOR signature from the injected signer, and append it to the active WAL (DC-09 Phase 4.4a, R1). Existing paths resolve to their persisted node_id; fresh nodes are minted through the production [NodeIdGenerator]; text edits go through the shared text_span module. There is no placeholder signing path.