Interactive reference · five system plates

The release machinery, drawn in full.

Five interactive diagrams covering the twenty-one-phase issue-board state machine, the control-plane and runner topology, the dual-track webhook router, the six-domain pipeline convergence graph, and the end-to-end sequence of a single card from In Dev to SIT. Each plate animates and loops automatically when scripts run, and renders in full without JavaScript.

01 · 21-phase board governance 02 · control plane and three archetypes 03 · dual-track event router 04 · where the six pipelines converge 05 · one card from In Dev to SIT

State machine · reference implementation · Interactive

#state-governance

21-phase board governance

The board itself carries the state. Twelve sequential upstream phases (PHASE_FLOW), five-layer role approvals, four automated execution statuses (In Dev, In Review, Merged, Deploy), four anti-loop guard layers, and nine downstream testing and promotion phases (MULTIPLE_FLOW) are all enforced by it.

Twenty-one phase kanban governance and release state machine Three-band state machine showing 12 upstream governance phases with auto-revert, 4 execution triggers with anti-loop protection, and 9 downstream release promotion phases. 1 · UPSTREAM GOVERNANCE (PHASE_FLOW · 12 SEQUENTIAL PHASES) 2 · EXECUTION ENGINE 3 · DOWNSTREAM TESTING & RELEASE PROMOTION (MULTIPLE_FLOW · 9 PHASES) SKIPPED PHASE OR MISSING ROLE → AUTO-REVERT CARD + COMMENT 5-LAYER APPROVAL PASSED (TEAM → BUSINESS → PRODUCT → ARCH → ENG) 4-LAYER GUARD: RULE 0 · BOT FILTER · REGEX · WATERMARK POST /TRIGGER/PIPELINE (SERVICES · ISSUE_IID · MILESTONE) P1–P3 Phases 1–3 · Intake & Triage Intake → TBD → SM Lead Review P4–P6 Phases 4–6 · Business Analysis BA Discovery → BA FSD → BA Lead P7–P9 Phases 7–9 · Product & Arch PO Approval → SA Design → SA Lead P10–P12 Phases 10–12 · Dev Readiness ARF → Dev Planning → Development JOB 1 Status: In Dev create-branch · dev/{ms}/issue-{iid} JOB 2 Status: In Review create-mr + status-sonarqube JOB 3 Status: Merged merge-gate + on_merge_v2 → STATE JOB 4 Status: Deploy (+ Closed) on_deploy → trigger 6 domains M1–M3 Integration & TCB Development → Int Test → TCB M4–M5 SIT & UAT Rollout SIT → UAT (OCP · SSH VM · Mobile) M6–M7 Security & Perf Gates Pentest → Perf Test · SAST/Sonar M8–M9 RCB, Promote & Ledger RCB → Promote · release-manifest deploy trigger & promote board phase / job ticket description state phase transition revert / anti-loop guard

Architecture · reference implementation · Interactive

#control-plane

Control plane and three archetypes

One control plane, three execution archetypes. The orchestrator reads the board and dispatches; the execution plane runs the same contract three ways (Router+Container/Mobile, Hybrid SSH VM+OCP, Template/Shell OCP), and the dashed return is the closed webhook loop that Rule 0 stops.

Control plane, three execution archetypes, and anti-loop return path Three horizontal planes separating the orchestrator control plane, the three domain pipeline archetypes, and the shared repositories, runtimes, and manifest ledger, with a dashed feedback loop blocked by Rule 0. 1 · CONTROL PLANE 2 · EXECUTION PLANE 3 · INFRASTRUCTURE, REPOSITORIES & LEDGER PLANE TRIGGER API (SERVICES · NEXUS_SERVICES · ISSUE_IID) CLONE / MR ROLLOUT MANIFEST REPORTS MR MERGE & BOT CALLBACK LOOP (BLOCKED BY RULE 0 + WATERMARK) INGRESS Webhook & Rule 0 Filter Block bots: rule 0 + BOT_USERNAMES VALIDATE Phase & 5-Layer Approval 12-phase flow · check_approval DISPATCH State & Deploy Engine mr_gate · on_merge_v2 · on_deploy SECURITY Central Security & Sync Semgrep ×5 · Sonar ×5 · branch_sync ROUTER+APP Archetype A · Router + Container/App mobile · wallet VM+OCP Archetype B · Hybrid SSH VM + OCP portal · core TMPL+SHELL Archetype C · Template & Shell OCP identity · ledger SOURCE Product Repositories Multi-repo · dev/{ms}/issue-{iid} RUNTIME OpenShift, VM & Mobile Harbor · Nexus · SIT / UAT / PROD MANIFEST release-manifest Append-only JSON · prepare-uat SEC/VAULT security-scan & Vault 5 domain dirs · KV v2 secrets dispatch & runtime execution archetype repos & manifest trigger / rollout webhook return loop

