{"id":50453987,"url":"https://github.com/mizcausevic-dev/message-retention-guardian","last_synced_at":"2026-06-01T01:05:31.470Z","repository":{"id":357280899,"uuid":"1235968835","full_name":"mizcausevic-dev/message-retention-guardian","owner":"mizcausevic-dev","description":"Ruby service for retention policy enforcement, legal hold protection, and records lifecycle management. WEBrick-based, designed for enterprise compliance workflows.","archived":false,"fork":false,"pushed_at":"2026-05-28T01:40:49.000Z","size":275,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-28T03:10:54.609Z","etag":null,"topics":["backend","compliance","legal-hold","records-management","ruby","webrick","workflow"],"latest_commit_sha":null,"homepage":"https://kineticgain.com","language":"Python","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-11T20:36:24.000Z","updated_at":"2026-05-28T01:40:53.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mizcausevic-dev/message-retention-guardian","commit_stats":null,"previous_names":["mizcausevic-dev/message-retention-guardian"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mizcausevic-dev/message-retention-guardian","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizcausevic-dev%2Fmessage-retention-guardian","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizcausevic-dev%2Fmessage-retention-guardian/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizcausevic-dev%2Fmessage-retention-guardian/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizcausevic-dev%2Fmessage-retention-guardian/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mizcausevic-dev","download_url":"https://codeload.github.com/mizcausevic-dev/message-retention-guardian/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizcausevic-dev%2Fmessage-retention-guardian/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","compliance","legal-hold","records-management","ruby","webrick","workflow"],"created_at":"2026-06-01T01:05:31.394Z","updated_at":"2026-06-01T01:05:31.455Z","avatar_url":"https://github.com/mizcausevic-dev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Message Retention Guardian\r\n\r\n`message-retention-guardian` is a Ruby backend for retention policy enforcement, legal hold protection, deletion scheduling, and audit-safe message lifecycle governance.\r\n\r\nIt is built to feel operational, not theoretical: when a deletion window is about to run against a lane with legal-hold drift, export backlog, or shadow-channel spread, the service scores the pressure and tells operators whether to freeze, watch, or clear the request.\r\n\r\n## Screenshots\r\n\r\n### Hero\r\n![Hero](./screenshots/01-hero.png)\r\n\r\n### Policy Surfaces\r\n![Policy surfaces](./screenshots/02-policy-surfaces.png)\r\n\r\n### Request Queue\r\n![Request queue](./screenshots/03-request-queue.png)\r\n\r\n### Validation Proof\r\n![Validation proof](./screenshots/04-proof.png)\r\n\r\n## Endpoints\r\n\r\n- `GET /`\r\n- `GET /docs`\r\n- `GET /api/dashboard/summary`\r\n- `GET /api/sample`\r\n- `GET /api/policies`\r\n- `GET /api/requests/:id`\r\n- `POST /api/analyze/request`\r\n\r\n## Local Run\r\n\r\n```powershell\r\ncd message-retention-guardian\r\n$env:Path = \"C:\\Ruby33-x64\\bin;$env:Path\"\r\nbundle install\r\nbundle exec ruby server.rb\r\n```\r\n\r\nIf port `4541` is occupied:\r\n\r\n```powershell\r\n$env:PORT = \"4545\"\r\nbundle exec ruby server.rb\r\n```\r\n\r\nThen open:\r\n\r\n- [http://127.0.0.1:4541/](http://127.0.0.1:4541/)\r\n- [http://127.0.0.1:4541/docs](http://127.0.0.1:4541/docs)\r\n\r\n## Validation\r\n\r\n```powershell\r\ncd message-retention-guardian\r\n$env:Path = \"C:\\Ruby33-x64\\bin;$env:Path\"\r\nbundle install\r\nbundle exec ruby tests\\test_analysis.rb\r\npy -3.11 scripts\\smoke_check.py\r\npy -3.11 scripts\\render_readme_assets.py\r\n```\r\n\r\n## Repo Layout\r\n\r\n- [server.rb](./server.rb)\n- [lib/message_retention_guardian/app.rb](./lib/message_retention_guardian/app.rb)\n- [lib/message_retention_guardian/analysis.rb](./lib/message_retention_guardian/analysis.rb)\n- [lib/message_retention_guardian/sample_data.rb](./lib/message_retention_guardian/sample_data.rb)\n- [docs/architecture.md](./docs/architecture.md)\n\r\n---\r\n\r\n**Connect:** [LinkedIn](https://www.linkedin.com/in/mirzacausevic/) · [Kinetic Gain](https://kineticgain.com) · [Medium](https://medium.com/@mizcausevic/) · [Skills](https://mizcausevic.com/skills/)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmizcausevic-dev%2Fmessage-retention-guardian","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmizcausevic-dev%2Fmessage-retention-guardian","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmizcausevic-dev%2Fmessage-retention-guardian/lists"}