{"id":51465064,"url":"https://github.com/ca-moes/rere","last_synced_at":"2026-07-06T10:01:00.708Z","repository":{"id":368369342,"uuid":"1284400580","full_name":"Ca-moes/rere","owner":"Ca-moes","description":"Turn Kubernetes resource right-sizing recommendations into auto-merged GitOps PRs — across raw manifests, Helm values, and operator CRs.","archived":false,"fork":false,"pushed_at":"2026-06-30T08:53:48.000Z","size":37,"stargazers_count":0,"open_issues_count":25,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-30T10:03:52.421Z","etag":null,"topics":["automation","cli","cost-optimization","devops","finops","flux","fluxcd","gitops","golang","helm","k8s","krr","kubernetes","kustomize","pull-requests","resource-optimization","right-sizing","rightsizing","sre","vpa"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ca-moes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-06-29T20:35:32.000Z","updated_at":"2026-06-30T08:53:50.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Ca-moes/rere","commit_stats":null,"previous_names":["ca-moes/rere"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Ca-moes/rere","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ca-moes%2Frere","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ca-moes%2Frere/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ca-moes%2Frere/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ca-moes%2Frere/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ca-moes","download_url":"https://codeload.github.com/Ca-moes/rere/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ca-moes%2Frere/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35185688,"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-07-06T02:00:07.184Z","response_time":106,"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":["automation","cli","cost-optimization","devops","finops","flux","fluxcd","gitops","golang","helm","k8s","krr","kubernetes","kustomize","pull-requests","resource-optimization","right-sizing","rightsizing","sre","vpa"],"created_at":"2026-07-06T10:00:58.611Z","updated_at":"2026-07-06T10:01:00.699Z","avatar_url":"https://github.com/Ca-moes.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# rere\n\n\u003e **ré-ré** = **re**source **re**sizer\n\n**The missing write-back half of Kubernetes resource right-sizing.**\n\nRecommenders (Robusta [KRR](https://github.com/robusta-dev/krr), VPA, Goldilocks) already tell you the right CPU/memory requests \u0026 limits by reading Prometheus history. The gap nobody fills is **safely writing those numbers back into a GitOps repo** — across raw manifests, Helm `values:`, *and* operator Custom Resources — as **clean, auto-merged pull requests**, with surgical edits that preserve your comments and formatting.\n\n`rere` is a Go CLI (with a GitHub Action planned — [#13](https://github.com/Ca-moes/rere/issues/13)) that does exactly that. It is **complementary to your recommender, not a replacement**:\n\n\u003e **Keep your recommender — `rere` adds the write-back half.**\n\n## How it works\n\n```\nKRR JSON → adapter → discover (owning Flux object + repo path) → fieldmap (resolve field)\n        → policy (deadband / headroom / limits) → yamledit (surgical edit) → PR + auto-merge\n```\n\nUnlike a naive find-and-replace, `rere` edits YAML through a structure-aware tree (kyaml), so comments, anchors, and key order survive — the diff shows only the numbers that changed. And unlike dependency bots, it can move values **down**: most right-sizing savings come from *downsizing*.\n\n## Status\n\n🚧 Early development. The v0.1 (MVP) milestone targets Flux + GitHub, the three field-map tiers, the KRR adapter, deadband policy, and auto-merge. Follow progress in the [issues](https://github.com/Ca-moes/rere/issues).\n\n## Documentation\n\nDesign, architecture, and the decisions behind them live under [`docs/`](docs/):\n\n- [Architecture \u0026 implementation direction](docs/explanation/architecture.md)\n- [Prior art and why rere exists](docs/explanation/prior-art.md)\n- [Architecture Decision Records](docs/adrs/) · [Research](docs/research/)\n\n## License\n\n**Proprietary — all rights reserved.** The source is published for transparency and evaluation only; it is **not** open source and may not be used, copied, modified, or redistributed without prior written permission. See [LICENSE](LICENSE). The intent is to relax this to a more permissive license once the project matures.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fca-moes%2Frere","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fca-moes%2Frere","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fca-moes%2Frere/lists"}