skills/approvals/SKILL.md
Guidelines for seeking user approval for sensitive actions.
npx skillsauth add tracemem/tracemem-skills approvalsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill teaches how to handle scenarios where an action requires human approval. This is a core feature of TraceMem's governance model.
decision_evaluate returns outcome: "requires_exception".approve (meaning you expect to wait for approval).denys the action outright (you cannot bypass a deny).rejected status, you must abort the operation. Proceeding is a violation.Request Approval:
Call decision_request_approval with:
decision_id: Current decision.title: Short summary (e.g., "High Value Refund").message: Detailed explanation ("Refund of $500 exceeds $100 auto-limit").require_rationale: true (usually good practice).expires_in_seconds: e.g., 3600 (1 hour).Result: You get an approval_id and status requested.
Poll for Concluson:
Loop and call decision_get periodically (e.g., every 5-10 seconds).
Check status field.
open or needs_approval: Continue waiting.approved: Break loop and proceed.rejected: Break loop and handle rejection (abort/rollback).Proceed:
Once approved, you can retry the operation (e.g., the write) that was previously blocked or required the exception. The policy check should now pass (or you can proceed if the approval was the gate).
rejected as a "soft" error and trying again immediately.testing
Instructions for writing and efficiently storing data in TraceMem.
tools
Complete workflow patterns for common TraceMem operations.
tools
Scenarios where TraceMem should not be used.
development
Auditing memory traces and debugging.