Skip to main content

Module update

Module update 

Source
Expand description

memstead update — strict-by-default entity update.

Hash handling offers three opt-ins:

  • Default (strict). --expected-hash <h> must be supplied. Matches MCP’s memstead_update contract. Safe for scripts, CI, pre-commit hooks.
  • --auto-hash. Refetch the current hash immediately before writing. Ergonomic for one-off interactive edits; the user accepts the race window.
  • --force. Skip the hash check entirely. Explicit opt-out.

Only one of the three may be used per invocation.

Structs§

Args

Functions§

run