An upload can say when it was written
Found while rehearsing the litigation demo corpus (16 dated announcements).
A file that comes in through the multipart upload (POST /kbs/{id}/documents) gets doc_time = now() and doc_time_source = 'upload_time'. The only ways to give a document its own date are the JSON ingest routes (/kbs/{id}/ingest, /sources/{id}/ingest with doc_time). Announcements, filings and minutes carry their date in the title or the first line, and the ledger's attested anchors (0022) — "known from which document, dated when" — read doc_time; with upload time every anchor is today, a dateless mention cannot find the span it belongs to, and the timeline's "known since" is meaningless for anything uploaded in bulk.
Two cuts worth considering, either or both:
- The multipart upload accepts a
doc_timefield (per request, or per file via a JSON sidecar field), stored withdoc_time_source = 'upload'. - A conservative detection for text-like uploads: a full date in the first line or a leading "(YYYY年M月D日)" / ISO date in the title sets
doc_timewithdoc_time_source = 'content'; anything less than a full date leaves upload time. The panel shows the source so a person can tell which it was.
The rehearsal worked around it by pushing each file through /kbs/{id}/ingest with the date parsed from the title.
Source: deeplethe/utopia