ADR index
Source directory: docs/decisions/ on DaPulse/brilliant-ai main. Status noted when the ADR states it. One-liners only — open the ADR for rationale.
| ADR file | Summary |
|---|---|
access-control.md | Chokepoint / policy model for who may reach what |
admin-secrets.md | Write-only secret management in staging/prod admin (#184) |
app-hosting-wfp.md | Published apps on Workers for Platforms |
app-template.md | Blessed generated-app template shape |
app-versioning.md | Content-addressed / version records for apps |
auth.md | Auth0 hosted login over plain OIDC (supersedes WorkOS/Better Auth plans) |
build-plane-runtime.md | Conductor DO + computer + OpenCode v2 in-isolate. Coding agent superseded by Pi Durable / PiHarness in #546 (ADR text not updated; see docs/plans/piharness-experiment.md) |
capability-model.md | Capabilities minted, never ambient; shared broker for apps/workflows/agents |
coding-agent-evals.md | How coding-agent quality is evaluated |
coding-agent-harness.md | Agent harness / turn protocol (agent ends the turn, undo per turn). Still says OpenCode; the harness is Pi Durable since #546 |
coding-agent-models.md | Model routing / allowlists |
coding-agent-skills.md | Skills library for the coding agent |
coding-agent-tools.md | Native tools surface |
db.md | Schemaless collections engine (packages/db) |
hosting-cloudflare.md | Cloudflare as hosting platform |
integrations.md | Connections / Composio-style integrations + approval |
posthog-llm-tracing.md | PostHog LLM analytics for live tracing (replaces LangSmith; #959) |
payments-credits.md | Credits / metering direction |
permissions-model.md | Runtime data role plus one combined builder/manager role; one SQLite DO per collection behind a stateless gateway; hard POC cutover (landed in #516; wiki) |
prod-infra.md | Accounts, Aurora, Pulumi, secrets, CD (accepted 2026-09). Amended 2026-10-09 by #697: rows 9/10 are Secrets Store + secrets Worker as source of truth (wiki: Neon plan) |
system-prompt.md | System prompt composition |
tooling-gtm.md | Tooling for go-to-market |
workflows-runtime.md | Workflow DSL + CF Workflows + codemode Functions |
Plans (not ADRs)
Open epics and contracts live under docs/plans/ (e.g. workflows-v1.md, agents/, admin.md, mcp-server.md). Finished slice docs are deleted, not archived.
marketing-site.md— accepted plan (grill 2026-10-02); phases tracked as #300–#304. Phases 0–2 merged in #318; staging cutover steps 1–2 merged in #360/#361; prod cleanup #304 remains — wiki: Marketing site.permissions-cutover-runbook.md— staging-then-prod hard cutover for #516: confirm the five Pulumi-minted keys (#541), tear down legacy apps, reset thepublicschema, migrate, reseed E2E (staging), deploy, then repair any tenant created during the cutover window that lacks resource rules (#545); no data rollback. Wiki: Permissions & app data.neon-migration.md— merged in #620 (2026-10-08 17:07 IDT): drop AWS entirely. Five waves (staging DB, side-env branches, prod cutover, secrets, AWS teardown); decisions recorded: Cloudflare Secrets Store for secrets, R2 for Pulumi state (no Pulumi Cloud), both Neon projects adopted viaimport:, Hyperdrive on Neon's direct endpoint, per-wave rollback rules, Pulumi state moved to R2 before any AWS deletion. Wiki: Drop AWS: Neon migration plan.
Related
PostHog LLM tracing ADR (#959, merged)
#959 (merged 2026-10-15 14:48 IDT by yoni-monday, merge e2107120, head 28de255f) replaces langsmith-live-tracing.md with docs/decisions/posthog-llm-tracing.md on main. The index row above now points at posthog-llm-tracing.md.
Wiki design notes: PostHog — LLM analytics (#959, merged).
Amended 2026-10-17 by #1001 (merged 09:13 IDT, merge 74ecb3d0): the ADR adds turn_source and catalogue cache costs on generations, and a "Which cost is real" section (PostHog's $ai_total_cost_usd already includes cache; the catalogue is what we bill). Wiki: PostHog — cache cost and turn source.