fallow 2.103.0 → 3.0.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/README.md +9 -6
- package/capabilities.json +5953 -0
- package/issue-registry.json +3448 -0
- package/package.json +16 -12
- package/schema.json +109 -0
- package/skills/fallow/SKILL.md +34 -35
- package/skills/fallow/references/cli-reference.md +21 -13
- package/skills/fallow/references/gotchas.md +7 -1
- package/skills/fallow/references/patterns.md +5 -3
- package/types/output-contract.d.ts +526 -31
|
@@ -242,9 +242,10 @@ fallow:
|
|
|
242
242
|
variables:
|
|
243
243
|
FALLOW_COMMENT: "true"
|
|
244
244
|
FALLOW_SUMMARY_SCOPE: "diff"
|
|
245
|
+
FALLOW_PR_COMMENT_LAYOUT: "gate-only"
|
|
245
246
|
```
|
|
246
247
|
|
|
247
|
-
Posts a summary comment on the MR with issue counts and findings. In MR pipelines, `--changed-since` is auto-detected from `$CI_MERGE_REQUEST_TARGET_BRANCH_NAME`, so only issues from changed files are reported. `FALLOW_SUMMARY_SCOPE: "diff"` also hides project-level dependency/catalog/override findings whose anchor line is outside the diff. Requires `GITLAB_TOKEN` CI/CD variable (project access token with `api` scope); `CI_JOB_TOKEN` is read-only for MR notes in the official GitLab API.
|
|
248
|
+
Posts a summary comment on the MR with issue counts and findings. In MR pipelines, `--changed-since` is auto-detected from `$CI_MERGE_REQUEST_TARGET_BRANCH_NAME`, so only issues from changed files are reported. `FALLOW_SUMMARY_SCOPE: "diff"` also hides project-level dependency/catalog/override findings whose anchor line is outside the diff. `FALLOW_PR_COMMENT_LAYOUT: "gate-only"` keeps the sticky comment compact when GitLab Code Quality is the primary review surface. Requires `GITLAB_TOKEN` CI/CD variable (project access token with `api` scope); `CI_JOB_TOKEN` is read-only for MR notes in the official GitLab API.
|
|
248
249
|
|
|
249
250
|
### GitLab CI: With Inline Code Review Comments
|
|
250
251
|
|
|
@@ -272,12 +273,13 @@ fallow:
|
|
|
272
273
|
variables:
|
|
273
274
|
FALLOW_COMMENT: "true"
|
|
274
275
|
FALLOW_SUMMARY_SCOPE: "diff"
|
|
276
|
+
FALLOW_PR_COMMENT_LAYOUT: "gate-only"
|
|
275
277
|
FALLOW_REVIEW: "true"
|
|
276
278
|
FALLOW_REVIEW_GUIDANCE: "true"
|
|
277
279
|
FALLOW_FAIL_ON_ISSUES: "true"
|
|
278
280
|
```
|
|
279
281
|
|
|
280
|
-
Posts both a summary comment and inline review comments on the MR. `FALLOW_SUMMARY_SCOPE: "diff"` only
|
|
282
|
+
Posts both a summary comment and inline review comments on the MR. `FALLOW_SUMMARY_SCOPE: "diff"` and `FALLOW_PR_COMMENT_LAYOUT` only affect the sticky summary; inline review comments remain anchored to diff lines. The template auto-detects the package manager (npm/pnpm/yarn) from lockfiles, so review comments show the correct commands for the project (e.g., `pnpm remove` instead of `npm uninstall`).
|
|
281
283
|
|
|
282
284
|
### GitLab CI: With Health Score and Trend
|
|
283
285
|
|
|
@@ -640,7 +642,7 @@ Focus on findings that are BOTH dead code and duplicated:
|
|
|
640
642
|
|
|
641
643
|
## Custom Plugin Setup
|
|
642
644
|
|
|
643
|
-
For frameworks not covered by the
|
|
645
|
+
For frameworks not covered by the 123 built-in plugins.
|
|
644
646
|
|
|
645
647
|
### Option 1: Inline framework config
|
|
646
648
|
|