{"id":47793489,"url":"https://github.com/adametherzlab/ossfactory-scaler","last_synced_at":"2026-04-03T16:00:01.964Z","repository":{"id":342409663,"uuid":"1173868528","full_name":"AdametherzLab/OSSFactory-Scaler","owner":"AdametherzLab","description":"Autonomous AI agent team that scales, maintains, and improves OSS repos — 5 agents, 25 VDays/day, $5/day budget","archived":false,"fork":false,"pushed_at":"2026-03-05T22:20:51.000Z","size":40,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-03-06T00:43:43.240Z","etag":null,"topics":["ai-agents","automation","bun","devtools","openrouter","oss","typescript"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AdametherzLab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","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-03-05T20:49:03.000Z","updated_at":"2026-03-05T22:20:55.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/AdametherzLab/OSSFactory-Scaler","commit_stats":null,"previous_names":["adametherzlab/ossfactory-scaler"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/AdametherzLab/OSSFactory-Scaler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdametherzLab%2FOSSFactory-Scaler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdametherzLab%2FOSSFactory-Scaler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdametherzLab%2FOSSFactory-Scaler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdametherzLab%2FOSSFactory-Scaler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AdametherzLab","download_url":"https://codeload.github.com/AdametherzLab/OSSFactory-Scaler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdametherzLab%2FOSSFactory-Scaler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31362630,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T15:19:21.178Z","status":"ssl_error","status_checked_at":"2026-04-03T15:19:20.670Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ai-agents","automation","bun","devtools","openrouter","oss","typescript"],"created_at":"2026-04-03T16:00:01.171Z","updated_at":"2026-04-03T16:00:01.952Z","avatar_url":"https://github.com/AdametherzLab.png","language":"TypeScript","readme":"# OSSFactory-Scaler\n\nAutonomous AI agent team that scales, maintains, and improves open-source repositories. Runs 25 VDays/day on a $5/day OpenRouter budget with 5 specialized agents.\n\n## Agents\n\n| Agent | Role | Model Tier |\n|-------|------|------------|\n| **Scout** | Scans repos, audits quality, prioritizes work queue | micro |\n| **Builder** | Clones repo, generates upgrades, repair cascade, pushes releases | fast -\u003e standard -\u003e engineering |\n| **Demo** | Creates/updates SEO-optimized demo pages, deploys to VPS | fast |\n| **Maintainer** | Triages issues, labels, auto-responds, health scoring | micro |\n| **Critic** | Reviews Builder output, runs quality gates, daily observation | micro |\n\n## Install\n\n```bash\ngit clone https://github.com/AdametherzLab/OSSFactory-Scaler.git\ncd OSSFactory-Scaler\nbash scripts/setup.sh\n```\n\n## Configuration\n\nCopy `.env.example` to `.env` and fill in your keys:\n\n```bash\ncp .env.example .env\n```\n\nRequired:\n- `OPENROUTER_API_KEY` — Your OpenRouter API key\n- `GITHUB_ORG` — GitHub org/user to scan (default: AdametherzLab)\n\nOptional:\n- `OSS_BOT_TOKEN` / `TELEGRAM_USER_ID` — Telegram notifications\n- `VPS_HOST` / `VPS_USER` / `SSH_KEY_PATH` — Demo page deployment\n- `DAILY_BUDGET_USD` — Daily spending limit (default: $5)\n- `VDAYS_PER_DAY` — Virtual days per real day (default: 25)\n\n## Usage\n\n```bash\n# Run directly\nbun run src/index.ts\n\n# Run with PM2\nnpx pm2 start ecosystem.config.cjs\n\n# Run tests\nbun test\n```\n\n## How It Works\n\nEach VDay (~58 minutes), the agents run sequentially:\n\n1. **Scout** scans repos via `gh repo list`, audits quality, queues work items\n2. **Builder** picks top work item, clones repo, generates upgrade via AI cascade, runs quality gates\n3. **Critic** reviews recent work, writes 333-char observation\n4. **Demo** generates SEO demo pages for recently shipped repos, deploys via SCP\n5. **Maintainer** triages open issues, labels them, computes health scores\n\nEvery 5th VDay, a team meeting fires with a Slicing Pie leaderboard.\n\n## Slicing Pie Points\n\n| Action | Points |\n|--------|--------|\n| Ship a release | +10 |\n| Create demo page | +8 |\n| Fix/triage an issue | +5 |\n| Update demo page | +5 |\n| Quality improvement | +3 |\n| Successful review | +2 |\n| Failed ship | -3 |\n| Regression introduced | -5 |\n| Budget overrun | -2 |\n\n## Quality Gates\n\n1. **Compile** — `bun build` passes\n2. **Tests** — `bun test` with \u003e= 50% pass rate\n3. **README** — \u003e= 800 chars with install + usage sections\n4. **Security** — No eval(), hardcoded secrets, or IP addresses\n5. **Ship-ready** — Composite \u003e= 70/100\n\n## Model Tiers\n\n| Tier | Model | Cost (in/out per 1M) |\n|------|-------|---------------------|\n| micro | Gemini 2.5 Flash Lite | $0.075 / $0.30 |\n| fast | Gemini 2.5 Flash | $0.15 / $0.60 |\n| standard | Kimi K2.5 | $0.45 / $2.20 |\n| engineering | DeepSeek R1 | $0.55 / $2.19 |\n\n## Data Files\n\nAll persisted in `data/` (gitignored):\n\n- `scaler-state.json` — Work queue, audits, completed work\n- `token-usage.json` — Per-model spend log\n- `slicing-pie.json` — Agent reward history\n- `builds/` — Temporary clone directory\n\n## Requirements\n\n- [Bun](https://bun.sh) runtime\n- [GitHub CLI](https://cli.github.com) (`gh`) authenticated\n- [OpenRouter](https://openrouter.ai) API key\n\n## License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadametherzlab%2Fossfactory-scaler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadametherzlab%2Fossfactory-scaler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadametherzlab%2Fossfactory-scaler/lists"}