Skip to content

Commit 0593827

Browse files
committed
docs: the approval flow as a demo, now that it reliably completes
Replaces the approval card still with a 48-frame capture of the whole turn: the request typed, the model asking to run a write-risk tool, Trinity stopping with the exact arguments, the WRITE badge and four choices, and the call running only after Allow once is clicked. It ends on the tool result and the answer. 122KB, so it costs the page nothing. This is the asset that was held back twice. The first attempt filmed a turn that never completed, because the demo script left Trinity.Repo.Receipts on the test sandbox pool and every receipt write queued behind a long-lived connection holder; since a decision is receipted before it is dispatched, the tool task stopped after the approval existed and the card was painted but before it could answer the session. Slice 126 fixed the script and slice 125 fixed the redaction filter that was dying in the same runs. The fix is visible in the capture: the status pill reads "waiting for approval", where before it sat on "running tools" until the call timed out. The approval card still is removed rather than kept beside it. The GIF shows the same screen and more, and two images was already the budget. Signed-off-by: Ayla Croft <aylacroft@proton.me>
1 parent 3790831 commit 0593827

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

‎README.md‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ desktop application. Apache-2.0, developed in the open from the first commit.
3939

4040
**It asks before it acts, and it shows you exactly what it is asking for.** Not the tool's name and a
4141
shrug: the arguments it will actually pass, the risk tier, and a pattern you can widen if you want
42-
this answered once instead of every time.
42+
this answered once instead of every time. Nothing runs while it waits.
4343

44-
![Trinity asking permission to run a write-risk tool, showing the exact arguments, the WRITE risk tier, and the four decisions available](docs/assets/approval-card.png)
44+
![A full turn: the request is typed, the model asks to run a write-risk tool, Trinity stops and shows the exact arguments with a WRITE risk badge and four choices, and the call runs only after Allow once is clicked](docs/assets/approval-flow.gif)
4545

4646
**Then the decision is receipted, whichever way it went.** Both halves are written to a hash-linked,
4747
signed chain: the gate asking because no rule covered the call, and the answer you gave. The verifier
@@ -50,7 +50,8 @@ that wrote the records.
5050

5151
![Two signed decision receipts for the same call: the gate asking with basis=default outcome=ask, and the owner allowing with basis=approval outcome=allow](docs/assets/receipts-decision.png)
5252

53-
Both are real screens from a running build, captured by `scripts/dev_demo_approval.sh`.
53+
Both are a real build, not a mockup. `scripts/dev_demo_approval.sh` is the script that produces
54+
them, so they can be regenerated rather than being pictures nobody can reproduce.
5455

5556
## Status
5657

‎docs/assets/approval-card.png‎

-67.1 KB
Binary file not shown.

‎docs/assets/approval-flow.gif‎

120 KB
Loading

0 commit comments

Comments
 (0)