yolont 0.1.0 → 0.2.0

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/docs/GUIDE.md CHANGED
@@ -17,7 +17,16 @@ checks it against *your* team's conventions and the parts of the codebase that b
17
17
  0–100, and posts one comment. Run it in a terminal, where you get the last word on every
18
18
  finding, or in CI, where it comments on every MR.
19
19
 
20
- This is the long version. For the short one, see the [README](../README.md).
20
+ **In a hurry?**
21
+
22
+ ```bash
23
+ cd ~/code/your-project
24
+ npx yolont # first run: offers to install the `yolont` command, then the wizard
25
+ yolont panel # browse reviews, authors and memory in your browser
26
+ ```
27
+
28
+ The [README](../README.md) shows what each step looks like. This guide covers everything
29
+ else.
21
30
 
22
31
  ---
23
32
 
@@ -126,32 +135,34 @@ What Yolont is **not**:
126
135
  No gitleaks means no LLM call. That's on purpose: *fail closed* (see
127
136
  [chapter 17](#17-security-model-the-paranoid-chapter)).
128
137
 
129
- ### Zero install: npx
130
-
131
- Don't want to install anything? Try it first:
138
+ ### Quick install: npx, once
132
139
 
133
140
  ```bash
134
141
  cd ~/code/your-project
135
- npx yolont # the wizard, then pick a PR to review
136
- npx yolont panel # the local panel
137
- npx yolont review https://github.com/acme/api/pull/42
138
- npx yolont --help
142
+ npx yolont
139
143
  ```
140
144
 
141
- npx downloads Yolont into its cache the first time and reuses it after that. Your settings,
142
- tokens and reviews live in your home folder (see [chapter 16](#16-where-things-live)), not in
143
- the npx cache, so they survive between runs and when you switch to a global install.
145
+ The first time you run it through npx, Yolont asks:
144
146
 
145
- To pin a version, or to pick up a new one:
146
-
147
- ```bash
148
- npx yolont@0.1.0 # exactly this version
149
- npx yolont@latest # check the registry for a newer one
147
+ ```
148
+ ◆ Install the `yolont` command, so next time you just type `yolont`? (npm install -g yolont@0.1.0)
149
+ │ ● Yes / ○ No
150
150
  ```
151
151
 
152
- In examples throughout this guide, `yolont …` means `npx yolont …` if you haven't installed it.
152
+ Say yes, and from then on it's just `yolont`, `yolont panel` and so on. It installs the same
153
+ version you just ran. It asks only once. If you say no, `npx yolont …` keeps working, and you
154
+ can install later with `npm install -g yolont`.
153
155
 
154
- ### Global install (if you use it daily)
156
+ Your settings, tokens and reviews live in your home folder (see
157
+ [chapter 16](#16-where-things-live)), not in the npx cache, so nothing is lost when you switch
158
+ from npx to the installed command.
159
+
160
+ **Permission error during install?** npm's global folder needs admin rights on some systems.
161
+ Don't use `sudo`. Point npm at a folder you own instead
162
+ ([npm's guide](https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally)),
163
+ or use a Node version manager like `nvm` or `fnm`, which does this for you.
164
+
165
+ ### Or install it directly
155
166
 
156
167
  ```bash
157
168
  npm install -g yolont
@@ -159,13 +170,10 @@ yolont --help
159
170
  npm update -g yolont # later, to upgrade
160
171
  ```
161
172
 
162
- A global install starts instantly and works offline once installed. Use it once you're past the
163
- "trying it" stage.
164
-
165
173
  ### From a checkout (contributors)
166
174
 
167
175
  ```bash
168
- git clone <this repo> yolont && cd yolont
176
+ git clone https://github.com/srcgrp/yolont.git && cd yolont
169
177
  npm ci
170
178
  npm pack # builds the panel and the CLI, makes yolont-<version>.tgz
171
179
  npm install -g ./yolont-*.tgz
@@ -292,9 +300,10 @@ What happens:
292
300
  4. **Change type.** Depending on [the mode](#9-change-type), you confirm or pick what kind of
293
301
  change this is.
294
302
  5. **LLM review.** One call covers all LLM categories.
295
- 6. **You're the boss.** For each finding: **keep, edit, or drop**. Then *"Do you agree with the
296
- score?"* If not, pick the category, give the score it deserves, and **say why**. That "why"
297
- is what Yolont learns from (see [chapter 10](#10-memory-yolont-learns-from-you)).
303
+ 6. **You're the boss.** You see the score and every finding. *"Agree with the computed
304
+ score?"* If not, pick the categories (or the overall score) to correct, give the score each
305
+ one deserves, optionally fix its description, and **say why**. That "why" is what Yolont
306
+ learns from (see [chapter 10](#10-memory-yolont-learns-from-you)).
298
307
  7. **Post?** Default **no**. If yes, one summary comment goes up, plus one inline thread per
299
308
  finding that has a file and line. The author can reply right on the finding.
300
309
  8. **Sync.** If the project uses a memory repo with auto-sync on, your review is sent to it.
@@ -685,7 +694,7 @@ threads are mirrored as one reply per thread, edited in place, and 👎 resolves
685
694
  1. Add one LLM key as a repo secret (Settings → Secrets and variables → Actions), e.g.
686
695
  `ANTHROPIC_API_KEY`.
687
696
  2. Copy [`templates/yolont.github-workflow.yml`](../templates/yolont.github-workflow.yml) to
688
- `.github/workflows/yolont.yml` and point `uses:` at this repo, **pinned to a tag or SHA**.
697
+ `.github/workflows/yolont.yml` and point `uses:` at `srcgrp/yolont`, **pinned to a tag or SHA**.
689
698
  3. Optionally commit `.yolont/conventions.md`, `.yolont/zones.yaml` and `.yolont/rubric.yml`.
690
699
 
691
700
  ```yaml
@@ -701,7 +710,7 @@ jobs:
701
710
  needs: [lint, test] # only jobs in this same workflow are visible
702
711
  steps:
703
712
  - uses: actions/checkout@v4
704
- - uses: <owner>/yolont@<tag-or-sha>
713
+ - uses: srcgrp/yolont@<tag-or-sha>
705
714
  env:
706
715
  ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
707
716
  # YOLONT_CHANGE_TYPE: steer
@@ -939,8 +948,9 @@ Every `ETHOS_*` spelling still works.
939
948
  **`yolont: command not found`**
940
949
  It isn't installed globally. Use `npx yolont`, or `npm install -g yolont`. See [Install](#2-install).
941
950
 
942
- **`npx yolont` runs an old version.**
943
- npx reuses its cache. Run `npx yolont@latest` to check for a newer one.
951
+ **How do I upgrade?**
952
+ `npm update -g yolont`. If you only use npx, `npx yolont@latest` checks for a newer version
953
+ (npx reuses its cache otherwise).
944
954
 
945
955
  **"secret scan could not run"**
946
956
  gitleaks isn't on `PATH`. Install it. Yolont won't send a diff it couldn't scan, and that's by
package/package.json CHANGED
@@ -1,8 +1,16 @@
1
1
  {
2
2
  "name": "yolont",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
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
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/srcgrp/yolont.git"
9
+ },
10
+ "homepage": "https://github.com/srcgrp/yolont#readme",
11
+ "bugs": {
12
+ "url": "https://github.com/srcgrp/yolont/issues"
13
+ },
6
14
  "type": "module",
7
15
  "engines": {
8
16
  "node": ">=22.13"
@@ -25,7 +25,7 @@ jobs:
25
25
  # needs: [lint, test] # only jobs in this same workflow are visible to the score
26
26
  steps:
27
27
  - uses: actions/checkout@v4
28
- - uses: <owner>/yolont@main # pin a release tag or commit sha
28
+ - uses: srcgrp/yolont@main # pin a release tag or commit sha
29
29
  env:
30
30
  ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
31
31
  # YOLONT_CHANGE_TYPE: label # label (default) | steer (type-specific checks) | off