Decision Index

ADRs and key architectural decisions across the organisation. Individual decision records are linked to their source files — the wiki does not duplicate their full content.

CascadeGuard ADRs

#DecisionStatusSummary
001Cloudflare Stack with Python WorkersAcceptedFull Cloudflare stack (Workers, Pages, D1, R2, Queues) with Python runtime — ~$1/mo MVP cost, zero ops
002Auth Provider — ClerkAcceptedClerk for auth with GitHub SSO, org/team management, API key support; free tier for 10K MAU
003CRM, Lead Management, and BillingProposedHubSpot Free CRM for MVP; billing platform deferred to Beta (Stripe, Metronome, or Orb)
004Migrate from Turso to D1AcceptedReplace Turso with Cloudflare D1 for zero-latency local SQL binding, eliminating network hops
005Dedicated GitHub Actions RepoAcceptedPublic cascadeguard-actions repo for reusable composite actions (build, scan, sign, publish)

Source: .ai/projects/cascadeguard/adr/

HIP Decisions

DecisionStatusSummary
k6 Load Testing FrameworkProposedk6-based load testing with K8s Jobs; chosen over Gatling for Kubernetes-native flexibility

Source: .ai/projects/hip/perf-testing/

Infrastructure Decisions

Key architectural decisions embedded in infrastructure sub-project specs at .ai/projects/infrastructure/. These are documented as design specifications rather than formal ADRs.

DecisionTypeSummary
Authenticated External IngressSpecExternal access architecture — authenticated ingress design for k8s-lab services
Central Secret StoreDesignESO-based secrets management — centralised secret store with External Secrets Operator
Per-Agent Pod ArchitecturePlanAgent isolation model — dedicated pods per agent with resource controls
ZFS Storage IntegrationDesignStorage layer — ZFS pool integration for persistent volumes
Multi-Repo Builder WorktreesSpecBuild isolation — git worktree-based isolation for multi-repo builds
Ingress ManagementDesignIngress controller design and routing configuration
ClickHouse StackSpecClickHouse observability stack (currently disabled)
n8n Workflow PlatformDesignn8n workflow automation on Kubernetes (currently disabled)
Security ProxyDesignSecurity proxy for external service access
Repository StructureDesignMulti-repo layout and conventions

Source: .ai/projects/infrastructure/

Market Making Decisions

Design decisions in .ai/projects/market-making/. Documented as specs and design docs rather than formal ADRs.

DecisionTypeSummary
Grid Exit StrategySpecPosition closing approach — strategy for exiting grid trading positions
Regime ManagementDesignMarket regime detection — design for identifying and responding to market conditions
Dashboard ArchitectureDesignData visualisation — dashboard for market maker monitoring and metrics
Dashboard Spot ChecksSpecValidation framework for dashboard data accuracy

Source: .ai/projects/market-making/

Steering Documents

See standards for the 18 living steering documents that codify ongoing development standards and workflows.