audit-trail
Skill0 starsChanged 7 months agoMITView on GitHub
2 other projects use a version of this.
Adopted by
Most recently taken up by
- microsoft/aibast-agents-librarytheir own version, first seen Nov 8, 2026
- SynapticSage/claude-skillztheir own version, first seen Jul 6, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- microsoft/aibast-agents-library★ 8same name
- SynapticSage/claude-skillz★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- authSkill
- fan-outSkill
- observabilitySkill
- rate-limitingSkill
- response-cachingSkill
- schema-validationSkill
- tool-allowlistSkill
The file
We found no rules to list in this file: it reads as prose or reference rather than instructions.
Files
Audit Trail
Capability
Compliance audit logging with structured JSON output, multiple storage backends, tamper-evident chaining, and query API.
Package
@reaatech/mcp-gateway-audit — packages/audit/src/
Components
| Component | Purpose |
audit-logger.ts | Core logging: ConsoleAuditLogger, FileAuditLogger, CompositeAuditLogger, TamperEvidentLogger |
audit-storage.ts | MemoryAuditStorage and FileAuditStorage backends |
audit-query.ts | Query API with filtering by tenant, event type, date range, limit |
event-types.ts | Event type configurations and severity mappings |
types.ts | AuditEvent, AuditEventType, AuditSeverity, AuditQueryParams |
Audit Event Types
| Event | Triggered When |
auth.success | Authentication succeeds |
auth.failure | Authentication fails |
rate_limit.exceeded | Rate limit exceeded |
allowlist.denied | Tool access denied |
tool.executed | Tool execution completes |
cache.hit | Cache hit |
cache.miss | Cache miss |
upstream.error | Upstream server error |
Audit Event Format
{
"id": "evt-abc123",
"timestamp": "2026-04-15T23:00:00Z",
"eventType": "tool.executed",
"severity": "low",
"tenantId": "acme-corp",
"userId": "user-123",
"requestId": "req-xyz789",
"tool": "glean_search",
"success": true,
"durationMs": 234,
"cacheHit": false,
"upstream": "primary"
}Storage Backends
| Backend | Use Case |
Console (ConsoleAuditLogger) | Development, stdout |
File (FileAuditLogger) | Production, JSONL format, append-only |
Memory (MemoryAuditStorage) | Queryable, for API access |
Composite (CompositeAuditLogger) | Fan-out to multiple backends |
Tamper-Evident (TamperEvidentLogger) | SHA-256 chain integrity verification |
Error Handling
- Audit failures never block request processing (fire-and-forget)
- Failed audit writes logged at WARN level
- Integrity verification via
computeEventHashandverifyAuditChain
Security Considerations
- PII automatically redacted (tokens, IPs masked)
- Audit logs immutable (append-only)
- Tamper detection via hash chaining
- Audit log queries gated behind admin-scoped auth
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

