Audit
redctx_auditRun safety checks on a redacted-context setup to verify symlink, vault salt, private-term, secret-leak, and write settings are secure.
Instructions
Run safety checks and report one line per check, <category>: <name> <STATUS> <detail>, with STATUS PASS, WARN, FAIL or NOT_TESTED (or JSON with format). Checks cover symlinks and reparse points under the root (listed by opaque id), the vault salt, configured private terms and broad allow entries, a synthetic secret-leak test of the redactor, and whether controlled writes are enabled. Use it to verify the setup is safe; use redctx_doctor for a quick count-only summary that scans nothing. It walks the whole root, never prints sensitive terms, and returns the full report with isError: true when any check FAILs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | `text` (default): one line per check, followed by up to 10 opaque refs for flagged entries. `json`: `{"checks": [{"category", "name", "status", "detail", "refs"?}]}`. | text |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The tool output, identical to the text content block and already redacted: sensitive values appear as deterministic `[CATEGORY_<hex>]` placeholders (forms declared as aliases of one entity share its hex and add a form suffix, `[CATEGORY_<hex>.<form>]`) and files as `@p_<id>` references. When the result has `isError: true`, this is a fixed error message instead, such as a limit error or the notice that context access is blocked until the operator repairs the local redaction config. | |
| receipt | Yes | Redaction statistics for this call only; never contains original values. |