Skip to content

Conversation

@Danny-Devs
Copy link

@Danny-Devs Danny-Devs commented Feb 7, 2026

Description

ExamplePatterns.md documents 5 of the 7 access patterns in move/patterns/sources/, but account_based and key_request are missing. This adds both entries following the existing style (use-case-first, single paragraph, link to Move source).

  • account_based — stateless, address-derived encryption for messaging and notifications
  • key_request — two-step pattern that separates policy evaluation from the Seal approval step

Placement: account_based is inserted between Private data and Allowlist to follow a complexity gradient (single owner → specific address → group). key_request is placed last because it's a meta-pattern that wraps other patterns rather than defining its own access policy.

Also fixes "ay" → "at" in CONTRIBUTING.md line 27.

Written with the help of Claude Code.

Test plan

  • Verified both new sections render correctly with mkdocs serve
  • Cross-checked descriptions against Move source code
  • Docs only, no code changes

…quest

ExamplePatterns.md documents 5 of the 7 patterns in move/patterns/sources/.
This adds the two missing entries:

- account_based: address-based encryption with no on-chain state
- key_request: two-step pattern separating policy evaluation from seal_approve

Also fixes a typo in CONTRIBUTING.md ("ay" → "at").
- remove backticks (zero in existing patterns)
- em-dash to semicolon (matches doc convention)
- trim implementation jargon to user-facing language
- drop CONTRIBUTING.md typo fix (their policy ignores typo PRs)
@Danny-Devs Danny-Devs changed the title [docs] Add missing pattern documentation for account_based and key_request [docs] add missing pattern entries for account_based and key_request Feb 7, 2026
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