Keeping the fork publishable
The discipline that lets a private Azure fork ship AGPL source without leaking deployment IP: the three-repo, three-tier model, the upstream PRs, and the leakage gates.
Three-tier policy
Every diverged file belongs to exactly one of three tiers, and each tier maps to exactly one publication target.
| Tier | Target repo | Mechanism | Scope |
|---|---|---|---|
| A — Upstream PRs | Repo 0 (third-party AGPL upstream) | Cherry-picked feature commits, one PR each | Provider boundaries with zero Azure dependency |
| B — Public AGPL fork | Repo 2 (Altien/Mike-Azure-OSS or similar — public) |
One squashed PR per release window | All application code: Azure adapters, Entra integration, Azure OpenAI, install configurator UI, schema migrations, local-dev stack |
| C — Private deploy | Repo 3 (Altien/Mike-Deploy or similar — private) |
One squashed PR per release window | Deployment infrastructure only — no application source. Bicep, deploy/check PowerShell, install operator scripts, CI OIDC bootstrap, ACR mirror script, deployment-specific docs, marketplace packaging |
Anything that doesn't ship to a publication target stays only in
Repo 1: this directory itself, the .claude/ agent harness, our
internal issue tracker (the parts of docs/issues/azure-migration/
that aren't Tier B sanitized).
Each tier has its own document:
01-classification.md— Per-file classification with rationale. Master reference; everything else in this directory derives from it.02-upstream-prs.md— The Tier A upstream-PR plan: which commits, what each PR contains, what each PR explicitly excludes.03-fork-publication.md— The Tier B publication plan (Repo 2): what the squashed PR contains, the commit-message structure, the README rewrite, the newdocs/azure-prereqs.mdfile that replaces our Bicep with prose.04-proprietary-retention.md— The Tier C classification rationale: what's in Tier C and why it doesn't ship to Repo 2.05-config-extraction.md— Hardcoded tenant identifiers, FQDNs, and similar artefacts that must be sanitized before either publication.06-agent-runbook.md— Step-by-step instructions an agent can execute to produce the Tier A PRs, the Tier B publication, and the Tier C publication from this repository's HEAD.07-private-deploy-repo.md— The Tier C publication plan (Repo 3): what the squashed PR contains, the commit-message structure, the relationship between Repo 3 templates and the image built from Repo 2.