Flowchart · reference implementation · Interactive

#event-router

Dual-track event router

Every event enters one router. Past the four-layer anti-loop filter it splits into two parallel tracks: the Work-Item and MR release lifecycle on the left, ChatOps and the scheduled security jobs on the right.

Dual-track router flowchart for release and ChatOps tracks Dual-track flowchart splitting incoming events into the release lifecycle track on the left and the ChatOps and scheduled security track on the right. TRACK A · BOARD ISSUE & COMMIT MR TRACK TRACK B · CHATOPS & SECURITY ISSUE / MR NOTE / CRON INVALID VALID SLASH CMD SCHEDULE Event Passed 4-Layer Anti-Loop Verified human or schedule trigger Event Category? OBJECT_KIND & source GATE Validate Phase & Approvals phase-flow-check · check-approval Gate Passed? 12-phase & 5-layer check Revert Status Post warning RELEASE Branch → MR → State → Deploy mr_gate → on_merge_v2 → on_deploy Note or Schedule? ChatOps vs Cron / Manual CHATOPS ChatOps Dispatch /retry · /diff · /sync · /sonar CRON Central Security & Sync SAST ×5 · Sonar ×5 · DB Perf RUN Execute Scan / Diff / Sync Semgrep report · cascading MR · diff Callback Comment & Watermark Update ticket #ISSUE_IID · SMTP report start / end (oval) step / action decision (diamond) focal / happy path branch / transition merge point

Dependency graph · reference implementation · Interactive

#dependency-graph

Where the six pipelines converge

Ranked by dependency depth. The orchestrator reads one routing table and triggers six domain pipelines; those six deploy into the product repositories and converge on two shared projects. The dashed line is the one that is not a tree: a merged MR arrives back at the orchestrator as a webhook event, which is what the anti-loop guard exists to stop.

Release orchestrator dependency graph: six pipelines converging on manifest and scan A routing table feeds the orchestrator, the orchestrator triggers six domain pipelines, those deploy into product repositories and converge on a release manifest and a security scan project, and merged merge requests return as webhook events guarded by anti-loop. RANK 0 · ENTRY POINTS READ TRIGGER ×6 DEPLOY SCAN ×5 UPDATE ×6 DEPLOY MR WEBHOOK · ANTI-LOOP project_mapping.json one entry per service 1 in release-orchestrator validate → run → post-run → security 1 in 6 domain pipelines mobile · portal · identity · ledger · core · wallet 1 in Product repositories one repo per service 1 in security-scan 5 per-domain scan directories 5 in release-manifest update ×6 · prepare-uat · reconcile 7 in Mobile repositories separate group 1 in OpenShift SIT · UAT · PROD 1 in Fan-in counts are per project, not per edge: the six pipelines are one node, so release-manifest reads 7 in (six pipelines plus the board /prepare-uat job). pipeline project data the board reads outside the pipeline group trigger / deploy return path

Sequence · reference implementation · Interactive

#sequence-sit

One card from In Dev to SIT

Time runs downward. Every board move triggers an orchestrator job guarded by sequential phase and five-layer approval checks: when a card passes approval, the merge gate passes the MR, on_merge_v2 records the service state, on_deploy triggers the domain pipeline, and the returning webhook is stopped by the Rule 0 anti-loop guard.

Sequence: a GitLab issue board status change drives the orchestrator pipeline, which opens a merge request, verifies five-layer approval, triggers a domain pipeline and deploys to SIT A developer moves a card, the orchestrator validates it and opens a branch and merge request, an approval frame decides merge-gate pass and state capture or revert, the orchestrator triggers a domain pipeline that deploys to SIT, and the returning webhook is rejected by the anti-loop guard. Developer human · board move Issue board work item · state release-orchestrator orchestrator pipeline Domain pipeline one of six OpenShift / VM SIT runtime DRAG CARD TO IN DEV WEBHOOK · NEW_STATUS=IN DEV VALIDATE PHASE & 5-LAYER APPROVAL CREATE-BRANCH + MR OPENED MOVE TO MERGED → DEPLOY WEBHOOK · NEW_STATUS ALT [five-layer approval complete] MERGE GATE + SAVE STATE [else: missing approval or phase skip] REVERT CARD · EXIT 1 POST /TRIGGER/PIPELINE · SERVICES DEPLOY SIT + HEALTH CHECK BOT CALLBACK + MR WEBHOOK RETURNS RULE 0 + WATERMARK: BOT IGNORED Six domain pipelines, one actor. The return event is the loop the guard rejects: a merged MR or bot callback arrives as a webhook like any other. call return / async actor

case studies and threat model → the gate those pipelines enforce, with the source behind every line → Reports eleven architecture and production decisions → back to the overview

Sanitised: service names, group IDs, hosts and internal identifiers are replaced with synthetic ones. The topology, stage contracts, approval rules and state transitions are the real ones.