Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Rule Audit Never Blocks User Path
Rule Audit Never Blocks User Path
padosoft/askmydocs-mcp-pack
cursor
audit-logging
exception-swallowing
migrations
observability
opentelemetry
chat-logging

ToolInvoker::audit() swallows every exception. This is intentional: an audit row dropped to disk failure (e.g. UNIQUE violation, write timeout, missing column after a botched migration) MUST NOT crash the chat turn the user is waiting on.

Install
php artisan boost:add-skill padosoft/askmydocs-mcp-pack

Save this content to: .cursor/rules/rule-audit-never-blocks-user-path.md

# Rule: audit writes never block the user path

`ToolInvoker::audit()` swallows every exception. This is intentional:
an audit row dropped to disk failure (e.g. UNIQUE violation, write
timeout, missing column after a botched migration) MUST NOT crash the
chat turn the user is waiting on.

If you change the audit shape:

- Add new columns as nullable in the migration.
- Update `audit()` to forceFill only known keys.
- Never re-raise the swallow inside `audit()`.
- Surface failure through OpenTelemetry / a counter — not by throwing.

Mirrors AskMyDocs's `ChatLogManager::log()` discipline.

Rule: audit writes never block the user path

ToolInvoker::audit() swallows every exception. This is intentional: an audit row dropped to disk failure (e.g. UNIQUE violation, write timeout, missing column after a botched migration) MUST NOT crash the chat turn the user is waiting on.

If you change the audit shape:

  • Add new columns as nullable in the migration.
  • Update audit() to forceFill only known keys.
  • Never re-raise the swallow inside audit().
  • Surface failure through OpenTelemetry / a counter — not by throwing.

Mirrors AskMyDocs's ChatLogManager::log() discipline.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core