Repository navigation
Description
The Convex-to-Postgres port (#3107) and the tree retirement (#3125) dropped behaviours that 0.4 had. A six-way audit found 30-odd; this is the ledger for the ones with no PR yet.
Method, because it decides what counts: services/platform/convex/ survived #3107 as dead-or-shimmed code and was deleted by #3125, so an identifier existing in the tree never proved it ran. Every item below was verified by reading the live 0.5 path, and each names the file that should own the fix. backend/MIGRATION.md's PENDING: notes are the authority on what was deferred on purpose; nothing labelled REGRESSION here has one.
Refreshed against main @ 513db8b. Each remaining item below was re-read on that commit, not carried over from the first audit.
Landed
| Finding | Fixed by |
|---|---|
| Sandbox sessions never revoke their LLM gateway key | #3213 |
| A read-only member could write to conversations | #3187 |
| 2FA and passkey lifecycle events no longer audit | #3187 |
| An agent-authored task comment could start the task's owning automation | #3195 |
| Comment edits never re-resolve mentions | #3195 |
| Audit-log reads were open to every role | #3159 |
| Legal holds checked once, then not again for the cascade | #3178 |
| The erasure receipt could not distinguish "found nothing" from "never looked" | #3178 |
| Two retention categories never swept | #3143 |
| The three daily governance crons were packed into one window | #3145 |
| Two chat search legs stubbed empty under false comments | #3147 |
| Retrieval gate served unbound refs | #3141 → #3192 |
| Erasure cascade missed 5 subject-data categories | #3122 |
| Chat entity legs compared a whole question as one substring | #3123 |
| A message advertised an attachment whose blob was gone | #3193 (closes #3017) |
Docs still describing a tale-convex service |
#3154, #3188 |
In flight
| Finding | PR |
|---|---|
| Corpus scope stamps drift with nothing to notice | #3216 |
| Both Stop paths that doubled a round's text are untested | #3215 |
| Emailed attachments are never indexed or retrievable | #3121 (no PR) |
Still open — re-verified on 513db8b
Retention destruction still emits almost no audit rows. Two createAuditLog calls in domains/retention/service.ts where 0.4 had sixteen action names. Same class as the 2FA gap #3187 closed, different file.
setTaskReviewer is still a bare column write — no subscribe, no re-target of a pending request, no notify (domains/tasks/service.ts). Distinct from #3130, which gates the respond door rather than the designation door.
updateTask still never clears startNotifiedAt/slaLevel, so moving a due date never re-fires the ladder. Neither identifier appears anywhere in the function.
Bulk task edits and moveTask still emit no notifications, open no review gate and fire no automation triggers — no notifyTask or maybeTrigger in either body.
The expiry sweep can still expire a sandbox session under a live turn — domains/sandbox/watchdogs.ts has no reference to sandbox_session_ops, so it guards on the admin pin, not on a running op.
Sandbox drift reconcile still only heals phantoms — no re-assert or rebuild path in domains/sandbox/service.ts, so a dropped pin is never re-asserted and a missing pinned container is never rebuilt.
Agent transcript merge is still "keep the longer array," so a disjoint later ring segment overwrites history at parity (domains/tasks/agent-turn-shim.ts).
A replacement upload still strands its corpus row. domains/documents/replacement.ts moves file_ref on and never releases the superseded ref — no releaseRefs call. #3192 closed the read half; the indexer-side orphan remains. The daily reconcile in #3216 releases dead refs lazily, which bounds it but does not fix the write path.
The admission-ticket reap runs last, behind up to 375s of spawner probes against a 300s job expiry, so it never runs when tickets are piling up (domains/sandbox/watchdogs.ts).
Corrected since the first audit
Two entries in the original list were wrong about 0.5, and are struck rather than silently dropped:
- The audit-log doors were listed as needing a route-by-route
isAdminRolegate. They already callauthorizeRls(role, 'auditLogs', 'read'), and fix(platform): close account and credential authorization holes #3159 fixed the matrix so that denies developer, editor and member. Restating the rule at each door would be a divergent second copy. - The 2FA lifecycle harness check was listed as needing isolation onto a throwaway user. The runner now asserts
sharedSessionAliveafter every lane and names the fix in its failure message (signUpOrgMember), so the general guard supersedes the one-off.
Activity
Israeltheminer commentedon Sep 2, 2026
Eleven PRs now cover most of this ledger. Updated state:
Shipped, awaiting review
done; breakdown panel rendered blankexternalConversationsnever swept; 2FA rows never aged; counter window tripledtale-convexcontainer that no longer exists, in all three localesStill open here
Blocked on a PR in the same file, land these after:
moveTaskemit no notifications, open no review gate, fire no triggers;updateTasknever clearsstartNotifiedAt/slaLevel;setTaskRevieweris a bare column write; the agent transcript merge became "keep the longer array". All four wait on fix(platform): org-scope task loads and gate task mutations #3130.Not started:
PENDING:note, but the ledger row is marked done, so the note will not be picked up on its own.chat_filter_eventsnever sweeps — latent, no production writer yet, so it should land with one.New, found while fixing the above:
services/docs/app/content/frontmatter.jsonis a committed generated manifest whose key order is not deterministic. A clean regeneration churns 2,196 lines with zero net change, and a structural test requires the file to match the pages — so every docs branch either carries that churn or hand-patches around it. docs: describe the Postgres backend instead of Convex #3150 hand-patched; the generator should sort its keys.fix(platform): deny a corpus ref bound to neither document nor thread
yannickmonney commentedon Sep 27, 2026
Closing: the nine items of this ledger that are still open are now tracked as separate tasks T40–T48 in Tale's own platform project TALE: retention destruction writing audit rows, re-targeting a pending review when the reviewer changes, expiry sparing a live turn, drift reconcile re-asserting pins, merging the live transcript, @mention fan-out from task descriptions, the conversation-search privacy tests, a
chat_filter_eventssweep and an expired-session reaper. The other entries are fixed or obsolete: #3242, #3180, #3140 (with #3439), #3215, #3216 and #3121 landed, the admission-ticket reap is obsolete since #3226, and the table drop is tracked in #3241.