скорректирован AGENTS.md

This commit is contained in:
Ilgiz Kalmetyev 2026-04-07 21:49:35 +05:00
parent 913d9f1515
commit 377701f83e
1 changed files with 8 additions and 6 deletions

View File

@ -1536,17 +1536,18 @@ Commit message:
---
## Step 15.2 - TTL-Aware Event Cache CLI and Purge Command
## Step 15.2 - Diagnostic CLI for local runtime inspection and cache purge
```text
You are implementing **Step 15.2 - TTL-Aware Event Cache CLI and Purge Command**.
You are implementing **Step 15.2 - Diagnostic CLI for local runtime inspection and cache purge**.
Goal:
- add a local diagnostic CLI for inspecting cached events and purging the cache.
- add a local diagnostic CLI for inspecting runtime state and purging the event cache.
Scope:
- inspect cache view with TTL and ACL mark;
- destructive cache purge command;
- inspect runtime state with `inspect sources`, `inspect outbox`, `inspect health`, and `inspect cache`;
- show TTL and ACL mark in the cache view;
- destructive cache purge command via `cache clear`;
- local SQLite access through bootstrap/repository layer.
Files to create/update:
@ -1566,11 +1567,12 @@ Tests:
- migration smoke coverage for the cached event table.
Definition of Done:
- `wf-agent inspect sources|outbox|health|cache` shows local runtime state;
- `wf-agent inspect cache` shows active cached rows with TTL and ACL mark;
- `wf-agent cache clear` removes only cache rows;
- the cache table is present in the schema and covered by tests.
Commit message:
`feat: add ttl-aware event cache inspect and clear cli`
`feat: add diagnostic CLI for local runtime inspection and cache purge`
```