delivery-friction-analyzer 0.13.0 → 0.14.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 +2 -0
- package/docs/reference/release-automation.md +6 -0
- package/package.json +3 -1
- package/release-log.md +16 -0
package/README.md
CHANGED
|
@@ -144,6 +144,8 @@ No separate model-ready context artifact is required for this workflow. Reconsid
|
|
|
144
144
|
|
|
145
145
|
## Development Notes
|
|
146
146
|
|
|
147
|
+
Repo-local maintainer and agent review expectations live in [AGENTS.md](AGENTS.md).
|
|
148
|
+
|
|
147
149
|
### Current Direction
|
|
148
150
|
|
|
149
151
|
Delivery Friction Analyzer is currently a local, GitHub-connected analyzer that produces repository-level friction reports from live pull request data. It is repo-source-agnostic: repository-specific assumptions live in profiles.
|
|
@@ -28,6 +28,12 @@ It validates:
|
|
|
28
28
|
|
|
29
29
|
CI runs on Node 20 and Node 24 so the advertised `engines.node >=20` floor is exercised before release.
|
|
30
30
|
|
|
31
|
+
## Local Preflight
|
|
32
|
+
|
|
33
|
+
For ordinary PRs, run `npm run preflight` before opening or updating review. It runs the full local test suite and `git diff --check HEAD` so whitespace issues are caught across staged and unstaged tracked changes.
|
|
34
|
+
|
|
35
|
+
For release automation, package metadata, package contents, or publish workflow changes, run `npm run preflight:release`. It runs the focused release-versioning tests, including direct CLI entrypoint coverage, validates the package version is not behind the latest local `v*` release tag, and runs `npm pack --dry-run`.
|
|
36
|
+
|
|
31
37
|
## Release Workflow
|
|
32
38
|
|
|
33
39
|
The release workflow runs on pushes to `main` and skips commits whose subject starts with `Release `.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "delivery-friction-analyzer",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.1",
|
|
4
4
|
"description": "Local GitHub pull request analytics for delivery friction reports.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
],
|
|
20
20
|
"scripts": {
|
|
21
21
|
"analyze:github": "node src/cli/analyze-github.js",
|
|
22
|
+
"preflight": "npm test && git diff --check HEAD",
|
|
23
|
+
"preflight:release": "node --test test/release-versioning.test.mjs && node scripts/release-versioning.mjs assert-package-not-behind-latest-tag && npm pack --dry-run",
|
|
22
24
|
"report:fixture": "node src/report/generate-report.js --metrics-summary fixtures/github/mcp-writing/metrics-summary.golden.json --json-out fixtures/github/mcp-writing/reports/friction-report.golden.json --markdown-out fixtures/github/mcp-writing/reports/friction-report.golden.md",
|
|
23
25
|
"test": "node --test"
|
|
24
26
|
},
|
package/release-log.md
CHANGED
|
@@ -2,6 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
### 2026-06-21 — Repo-Specific Review Guidance
|
|
6
|
+
|
|
7
|
+
- What changed: Added repo-local maintainer and agent guidance for recurring review themes, broad-change tripwires, and validation command selection, with self-profile coverage for the new guidance file.
|
|
8
|
+
- Why it matters: Maintainers and agents can catch known review-readiness issues before opening PRs without applying heavy process to tiny docs or test changes, and future self-analysis can classify the guidance surface.
|
|
9
|
+
- Who is affected: Maintainers and agents preparing changes in this repository.
|
|
10
|
+
- Action needed: Optional; review `AGENTS.md` before broad, report/contract, profile, docs, or release/package changes.
|
|
11
|
+
- PR: #52
|
|
12
|
+
|
|
13
|
+
### 2026-06-21 — Local Preflight Commands
|
|
14
|
+
|
|
15
|
+
- What changed: Added `npm run preflight` for ordinary PR checks and `npm run preflight:release` for focused release/package validation, with release automation docs describing when to use each command.
|
|
16
|
+
- Why it matters: Maintainers and agents can catch recurring test, whitespace, release-versioning, and package dry-run issues before opening review.
|
|
17
|
+
- Who is affected: Maintainers preparing ordinary PRs, release automation changes, package metadata changes, package contents changes, or publish workflow changes.
|
|
18
|
+
- Action needed: Optional; run `npm run preflight` before ordinary review and `npm run preflight:release` before release/package review.
|
|
19
|
+
- PR: #51
|
|
20
|
+
|
|
5
21
|
### 2026-06-21 — Maintainer Self-Profile Baseline
|
|
6
22
|
|
|
7
23
|
- What changed: Added a repository self-profile for delivery-friction-analyzer so local self-analysis can classify normal development paths, functional surfaces, workflow context, and Conventional Commit-style PR classes.
|