From 5f7b6c3031733e01d124eb846c5351f397c3ed1a Mon Sep 17 00:00:00 2001 From: gilesb Date: Wed, 7 Jan 2026 14:24:29 +0000 Subject: [PATCH] feat: show raw provenance JSON on detail page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- server.py | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/server.py b/server.py index e1209fd..c873ace 100644 --- a/server.py +++ b/server.py @@ -764,7 +764,23 @@ async def ui_detail_page(run_id: str): ''' - html += ''' + # Raw JSON provenance + provenance_json = json.dumps({ + "run_id": run.run_id, + "status": run.status, + "recipe": run.recipe, + "effect_url": effect_url, + "inputs": run.inputs, + "output_hash": run.output_hash, + "output_name": run.output_name, + "created_at": run.created_at, + "completed_at": run.completed_at, + "error": run.error + }, indent=2) + + html += f''' +

Raw JSON

+
{provenance_json}