{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "wevm-frog--share-friction-log-in-postgres",
 "repo": "wevm/frog",
 "repo_url": "https://github.com/wevm/frog",
 "repo_slug": "wevm-frog",
 "title": "Share one friction log across agents in PostgreSQL",
 "page_title": "How to share one friction log across agents in PostgreSQL with Frog",
 "summary": "Store friction entries in a shared PostgreSQL database that several agents can read and write.",
 "who": "A team running several agents or applications that need to record and inspect the same friction history.",
 "problem": "A friction log kept in one repository's files is hard for several agents and applications to record to and inspect together.",
 "outcome": "Friction entries stored in a shared PostgreSQL database, listed from the same command for every agent that connects.",
 "steps": [
  "Set your PostgreSQL connection string with `export FROG_DATABASE_URL=postgres://...`, replacing the placeholder with your own value.",
  "Run `frog migrate` to create or upgrade the selected store.",
  "Run `frog list` to confirm the agents can read the shared entries.",
  "Point each agent or application at the same connection string through its own configuration, using the Store.postgres({ connectionString }) factory from the README. (inferred, check the README)"
 ],
 "agent_prompt": "In the frog repository, set FROG_DATABASE_URL to the team's PostgreSQL connection string, run `frog migrate`, then `frog list`. Expected output: the store is created or upgraded and the list shows entries from the shared database. Verify that the list command exits without error.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "45 minutes",
 "basis": "readme",
 "caveat": "The README lists PostgreSQL as the only available database, with SQLite and Cloudflare D1 marked as coming soon.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "A GitHub repository for the project that the agent works in",
  "npm, pnpm, bun, or yarn, or the standalone executable from the install script",
  "A choice between the Frog GitHub App and Action-only mode, made with the user before access is changed",
  "A PostgreSQL connection string, only if you want a shared database store"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "The connection string grants database access, so keep it in an environment variable or secret store and do not commit it to the repository."
  }
 ],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/wevm-frog/share-friction-log-in-postgres/",
 "md": "https://dedupedai.com/use-cases/wevm-frog/share-friction-log-in-postgres/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/wevm-frog--share-friction-log-in-postgres.json",
 "api_version": "v1"
}
