Skip to content

feat: DB-backed agent session/run store with claim+lock lifecycle#22

Merged
bradvin merged 15 commits into
developfrom
feat/issue-13-agent-session-store
Feb 23, 2026
Merged

feat: DB-backed agent session/run store with claim+lock lifecycle#22
bradvin merged 15 commits into
developfrom
feat/issue-13-agent-session-store

Conversation

@foo-bender
Copy link
Copy Markdown
Collaborator

@foo-bender foo-bender commented Feb 21, 2026

Summary

  • add clawpress_agent_sessions + clawpress_agent_runs custom table stores with dbDelta migrations
  • wire activation to create both runtime tables
  • implement run claim/lock lifecycle with CAS-style guards, stale-lock reclaim, and completion transitions
  • update parent session run metadata/failure counters on completion
  • add unit coverage for claim success, claim collision, stale reclaim, and completion transitions

Validation

  • composer lint
  • composer test

Closes #13

@bradvin bradvin merged commit cc58254 into develop Feb 23, 2026
2 checks passed
@bradvin bradvin deleted the feat/issue-13-agent-session-store branch February 27, 2026 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants