Skip to content

Commit 35c0d40

Browse files
bond00729claude
andcommitted
docs: clarify hint hook safety-contract comment wording
Replace internal "increment" workflow jargon with "hook" in the ChannelOwnerChangeHint safety-contract doc comment. Comment-only; no behavior or wire-format change. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 77a421f commit 35c0d40

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/storage/store/engine.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@ impl ShardEngine {
819819
/// by the channel-register block-event fold). Called only from the user-message
820820
/// merge loop's `Ok(merge_events)` arm — the hottest path this feature touches.
821821
///
822-
/// STRUCTURAL SAFETY CONTRACT (the rule this increment lives or dies by): this
822+
/// STRUCTURAL SAFETY CONTRACT (the rule this hook lives or dies by): this
823823
/// hook never sees the merge result, `validation_errors`, or the trie, so it
824824
/// cannot change what merged or the shard root *directly*. Its effects are: (1) the
825825
/// `Vec<HubEvent>` it returns, which the caller `events.extend(...)`s, and (2) the

0 commit comments

Comments
 (0)