Expand description
Safe File Application with Enterprise-Grade Branching Decision Engine APIs
Structs§
- Branching
Vote - Branching vote from a tool
- File
Change - File change representation
Enums§
- Branch
Color - Branching vote colors
Functions§
- apply_
changes - Primary API — full branching resolution + telemetry
- apply_
changes_ force_ unchecked - Only forge core or
dx apply --force - apply_
changes_ with_ preapproved_ votes - Fast path when tool knows its changes are safe
- automatically_
accept_ green_ conflicts - Auto-accept green conflicts
- automatically_
reject_ red_ conflicts - Auto-reject red conflicts
- is_
change_ guaranteed_ safe - True iff every voter returned Green
- issue_
immediate_ veto - Hard block — highest priority Red vote
- preview_
proposed_ changes - Dry-run with full diff, colors, and risk score
- prompt_
review_ for_ yellow_ conflicts - Opens rich inline LSP review UI
- query_
predicted_ branch_ color - Simulate outcome without applying
- register_
permanent_ branching_ voter - ui, auth, style, security, check, etc.
- reset_
branching_ engine_ state - Called before cart commit or variant switch
- revert_
most_ recent_ application - Undo for cart removal or failed scaffolding
- submit_
branching_ vote - Vote Green/Yellow/Red/NoOpinion on a FileChange