~bigbes/sr-ht-compare

ref: 5ca23c0553d1107eeb5f1199934af71749f40bb6 sr-ht-compare/docs/inline-comments.md -rw-r--r-- 11.8 KiB
4a741216 — bigbes a month ago
docs: spec for inline code comments on diffs

Draft proposal for line-anchored comment threads on the commit and compare
pages. Records the key finding that storage is already available through
sr-ht-core (Postgres via the database package + connection-string), that the
service is stateless by choice rather than by limitation, and that @pierre/diffs
already provides the thread UI primitives (DiffLineAnnotation + renderAnnotation
+ onDiffLineClick). Covers the anchoring model, schema, authz reuse, HTTP API,
frontend wiring, config, and a commit-first phasing.