Skip to content

feat(db): CMP-1 persist durable custom agents - #67

Open
ripgrim wants to merge 8 commits into
mainfrom
rg/agent-builder-stack-01-domain
Open

feat(db): CMP-1 persist durable custom agents#67
ripgrim wants to merge 8 commits into
mainfrom
rg/agent-builder-stack-01-domain

Conversation

@ripgrim

@ripgrim ripgrim commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds the durable persistence and API domain for custom agents: definitions, immutable versions, triggers, runs, actions, audit records, conversation submissions, attachments, sharing, feedback, and access control.

Why

Custom agents need a durable, permission-aware lifecycle before the builder UI or runtime can rely on them.

Stack

Bottom of native stack #68; targets main through this pull request only.

  1. #67 — durable custom-agent domain
  2. #60 — sandboxed builder and runner runtimes
  3. #61 — CRM UI foundations
  4. #62 — private agent-builder workspace
  5. #63 — pre-deployment draft review
  6. #64 — builder presentation
  7. #65 — inline composer context

Verification

  • Full typecheck passes
  • Lint passes
  • Database-backed suites require DATABASE_URL

@vercel

vercel Bot commented Aug 6, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
crm-agent Ready Ready Preview Aug 7, 2026 5:52am
crm-api Ready Ready Preview Aug 7, 2026 5:52am
crm-app Ready Ready Preview Aug 7, 2026 5:52am

Request Review

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 48 files

Tip: instead of fixing issues one by one fix them all with cubic

Re-trigger cubic

Comment thread packages/auth/src/signed-in.ts Outdated
Comment thread apps/api/src/agent/agent-access.service.ts Outdated
Comment thread apps/api/package.json
Comment thread apps/api/src/conversations/conversation-attachments.controller.ts Outdated
Comment thread apps/api/src/agent/agent-trigger.service.ts
Comment thread packages/db/scripts/prepare-dev.ts

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 50 files

Reply with feedback, questions, or to request a fix.

Fix all with cubic | Re-trigger cubic

Comment thread apps/api/src/agent/agent-access.service.ts Outdated

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 3 files (changes from recent commits).

Reply with feedback, questions, or to request a fix.

Fix all with cubic | Re-trigger cubic

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 2 files (changes from recent commits).

Tip: Review your code locally with the cubic CLI to iterate faster.

Fix all with cubic | Re-trigger cubic

Comment thread apps/api/test/agent-lifecycle.spec.ts
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