@staff0rd/assist 0.324.1 → 0.325.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -187,7 +187,9 @@ The first backlog command in a repository that still has a local `.assist/backlo
187
187
  - `assist cli-hook deny` - List all deny rules
188
188
  - `assist cli-hook deny add <pattern> <message>` - Add a deny rule for a command pattern
189
189
  - `assist cli-hook deny remove <pattern>` - Remove a deny rule by pattern
190
- - `assist edit-hook` - PreToolUse hook that blocks `Edit`/`Write`/`MultiEdit` calls from adding, changing, or removing a `// assist-maintainability-override` marker
190
+ - `assist edit-hook` - PreToolUse hook that blocks `Edit`/`Write`/`MultiEdit` calls from adding, changing, or removing a `// assist-maintainability-override` marker, or from introducing a code comment (use `code-comment set`/`confirm` for the rare comment that belongs)
191
+ - `assist code-comment set <file> <line> <text>` - Validate a single-line comment (max 50 chars, no block comments) and issue a pin authorising its insertion
192
+ - `assist code-comment confirm <pin>` - Insert the pinned comment at its file/line and clear the pin state
191
193
  - `assist update` - Update assist to the latest version and sync commands
192
194
  - `assist vscode init` - Add VS Code configuration files
193
195
  - `assist deploy init` - Initialize Netlify project and configure deployment
@@ -89,6 +89,6 @@
89
89
  "Bash(git ls-files:*)",
90
90
  "WebFetch(domain:staffordwilliams.com)"
91
91
  ],
92
- "deny": ["Bash(npm run:*)"]
92
+ "deny": ["Bash(npm run:*)", "Read(~/.assist/restricted/**)"]
93
93
  }
94
94
  }