@uge/payo 2.0.0 → 2.0.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.
Files changed (3) hide show
  1. package/README.md +16 -9
  2. package/dist/index.js +164 -162
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -155,11 +155,15 @@ When detection finds a manifest, you get two quick choices:
155
155
  - **Work with the existing project, or start fresh?** Keep the detected answers, or
156
156
  ignore them and answer from scratch.
157
157
  - **Detect everything, or just the stack?**
158
- - **Detect everything** fills in the whole config with no question-by-question
159
- prompts: stack facts and conventions are taken from what Payo detects, and any
160
- convention it can't detect is set to a sensible recommended default. You land
161
- straight on the review screen and edit anything that's off before generating
162
- everything means everything, confirmed once at the end.
158
+ - **Detect everything** treats your **code, folder structure, and git history as
159
+ the source of truth**. It records exactly what it finds — stack, conventions,
160
+ and your branch-naming / commit-message style read from recent git history and
161
+ **skips anything it can't find**: no skill is created for it and it isn't
162
+ mentioned. The only things applied without detection are a few safe assistant
163
+ policies (no AI attribution in commits, task-scoped atomic commits, confirm
164
+ before push, verify before push, work from `.env.example`, and DRY/modular
165
+ coding standards) — all shown up front and editable on the review screen. You
166
+ land straight on that review screen and confirm once.
163
167
  - **Just the high-level stack** fills in the stack facts only and interviews you
164
168
  for the convention questions (folder structure and the like).
165
169
 
@@ -177,9 +181,11 @@ uses the real app stack as the primary answers instead of the near-empty root
177
181
  manifest. The generated guidance gains a **Workspace Packages** list and monorepo
178
182
  conventions.
179
183
 
180
- Detection runs deterministically from your files first. When the chosen AI tool's
181
- CLI is installed, an **optional second pass** uses **your own** assistant to fill
182
- gaps on unusual stacks it reads only the manifest and the directory listing,
184
+ Detection runs deterministically from your files first. Branch-naming and
185
+ commit-message conventions are inferred by parsing your **local** git history on
186
+ your machine that history is never placed in any AI prompt. When the chosen AI
187
+ tool's CLI is installed, an **optional second pass** uses **your own** assistant to
188
+ fill gaps on unusual stacks — it reads only the manifest and the directory listing,
183
189
  runs under your own account, and never sends anything to a Payo server (see
184
190
  [Your data stays yours](#your-data-stays-yours)). If no CLI is present, the
185
191
  deterministic result stands on its own.
@@ -242,7 +248,8 @@ questions to whatever you pick. Dimensions covered:
242
248
  - **Testing** — unit / integration / component / E2E and runners
243
249
  - **Tooling** — package manager, runtime, formatter, linter
244
250
  - **TypeScript** — `tsconfig` strictness, target, module resolution, path aliases
245
- - **Conventions** — folder structure, coding standards, docs, git workflow
251
+ - **Conventions** — folder structure, coding standards, docs, git workflow, and
252
+ branch-naming / commit-message style (inferred from local git history)
246
253
  - **Change audit** _(optional)_ — opt into a skill that checks your pending
247
254
  change against the project skills before commit or push
248
255