Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,6 @@
"name": "unohee"
},
"plugins": [
{
"name": "goal-mode",
"description": "Claude가 스스로 세션 goal을 걸어 Claude Code의 /goal에 넘기고, 큐에 쌓인 goal을 무인 loop로 돌리며 자체 evaluator가 그 goal만 판정한다.",
"author": {
"name": "unohee"
},
"source": "./goal-mode",
"category": "development"
},
{
"name": "harness",
"description": "Integrated harness: enforces the user's Claude rules at the tool call (git/worktree/delete/venv/port/Linear/memory guards, merge-and-release gate, report lint), plus session tooling and workflow automation.",
Expand All @@ -35,7 +26,7 @@
},
{
"name": "auto-claude",
"description": "Unattended run of a repository: Claude plans the long-term end state and milestones, goal-mode's loop builds each, auto-claude pushes, opens PRs and merges when CI is green, then replans until the final check passes.",
"description": "Unattended run of a repository, to the end state live: Claude plans the long-term goal, milestones and deploy; the built-in loop builds each in a worktree and judges it; auto-claude pushes, opens PRs, merges when CI is green, deploys and smoke-checks, and a watchdog repairs or routes around stalls until the final check passes.",
"author": {
"name": "unohee"
},
Expand Down
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,18 @@ Claude Code mods (plugins with a hooks module), served as a local folder marketp

| mod | version | what it does |
| --- | --- | --- |
| [goal-mode](goal-mode/) | 0.7.0 | Session goals, handed to Claude Code's own `/goal`: set by you (`/goal-mode set <condition> [--check <cmd>]`) or by Claude itself (nudged on outcome requests and approved plans); its own evaluator judges only the loop's queued goals |
| [harness](harness/) | 0.3.2 | The integrated harness: the user's Claude rules enforced at the tool call, session tooling and workflow automation (formerly house-rules) |
| [auto-claude](auto-claude/) | 0.4.1 | Unattended run of a repository on top of goal-mode's loop: plans the long-term goal and milestones, ships each (push, PR, CI, merge when green, then deploy where `.claude/auto-deploy.json` opts in), replans until the final check passes |
| [harness](harness/) | 0.3.4 | The integrated harness: the user's Claude rules enforced at the tool call, session tooling and workflow automation (formerly house-rules) |
| [auto-claude](auto-claude/) | 1.0.0 | Unattended run of a repository through to live: plans the long-term goal, milestones and deploy; its own loop builds and judges each milestone in a worktree; ships each (push, PR, required CI, merge), deploys and smoke-checks it; a watchdog repairs or routes around stalls; replans until the final check passes. Absorbed goal-mode in 1.0.0 |
| [model-tier](model-tier/) | 0.11.0 | Routes each main-loop turn to fable, opus, sonnet or haiku and a reasoning effort by task complexity, with a `set_tier` tool the model calls to correct either |
| [refactor](refactor/) | 0.1.3 | Enforces the architecture a repo declares in `.claude/architecture.json` at Edit/Write (layer direction, forbidden imports), notes code smells with the refactoring.guru technique to apply, `/arch audit` for violations and import cycles |

## Install

```sh
claude plugin marketplace add Intrect-io/claude-mod
claude plugin install goal-mode@claude-mod
claude plugin install harness@claude-mod
claude plugin install model-tier@claude-mod
claude plugin install auto-claude@claude-mod # needs goal-mode
claude plugin install auto-claude@claude-mod
claude plugin install refactor@claude-mod
```

Expand All @@ -30,7 +28,7 @@ claude plugin validate <mod>
claude plugin test <mod>
```

Files that several mods share live in `shared/`. A mod imports nothing outside its folder, so `bun scripts/sync-shared.ts` writes each mod's copy, and CI fails when a copy differs from `shared/`. Edit the file in `shared/`, never a copy. `shared/loop-protocol.jsonl` records the protocol between goal-mode's loop and auto-claude, gate values and log lines included. goal-mode's tests check that the loop writes it, and auto-claude's tests replay it, so a change on either side fails a test on the other.
Files that several mods share live in `shared/`. A mod imports nothing outside its folder, so `bun scripts/sync-shared.ts` writes each mod's copy, and CI fails when a copy differs from `shared/`. Edit the file in `shared/`, never a copy. (goal-mode, whose loop auto-claude drove through a file protocol kept in `shared/loop-protocol.jsonl`, merged into auto-claude in 1.0.0; the loop and its driver now call each other directly.)

`scripts/ci.sh` runs the whole gate that `.github/workflows/ci.yml` runs on every pull request and on main. It validates the marketplace and every mod, runs every mod's tests, and typechecks and tests fleet-hub. `claude plugin test` exits 0 even when a test fails, so the script reads the pass and fail counts instead.

Expand Down
33 changes: 26 additions & 7 deletions auto-claude/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,42 @@
{
"name": "auto-claude",
"version": "0.4.1",
"description": "Finishes a repository's work unattended: Claude plans the long-term end state and its milestones, goal-mode's loop builds each one in a worktree, and auto-claude ships it (push, PR, CI, merge when green), then replans until the final check passes.",
"version": "1.0.0",
"description": "Finishes a repository's work unattended and live: Claude plans the long-term end state, its milestones and how it deploys; the built-in loop builds each milestone in its own worktree and judges it; auto-claude ships it (push, PR, CI, merge when green), deploys and smoke-checks it, and a watchdog keeps the run moving until the final check passes. Absorbs goal-mode's loop (1.0.0).",
"author": {
"name": "unohee"
},
"license": "MIT",
"types": "./types/index.d.ts",
"dependencies": ["goal-mode"],
"userConfig": {
"ciMode": {
"type": "string",
"title": "CI mode",
"description": "github: push, open a PR, wait for its checks, squash-merge when green. local: run the milestone's check, rebase onto the default branch and push it there. auto: github when gh can see the origin repository",
"default": "auto"
},
"maxRounds": { "type": "number", "title": "Max planning rounds", "description": "Replans after the queue empties while the final check still fails", "default": 3 },
"maxMerges": { "type": "number", "title": "Max merges per run", "description": "Stops and reports after this many merges", "default": 20 },
"maxHours": { "type": "number", "title": "Max hours per run", "description": "Stops and reports after this many hours", "default": 24 },
"ciPollSec": { "type": "number", "title": "CI poll interval (s)", "description": "How often the driver looks at the loop's log and the open PR", "default": 30 }
"maxRounds": {
"type": "number",
"title": "Max planning rounds",
"description": "Replans after the queue empties while the final check still fails",
"default": 3
},
"maxMerges": {
"type": "number",
"title": "Max merges per run",
"description": "Stops and reports after this many merges",
"default": 20
},
"maxHours": {
"type": "number",
"title": "Max hours per run",
"description": "Stops and reports after this many hours",
"default": 24
},
"ciPollSec": {
"type": "number",
"title": "CI poll interval (s)",
"description": "How often the driver looks at the loop's log and the open PR",
"default": 30
}
}
}
Loading
Loading