Turn repository debt into a verified cleanup pull request.
RepoDiet finds evidence-backed cleanup work, locks the approved scope, applies bounded changes on an isolated branch, independently verifies the result and delivers a review-ready GitHub pull request.
Coding agents write code. RepoDiet proves the cleanup is safe.
- No direct main pushes
- Scope locked before execution
- Independent verification
- Owner controls merge
RepoDiet Live Execution Engine
Repository Findings
Files analyzed: 0
Execution Pipeline
Verified Output
- Commit-pinned analysis
- Protected-path enforcement
- Independent verification
- Signed Green PR proof
- Buyer-controlled acceptance
The problem
AI makes code faster.
It also makes repository debt faster.
Generated code often leaves duplicate implementations, abandoned files, dependency drift, temporary artifacts and conflicting patterns across a repository. Finding these problems is easy. Removing them safely is not.
Repository Debt Accumulation
- Commit 021+ duplicate helper
- Commit 034+ abandoned page
- Commit 048+ unused dependency
- Commit 063+ temporary debug script
- Commit 079+ conflicting API client
RepoDiet locks one bounded maintenance contract and removes only verified candidates.
Differentiation
Coding agents generate changes.
RepoDiet governs maintenance delivery.
RepoDiet may use coding agents as workers while remaining the independent contract and verification layer.
| Dimension | Coding Agent | RepoDiet |
|---|---|---|
| Primary role | Generate or modify code | Deliver contracted repository maintenance |
| Scope | Prompt-defined | Machine-readable locked contract |
| Source binding | May use current workspace | Immutable source commit |
| Execution authority | Broad session access | Allowed paths and operations only |
| Verification | Often self-reported | Independent verifier |
| Delivery | Code or pull request | Proof-carrying Green PR |
| Acceptance | Human reviews output | Buyer agent can verify evidence |
| Settlement | Not inherent | A2A acceptance-bound workflow |
Green PR Protocol
Every cleanup becomes a verifiable delivery contract.
finding.json
Analyze
Evidence-backed repository findings
RepoDiet binds analysis to the current source commit and classifies findings with static and dynamic evidence.
RepoDiet Delivery Engine
Buyer controlled
Illustrative product workflow
Repository Intelligence
Illustrative repository tree with evidence markers for unused code, duplicates, dependencies, and protected paths.
Scope & execution boundary
Approved
- remove unused import
- delete verified temp file
- remove unused dependency
Protected · blocked
- auth
- environment configuration
- database migrations
Only approved changes pass. Protected paths are blocked.
Review Pull Request
Ready for review
Cleanup pull request
- Approved scope applied
- Protected paths unchanged
- Repository checks completed
- Buyer decision required
Analysis discovers the work. A2A delivers the approved result.
Live proof
Do not trust a cleanup claim.
Verify it.
Sample proof
Demonstration schema · not a live customer job
- Repository
- Sample proof · public demo repository
- Source commit
- Pinned at analysis time
- Contract digest
- repodiet.contract/v1
- Allowed paths
- Selected scope only
- Changed files
- Within change budget
- Build result
- Twin Build Proof
- Test result
- No new failures
- New diagnostics
- 0
- GitHub PR
- Review-ready on isolated branch
- Attestation status
- Signed when delivery completes
- Receipt status
- Buyer-verifiable
- Acceptance recommendation
- Based on evidence gates
Capabilities
Conservative cleanup for the debt AI-built repositories accumulate.
Product workflow
From repository URL to review-ready pull request.
This is the buyer experience. Green PR Protocol describes the trust architecture.
Safety boundaries
Autonomous where evidence is strong.
Blocked where evidence is incomplete.
SAFE CANDIDATE
- Evidence complete
- Deterministic operation
- Within contract
- Eligible for execution
REVIEW FIRST
- Evidence incomplete
- Dynamic usage possible
- Structural decision required
- Human approval needed
PROTECTED
- Authentication
- Environment configuration
- Database migrations
- Security-sensitive paths
- Excluded from autonomous changes
Agent-to-agent delivery
Built for humans and autonomous buyers.
A human can scan and approve cleanup through the RepoDiet workspace. An autonomous buyer can request repository analysis, negotiate exact scope, fund the task, verify the Green PR, and accept delivery.
A2MCP
Read-only paid analysis and verification calls
A2A
Negotiated cleanup delivery
Marketplace status
- OKX listingUnder review
- A2ARegistered
- A2MCPProduction-ready
- Recommendation eligibilityPending marketplace approval
RepoDiet is not presented as publicly listed on OKX until listing approval is confirmed.
View OKX integrationSee what your repository can safely lose.
Scan a public JavaScript or TypeScript repository. Review the evidence before RepoDiet proposes any change.
