The idea in 30 seconds
Today those questions usually cannot be answered, because every AI vendor logs differently. Log4AI is a proposed common log format, like Log4j was for Java. With one, a bad outcome can be traced to a model state, a policy and a human decision. It also makes a measurement that no single party controls, which is the condition for trading a responsibility index.
What this does
Each tab implements one step of the research agenda (§12 of the paper). Each opens with a plain-English line and ends with a "Reading this" note.
| Step | Paper | What you can do here |
|---|---|---|
| 1 · Draft the schema | §5 | Build a Log4AI record, see it validated live, and test whether a proposed schema change is safe for old records. |
| 2 · Map to standards | §3, §5 | See which Log4AI fields OpenTelemetry GenAI and W3C PROV already cover, and which gaps are new work. |
| 3 · Estimate P from logs | §2, §6 | Estimate the S1/S2/S3 transition matrix from logged events, then see how much a correction policy lowers time in the degraded state. |
| 4 · Compute R(t) | Eq. 1 | Simulate deployments and check whether the responsibility index separates well-governed from poorly governed ones. |
| 5 · Test managerial influence | §4.5, §7 | Run the three tests on a proposed index. Then edit a hash-chained log and watch tampering get caught. |
| 6 · Verify vendor practices | §3 | Record what a vendor documents about log storage. An answer counts only with a source. |
Files: js/core.js holds all of the math and runs in Node (node test.js). js/ui.js draws the charts. There are no external libraries.
1 · Draft the Log4AI schema
Pick values below and a record is built, hashed and validated as you type. The schema may only grow: columns are added, never dropped, retyped or redefined.
Can the schema change this way?
All fields
region).2 · Map Log4AI to existing standards
For each Log4AI field group, this lists the nearest OpenTelemetry GenAI convention and W3C PROV term, and marks whether it is covered, partly covered, or a gap.
3 · Estimate the transition matrix P from logs
An AI system moves between S1 (healthy), S2 (untested or drifting) and S3 (degraded). From logged states, count the moves and estimate each row of P. Then ask what a correction policy buys.
Use your own log instead
One event per line: trace,step,state,corrected where state is S1, S2 or S3 and corrected is 1 or 0 (optional). With at least 30 valid lines, this replaces the simulation.
4 · Compute the responsibility index R(t)
Equation 1 turns logged duty events (I) and damage-linked breaches (N) into an index over time. Simulate deployments and check whether the index separates governance quality.
5 · Test for managerial influence
A responsibility index can be traded only if nobody who can steer it also profits from its price. Answer the questions for a proposed index. Any "yes" means managerial influence.
Why logs must be tamper-evident
Test 2 fails if the operator can quietly edit the log. Each entry below carries a SHA-256 hash of itself plus the previous hash. Publish the chain to an independent party, then change any line.
6 · Verify vendor storage practices
Section 3 of the paper is general practice, not documented fact. Use this to replace each assumption with an answer and a source for one vendor.