@produck/agent-toolkit 0.9.2 → 0.11.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/bin/agent-toolkit.mjs +16 -0
- package/bin/build-publish-assets.mjs +28 -6
- package/bin/command/enforce-node-baseline/index.mjs +11 -0
- package/bin/command/main/help.txt +4 -2
- package/bin/command/sync-coverage/help.txt +6 -21
- package/bin/command/sync-coverage/index.mjs +31 -200
- package/bin/command/sync-coverage/required-c8-config.json +10 -5
- package/bin/command/sync-format/index.mjs +30 -3
- package/bin/command/sync-git/index.mjs +31 -2
- package/bin/command/sync-lint/index.mjs +29 -7
- package/bin/command/sync-publish/help.txt +1 -1
- package/bin/command/sync-publish/index.mjs +38 -15
- package/bin/command/sync-typescript/help.txt +14 -0
- package/bin/command/sync-typescript/index.mjs +154 -0
- package/bin/command/sync-workspace/help.txt +22 -0
- package/bin/command/sync-workspace/index.mjs +379 -0
- package/package.json +21 -21
- package/publish-assets/gitignore +3 -0
- package/publish-assets/instructions/produck/00-produck-base.instructions.md +3 -3
- package/publish-assets/instructions/produck/10-produck-node.instructions.md +151 -118
- package/publish-assets/instructions/produck/12-produck-test.instructions.md +92 -0
- package/publish-assets/instructions/produck/15-produck-workspace.instructions.md +73 -39
- package/publish-assets/instructions/produck/20-produck-commit.instructions.md +12 -0
- package/publish-assets/instructions/produck/tooling-version-baseline.json +53 -48
- package/publish-assets/lerna.json +3 -3
- package/publish-assets/prettierrc +9 -1
|
@@ -191,6 +191,18 @@ Commit precheck gate (AI-agent required, human recommended):
|
|
|
191
191
|
|
|
192
192
|
If validation fails, fix the message and rerun until it passes.
|
|
193
193
|
|
|
194
|
+
## Workspace Draft Files
|
|
195
|
+
|
|
196
|
+
AI agents **must not** create or organize commit message draft files (such as
|
|
197
|
+
`.git/COMMIT_EDITMSG` snapshots, staged-message backups, or raw draft text
|
|
198
|
+
files) anywhere in the working tree.
|
|
199
|
+
|
|
200
|
+
**Exception**: draft files are allowed if the filename matches the
|
|
201
|
+
`*.ign*` glob pattern (for example `commit-msg.ign` or
|
|
202
|
+
`message.draft.ignore`). This ensures the file is covered by the
|
|
203
|
+
organization-level `.gitignore` rules and will never be accidentally
|
|
204
|
+
committed.
|
|
205
|
+
|
|
194
206
|
## Notes
|
|
195
207
|
|
|
196
208
|
- Keep the summary concise and specific.
|
|
@@ -1,79 +1,84 @@
|
|
|
1
1
|
{
|
|
2
|
+
"coverage": {
|
|
3
|
+
"scriptTemplate": "c8 --reporter=lcov --reporter=html --reporter=text-summary npm test"
|
|
4
|
+
},
|
|
5
|
+
"enforce": {
|
|
6
|
+
"sharedScriptsDisallow": [
|
|
7
|
+
"npx c8",
|
|
8
|
+
"c8@latest",
|
|
9
|
+
"npx lerna",
|
|
10
|
+
"lerna@latest",
|
|
11
|
+
"npx prettier",
|
|
12
|
+
"prettier@latest"
|
|
13
|
+
]
|
|
14
|
+
},
|
|
2
15
|
"schemaVersion": 1,
|
|
3
|
-
"updatedAt": "2026-05-12",
|
|
4
16
|
"tools": {
|
|
5
|
-
"
|
|
6
|
-
"
|
|
17
|
+
"@eslint/config-helpers": {
|
|
18
|
+
"allowLatest": false,
|
|
7
19
|
"policy": "pinned",
|
|
8
|
-
"
|
|
20
|
+
"version": "0.6.0"
|
|
9
21
|
},
|
|
10
|
-
"
|
|
11
|
-
"
|
|
22
|
+
"@eslint/js": {
|
|
23
|
+
"allowLatest": false,
|
|
12
24
|
"policy": "pinned",
|
|
13
|
-
"
|
|
25
|
+
"version": "10.0.1"
|
|
14
26
|
},
|
|
15
|
-
"
|
|
16
|
-
"
|
|
27
|
+
"@eslint/json": {
|
|
28
|
+
"allowLatest": false,
|
|
17
29
|
"policy": "pinned",
|
|
18
|
-
"
|
|
30
|
+
"version": "2.0.0"
|
|
19
31
|
},
|
|
20
|
-
"
|
|
21
|
-
"
|
|
32
|
+
"@eslint/markdown": {
|
|
33
|
+
"allowLatest": false,
|
|
22
34
|
"policy": "pinned",
|
|
23
|
-
"
|
|
35
|
+
"version": "8.0.2"
|
|
24
36
|
},
|
|
25
|
-
"
|
|
26
|
-
"
|
|
37
|
+
"@types/node": {
|
|
38
|
+
"allowLatest": false,
|
|
27
39
|
"policy": "pinned",
|
|
28
|
-
"
|
|
40
|
+
"version": "24.13.2"
|
|
29
41
|
},
|
|
30
|
-
"
|
|
31
|
-
"
|
|
42
|
+
"c8": {
|
|
43
|
+
"allowLatest": false,
|
|
32
44
|
"policy": "pinned",
|
|
33
|
-
"
|
|
45
|
+
"version": "11.0.0"
|
|
34
46
|
},
|
|
35
|
-
"
|
|
36
|
-
"
|
|
47
|
+
"eslint": {
|
|
48
|
+
"allowLatest": false,
|
|
37
49
|
"policy": "pinned",
|
|
38
|
-
"
|
|
50
|
+
"version": "10.6.0"
|
|
39
51
|
},
|
|
40
|
-
"
|
|
41
|
-
"
|
|
52
|
+
"globals": {
|
|
53
|
+
"allowLatest": false,
|
|
42
54
|
"policy": "pinned",
|
|
43
|
-
"
|
|
55
|
+
"version": "17.7.0"
|
|
44
56
|
},
|
|
45
|
-
"
|
|
46
|
-
"
|
|
57
|
+
"husky": {
|
|
58
|
+
"allowLatest": false,
|
|
47
59
|
"policy": "pinned",
|
|
48
|
-
"
|
|
60
|
+
"version": "9.1.7"
|
|
49
61
|
},
|
|
50
|
-
"
|
|
51
|
-
"
|
|
62
|
+
"lerna": {
|
|
63
|
+
"allowLatest": false,
|
|
52
64
|
"policy": "pinned",
|
|
53
|
-
"
|
|
65
|
+
"version": "9.0.7"
|
|
54
66
|
},
|
|
55
|
-
"
|
|
56
|
-
"
|
|
67
|
+
"prettier": {
|
|
68
|
+
"allowLatest": false,
|
|
57
69
|
"policy": "pinned",
|
|
58
|
-
"
|
|
70
|
+
"version": "3.9.1"
|
|
71
|
+
},
|
|
72
|
+
"typescript-eslint": {
|
|
73
|
+
"allowLatest": false,
|
|
74
|
+
"policy": "pinned",
|
|
75
|
+
"version": "8.62.0"
|
|
59
76
|
},
|
|
60
77
|
"@produck/eslint-rules": {
|
|
61
|
-
"version": "0.4.
|
|
78
|
+
"version": "0.4.1",
|
|
62
79
|
"policy": "pinned",
|
|
63
80
|
"allowLatest": false
|
|
64
81
|
}
|
|
65
82
|
},
|
|
66
|
-
"
|
|
67
|
-
"scriptTemplate": "c8 --reporter=lcov --reporter=html --reporter=text-summary npm test"
|
|
68
|
-
},
|
|
69
|
-
"enforce": {
|
|
70
|
-
"sharedScriptsDisallow": [
|
|
71
|
-
"npx c8",
|
|
72
|
-
"c8@latest",
|
|
73
|
-
"npx lerna",
|
|
74
|
-
"lerna@latest",
|
|
75
|
-
"npx prettier",
|
|
76
|
-
"prettier@latest"
|
|
77
|
-
]
|
|
78
|
-
}
|
|
83
|
+
"updatedAt": "2026-05-12"
|
|
79
84
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "./node_modules/lerna/schemas/lerna-schema.json",
|
|
3
3
|
"command": {
|
|
4
|
-
"version": {
|
|
5
|
-
"commitHooks": false
|
|
6
|
-
},
|
|
7
4
|
"publish": {
|
|
8
5
|
"ignoreScripts": false,
|
|
9
6
|
"message": "[PUBLISH]"
|
|
7
|
+
},
|
|
8
|
+
"version": {
|
|
9
|
+
"commitHooks": false
|
|
10
10
|
}
|
|
11
11
|
},
|
|
12
12
|
"useNx": false,
|