Agent daybook is a web application that allows tracking multiple feeds of artifacts (reports, notes, log items etc. etc.) - all the things that AI agents would be producing all day long.
Find a file
peter 5f872b4b32 Fix #015 (nested-JSON 500) and #016 (ragged CSV data loss)
#015 — deeply nested JSON raised RecursionError (a RuntimeError, not
ValueError) and became an unhandled 500 on two paths:
- json-kind content validation now catches RecursionError -> 400.
- Added a custom DRF EXCEPTION_HANDLER
  (artifacts/exception_handlers.py, wired via REST_FRAMEWORK) mapping
  otherwise-unhandled RecursionError -> 400, covering the parser-level
  crash on deeply nested request bodies (metadata etc.) too.

#016 — wrap_csv_viewer handed Grid.js rows without reconciling width to the
header, so over-long rows silently dropped cells. Now normalizes every row
to the max width: long rows widen the columns (auto-named "Column N"),
short rows pad with "". No cell is dropped.

Both verified live; 4 regression tests added. 106 tests pass.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-09-03 10:57:07 +01:00
.claude/commands Initial public commit 2026-09-01 21:55:02 +01:00
artifacts Fix #015 (nested-JSON 500) and #016 (ragged CSV data loss) 2026-09-03 10:57:07 +01:00
daybook_project Fix #015 (nested-JSON 500) and #016 (ragged CSV data loss) 2026-09-03 10:57:07 +01:00
deploy Close out issue 001: document CSRF/reverse-proxy requirement 2026-09-02 12:28:41 +01:00
docs Document that html_full is intentionally not validated 2026-09-03 10:50:06 +01:00
issues Fix #015 (nested-JSON 500) and #016 (ragged CSV data loss) 2026-09-03 10:57:07 +01:00
scripts Initial public commit 2026-09-01 21:55:02 +01:00
skills/daybook-posting Fix #014: sanitize themed text kinds + script-blocking CSP (stored XSS) 2026-09-03 10:44:49 +01:00
static Add light/dark mode toggle for the UI 2026-09-02 17:14:56 +01:00
templates/artifacts Add light/dark mode toggle for the UI 2026-09-02 17:14:56 +01:00
tests Fix #015 (nested-JSON 500) and #016 (ragged CSV data loss) 2026-09-03 10:57:07 +01:00
.dockerignore Initial public commit 2026-09-01 21:55:02 +01:00
.gitignore Initial public commit 2026-09-01 21:55:02 +01:00
CLAUDE.md Add per-artifact public sharing 2026-09-02 16:00:39 +01:00
manage.py Initial public commit 2026-09-01 21:55:02 +01:00
requirements.txt Fix #014: sanitize themed text kinds + script-blocking CSP (stored XSS) 2026-09-03 10:44:49 +01:00