Commit Graph
15 Commits
Author SHA1 Message Date
Fredrik JohanssonandClaude Sonnet 5 4b7b5a42d3 Reformat src/*.mjs with Prettier; add format/format:check scripts
Every route handler was written as one dense semicolon-chained line
(server.mjs's main handler was over 2000 characters wide) — real
width, not a VSCode wrapping artifact. Ran Prettier to break statement
structure into properly indented multi-line code; left template
literal string contents untouched since Prettier doesn't reformat
inside those, so the large HTML-generating return strings are still
single long lines by nature, just no longer compounded by unformatted
surrounding JS. Verified: tests pass, node --check passes, and the
app renders identically before/after (screenshotted the diff).

No devDependency added — npx prettier@3.9.5 pinned in the new scripts
keeps the zero-runtime-dependency pledge intact; formatting is a dev-
time concern only.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-21 05:17:30 +02:00
Fredrik JohanssonandClaude Sonnet 5 cdcc3c7937 Fix collapsed nav on /events
Its inline <style> block never defined nav{display:flex;gap:...} like
the shared stylesheet does, so the three links ran together with no
spacing as soon as the previous commit added them. Screenshotted to
confirm before committing.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-21 05:13:39 +02:00
Fredrik JohanssonandClaude Sonnet 5 8e033358c4 Link /events from the main nav
Docker / test-build-push (push) Successful in 36s
The operational-events page existed and worked but was never linked
from the incident notebook (or vice versa) — reachable only if you
already knew the URL. Both layouts now share the same three-item nav.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-21 03:58:45 +02:00
Fredrik JohanssonandClaude Sonnet 5 31b2372ad3 README: document actual usage, not just quickstart
Docker / test-build-push (push) Successful in 37s
Full walkthrough of the private incident notebook (timeline,
hypotheses, publishing), an endpoint reference table for the receipts
API, real curl examples for both receipt types, a config reference,
and an honest note about the dead pre-v1 /api/receipts endpoint
instead of leaving it undocumented.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-21 03:44:46 +02:00
Fredrik Johansson 3a123dc467 Serve published failure details as JSON
Docker / test-build-push (push) Successful in 36s
2026-07-21 02:39:24 +02:00
Fredrik Johansson ab10b86fdf Clarify reviewed publication controls
Docker / test-build-push (push) Successful in 37s
2026-07-21 02:33:58 +02:00
Fredrik Johansson 944813c0c4 Publish reviewed failure content feed
Docker / test-build-push (push) Successful in 39s
2026-07-21 02:32:12 +02:00
Fredrik Johansson 461f8b0873 Scan public repositories through Gitea API
Docker / test-build-push (push) Successful in 36s
2026-07-20 22:19:44 +02:00
Fredrik Johansson bb0dc65e83 Handle unavailable Git repositories gracefully
Docker / test-build-push (push) Successful in 36s
2026-07-20 22:07:47 +02:00
Fredrik Johansson baff962ba0 Document cross-project receipt integration
Docker / test-build-push (push) Successful in 37s
2026-07-20 22:03:37 +02:00
Fredrik Johansson 825cd4bb74 Show operational events in private UI
Docker / test-build-push (push) Successful in 36s
2026-07-20 21:39:23 +02:00
Fredrik Johansson 92dc59584b Make Git repository scanning opt-in
Docker / test-build-push (push) Successful in 36s
2026-07-20 21:09:04 +02:00
Fredrik Johansson 89459f1dad Add main-only container workflow
Docker / test-build-push (push) Successful in 58s
2026-07-20 21:06:14 +02:00
Fredrik Johansson 0a087f8b5b Add versioned deployment receipt ingestion 2026-07-20 21:01:52 +02:00
Fredrik Johansson 97ac266cd0 Build private incident notebook MVP 2026-07-20 20:25:17 +02:00