Skip to content

feat: persist agents & strategies in Postgres#134

Draft
FlyM1ss wants to merge 5 commits into
mainfrom
feat/agent-db-persistence
Draft

feat: persist agents & strategies in Postgres#134
FlyM1ss wants to merge 5 commits into
mainfrom
feat/agent-db-persistence

Conversation

@FlyM1ss

@FlyM1ss FlyM1ss commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

DO NOT MERGE — implementation in progress (2 of 9 tasks landed). Opened early, as a draft, because CI only runs on a PR and this branch's whole point is exercising the live-Postgres tier on every push. This line goes when the branch is complete.

Optional Postgres backends for external_agents, agent_versions, and strategies, selected by CONTENT_DATABASE_URL, cloning the shipped USERS_DATABASE_URL users fix. Without them every registered agent and issued API key dies on each Render deploy (free tier, no disk) — and resolve_api_key() is the sole auth path for /api/v1 and /api/v2.

  • Spec: docs/superpowers/specs/2026-07-15-agent-strategy-persistence-design.md
  • Plan: docs/superpowers/plans/2026-07-15-agent-strategy-persistence.md

The plan's original gate ("DO NOT MERGE until CONTENT_DATABASE_URL is set in Render") is already discharged — the var is set on the prod service, so the correct rollout order (env var first, then merge) is satisfied. The gate above is the real one: the work isn't finished yet.

@vercel

vercel Bot commented Jul 16, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
agentic-trading-lab Ready Ready Preview, Comment Jul 16, 2026 10:00pm

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