yolont 0.7.0 → 0.7.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 +62 -0
- package/docs/GUIDE.md +19 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,6 +4,10 @@
|
|
|
4
4
|
rules, looks harder where mistakes hurt, scores every MR/PR 0–100, and learns when you tell it
|
|
5
5
|
it's wrong.
|
|
6
6
|
|
|
7
|
+
✨ **New: Yolont inside your coding agent.** Claude Code, Cursor, VS Code or Codex learns your
|
|
8
|
+
team's rules and *your* past review mistakes **before** you open the PR.
|
|
9
|
+
[See it ↓](#6-new-before-the-pr-inside-your-coding-agent)
|
|
10
|
+
|
|
7
11
|
🌐 **[srcgrp.dev/yolont](https://srcgrp.dev/yolont)** · 📖 [Guide](docs/GUIDE.md) · 📦 [npm](https://www.npmjs.com/package/yolont)
|
|
8
12
|
|
|
9
13
|
```bash
|
|
@@ -22,6 +26,27 @@ You need Node 22.13+. No [gitleaks](https://github.com/gitleaks/gitleaks)? The w
|
|
|
22
26
|
download the official build (checksum-verified). No config files to write: the wizard asks for
|
|
23
27
|
what it needs.
|
|
24
28
|
|
|
29
|
+
### TL;DR: let your AI agent set it up
|
|
30
|
+
|
|
31
|
+
No time for docs? Paste this into Claude Code, Cursor, Codex or any coding agent, inside your
|
|
32
|
+
project:
|
|
33
|
+
|
|
34
|
+
```text
|
|
35
|
+
Read Yolont's docs:
|
|
36
|
+
https://raw.githubusercontent.com/srcgrp/yolont/main/README.md
|
|
37
|
+
https://raw.githubusercontent.com/srcgrp/yolont/main/docs/GUIDE.md
|
|
38
|
+
|
|
39
|
+
Then, for the project in this directory:
|
|
40
|
+
1. In a few lines: what Yolont does, and whether it's useful here (git host, team size,
|
|
41
|
+
stack, existing CI/review tools). Be honest if it isn't worth it.
|
|
42
|
+
2. If it is: check what's missing (Node 22.13+, gitleaks) and list the exact steps.
|
|
43
|
+
Ask me before installing anything.
|
|
44
|
+
3. Setup needs my tokens and API keys. Don't ask me to paste them here: tell me to run
|
|
45
|
+
`npx yolont` in my own terminal, and what to pick in each wizard step.
|
|
46
|
+
4. Explain daily use: reviewing a PR, the panel, CI, and connecting you to `yolont mcp`
|
|
47
|
+
(the wizard's "Connect your coding agent" item) so you can run /yolont-check before I open a PR.
|
|
48
|
+
```
|
|
49
|
+
|
|
25
50
|
*(YOLO + n't = **yolont**: you only live once, so don't merge like it.
|
|
26
51
|
[The long story](docs/GUIDE.md#0-why-yolont).)*
|
|
27
52
|
|
|
@@ -139,6 +164,41 @@ yolont panel # → http://127.0.0.1:4173/?token=… (local only, new token
|
|
|
139
164
|
All your reviews, per-author trends, memory, findings, a conventions editor, and weight sliders
|
|
140
165
|
that replay your last 20 reviews with the new weights before you save.
|
|
141
166
|
|
|
167
|
+
### 6. New: before the PR, inside your coding agent
|
|
168
|
+
|
|
169
|
+
The review catches mistakes after you push. **`yolont mcp`** stops them while you code: an MCP
|
|
170
|
+
server that hands your coding agent the same playbook the reviewer uses.
|
|
171
|
+
|
|
172
|
+
```
|
|
173
|
+
> /yolont-check
|
|
174
|
+
|
|
175
|
+
● yolont_check_my_changes (fix/retry vs origin/main)
|
|
176
|
+
|
|
177
|
+
## Secrets: ✓ none found
|
|
178
|
+
## Size: ✓ 84 changed lines (guideline: 400)
|
|
179
|
+
## Change type: Bug fix (branch fix/…)
|
|
180
|
+
A bug fix needs a regression test that fails without it.
|
|
181
|
+
## Zones you touched
|
|
182
|
+
[red] payments: charges cards
|
|
183
|
+
watch for: retries of non-idempotent calls
|
|
184
|
+
## Your past review lessons (you)
|
|
185
|
+
- You've retried POSTs without an idempotency key twice before.
|
|
186
|
+
|
|
187
|
+
● Found 2 issues: no regression test, POST retried without Idempotency-Key. Fixing…
|
|
188
|
+
● yolont_check_my_changes → all clear ✓
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
- **Team conventions + risky zones** while you write (`yolont_guidelines`), and a **pre-PR
|
|
192
|
+
checklist** of your branch (`yolont_check_my_changes`): committed, staged and unstaged work.
|
|
193
|
+
- **Your own memory.** Lessons from past reviews of *your* PRs, so you stop repeating them.
|
|
194
|
+
Never your colleagues'.
|
|
195
|
+
- **Your agent's model does the checking.** Yolont makes no LLM call, keeps no score, stores and
|
|
196
|
+
posts nothing. Read-only tools, stdio only, and a local gitleaks scan before you push.
|
|
197
|
+
- **One click to connect:** `yolont` → **Connect your coding agent** registers it in Claude Code
|
|
198
|
+
or VS Code (or prints the snippet for Cursor, Codex and others). Then type `/yolont-check`.
|
|
199
|
+
|
|
200
|
+
[How it works →](docs/GUIDE.md#before-the-pr-in-your-coding-agent-mcp)
|
|
201
|
+
|
|
142
202
|
---
|
|
143
203
|
|
|
144
204
|
## Why use it
|
|
@@ -153,6 +213,8 @@ that replay your last 20 reviews with the new weights before you save.
|
|
|
153
213
|
your team through a git repo, using merge requests.
|
|
154
214
|
- **It knows a refactor from a feature.** A refactor that changes behavior gets flagged. A bug
|
|
155
215
|
fix without a regression test gets asked for one.
|
|
216
|
+
- **Coaches before it grades.** Inside your coding agent (MCP), the same rules, zones and your
|
|
217
|
+
past lessons guide the code before the PR exists, so the review has less to find.
|
|
156
218
|
- **Fails closed.** No gitleaks, no LLM call. Tokens are only ever sent to their own host.
|
|
157
219
|
No telemetry (just an opt-out npm version check).
|
|
158
220
|
|
package/docs/GUIDE.md
CHANGED
|
@@ -27,6 +27,25 @@ npx yolont # first run: offers to install the `yolont` command, then th
|
|
|
27
27
|
yolont panel # browse reviews, authors and memory in your browser
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
+
**Even more in a hurry?** Let your coding agent read this guide for you. Paste this into Claude
|
|
31
|
+
Code, Cursor, Codex or any agent, inside your project:
|
|
32
|
+
|
|
33
|
+
```text
|
|
34
|
+
Read Yolont's docs:
|
|
35
|
+
https://raw.githubusercontent.com/srcgrp/yolont/main/README.md
|
|
36
|
+
https://raw.githubusercontent.com/srcgrp/yolont/main/docs/GUIDE.md
|
|
37
|
+
|
|
38
|
+
Then, for the project in this directory:
|
|
39
|
+
1. In a few lines: what Yolont does, and whether it's useful here (git host, team size,
|
|
40
|
+
stack, existing CI/review tools). Be honest if it isn't worth it.
|
|
41
|
+
2. If it is: check what's missing (Node 22.13+, gitleaks) and list the exact steps.
|
|
42
|
+
Ask me before installing anything.
|
|
43
|
+
3. Setup needs my tokens and API keys. Don't ask me to paste them here: tell me to run
|
|
44
|
+
`npx yolont` in my own terminal, and what to pick in each wizard step.
|
|
45
|
+
4. Explain daily use: reviewing a PR, the panel, CI, and connecting you to `yolont mcp`
|
|
46
|
+
(the wizard's "Connect your coding agent" item) so you can run /yolont-check before I open a PR.
|
|
47
|
+
```
|
|
48
|
+
|
|
30
49
|
The [README](../README.md) shows what each step looks like. This guide covers everything
|
|
31
50
|
else.
|
|
32
51
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yolont",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "Yolont: LLM pull request reviewer for GitHub and GitLab. Guided setup, team conventions, sensitive zones, a 0-100 score and a local panel.",
|
|
5
5
|
"license": "FSL-1.1-ALv2",
|
|
6
6
|
"repository": {
|