Skip to content

Add a bounded local JSON artifact viewer#255

Merged
abrichr merged 2 commits into
mainfrom
agent/local-artifact-json-viewer-20260726
Jul 26, 2026
Merged

Add a bounded local JSON artifact viewer#255
abrichr merged 2 commits into
mainfrom
agent/local-artifact-json-viewer-20260726

Conversation

@abrichr

@abrichr abrichr commented Jul 26, 2026

Copy link
Copy Markdown
Member

Adds a reusable local-only JSON/JSONL artifact viewer to the protected operator console. The API admits only explicit workflow/run artifact families through opaque IDs, preserves existing loopback bearer auth, refuses traversal/symlinks and bounded-parser violations, and performs no Cloud/network transport. The UI adds search, collapse/expand, syntax highlighting, RFC 6901 JSON Pointer deep links, exact copy/raw/download, and responsive rendering.

Verification: tests/test_console.py: 71 passed, 1 warning; focused viewer contract: 2 passed, 69 deselected; Ruff, mypy, node --check, git diff --check, wheel build, archive inspection, and headless Chromium smoke at 390x844 passed.

Audit: the existing console had no raw JSON/JSONL artifact links; only report-referenced PNG. Viewer entry points are limited to admitted local workflow/run artifact families and do not turn unrelated prose paths, CLI output, arbitrary files, or the skill library into links.

@abrichr
abrichr marked this pull request as ready for review July 26, 2026 10:32
@abrichr
abrichr merged commit 81f77d2 into main Jul 26, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant