Skip to content

fix: pocketbase kit - #25

Closed
ahmad-ajmal wants to merge 1 commit into
ahmad/enforce-agent-statefrom
ahmad/pocketbase-agent-queue
Closed

ahmad-ajmal wants to merge 1 commit into
ahmad/enforce-agent-statefrom
ahmad/pocketbase-agent-queue

Conversation

@ahmad-ajmal

Copy link
Copy Markdown
Collaborator

No description provided.

@ahmad-ajmal ahmad-ajmal self-assigned this Oct 5, 2026
@ahmad-ajmal
ahmad-ajmal added this pull request to stack #26 October 5, 2026 13:20
@ahmad-ajmal
ahmad-ajmal force-pushed the ahmad/pocketbase-agent-queue branch from 4ef9529 to a40eb92 Compare October 5, 2026 15:22
@ahmad-ajmal
ahmad-ajmal marked this pull request as ready for review October 5, 2026 15:22
@ahmad-ajmal
ahmad-ajmal requested a review from zfoong October 5, 2026 15:26
zfoong pushed a commit that referenced this pull request Oct 28, 2026
Operations (POST /api/ops/{name}, with 428 approval for destructive
ones), the task queue (list/get/claim/progress/complete/cancel, claim
expiry and redelivery) and the event log, served with the same wire
format as adapter-core. Tasks, events and approval keys live in tables
of their own in data.db, so they survive a restart and stay out of the
records API. The lifecycle rules sit in _a2app_rules.js under the gate's
self-test, which pins the approval and dedup hashes to adapter-core's.

The starter gains a `tasks` migration and pb/pb_hooks/operations.js with
the same operations as the react-node starter (clear-done, count-tasks,
complete-task, request-triage); `archive-done` never had a runner.

From #25, rebased onto main without #21's View panel and validate step.
zfoong added a commit that referenced this pull request Oct 28, 2026
ahmad-ajmal's queue port for blueprint-pocketbase-react, rebased onto
main without #21's View panel and validate step, with access control on
PocketBase's own routes, idempotency, a write pause when operations.js
cannot load, one open run per record, and an e2e test against a real
PocketBase 0.26.6.

Closes #22.
@CraftOS-dev
CraftOS-dev deleted the ahmad/pocketbase-agent-queue branch October 28, 2026 06:49
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.

Add the app→agent queue (operations, tasks, events) to blueprint-pocketbase-react

2 participants