daybook/issues
peter 09ea0a8b4f Reject non-string source_name/source_id/source_prompt (issue #008)
These accepted any JSON type on both POST and PATCH, silently mangled
into Python repr() strings at save time (a dict became the literal text
"{'a': 1}", unparseable as JSON) - and the immediate response echoed the
raw pre-save value, while a later GET returned the mangled one, an
internally inconsistent API.

Added validate_string_fields(), rejecting non-string values with 400
before they reach save(), matching #005's approach for tags. Verified live
and with new tests.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-02 15:27:07 +01:00
..
001-csrf-behind-reverse-proxy.md Close out issue 001: document CSRF/reverse-proxy requirement 2026-09-02 12:28:41 +01:00
002-env-example-not-actually-loaded.md Fix issues #002-#006 found by the LLM test harness 2026-09-02 13:38:59 +01:00
003-model-max-length-silently-unenforced.md Fix issues #002-#006 found by the LLM test harness 2026-09-02 13:38:59 +01:00
004-html-fragment-content-not-validated-server-side.md Fix issues #002-#006 found by the LLM test harness 2026-09-02 13:38:59 +01:00
005-patch-silently-mishandles-invalid-input.md Fix issues #002-#006 found by the LLM test harness 2026-09-02 13:38:59 +01:00
006-failed-post-still-evicts-artifacts.md Fix issues #002-#006 found by the LLM test harness 2026-09-02 13:38:59 +01:00
007-handover-to-llm-test-2026-09-02.md Add handover doc summarizing issues #002-#006 fixes for the LLM test project 2026-09-02 13:56:43 +01:00
008-source-fields-untyped-and-mangled.md Reject non-string source_name/source_id/source_prompt (issue #008) 2026-09-02 15:27:07 +01:00
010-concurrent-posts-race-past-quota.md Fix concurrent posts racing past quota (issue #010) 2026-09-02 15:22:37 +01:00
README.md Close out issue 001: document CSRF/reverse-proxy requirement 2026-09-02 12:28:41 +01:00

Issues

One file per issue: NNN-short-slug.md, numbered sequentially. Each file has a title, status (Open / Fixed / By design), description, and resolution once closed.