Bibliothèque › Mods

Automatisme (hook)

Journal d'audit des commandes DoorDash

Enregistre chaque invocation de DoorDash CLI dans un journal d'audit versionnée pour suivi.

Comment l'utiliser

Dans Claude Code, lance ces commandes :

npx claude-code-templates@latest --hook doordash/doordash-audit-log

Ouvrir le dépôt d'origine

Le contenu

Le contenu est réservé aux abonnés

Compris dans SuperPrompt : copiez, téléchargez et installez toutes les fiches, avec les six agents métier x10. 7 jours gratuits, puis 97 € par an, résiliable en trois clics.

Description d'origine, en anglais

Append-only audit log of every DoorDash CLI (dd-cli) invocation made through Claude Code. A PostToolUse hook records one versioned JSON line per dd-cli command (timestamp, session, cwd, command with tokens stripped, event type derived from the command itself - search / cart_mutation / checkout_url / history - plus cart/order uuids when extractable) to ~/.claude/dd-guard/audit.jsonl. Answers 'what has my AI been ordering and what did it cost' with data instead of memory. Self-contained: captures checkout and mutation events from the command text itself, no dependency on other dd-cli hooks. Pair with the /doordash-report command for reconciled spend summaries.

D'où vient cette fiche

Création de davila7, publiée sur davila7/claude-code-templates sous licence MIT.

Le contenu est reproduit tel quel, dans le respect de sa licence. Le titre, le résumé et le classement en français sont rédigés par SuperPrompt.