Report board changes as events at /api/events #61
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.42) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 340 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 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
Diff Size
diff_size
0.349
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #61"
general
weight: 0.35
emanuele-em
Lets a service react to the board as it changes, without reading the whole board over and over. One example is starting an agent as soon as a task lands in
todo. Today/api/changesonly says that something changed, so a service has to reload/api/boardand diff it. This adds what changed, through a small long-poll endpoint.If you'd rather agree on the approach first, I'm happy to open an issue and continue there.
What it adds
eventstable, filled by SQLite triggers in the same transaction as the change. No change is lost, and older versions that open the board still write events through the triggers.COMPATIBLE_FROMis unchanged.task.created,task.moved(from/to),task.updated,task.deleted,comment.added(author).task.moved, whatever else it changes; any other edit istask.updated.update_taskandupdate_tasksnow write fields and status in one statement for this. Reordering within a column is no event.GET /api/eventsreturns a cursor to start from (last).GET /api/events?since=<cursor>&wait=<s>&project=<slug>waits up to 25 seconds, answers as soon as an event arrives and returns at most 500 events.<id>.<nonce>. A cursor that names no event of this board gives"reset": truewith the newest cursor. That happens when the event was dropped, or when the board is behind or a diverged copy, as afterkanzo sync.Cost
cargo fmt --check,cargo clippy --all-targets --locked -- -D warningsandcargo test --lockedpass (86 tests; new store and HTTP tests for every point above)Known limits
task.updatedfor the waiting task just before itstask.deleted.