Skip to content

Commit 279b85d

Browse files
author
Bruno Baumgartner
committed
Add JSON event evidence bundle export
1 parent e84d571 commit 279b85d

6 files changed

Lines changed: 1172 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,4 @@ output/json-benchmark/
5252

5353
# Evidence bundles (already covered by output/ but listed explicitly)
5454
output/bundles/
55+
output/json-event-bundles/

README.md

Lines changed: 66 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# VSC — Versioned State Commit
22

3-
**v1.14 — Evidence Bundle Export**
3+
**v1.15JSON Event Evidence Bundle**
44

55
Research prototype / proof-of-concept. Not production-ready.
66

@@ -224,6 +224,70 @@ output/bundles/vsc-bundle-<BASE>-to-<LATEST>/
224224

225225
---
226226

227+
## VSC v1.15 JSON Event Evidence Bundle
228+
229+
VSC v1.15 adds **JSON Event Evidence Bundle Export** — a specialized export mode that turns deterministic JSON AI event chains into **portable evidence packages** for audit, post-incident review, and DigiEmu verification workflows.
230+
231+
```bash
232+
# Export bundle using latest JSON benchmark results
233+
npm run vsc -- bundle:json
234+
235+
# Export with explicit chain token
236+
npm run vsc -- bundle:json output/json-benchmark/vsc-chain-*.json
237+
```
238+
239+
**Prerequisites:**
240+
```bash
241+
npm run vsc -- benchmark:json # must run first to generate JSON benchmark data
242+
```
243+
244+
**What's included:**
245+
- Event schema (`event-schema.json`) — Event structure definition
246+
- Event summary (`event-summary.json`) — Session statistics
247+
- JSON benchmark summary, report, and chart data
248+
- Chain token, base token, delta tokens
249+
- Verification summary with restore/verify status
250+
- Complete manifest and SHA-256 checksums
251+
252+
**Bundle structure:**
253+
```
254+
output/json-event-bundles/vsc-json-event-bundle-<BASE>-to-<LATEST>/
255+
├── README.md # Bundle guide
256+
├── manifest.json # Complete inventory
257+
├── event-schema.json # Event structure
258+
├── event-summary.json # Session statistics
259+
├── json-benchmark-summary.json # Benchmark metrics
260+
├── json-benchmark-report.md # Human report
261+
├── json-benchmark-chart-data.json # Chart data
262+
├── chain-token.json # Delta chain
263+
├── base-token.json # Base state
264+
├── verification-summary.json # Verification status
265+
├── checksums.sha256 # Checksums
266+
└── delta-tokens/delta-*.json # Delta steps
267+
```
268+
269+
**Event Model:**
270+
- **Primary unit of proof:** Individual Event
271+
- **Event types:** prompt_response, tool_call, policy_check, retrieval, final_decision
272+
- **Required fields:** event_id, sequence, timestamp, event_type, actor, session_id, model, input_hash, output_hash, policy_result, tool_calls, metadata
273+
- **Determinism:** Synthetic deterministic data for reproducibility
274+
275+
**Use cases:**
276+
- **Audit trail** — AI decision event logging for compliance
277+
- **Post-incident review** — Capture decision timeline for investigation
278+
- **Research publication** — Reproducible AI event evidence
279+
- **DigiEmu proof** — Portable AI event proof artifact
280+
281+
**Limitations:**
282+
- Synthetic deterministic events — not real AI inference
283+
- Single-session model — not multi-session orchestration
284+
- Simulated tool calls — not actual execution
285+
- Research prototype — not enterprise production software
286+
287+
[Full JSON Event Evidence Bundle documentation](docs/vsc-v1-15-json-event-evidence-bundle.md)
288+
289+
---
290+
227291
## VSC v1.10 Static Showcase
228292

229293
VSC v1.10 adds a static showcase export. One command generates a portable `showcase/` folder with the SVG seals, demo metrics, verification summary, and gallery — no server required, opens in any browser.
@@ -307,6 +371,7 @@ npm run clean-manifest # remove stale manifest entries
307371
- [VSC v1.8 CLI](docs/vsc-v1-8-cli.md)
308372
- [VSC v1.9 One-command Demo](docs/vsc-v1-9-one-command-demo.md)
309373
- [VSC v1.10 Static Showcase](docs/vsc-v1-10-static-showcase.md)
374+
- [VSC v1.15 JSON Event Evidence Bundle](docs/vsc-v1-15-json-event-evidence-bundle.md)
310375
- [VSC v1.14 Evidence Bundle Export](docs/vsc-v1-14-evidence-bundle-export.md)
311376
- [VSC v1.13 JSON Event Benchmark](docs/vsc-v1-13-json-event-benchmark.md)
312377
- [VSC v1.12 Benchmark Mode](docs/vsc-v1-12-benchmark-mode.md)

0 commit comments

Comments
 (0)