grith.aidocs

Reputation (IPC)

Inspect and reset the adaptive trust table — internal endpoints.

MethodPathSummaryFlags
GET/reputation/tableDump the current trust table.
IPC
POST/reputation/observeRecord a single observation.
IPC
POST/reputation/resetWipe learned trust (start over).
IPC
POST/reputation/saveForce-flush the trust table to disk.
IPC

All routes in this group are IPC-only — they accept loopback callers only. The dashboard and grith reputation talk to these.

GET /reputation/table

Dump the current trust table. Shape:

{
  "entries": [
    {
      "operation": "file_read",
      "destination": "${PROJECT_DIR}/**",
      "profile": "claude-code",
      "trust": 0.96,
      "observations": 142,
      "denials": 0,
      "last_seen": "2026-05-14T09:14:23Z"
    }
  ]
}

POST /reputation/observe

Record a single observation. Used internally by the scoring engine; not typically called by user code.

{
  "operation": "...",
  "destination": "...",
  "profile": "...",
  "decision": "allow | deny",
  "weight": 1.0
}

POST /reputation/reset

Wipe the table.

{ "profile": "optional-scope-to-one-profile" }

Without a profile, wipes everything.

POST /reputation/save

Force-flush the in-memory table to disk. Useful before a planned restart.

See also

Last updated: 2026-05-14Edit this page on GitHub →
© 2026 grith. All rights reserved.