Skip to content

Flatten team resources and run managed agents with hosted Pi - #417

Merged
asselstine merged 2 commits into
mainfrom
team-triggers-hosted-pi
Nov 20, 2026
Merged

asselstine merged 2 commits into
mainfrom
team-triggers-hosted-pi

Conversation

@asselstine

@asselstine asselstine commented Nov 20, 2026 •

Copy link
Copy Markdown
Collaborator

Replace project-scoped Jobs with team-scoped Triggers and Events, and run Factorize-managed agents as bundled Pi sessions backed by PostgreSQL. Preserve existing resource IDs, credentials, history and artifacts through migrations 0067–0079.

  • Add personal Teams, required Team defaults, concrete Trigger permissions, a shared skill/Trigger name namespace, single-skill context and optional per-Event templates.
  • Publish all skills through the MCP Skills extension; use ordinary scoped MCP tools, reflection and optional verified workspace VMs. Wait for VM readiness and report unavailable selections explicitly.
  • Add asynchronous admissions, durable Pi checkpoints and tool receipts, lease fencing, cancellation/recovery, streamed R2 media and reference-based retention/cleanup.
  • Keep Run names and add Source/Prompt columns; update API contracts, generated client, dashboard and operator docs. Use shared integration queries to keep the editor and Integrations page cache consistent.

Validation on commit 090c199: complete root npm test passed locally using Node 24.12.0/npm 11.19.0 and isolated PostgreSQL, and GitHub CI passed. All 12 validation stages passed: 816 backend tests (5 skipped), 40 compiled app/API checks, 112 browser tests (1 skipped), 6 functional checks, proxy/runtime coverage and both Docker end-to-end checks. TODO.md records all 15 completed implementation items and acceptance evidence.

Release notes: public terminology/contracts intentionally break compatibility. Pending legacy guest-agent admissions remain preserved and blocked for explicit resubmission; drain running legacy guest agents before production cutover. Media follows pinned Pi 1.5.2 support (text/images); audio/video fail explicitly. This PR does not deploy or migrate production.

@asselstine
asselstine merged commit 7cb8560 into main Nov 20, 2026
1 check passed
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.

1 participant