Show HN: Sustn – 리포지토리를 스캔하고 보안 문제 및 기술 부채에 대한 PR을 엽니다.
hackernews
|
|
🔬 연구
#ai
#claude
#pr자동화
#review
#기술부채
#보안
#코드베이스
원문 출처: hackernews · Genesis Park에서 요약 및 분석
요약
개발자는 Claude Code의 토큰 사용률을 높이기 위해 'Sustn'이라는 자동화 도구를 개발했습니다. 이 도구는 사용자가 자리에 없어도 저장소를 스캔하여 죽은 코드나 보안 이슈 등을 자동으로 찾아내고 수정한 뒤 PR을 생성하거나 승인을 기다립니다. 사용자는 작업 우선순위 재배치, 예약 실행, 토큰 예산 설정 등의 기능을 통해 AI의 작업을 세밀하게 제어할 수 있습니다. 현재 초기 단계로, 개발자는 커뮤니티의 피드백을 기다리고 있습니다.
본문
Your codebase improves itself. You just review the PR. Docs · Changelog · Download · Contributing Every AI coding tool waits for you to tell it what to do. sustn doesn't. It scans your repositories, builds a prioritized backlog of improvements, and works through them automatically using your leftover Claude Code or Codex subscription budget. Every change lands as a branch — nothing touches main without your approval. 1. Point it at your repos Add your repositories and sustn runs a deep scan using Claude Code or Codex. It finds dead code, missing tests, doc drift, security gaps, and tech debt — then ranks everything by impact. 2. Review, reorder, refine Your backlog appears as a task list you control. Drag to reprioritize. Click into any task to see what the agent found and why it matters. Add notes or constraints before work begins. 3. Work happens automatically sustn monitors your remaining subscription budget and picks up tasks when tokens are available. No prompts, no babysitting, no wasted tokens. 4. Approve and merge Every completed task lands as a branch. Review the diff, then create a PR with one click — or configure sustn to open PRs automatically. The fastest way to use sustn is to download the Mac app: Once installed, add a repository and sustn handles the rest. See the Getting Started guide for a full walkthrough. If you'd prefer to build locally: Prerequisites: Node.js >= 22, Rust (stable), pnpm git clone https://github.com/ghvstcode/sustn.git cd sustn pnpm install pnpm tauri:dev See CONTRIBUTING.md for the full development setup and commands. Nightly builds are published automatically from the latest main branch. They may include unreleased features or experimental changes. Note: Nightly builds are unsigned and may be less stable than tagged releases. macOS will prompt you to allow the app in System Settings → Privacy & Security on first launch. sustn scans for a wide range of codebase improvements: - Dead code — unused exports, unreachable branches, orphaned files - Missing tests — untested functions, edge cases, critical paths - Documentation drift — stale comments, outdated READMEs, missing JSDoc - Security gaps — hardcoded secrets, missing input validation, dependency vulnerabilities - Tech debt — duplicated logic, overly complex functions, inconsistent patterns - Performance — N+1 queries, unnecessary re-renders, unoptimized imports sustn is a native desktop app built with: | Layer | Tech | |---|---| | Desktop shell | Tauri v2 (Rust) | | Frontend | React 19, TypeScript, Tailwind CSS, shadcn/ui | | State | Zustand (client), TanStack Query (async) | | Database | SQLite via tauri-plugin-sql | | AI agents | Claude Code, Codex (via CLI) | The agent engine runs in Rust and manages scanning, task prioritization, budget tracking, git branch lifecycle, and the implement → review → retry loop. See the Architecture docs for details. We welcome contributions! See CONTRIBUTING.md for setup instructions and coding conventions. pnpm tauri:dev # Start dev environment pnpm validate # Lint + format check + typecheck pnpm test # Run tests Full documentation is available at sustn.app/docs covering: - Getting Started — installation, prerequisites, onboarding - Core Concepts — projects, tasks, the agent engine, budget - Scanning & Discovery — how scanning works, what gets detected - Task Management — lifecycle, properties, prioritization - Automated Execution — work phases, retry & error handling - Code Review & PRs — diff viewer, creating pull requests - Configuration — settings, scheduling, budget controls
Genesis Park 편집팀이 AI를 활용하여 작성한 분석입니다. 원문은 출처 링크를 통해 확인할 수 있습니다.
공유