Skip to content

Fix typos: "capabiltiies" → "capabilities" and "blcoked" → "blocked"#363

Merged
Mossaka merged 2 commits into
mainfrom
copilot/fix-typos-in-code
Oct 9, 2025
Merged

Fix typos: "capabiltiies" → "capabilities" and "blcoked" → "blocked"#363
Mossaka merged 2 commits into
mainfrom
copilot/fix-typos-in-code

Conversation

Copilot AI commented Oct 9, 2025

Copy link
Copy Markdown
Contributor

This PR fixes two spelling errors identified by the typos checker:

  1. crates/wassette/src/wasistate.rs:183: Fixed "capabiltiies" → "capabilities" in the documentation comment for the create_wasi_state_template_from_policy function
  2. docs/faq.md:95: Fixed "blcoked" → "blocked" in the FAQ documentation describing sandbox behavior

Changes

Both changes are minimal and only affect documentation/comments:

-/// Maps the policy-mcp capabiltiies to the wasi state template
+/// Maps the policy-mcp capabilities to the wasi state template
-All other filesystem and network access is denied and will be blcoked by the sandbox.
+All other filesystem and network access is denied and will be blocked by the sandbox.

Verification

  • ✅ Code formatted with cargo +nightly fmt
  • ✅ Builds successfully with cargo check --workspace
  • ✅ Passes linting with cargo clippy --workspace -- -D warnings
  • ✅ No other instances of these typos remain in the codebase
  • ✅ CHANGELOG.md updated per project guidelines

Fixes the errors reported by ./typos . that were blocking CI.

Original prompt

Fix those typoes: ./typos
jq: jq-1.7
$ ./typos .
Warning: "capabiltiies" should be "capabilities".
Warning: "blcoked" should be "blocked".
error: capabiltiies should be capabilities
╭▸ ./crates/wassette/src/wasistate.rs:183:25

183 │ /// Maps the policy-mcp capabiltiies to the wasi state template
╰╴ ━━━━━━━━━━━━
error: blcoked should be blocked
╭▸ ./docs/faq.md:95:218

95 │ … All other filesystem and network access is denied and will be blcoked by the sandbox.
╰╴ ━━━━━━━
Error: Process completed with exit code 2.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix typos in wasi state and FAQ documentation Fix typos: "capabiltiies" → "capabilities" and "blcoked" → "blocked" Oct 9, 2025
Copilot AI requested a review from Mossaka October 9, 2025 01:48
@Mossaka Mossaka marked this pull request as ready for review October 9, 2025 01:52
@Mossaka Mossaka merged commit 4ff33b1 into main Oct 9, 2025
28 checks passed
@Mossaka Mossaka deleted the copilot/fix-typos-in-code branch October 9, 2025 01:52
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.

2 participants