Audit fixes: model slot leak, stale contacts, retention, growth, locks #160

Manually merged
vinny merged 0 commits from vinny/audit-fixes into master 2026-10-19 14:29:41 -04:00 AGit
Owner
No description provided.
- A flow model call cancelled between taking its slot and opening its
  round released nothing; release_orphans now also frees requests left
  open by ended jobs no turn is working on (test added).
- Stale world-cache contacts are no longer stored as current facts.
- Retention restarts a purge's stages after closing actions as
  unverifiable, so their deletes no longer fail on foreign keys forever.
- The bridge journal is pruned every ten minutes; per-session gap memory
  is dropped on revoke; per-action preflight and library-result caches
  forget settled actions.
- Archiving a timeline settles finished actions in two statements
  instead of a rewrite and audit row each inside the write lock.
- Provider bookkeeping and the movement check run off the event loop.
- A composite whose fence closes mid-way records its finished children
  instead of losing them.
- Staged flow imports are capped in total.
- The quick sweep builds its roster set once.
- Removed the capability verifier that always refused (all its
  operations run from the tester library), its CLI branch and test, an
  unused WAL checkpoint helper and a duplicate provider-slot reset;
  merged the copied track and world-change trims.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Version 0.7.102 (audit-fixes)
Some checks failed
check / check (ubuntu-latest) (pull_request) Has been cancelled
check / check (windows-latest) (pull_request) Has been cancelled
check / check (windows-latest) (push) Has been cancelled
check / check (ubuntu-latest) (push) Has been cancelled
1d6314423f
vinny manually merged commit 1d6314423f into master 2026-10-19 14:29:41 -04:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
vinny/CMOnet!160
No description provided.