Add activity feed API #474
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.37) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 225 lines diff across 2 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.324
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #474"
general
weight: 0.35
mattmck
What
Adds a small Express demo server,
graphite-demo/server.js, with aGET /feedendpoint that returns three fixed activity records as JSON. It listens on port 3000.expressis now a root runtime dependency.Why
This is a demo endpoint for trying out the Graphite stacked-PR workflow on this repo. It is not part of the SwatchWatch apps or the Functions API.
How
graphite-demo/server.js: Express app with one route,GET /feed, that returns an in-memory array.package.json/package-lock.json:express@^5.2.1added to the rootdependencies(review feedback). Before this it was only in the lockfile as a dev-only transitive package, sonpm ci --omit=devwould have left the server unable to start. The lockfile still resolves the sameexpress@5.2.1. The only other lockfile change isdev: truedropped from express's own dependency tree.Checklist
npm ci --dry-runaccepts the regenerated lockfile, andnpm ls express --omit=devresolvesexpress@5.2.1node graphite-demo/server.js, thencurl localhost:3000/feedreturns the three records🤖 Generated with Claude Code
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
New Features
Added an activity feed endpoint that returns a set of sample activity records in JSON format.
* The demo server is available on port 3000 and reports when it starts listening.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->