Skip to content

[codex] Extract command lock-key preparation#169

Merged
chuanman2707 merged 50 commits into
mainfrom
codex/command-lock-key-builder-149
May 19, 2026
Merged

[codex] Extract command lock-key preparation#169
chuanman2707 merged 50 commits into
mainfrom
codex/command-lock-key-builder-149

Conversation

@chuanman2707
Copy link
Copy Markdown
Owner

Summary

  • Adds a focused command idempotency lock-key helper module.
  • Routes initial command prep and resolved-guard refresh through the helper while preserving sort/dedupe-only persisted JSON semantics.
  • Adds tripwire tests for exact lock-key JSON, empty initial keys, settings keys, and resolved-empty error behavior.

Test Plan

  • cargo test --manifest-path mhm/src-tauri/Cargo.toml command_idempotency -- --nocapture
  • cargo check --manifest-path mhm/src-tauri/Cargo.toml
  • cargo clippy --manifest-path mhm/src-tauri/Cargo.toml --all-targets -- -D warnings

Notes

  • GitNexus impact was checked before implementation and before commit.
  • Existing unrelated dirty file was not staged: mhm/src/stores/useHotelStore.test.ts.

…ntime-gating

# Conflicts:
#	mhm/src/App.tsx
#	mhm/src/pages/settings/index.tsx
#	mhm/tests/frontend-invoke-wrapper-guardrails.test.ts
@chuanman2707 chuanman2707 marked this pull request as ready for review May 19, 2026 00:59
@chuanman2707 chuanman2707 merged commit 2ab69bc into main May 19, 2026
4 checks passed
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.

1 participant