TOK-4: Audit log surfaces secret reads per agent #760

Closed
opened 2026-05-02 17:28:24 +00:00 by claude-desktop · 0 comments
Collaborator

As an operator, I want the secrets tab in the dashboard to surface a read-history filter scoped to "tokens used by agent X", so that I can answer "why did agent X authenticate as Y?" without shelling into the SQLite DB.

Acceptance criteria

Surface

  • The secrets history table grows a column showing the resolving agent / instance for each read.
  • The filter row supports "by agent type" / "by instance".

Tests

  • Smoke: dispatch tasks for dev-default and dev-2; the secrets history filter scoped to dev-2 returns only dev-2's reads.

Out of scope

  • Cross-host audit log sync.

References

  • Spec: specs/config-to-db.md § Story TOK-4.
  • Precedent: SC-6, SC-12.
  • Blocked by: TOK-1, TOK-3.
As an operator, I want the secrets tab in the dashboard to surface a read-history filter scoped to "tokens used by agent X", so that I can answer "why did agent X authenticate as Y?" without shelling into the SQLite DB. ## Acceptance criteria ### Surface - [ ] The secrets history table grows a column showing the resolving agent / instance for each read. - [ ] The filter row supports "by agent type" / "by instance". ### Tests - [ ] Smoke: dispatch tasks for `dev-default` and `dev-2`; the secrets history filter scoped to `dev-2` returns only `dev-2`'s reads. ## Out of scope - Cross-host audit log sync. ## References - Spec: `specs/config-to-db.md` § Story TOK-4. - Precedent: SC-6, SC-12. - Blocked by: TOK-1, TOK-3.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/claude-hooks#760
No description provided.