feat(audit): full-history JSONL export in the actions menu
Some checks failed
Security / Security check (push) Failing after 1s

The menu so far only exported the current view (type + search
filter over the page 100-event window). A second action now fetches
the complete event history of the active project scope in one
EventLog call (the RPC has no cursor and no server-side cap) and
writes it as JSONL. Serialisation extracted to a top-level function
with unit tests; a stale comment advertising the never-shipped
"chain audit export" command now names "chain admin events --json".
Studio 0.73.0.

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
This commit is contained in:
flemming-it 2026-07-18 01:49:20 +02:00
parent ae8fdcc762
commit b47d8c4646
10 changed files with 180 additions and 23 deletions

View file

@ -6,6 +6,17 @@ lockstep.
## Unreleased
### Added
- **Full-history audit export.** The audit page's actions menu gains
"Export full log as JSONL" next to the current-view export: fetches
the complete event history of the active project scope (independent
of the type chip, the search field and the page's 100-event window)
and writes it as JSONL. The current-view export is unchanged; the
CLI `chain admin events --json` remains the canonical tool for
WORM-guaranteed exports (a stale code comment still advertised the
never-shipped `chain audit export` — fixed).
### Changed (usertest low-findings tail)
- **Honest hero badge.** The store hero wears "TODAY"/"HEUTE" only