The Atlas MikeAzureDev's documentation, bound to its code
140 documents

The Atlas

MikeAzureDev's documentation, bound to its code

Journeys

Getting Started

The front door to MikeOSS.Azure — an AGPL fork of the upstream Mike legal-AI app re-platformed to run entirely inside a customer's Azure tenant. README picks your deployment path; AGENTS.md is the load-bearing rulebook every human or agent must read before touching code; the agent-handoff log is the "where we left off" state.

  • Agent Guidance Before touching backend/frontend code, env files, storage, or auth — non-negotiable.
  • Agent handoff — 2026-05-05 Resuming the migration work and needing the prior branch state and next-issue order.
  • Contributing Before opening your first PR.
  • MikeOSS.Azure Your very first stop — pick how you want to run or deploy Mike.

Architecture Decisions

The "why" behind the migration. The AzureMove proposal is the originating research and decision record; the Postgres ADR series (001–004) settles the database move off Supabase onto Azure Postgres Flexible Server, all traffic routed through self-hosted PostgREST. The prescriptive ADRs predate some of the shipped code — drift between them is real and shown on /drift.

Auth & Identity

The Entra ID rewrite: a provider-abstraction seam (supabase | local | entra) that emits a normalized principal, JWKS token validation, tenant/group guardrails, and the backend-owned provider-selection flow. The design docs are aspirational in places; what actually shipped is narrower (e.g. PostgREST JWT validation was removed in entra mode rather than switched to JWKS).

Data & Storage

Where bytes live. The R2→Azure Blob migration behind an unchanged four-method storage interface (MI auth, backend download proxy, no SAS to clients); the email decision (ACS when a feature needs it, resend removed); and the upstream-sync log that records every schema decision across migrations 0000–0015.

Infrastructure & Deploy

How the stack is provisioned. A single VNet with private-only Postgres, three workloads on one Container Apps Environment, Key Vault + Managed Identity for secrets, and one parameterized Bicep template that serves both managed CI and customer self-host. Observability was provisioned, then removed from the template and pushed to the hardening backlog.

Install & Marketplace

Getting Mike into customers' hands: the ~10-minute no-Bicep self-host walkthrough, the Azure Marketplace Managed Application package and its pre-flight harness, the operator-side /install configurator and its PowerShell scripts, and the QA leakage gates that keep deploy IP out of the public fork.

Runbooks

Operational replay and safety. The dev-deployment runbook reproduces rg-mike-dev step by step; the local-stack and entra-local-auth runbooks stand up the inner loop; safe-local-testing draws the test-data boundary; and the production-hardening audit lists every Critical/High gap before customer data.

Fork & Publication Strategy

The discipline that keeps this fork publishable: a three-repo topology (private source-of-truth, public AGPL fork, private deploy repo), a three-tier file policy (A=upstream PRs, B=app code, C=deploy IP), the local-first "refactor-before-remove" rule, and the fork-delta ledger that makes upstream rebases tractable.

Roadmap & Specs (PRDs)

The OSS-2..5 PRDs: targeted divergence-paydown and feature work surfaced by upstream syncs — restoring sharer display names, post-sync cleanups, an admin GDPR-erasure endpoint, and reconciling upstream's TablePrimitive UI with the static-export constraint. Each pairs a design spec with a story ticket.

Migration Issues

The 49 numbered Azure-migration issue specs — the granular execution record from Bicep foundations through auth, frontend, CI/CD, and the forensic marketplace-install gap registries (036/040). Indexed for full-text search; the README is the authoritative status index.

Logs & Sessions

Working memory: dated session logs capturing what shipped and what broke, the Atlas's own doc-build changelog, and the .claude/ agent tooling (slash commands and skills) that drives day-to-day work in this repo.