feat: egress tracking commands and a shared journal and reporter #92
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.36) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 194 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.315
Real PR Conversation Timeline
1 comments
"Review active on #92"
general
weight: 0.35
alanshaw
The first step of the Ingot egress tracking RFC: the commands and the shared machinery that Ingot, and later Piri, will use to report what they serve to the egress tracking service.
/content/serve, which a gateway invokes on itself for each read it serves. Its receipt carries two counts: the stored bytes of the blob that were read, and the bytes sent to the client, which differ for an encrypted blob. The tracking commands drop the/spaceprefix left over from UCAN 0.9 and become/egress/trackand/egress/consolidate; the second is new here.egresspackage appends each receipt, with its invocation and proofs, to a batch on local disk. A batch is sealed at 100 MiB or after an hour, and is a CAR file in which each delegation appears once.This is a breaking change for the delegator and smelt, which import the tracking commands from their old package path.
A batch the tracker fails to consolidate is submitted again on every pass, with no limit, so the tracker must count a batch once however many times it is submitted.
refs https://app.shortcut.com/filone/story/108/trial-egress-cap-works-in-forge-regions
🤖 Generated with Claude Code