@bluenyang/reins 0.2.0 → 0.3.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +50 -203
- package/cli/dist/commands/config-models.js +175 -126
- package/cli/dist/commands/config.js +96 -15
- package/cli/dist/commands/configure.js +165 -138
- package/cli/dist/commands/install.js +161 -217
- package/cli/dist/commands/migrate.js +23 -48
- package/cli/dist/commands/update.js +203 -30
- package/cli/dist/lib/agents-md.js +102 -0
- package/cli/dist/lib/bindings.js +227 -386
- package/cli/dist/lib/detect.js +7 -2
- package/cli/dist/lib/generate.js +56 -75
- package/cli/dist/lib/harness.js +0 -3
- package/cli/dist/lib/migrate-plan.js +3 -3
- package/cli/dist/lib/reader.js +20 -0
- package/cli/dist/lib/upstream.js +0 -17
- package/cli/dist/lib/vendor-write.js +9 -56
- package/cli/dist/reins.js +59 -270
- package/docs/README.ko.md +31 -204
- package/harness/CHANGELOG.md +7 -3
- package/harness/VERSION +1 -1
- package/harness/policy/common-red-lines.yaml +4 -4
- package/harness/roles/advisor.md +10 -14
- package/harness/roles/auditor.md +17 -0
- package/harness/roles/executor.md +32 -0
- package/harness/roles/implementer.md +23 -21
- package/harness/roles/pl.md +44 -21
- package/harness/roles/planner.md +17 -19
- package/harness/roles/pm.md +16 -21
- package/harness/schemas/bindings.schema.json +55 -0
- package/harness/schemas/install.schema.json +1 -2
- package/harness/schemas/intent.schema.json +1 -13
- package/harness/templates/agents-md-blocks.md +52 -17
- package/harness/templates/audit.md +25 -0
- package/harness/templates/history.md +14 -0
- package/harness/templates/intent.md +5 -0
- package/harness/templates/spec.md +4 -2
- package/package.json +1 -2
- package/skills/audit/SKILL.md +28 -0
- package/skills/implement/SKILL.md +30 -0
- package/skills/intent/SKILL.md +28 -0
- package/skills/merge/SKILL.md +26 -0
- package/skills/onboard/SKILL.md +29 -0
- package/skills/reins-setup/SKILL.md +16 -25
- package/skills/release/SKILL.md +26 -0
- package/skills/retro/SKILL.md +30 -0
- package/skills/review/SKILL.md +27 -0
- package/skills/roadmap/SKILL.md +29 -0
- package/skills/spec/SKILL.md +27 -0
- package/skills/test/SKILL.md +26 -0
- package/cli/dist/commands/check.js +0 -379
- package/cli/dist/commands/gate.js +0 -136
- package/cli/dist/commands/knowledge.js +0 -111
- package/cli/dist/commands/metrics.js +0 -138
- package/cli/dist/commands/new.js +0 -190
- package/cli/dist/commands/retro.js +0 -7
- package/cli/dist/commands/stages.js +0 -562
- package/cli/dist/commands/status.js +0 -281
- package/cli/dist/lib/enforcement.js +0 -125
- package/cli/dist/lib/memory.js +0 -96
- package/cli/dist/lib/metrics.js +0 -223
- package/cli/dist/lib/retro.js +0 -179
- package/cli/dist/lib/verdict.js +0 -15
- package/cli/dist/lib/work.js +0 -106
- package/cli/dist/scripts/enforcement.js +0 -24
- package/harness/policy/budget.yaml +0 -13
- package/harness/policy/enforcement.yaml +0 -98
- package/harness/policy/stops.yaml +0 -29
- package/harness/policy/transitions.yaml +0 -13
- package/harness/roles/code-review.md +0 -27
- package/harness/roles/deploy.md +0 -50
- package/harness/roles/docs.md +0 -19
- package/harness/roles/lookup.md +0 -22
- package/harness/roles/qa-design.md +0 -22
- package/harness/roles/qa-run.md +0 -19
- package/harness/roles/verify-tool.md +0 -21
- package/harness/schemas/bindings-local.schema.json +0 -21
- package/harness/schemas/bus-request.schema.json +0 -17
- package/harness/schemas/bus-response.schema.json +0 -14
- package/harness/schemas/enforcement.schema.json +0 -22
- package/harness/schemas/plan.schema.json +0 -10
- package/harness/schemas/ticket.schema.json +0 -15
- package/harness/templates/bus/request.yaml +0 -20
- package/harness/templates/bus/response.yaml +0 -10
- package/harness/templates/plan.md +0 -23
- package/harness/templates/ticket.md +0 -29
- package/skills/reins-implement/SKILL.md +0 -20
- package/skills/reins-intent/SKILL.md +0 -26
- package/skills/reins-loop/SKILL.md +0 -26
- package/skills/reins-loop/references/vendor-cli.md +0 -41
- package/skills/reins-release/SKILL.md +0 -18
- package/skills/reins-retro/SKILL.md +0 -20
- package/skills/reins-review/SKILL.md +0 -23
- package/skills/reins-roadmap/SKILL.md +0 -17
- package/skills/reins-spec/SKILL.md +0 -22
- package/skills/reins-test/SKILL.md +0 -18
package/README.md
CHANGED
|
@@ -2,164 +2,54 @@
|
|
|
2
2
|
|
|
3
3
|
[한국어](docs/README.ko.md)
|
|
4
4
|
|
|
5
|
-
reins
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
reins manages an agent harness for a repository: it installs, migrates, updates and configures the
|
|
6
|
+
files that tell coding agents how to work there — `AGENTS.md`, roles, stage skills and the model
|
|
7
|
+
assignment. That is all it does. Nothing reins installs runs reins while the project works: the
|
|
8
|
+
project's own hook tool runs the project's own checks, and an audit at the end of every version
|
|
9
|
+
judges whether the flow was followed.
|
|
9
10
|
|
|
10
11
|
It exists because twelve repositories of BlueNyang and Team Croffle share one harness lineage and
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
its problems: agents stepping outside the request, one session that implements and also judges,
|
|
13
|
+
knowledge lost in gitignored space, copies that drift apart. The full list is in
|
|
14
|
+
[docs/proposal.md](docs/proposal.md).
|
|
14
15
|
|
|
15
16
|
## Status
|
|
16
17
|
|
|
17
|
-
|
|
18
|
-
tier, with generated vendor files verified for Claude Code only; the loop and harness tiers are
|
|
19
|
-
carved out of it in 0.2. 0.1.3 split the loop into stage skills with a PR → CI → rc release flow,
|
|
20
|
-
0.1.4 prepares large repositories (release settings, monorepo gates, migrate fixes), and 0.1.5
|
|
21
|
-
states which rules are enforced and which are only advised, splits model bindings into a team
|
|
22
|
-
and a per-user layer, and runs CI on Ubuntu, Windows and macOS with Node 22 and 24. 0.2.0 (in rc) adds `reins config`,
|
|
23
|
-
a terminal screen for models and roles, and asks install and update questions as screens. What
|
|
24
|
-
changed in each version is in [CHANGELOG.md](CHANGELOG.md); what comes next is in the roadmap.
|
|
25
|
-
|
|
26
|
-
reins develops itself through its own loop: intents 001 (`reins status`), 002 (`reins metrics`) and
|
|
27
|
-
003 (violation scenarios) each went intent → spec → plan → tickets, with the checks at T1 to T5
|
|
28
|
-
passing and Codex doing the code review. Roles bound to other vendors ran through their CLIs
|
|
29
|
-
(`codex exec`, `agy -p`): the lead agent called them following the `reins-loop` skill. The CLI does
|
|
30
|
-
not dispatch to vendors by itself yet.
|
|
31
|
-
|
|
32
|
-
## The ladder
|
|
33
|
-
|
|
34
|
-
There are three tiers. Each one contains the one below it, and the tiers share one source.
|
|
35
|
-
|
|
36
|
-
| Tier | What it has |
|
|
37
|
-
|---|---|
|
|
38
|
-
| harness | the verifier at commit and push (T2, T4, T6), red lines, generated permissions |
|
|
39
|
-
| loop | the plan → work → test → release cycle with fewer roles; same transition points and stop conditions |
|
|
40
|
-
| graph | all twelve roles, schema-checked handoff files and per-role model bindings |
|
|
41
|
-
|
|
42
|
-
`reins install <tier>` takes any of the three. Round one targets the graph tier; the plan is to
|
|
43
|
-
carve the loop and harness tiers out of it in 0.2, using measured cost as input.
|
|
18
|
+
**0.3.0-rc.1 is the release candidate** (intent 019): `npx @bluenyang/reins@0.3.0-rc.1`. 0.2.0, the latest stable, still installs the older design, in which skills and hooks called `npx @bluenyang/reins` during work; 0.3 removes that, and `reins update` moves a 0.1.x or 0.2.0 install over. What changed in each version is in [CHANGELOG.md](CHANGELOG.md); what comes next is in the [roadmap](docs/ROADMAP.md).
|
|
44
19
|
|
|
45
20
|
## How it works
|
|
46
21
|
|
|
47
|
-
**
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
**
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
| CONTINUE | 0 | go on |
|
|
66
|
-
| HOLD | 10 | the user must answer |
|
|
67
|
-
| STOP | 20 | fixable without a person; the stop records where, why (an id from A1 to G2) and how to resume |
|
|
68
|
-
| ESCALATE | 30 | the failure chain: pl → pm → advisor → user |
|
|
69
|
-
|
|
70
|
-
The 24 stop conditions A1–G2 cover irreversible actions, open decisions, collapsed premises,
|
|
71
|
-
repeated failure, cost, rule violations and user interruption.
|
|
72
|
-
|
|
73
|
-
**The chain and the two human decisions.** Work moves through four files:
|
|
74
|
-
`intent.md` → `spec.md` → `plan.md` → tickets. A person decides at two points: the user approves
|
|
75
|
-
the intent, and the user may veto the three-to-five-line summary of the spec. Everything else is
|
|
76
|
-
reviewed by roles. Verification output is pasted as produced; a bare "passed" is not a pass.
|
|
77
|
-
|
|
78
|
-
**Layout.**
|
|
79
|
-
|
|
80
|
-
| Path | Committed | Holds |
|
|
81
|
-
|---|---|---|
|
|
82
|
-
| `AGENTS.md` | yes | managed blocks written by the tool, project sections written by you |
|
|
83
|
-
| `.agents/` | yes | `intent/`, `knowledge/`, `harness/` (roles, policy, schemas, templates, `bindings.yaml`, `gates.yaml`), `skills/` |
|
|
84
|
-
| `.claude/` | yes | generated from `.agents/`; do not edit |
|
|
85
|
-
| `.loctx/` | no (gitignored) | tickets, reports, handoff `bus/`, `history/`, local roadmap |
|
|
86
|
-
|
|
87
|
-
## Enforced versus advised
|
|
88
|
-
|
|
89
|
-
Not every rule is enforced. Each one is held in one of three ways, and `harness/policy/enforcement.yaml` says which, one line per rule.
|
|
90
|
-
|
|
91
|
-
- **blocked**: a script, hook or permission deny stops the action before it happens.
|
|
92
|
-
- **checked**: a transition check, the drift check or CI catches it afterwards.
|
|
93
|
-
- **advised**: it is written in a role or skill only; nothing in code catches it.
|
|
94
|
-
|
|
95
|
-
The grade is the strongest part that really holds, and the `gap` column says what is left open. Hooks apply only when they are installed, and deny rules and agent tool limits exist for Claude Code only. Rule ids are in [docs/design.md](docs/design.md) sections 2 and 3, and the evidence is in [docs/violations.md](docs/violations.md). The advised rules are the input for [0.2](docs/ROADMAP.md).
|
|
96
|
-
|
|
97
|
-
<!-- enforcement:begin -->
|
|
98
|
-
| id | held | by | gap |
|
|
99
|
-
|---|---|---|---|
|
|
100
|
-
| C1 | advised | `role` | judged by reviewers only; nothing detects a hard-coded pass |
|
|
101
|
-
| C2 | blocked | `hook:pre-commit`, `check:drift` | only when the hook is installed; the edit itself is not prevented |
|
|
102
|
-
| C3 | blocked | `hook:pre-commit`, `check:drift` | only when the hook is installed; no deny rule covers .claude/settings.json itself |
|
|
103
|
-
| C4 | blocked | `deny`, `hook:pre-commit` | Claude Code only; .env.* is a finite list, so names such as .env.custom have no deny rule; the hook sees staged paths, not reads |
|
|
104
|
-
| C5 | blocked | `deny`, `gate`, `check:verdict` | combined or later-position forms such as git commit -nm are not denied |
|
|
105
|
-
| C6 | advised | `role` | pre-push holds pushes to the default branch (A4) and the deny rules stop force and --no-verify pushes; any other push, PR, merge, release or tag is not blocked |
|
|
106
|
-
| C7 | advised | `role` | — |
|
|
107
|
-
| C8 | advised | `role` | — |
|
|
108
|
-
| C9 | advised | `role` | — |
|
|
109
|
-
| C10 | advised | `role` | T2 lists it but the pre-commit check does not compare the diff with plan.md |
|
|
110
|
-
| A1 | blocked | `deny`, `hook:pre-push` | moving a published tag forward to a descendant passes the ancestry test |
|
|
111
|
-
| A2 | advised | `role` | — |
|
|
112
|
-
| A3 | advised | `role` | — |
|
|
113
|
-
| A4 | blocked | `hook:pre-push` | only a push to the default branch is held; other ways of leaving the machine are not detected |
|
|
114
|
-
| B1 | checked | `check:ticket-start` | — |
|
|
115
|
-
| B2 | advised | `role` | — |
|
|
116
|
-
| B3 | advised | `role`, `check:ticket-start` | the scope conflict is a role's judgement; ticket-start checks only the approval chain |
|
|
117
|
-
| B4 | advised | `role` | — |
|
|
118
|
-
| B5 | advised | `role` | — |
|
|
119
|
-
| P1 | advised | `role` | — |
|
|
120
|
-
| P2 | checked | `check:ticket-start`, `check:rc-close` | only ticket-in-plan; a diff is not compared with plan.md |
|
|
121
|
-
| D1 | checked | `check:verdict` | does not tell a ticket before rc.1 from an rc after |
|
|
122
|
-
| D2 | advised | `role` | no memory across runs |
|
|
123
|
-
| D3 | advised | `role` | no alone-versus-full-run comparison |
|
|
124
|
-
| D4 | blocked | `gate`, `check:verdict` | an empty gate output is only a WARN |
|
|
125
|
-
| D5 | checked | `check:verdict` | — |
|
|
126
|
-
| E1 | advised | `role` | nothing reads a budget or a token count |
|
|
127
|
-
| E2 | advised | `role` | nothing reads a budget or a token count |
|
|
128
|
-
| E3 | advised | `role` | T5 lists it but nothing reads a budget or a token count |
|
|
129
|
-
| F1 | advised | `role` | the deny rules stop some attempts in Claude Code, but no stop is recorded |
|
|
130
|
-
| F2 | blocked | `hook:pre-commit`, `check:drift`, `check:ticket-start`, `check:rc-close` | — |
|
|
131
|
-
| F3 | advised | `role` | — |
|
|
132
|
-
| G1 | advised | `role` | no signal handler and no resume record on an interrupt |
|
|
133
|
-
| G2 | advised | `role` | — |
|
|
134
|
-
| T1 | checked | `check:ticket-start` | budget-left is not implemented |
|
|
135
|
-
| T2 | blocked | `hook:pre-commit` | only when the hook is installed; the P2 and C10 diff checks do not exist |
|
|
136
|
-
| T3 | checked | `check:verdict` | — |
|
|
137
|
-
| T4 | blocked | `hook:pre-push` | implements A1 and the default-branch push (A4); A2, A3, C6 and the loop-step check do not exist |
|
|
138
|
-
| T5 | checked | `check:rc-close` | E3 is not implemented |
|
|
139
|
-
| T6 | advised | `role` | no code runs on an interrupt or a violation signal |
|
|
140
|
-
|
|
141
|
-
| role | blocked | checked | advised | blocked items |
|
|
142
|
-
|---|---|---|---|---|
|
|
143
|
-
| advisor | 0 | 0 | 2 | — |
|
|
144
|
-
| code-review | 1 | 0 | 2 | edit code |
|
|
145
|
-
| deploy | 1 | 0 | 2 | force-push, delete or move tags, rewrite main |
|
|
146
|
-
| docs | 0 | 0 | 3 | — |
|
|
147
|
-
| implementer | 0 | 0 | 5 | — |
|
|
148
|
-
| lookup | 3 | 0 | 0 | write any file; produce reports or context files; run gates or tests |
|
|
149
|
-
| planner | 0 | 0 | 3 | — |
|
|
150
|
-
| pl | 0 | 0 | 3 | — |
|
|
151
|
-
| pm | 0 | 1 | 2 | — |
|
|
152
|
-
| qa-design | 0 | 0 | 3 | — |
|
|
153
|
-
| qa-run | 0 | 0 | 2 | — |
|
|
154
|
-
| verify-tool | 0 | 2 | 1 | — |
|
|
155
|
-
| budget scopes | 0 | 0 | 6 | — |
|
|
156
|
-
<!-- enforcement:end -->
|
|
157
|
-
|
|
158
|
-
The tables are rendered by `pnpm docs:enforcement` and a test keeps them equal to the YAML.
|
|
22
|
+
- **Single agent by default.** One agent, the PM, carries out every stage. It may use subagents of its own
|
|
23
|
+
model for read-heavy work (research, review, audit) and urgent parallel work. Multi-agent work is switched
|
|
24
|
+
on by assigning models to role groups — PM, PL, Planner, Implementer, Executor, Advisor, Auditor; a group
|
|
25
|
+
without a model is done by the PM. The basis is Anthropic's
|
|
26
|
+
[Building agents: When to fold subagents into your main agent loop](https://claude.com/resources/articles/building-agents-when-to-fold-subagents-into-your-main-agent-loop) (2026-10-22).
|
|
27
|
+
- **A flow written down, not enforced at run time.** `docs/ROADMAP.md` → intent → spec → implement →
|
|
28
|
+
review → test → merge → audit → release → retro. Each stage is a skill in `.agents/skills/`; `AGENTS.md`
|
|
29
|
+
holds the order and the rules for stopping and asking.
|
|
30
|
+
- **The user approves.** The intent and every spec summary wait for the user; the PM records approvals by
|
|
31
|
+
quoting the user. A step the user tells the agent to skip is recorded once.
|
|
32
|
+
- **An audit for every version.** After the merge and before the rc, an audit reads the records (intent, spec,
|
|
33
|
+
git history, logs) and judges each stage; it is mandatory unless the user switches it off. Its record is
|
|
34
|
+
committed to `.agents/audit/`.
|
|
35
|
+
- **Onboarding.** After installation, the first conversation reads the project, asks the user, and writes the
|
|
36
|
+
project sections of `AGENTS.md`.
|
|
37
|
+
- **Every file has a lifetime.** Working files are summarised and deleted after the retro.
|
|
38
|
+
|
|
39
|
+
The design is in [docs/design.md](docs/design.md).
|
|
159
40
|
|
|
160
41
|
## Quick start
|
|
161
42
|
|
|
162
|
-
|
|
43
|
+
Run it from the root of the repository you want to set up (Node 22 or later):
|
|
44
|
+
|
|
45
|
+
```sh
|
|
46
|
+
npx @bluenyang/reins install --dry-run # show what would be written
|
|
47
|
+
npx @bluenyang/reins install # ask, then place the harness
|
|
48
|
+
npx @bluenyang/reins config # models and roles, agent tools, mode, audit
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Then open your agent in the repository: the onboarding note in `AGENTS.md` starts the first conversation.
|
|
52
|
+
In Claude Code the plugin shows the same commands:
|
|
163
53
|
|
|
164
54
|
```
|
|
165
55
|
/plugin marketplace add bluenyang/reins
|
|
@@ -167,73 +57,30 @@ In Claude Code, install the plugin and let it set the repository up:
|
|
|
167
57
|
/reins:reins-setup
|
|
168
58
|
```
|
|
169
59
|
|
|
170
|
-
For Codex, Antigravity, Cursor or a plain terminal, use the CLI. It requires Node 22 or later. Run it from the root of the repository you want to set up; the repository
|
|
171
|
-
needs at least one commit (`check` fails on an empty history in 0.1.0):
|
|
172
|
-
|
|
173
|
-
```sh
|
|
174
|
-
npx @bluenyang/reins install graph --dry-run # show what would be written
|
|
175
|
-
npx @bluenyang/reins install graph --mode auto # place files, detect CLIs, take defaults
|
|
176
|
-
npx @bluenyang/reins check --drift # prints "drift: ok" when sources and output match
|
|
177
|
-
npx @bluenyang/reins status # intents, tickets, bus, last history entry
|
|
178
|
-
```
|
|
179
|
-
|
|
180
|
-
`install` refuses over a 3rd or 4th generation harness and points to `migrate`. Hooks are proposed
|
|
181
|
-
in the install notes and added only with `--hooks`.
|
|
182
|
-
|
|
183
|
-
After the install, work goes through the agent: in Claude Code run `/reins-setup` once, then
|
|
184
|
-
`/reins-intent` for each new request; Codex, Antigravity and Cursor read the same skills from
|
|
185
|
-
`.agents/skills/`. The skills call the CLI themselves.
|
|
186
|
-
|
|
187
60
|
To work on reins itself: `git clone https://github.com/bluenyang/reins.git`, then `pnpm install`,
|
|
188
61
|
`pnpm build`, and run `node cli/dist/reins.js <command>` (see [CONTRIBUTING.md](CONTRIBUTING.md)).
|
|
189
62
|
|
|
190
63
|
## Commands
|
|
191
64
|
|
|
192
|
-
| Command |
|
|
193
|
-
|---|---|---|
|
|
194
|
-
| `install <harness\|loop\|graph>` | implemented | places the harness; on a terminal `--mode manual` asks vendors, language, gates and subdirectory gates as screens; `--mode manual\|auto`, `--hooks`, `--dry-run`, `--json` |
|
|
195
|
-
| `migrate <tier>` | implemented | moves an existing harness or `.ai/` workspace to this layout |
|
|
196
|
-
| `update` | implemented | re-applies the packaged harness without touching project sections; on a terminal it shows the plan and asks first (`--yes` skips the question) |
|
|
197
|
-
| `config` | implemented | settings screen on a terminal (`models and roles configuration`, `exit`); without a terminal it prints the resolved bindings table and how to change it; `--json` |
|
|
198
|
-
| `configure bindings` | implemented | `--set role=model ...` or `--vendors claude,openai`; `--disable <role...>` / `--enable <role...>` switch roles off or on (`--local` for you only; pm, implementer and verify-tool cannot be switched off); no options asks |
|
|
199
|
-
| `gate [names...]` | implemented | runs `gates.yaml` as declared and keeps the raw output in `.loctx/reports/` |
|
|
200
|
-
| `status` | implemented | read-only view of harness, intents, tickets, bus and last history |
|
|
201
|
-
| `check` | implemented | `--stage ticket-start\|pre-commit\|verdict\|pre-push\|rc-close`, or `--drift` |
|
|
202
|
-
| `metrics` | implemented | summary of `.loctx/reports/metrics.jsonl`: tokens by role, vendor, ticket and intent, knowledge stops per ticket; `metrics record` adds a role run's tokens |
|
|
203
|
-
| `recall` | not implemented | search past decisions by symptom |
|
|
204
|
-
| `doctor` | not implemented | — |
|
|
205
|
-
| `configure gates` | implemented | lists subdirectory gate proposals; `--add <name>...` appends them to gates.yaml |
|
|
206
|
-
| `configure budget\|language` | not implemented | — |
|
|
207
|
-
|
|
208
|
-
`install`, `migrate`, `update`, `gate`, `status`, `check` and `metrics` take `--json`. Every `check` and `gate` run also appends a line to `.loctx/reports/metrics.jsonl`. `check` stages map to
|
|
209
|
-
T1 (`ticket-start`), T2 (`pre-commit`), T3 (`verdict`), T4 (`pre-push`) and T5 (`rc-close`).
|
|
210
|
-
|
|
211
|
-
## Skills
|
|
212
|
-
|
|
213
|
-
Ten skills follow the `SKILL.md` standard: `reins-setup` bootstraps, `reins-loop` conducts, and eight stage skills each take one stage and can be called alone.
|
|
214
|
-
|
|
215
|
-
| Skill | Use when |
|
|
65
|
+
| Command | Does |
|
|
216
66
|
|---|---|
|
|
217
|
-
| `
|
|
218
|
-
| `
|
|
219
|
-
| `
|
|
220
|
-
| `
|
|
221
|
-
| `reins-implement` | a ticket is ready: implement it in committed units |
|
|
222
|
-
| `reins-review` | a ticket is finished: verify, review and close it |
|
|
223
|
-
| `reins-test` | all tickets of a version are done: scenarios and build |
|
|
224
|
-
| `reins-release` | a version is tested: PR, CI, merge and rc |
|
|
225
|
-
| `reins-retro` | a version is released: retrospective and knowledge proposals |
|
|
226
|
-
| `reins-loop` | a spec is accepted: calls the stage skills in order |
|
|
67
|
+
| `install` | places the harness, detects agent tools, confirms gates, proposes hooks that run the project's gate commands (`--hooks` adds them to husky), adds the onboarding note; `--mode manual\|auto`, `--dry-run`, `--json` |
|
|
68
|
+
| `migrate` | moves an older harness or an `.ai/` workspace onto this layout and keeps the previous `AGENTS.md` aside for the PM to reconcile; `--legacy local\|committed`, `--dry-run` |
|
|
69
|
+
| `update` | re-applies the packaged harness; asks before overwriting a generated file edited by hand (`--force`); moves a 0.1.x or 0.2.0 install to 0.3 and lists its old working files (`--yes` deletes them) |
|
|
70
|
+
| `config` | a screen on a terminal: models and roles, agent tools, mode (single or multi), audit; `config bindings` and `config gates` take flags (`configure` is an alias) |
|
|
227
71
|
|
|
228
|
-
##
|
|
72
|
+
## Skills
|
|
229
73
|
|
|
230
|
-
|
|
74
|
+
`onboard`, `roadmap`, `intent`, `spec`, `implement`, `review`, `test`, `merge`, `audit`, `release`, `retro` —
|
|
75
|
+
one per stage, plain text, the same in single and multi mode. Each names the files it creates and when they
|
|
76
|
+
are deleted, and the next skill.
|
|
231
77
|
|
|
232
78
|
## Documents
|
|
233
79
|
|
|
234
|
-
- [docs/proposal.md](docs/proposal.md): problems, goal, requirements
|
|
235
|
-
- [docs/design.md](docs/design.md): layout, roles,
|
|
236
|
-
-
|
|
80
|
+
- [docs/proposal.md](docs/proposal.md): problems, goal, requirements
|
|
81
|
+
- [docs/design.md](docs/design.md): layout, roles, flow, audit, file formats, CLI
|
|
82
|
+
- [docs/ROADMAP.md](docs/ROADMAP.md): versions
|
|
83
|
+
- Korean editions: [proposal.ko.md](docs/proposal.ko.md), [design.ko.md](docs/design.ko.md), [ROADMAP.ko.md](docs/ROADMAP.ko.md). Where an English and a Korean edition disagree, the Korean file wins.
|
|
237
84
|
|
|
238
85
|
## License
|
|
239
86
|
|