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 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
.claude/commands Initial public commit 2026-09-01 21:55:02 +01:00
artifacts Reject non-string source_name/source_id/source_prompt (issue #008) 2026-09-02 15:27:07 +01:00
daybook_project Fix concurrent posts racing past quota (issue #010) 2026-09-02 15:22:37 +01:00
deploy Close out issue 001: document CSRF/reverse-proxy requirement 2026-09-02 12:28:41 +01:00
docs Add json and csv artifact kinds with interactive viewers 2026-09-02 14:56:20 +01:00
issues Reject non-string source_name/source_id/source_prompt (issue #008) 2026-09-02 15:27:07 +01:00
scripts Initial public commit 2026-09-01 21:55:02 +01:00
skills/daybook-posting Fix issues #002-#006 found by the LLM test harness 2026-09-02 13:38:59 +01:00
static Style tables in markdown/html_fragment content 2026-09-02 15:01:26 +01:00
templates/artifacts Add admin-only Settings -> Users page for creating accounts 2026-09-02 12:33:38 +01:00
tests Reject non-string source_name/source_id/source_prompt (issue #008) 2026-09-02 15:27: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 Note the permanent test/testpwd fixture user for LLM API testing 2026-09-02 12:59:14 +01:00
manage.py Initial public commit 2026-09-01 21:55:02 +01:00
requirements.txt Add syntax highlighting for fenced code blocks in markdown artifacts 2026-09-02 14:39:02 +01:00