{"id":50454189,"url":"https://github.com/mizcausevic-dev/reliability-policy-coordinator","last_synced_at":"2026-06-01T01:05:44.542Z","repository":{"id":357216039,"uuid":"1235922805","full_name":"mizcausevic-dev/reliability-policy-coordinator","owner":"mizcausevic-dev","description":"Kotlin JVM backend for dependency drag review, error-budget policy, freeze-window decisions, and rollback-aware reliability coordination.","archived":false,"fork":false,"pushed_at":"2026-05-11T20:22:12.000Z","size":292,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-11T22:04:36.610Z","etag":null,"topics":["backend","error-budget","javalin","jvm","kotlin","platform-engineering","policy-engine","reliability","rollback"],"latest_commit_sha":null,"homepage":"https://kineticgain.com/","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mizcausevic-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-11T19:34:54.000Z","updated_at":"2026-05-11T20:22:31.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mizcausevic-dev/reliability-policy-coordinator","commit_stats":null,"previous_names":["mizcausevic-dev/reliability-policy-coordinator"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/mizcausevic-dev/reliability-policy-coordinator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizcausevic-dev%2Freliability-policy-coordinator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizcausevic-dev%2Freliability-policy-coordinator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizcausevic-dev%2Freliability-policy-coordinator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizcausevic-dev%2Freliability-policy-coordinator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mizcausevic-dev","download_url":"https://codeload.github.com/mizcausevic-dev/reliability-policy-coordinator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizcausevic-dev%2Freliability-policy-coordinator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33755379,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-31T02:00:06.040Z","response_time":95,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backend","error-budget","javalin","jvm","kotlin","platform-engineering","policy-engine","reliability","rollback"],"created_at":"2026-06-01T01:05:44.469Z","updated_at":"2026-06-01T01:05:44.526Z","avatar_url":"https://github.com/mizcausevic-dev.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Reliability Policy Coordinator\r\n\r\nReliability Policy Coordinator is a Kotlin backend for converting dependency drag, error-budget burn, freeze-window pressure, and rollback posture into concrete operating decisions. It is designed as the policy layer between observability signals and the people who need to decide whether a service should freeze, roll back, or stay in watch mode.\r\n\r\n## Portfolio Takeaway\r\n\r\nThis repo broadens the portfolio with a Kotlin JVM backend that feels operational instead of academic. It shows Kotlin in a shape that fits real platform work: request handling, policy scoring, service reliability review, and owner-facing action guidance.\r\n\r\n## Overview\r\n\r\n| Area | Details |\r\n| --- | --- |\r\n| Language | Kotlin 2.0 |\r\n| Runtime | Java 21 |\r\n| Server | Javalin |\r\n| Focus | Reliability policy, dependency drag, error-budget burn, freeze windows, rollback guidance |\r\n| Routes | `/`, `/docs`, `/api/dashboard/summary`, `/api/incidents`, `/api/incidents/{id}`, `/api/sample`, `/api/analyze/policy` |\r\n| Validation | `./gradlew.bat test` |\r\n\r\n## What It Does\r\n\r\n- models reliability incidents with severity, dependency drag, freeze-window timing, and rollback posture\r\n- scores each payload into `stable`, `watch`, or `escalate`\r\n- returns an owner lane, policy action, briefing summary, and freeze recommendation\r\n- exposes a simple JSON API that can feed dashboards, runbooks, or internal operations surfaces\r\n\r\n## Architecture\r\n\r\n```mermaid\r\nflowchart LR\r\n  A[\"Reliability incident feed\"] --\u003e B[\"Javalin routes\"]\r\n  B --\u003e C[\"Reliability policy engine\"]\r\n  C --\u003e D[\"Risk scoring\"]\r\n  C --\u003e E[\"Freeze recommendation\"]\r\n  C --\u003e F[\"Owner-facing policy action\"]\r\n  D --\u003e G[\"JSON response\"]\r\n  E --\u003e G\r\n  F --\u003e G\r\n```\r\n\r\nAdditional detail lives in [docs/architecture.md](./docs/architecture.md).\r\n\r\n## API\r\n\r\n### `GET /`\r\nReturns service metadata and route discovery.\r\n\r\n### `GET /docs`\r\nReturns a lightweight HTML operator guide.\r\n\r\n### `GET /api/dashboard/summary`\r\nReturns live queue posture and aggregate reliability pressure.\r\n\r\n### `GET /api/incidents`\r\nReturns the modeled reliability incidents.\r\n\r\n### `GET /api/incidents/{id}`\r\nReturns a single incident thread.\r\n\r\n### `GET /api/sample`\r\nReturns a sample policy analysis.\r\n\r\n### `POST /api/analyze/policy`\r\nScores a payload and returns the recommended action.\r\n\r\nExample payload:\r\n\r\n```json\r\n{\r\n  \"id\": \"rel-7102\",\r\n  \"title\": \"Northstar checkout path is burning budget faster than the rollback lane can absorb\",\r\n  \"service\": \"checkout-runtime\",\r\n  \"severity\": \"critical\",\r\n  \"sourceLane\": \"platform\",\r\n  \"targetLane\": \"revenue-systems\",\r\n  \"dependencyDrag\": 4,\r\n  \"errorBudgetBurn\": 0.92,\r\n  \"freezeWindowHours\": 1.5,\r\n  \"rollbackReady\": false,\r\n  \"confidence\": 0.73,\r\n  \"blockers\": [\r\n    \"Cache invalidation handoff is split across two owners\",\r\n    \"EU traffic lane still routes through the degraded dependency\"\r\n  ],\r\n  \"nextSteps\": [\r\n    \"Freeze the release lane and shift traffic to the resilient fallback path\",\r\n    \"Assign a single rollback owner before the next freeze window closes\"\r\n  ]\r\n}\r\n```\r\n\r\n## Screenshots\r\n\r\n### Hero\r\n![Reliability Policy Coordinator hero](https://raw.githubusercontent.com/mizcausevic-dev/reliability-policy-coordinator/main/screenshots/01-hero.png)\r\n\r\n### Policy Lanes\r\n![Reliability Policy Coordinator lanes](https://raw.githubusercontent.com/mizcausevic-dev/reliability-policy-coordinator/main/screenshots/02-policy-lanes.png)\r\n\r\n### Escalation View\r\n![Reliability Policy Coordinator escalation](https://raw.githubusercontent.com/mizcausevic-dev/reliability-policy-coordinator/main/screenshots/03-escalation.png)\r\n\r\n### Validation Proof\r\n![Reliability Policy Coordinator proof](https://raw.githubusercontent.com/mizcausevic-dev/reliability-policy-coordinator/main/screenshots/04-proof.png)\r\n\r\n## Local Run\r\n\r\n```powershell\r\ncd reliability-policy-coordinator\r\n$env:JAVA_HOME = \"C:\\Program Files\\Microsoft\\jdk-21.0.11.10-hotspot\"\r\n$env:Path = \"$env:JAVA_HOME\\bin;$env:Path\"\r\n.\\gradlew.bat run\r\n```\r\n\r\nThen open:\r\n\r\n- `http://127.0.0.1:4286/`\r\n- `http://127.0.0.1:4286/docs`\r\n\r\nIf that port is already occupied, choose another one before running:\r\n\r\n```powershell\r\n$env:PORT = \"4290\"\r\n.\\gradlew.bat run\r\n```\r\n\r\n## Validation\r\n\r\n```powershell\r\ncd reliability-policy-coordinator\r\n$env:JAVA_HOME = \"C:\\Program Files\\Microsoft\\jdk-21.0.11.10-hotspot\"\r\n$env:Path = \"$env:JAVA_HOME\\bin;$env:Path\"\r\n.\\gradlew.bat test\r\n```\r\n\r\n## Portfolio Links\r\n\r\n- [Kinetic Gain](https://kineticgain.com/)\r\n- [Skills Page](https://mizcausevic.com/skills/)\r\n- [LinkedIn](https://www.linkedin.com/in/mirzacausevic)\r\n- [GitHub](https://github.com/mizcausevic-dev)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmizcausevic-dev%2Freliability-policy-coordinator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmizcausevic-dev%2Freliability-policy-coordinator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmizcausevic-dev%2Freliability-policy-coordinator/lists"}