erne PR审查
- 作者仓库星标 36
- 许可证 MIT
- 作者仓库 everything-react-native-expo
/erne-worker — Autonomous Ticket Execution
Usage
erne worker --config <path-to-worker.json>
Options
| Flag | Description |
|---|---|
--config <path> |
Path to worker configuration JSON (required) |
--dry-run |
Fetch tickets and print them without executing |
--once |
Process one ticket and exit |
Pipeline Steps
- Poll — Fetch ready tickets from the configured provider
- Validate — Check ticket has enough detail (title, description, acceptance criteria)
- Confidence Score — Estimate likelihood of autonomous success (0-100)
- Context Resolve — Load project stack, audit data, and relevant files
- Plan — Generate implementation plan from ticket + context
- Execute — Run Claude Code in an isolated git worktree
- Test — Run test suite, verify no regressions
- Self-Review — Automated code review against ERNE standards
- Health Delta — Compare audit score before/after
- PR — Create pull request with full summary and link to ticket
Supported Providers
- clickup — ClickUp tasks (API token + list ID)
- github — GitHub Issues (repo + labels)
- linear — Linear issues (API key + team)
- jira — Jira issues (API token + project)
- local — JSON file with ticket definitions (for testing)
Configuration Reference
See worker.example.json at the project root for a full example. Key sections:
provider— Type, credentials, poll interval, filtersrepo— Local path, base branch, remoteerne— Hook profile, quality gates, confidence thresholdlog— File path and log level
Examples
# Dry run to see available tickets
erne worker --config worker.json --dry-run
# Process one ticket and stop
erne worker --config worker.json --once
# Continuous polling mode
erne worker --config worker.json- 流狐分类
- 工程开发
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 94 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @JubaKitiashvili · MIT
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 需简单配置
- 是否需要外部 API Key
- 需要 · Vendor-specific
- 检测到的系统要求
- 未声明
- 底层运行要求
- 未声明
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- Shell 执行
- 检测到的网络行为
- 允许外网请求
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 Usage
Flag · Description --config <path> · Path to worker configuration JSON (required) --dry-run · Fetch tickets and print them without executing
Poll — Fetch ready tickets from the configured provider Validate — Check ticket has enough detail (title, description, acceptance criteria) Confidence Score — Estimate likelihood of autonomous success (0-100)
clickup — ClickUp tasks (API token + list ID) github — GitHub Issues (repo + labels) linear — Linear issues (API key + team)
See worker.example.json at the project root for a full example. Key sections: provider — Type, credentials, poll interval, filters repo — Local path, base branch, remote
Examples
# /erne-worker — Autonomous Ticket Execution
## Usage
```bash
erne worker --config <path-to-worker.json>
```
## Options
| Flag | Description |
|------|-------------|
| `--config <path>` | Path to worker configuration JSON (required) |
| `--dry-run` | Fetch tickets and print them without executing |
| `--once` | Process one ticket and exit |
## Pipeline Steps
1. **Poll** — Fetch ready tickets from the configured provider
2. **Validate** — Check ticket has enough detail (title, description, acceptance criteria)
3. **Confidence Score** — Estimate likelihood of autonomous success (0-100)
4. **Context Resolve** — Load project stack, audit data, and relevant files
5. **Plan** — Generate implementation plan from ticket + context
6. **Execute** — Run Claude Code in an isolated git worktree
7. **Test** — Run test suite, verify no regressions
8. **Self-Review** — Automated code review against ERNE standards
9. **Health Delta** — Compare audit score before/after
10. **PR** — Create pull request with full summary and link to ticket
## Supported Providers
- **clickup** — ClickUp tasks (API token + list ID)
- **github** — GitHub Issues (repo + labels)
- **linear** — Linear issues (API key + team)
- **jira** — Jira issues (API token + project)
- **local** — JSON file with ticket definitions (for testing)
## Configuration Reference
See `worker.example.json` at the project root for a full example. Key sections:
- `provider` — Type, credentials, poll interval, filters
- `repo` — Local path, base branch, remote
- `erne` — Hook profile, quality gates, confidence threshold
- `log` — File path and log level
## Examples
```bash
# Dry run to see available tickets
erne worker --config worker.json --dry-run
# Process one ticket and stop
erne worker --config worker.json --once
… 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> Usage → Options → Pipeline Steps → Supported Providers → Configuration Reference → Examples
要点 -> Poll · Validate · Confidence Score · Context Resolve · Plan · Execute · Test · Self-Review
文件/命令 -> --config <path> · --dry-run · --once · worker.example.json · provider · repo · erne · log
内容 SHA-256 -> 8ff2e25b2d88
方法与流程
适用与边界
原文中的明确线索
--config <path>、--dry-run、--once、worker.example.json、provider、repo、erne、log