kanban-dev-webapp/scripts
Dave c11d378483 fix(intake-links): three PocketBase quirks the schema shipped with
The schema the plan specified had three places where a PocketBase
quirk blocked normal use of intake_links / activity rows. None of
them surfaced in Task 1 because the unit-level test there only
checked rule application, not inserts.

1. intake_links.submission_count and submission_count_today were
   required: true with min: 0. PocketBase treats 0 as blank for
   required number fields, so every insert 400'd. Made optional.
2. intake_links.active was required: true, which rejects false as
   blank (the same quirk). The owner can mint an already-revoked
   link (the test exercises this); made optional.
3. activity.actor was a required relation. The public route writes
   a card_submitted_anonymously row for a submitter who has no user
   account; empty string is not a valid relation. Made optional and
   dropped actor: '' from the route.
2026-09-21 06:30:49 +02:00
..
_dbg.ts feat(dashboard): remove session-clustering paragraph from methodology 2026-09-16 15:30:46 +02:00
backfill.ts fix(commits): set source on ingest/backfill writes, tidy Task 1 review findings 2026-09-19 10:22:26 +02:00
compute.ts feat(dashboard): remove session-clustering paragraph from methodology 2026-09-16 15:30:46 +02:00
relink.ts chore(relink): CLI helper for off-server relink runs 2026-09-16 13:36:42 +02:00
seed-demo.ts feat(linking): idempotent relink engine preserving manual links 2026-09-16 13:23:33 +02:00
setup-remote.ts fix(intake-links): three PocketBase quirks the schema shipped with 2026-09-21 06:30:49 +02:00