@1aboveio/skills 1.0.45 → 1.0.47
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/.codex-plugin/plugin.json +1 -1
- package/.codex-plugin/resources.json +140 -140
- package/package.json +4 -4
- package/skills/app-dev/airflow/SKILL.md +1 -1
- package/skills/app-dev/android-development/SKILL.md +1 -1
- package/skills/app-dev/app-debug/SKILL.md +1 -1
- package/skills/app-dev/better-auth/SKILL.md +1 -1
- package/skills/app-dev/data-catalog/SKILL.md +1 -1
- package/skills/app-dev/data-quality/SKILL.md +1 -1
- package/skills/app-dev/interaction-design/SKILL.md +1 -1
- package/skills/app-dev/ios-foundation/SKILL.md +1 -1
- package/skills/app-dev/maestro/SKILL.md +1 -1
- package/skills/app-dev/monorepo/SKILL.md +1 -1
- package/skills/app-dev/nextjs-fullstack/SKILL.md +1 -1
- package/skills/app-dev/prisma-setup/SKILL.md +1 -1
- package/skills/app-dev/pyspark/SKILL.md +1 -1
- package/skills/app-dev/python-backend/SKILL.md +1 -1
- package/skills/app-dev/shadcn/SKILL.md +1 -1
- package/skills/app-dev/zod-v4/SKILL.md +1 -1
- package/skills/cicd/cloud-build/SKILL.md +1 -1
- package/skills/cicd/cloud-debug/SKILL.md +1 -1
- package/skills/cicd/cloud-deploy/SKILL.md +1 -1
- package/skills/cicd/docker/SKILL.md +1 -1
- package/skills/cicd/github-actions/SKILL.md +1 -1
- package/skills/cicd/github-flow/SKILL.md +1 -1
- package/skills/cicd/google-cloud/SKILL.md +1 -1
- package/skills/cicd/mergify/SKILL.md +1 -1
- package/skills/cicd/podman/SKILL.md +1 -1
- package/skills/content/article-review/SKILL.md +1 -1
- package/skills/content/article-to-image/SKILL.md +1 -1
- package/skills/content/flowchart-svg/SKILL.md +1 -1
- package/skills/content/image-gen/SKILL.md +1 -1
- package/skills/content/mermaid/SKILL.md +1 -1
- package/skills/content/wechat-article-writer/SKILL.md +1 -1
- package/skills/content/wechat-publisher/SKILL.md +1 -1
- package/skills/content/wechat-search/SKILL.md +1 -1
- package/skills/content/xai-search/SKILL.md +1 -1
- package/skills/core/distill-writing/SKILL.md +1 -1
- package/skills/core/doc-to-md/SKILL.md +1 -1
- package/skills/core/editorial-review/SKILL.md +1 -1
- package/skills/core/house-style/SKILL.md +1 -1
- package/skills/core/plain-language/SKILL.md +1 -1
- package/skills/core/polish-cn/SKILL.md +1 -1
- package/skills/core/reg-parser/SKILL.md +1 -1
- package/skills/core/terminology/SKILL.md +1 -1
- package/skills/core/write-doc/SKILL.md +1 -1
- package/skills/core/write-report/SKILL.md +1 -1
- package/skills/engineering/acceptance-design/SKILL.md +11 -7
- package/skills/engineering/acceptance-design/references/project-setup.md +2 -2
- package/skills/engineering/better-review/SKILL.md +1 -1
- package/skills/engineering/e2e-test/SKILL.md +1 -1
- package/skills/engineering/engineering/SKILL.md +1 -1
- package/skills/engineering/engineering-runtime/SKILL.md +1 -1
- package/skills/engineering/engineering-runtime/coherence/workflow.json +14 -14
- package/skills/engineering/ensure-coverage/SKILL.md +1 -1
- package/skills/engineering/golden-path/SKILL.md +1 -1
- package/skills/engineering/harness-runtime/SKILL.md +1 -1
- package/skills/engineering/resolve-issues/SKILL.md +2 -2
- package/skills/engineering/resolve-issues/references/review.md +7 -2
- package/skills/engineering/resolve-issues/scripts/next-actions.mjs +5 -4
- package/skills/engineering/resolve-issues/scripts/review-verdict.mjs +19 -7
- package/skills/engineering/resolve-release/SKILL.md +1 -1
- package/skills/engineering/rush-issues/SKILL.md +1 -1
- package/skills/engineering/rush-release/SKILL.md +1 -1
- package/skills/engineering/test-quality/SKILL.md +1 -1
- package/skills/risk-compliance/compliance-audit/SKILL.md +1 -1
- package/skills/risk-compliance/contract-compare/SKILL.md +1 -1
- package/skills/risk-compliance/contract-review/SKILL.md +1 -1
- package/skills/risk-compliance/doc-authenticity/SKILL.md +1 -1
- package/skills/risk-compliance/fraud-detection/SKILL.md +1 -1
- package/skills/risk-compliance/payment-analysis/SKILL.md +1 -1
- package/skills/risk-compliance/portfolio-payment-analysis/SKILL.md +1 -1
- package/skills/risk-compliance/rfi-writing/SKILL.md +1 -1
- package/skills/risk-compliance/similar-domain/SKILL.md +1 -1
- package/skills/risk-compliance/tld-detection/SKILL.md +1 -1
|
@@ -372,7 +372,7 @@
|
|
|
372
372
|
"repository": "1aboveio/ai",
|
|
373
373
|
"revision": "main"
|
|
374
374
|
},
|
|
375
|
-
"contentDigest": "
|
|
375
|
+
"contentDigest": "249ce4bb39835eed7946a453894052bf34dad4edbc3f82f0036b80868241c5af",
|
|
376
376
|
"digestExcludes": []
|
|
377
377
|
},
|
|
378
378
|
{
|
|
@@ -385,7 +385,7 @@
|
|
|
385
385
|
"repository": "1aboveio/ai",
|
|
386
386
|
"revision": "main"
|
|
387
387
|
},
|
|
388
|
-
"contentDigest": "
|
|
388
|
+
"contentDigest": "b9e8dc0935a2e83caba66d56436c1cb99aa37ade0e0e639a4b05655ba879c6f6",
|
|
389
389
|
"digestExcludes": []
|
|
390
390
|
},
|
|
391
391
|
{
|
|
@@ -398,7 +398,7 @@
|
|
|
398
398
|
"repository": "1aboveio/ai",
|
|
399
399
|
"revision": "main"
|
|
400
400
|
},
|
|
401
|
-
"contentDigest": "
|
|
401
|
+
"contentDigest": "cb2cf50db7a7c30658ee1e953c3a23d548158366644578380a2adeb41da92bed",
|
|
402
402
|
"digestExcludes": []
|
|
403
403
|
},
|
|
404
404
|
{
|
|
@@ -411,7 +411,7 @@
|
|
|
411
411
|
"repository": "1aboveio/ai",
|
|
412
412
|
"revision": "main"
|
|
413
413
|
},
|
|
414
|
-
"contentDigest": "
|
|
414
|
+
"contentDigest": "ecf2ec9009a53e7a5fc6efd0a4dca085abed29f7d7be2deb784dc8a08eff16ca",
|
|
415
415
|
"digestExcludes": []
|
|
416
416
|
},
|
|
417
417
|
{
|
|
@@ -424,7 +424,7 @@
|
|
|
424
424
|
"repository": "1aboveio/ai",
|
|
425
425
|
"revision": "main"
|
|
426
426
|
},
|
|
427
|
-
"contentDigest": "
|
|
427
|
+
"contentDigest": "38b70d64c7dad3eb667ceee6f3fb8ef96120ac031698a25e8ee573476527e850",
|
|
428
428
|
"digestExcludes": []
|
|
429
429
|
},
|
|
430
430
|
{
|
|
@@ -437,7 +437,7 @@
|
|
|
437
437
|
"repository": "1aboveio/ai",
|
|
438
438
|
"revision": "main"
|
|
439
439
|
},
|
|
440
|
-
"contentDigest": "
|
|
440
|
+
"contentDigest": "2d830b1f5eb95a7c85f806dbdd2c16cd9548925b402052293060c34d9a462867",
|
|
441
441
|
"digestExcludes": []
|
|
442
442
|
},
|
|
443
443
|
{
|
|
@@ -450,7 +450,7 @@
|
|
|
450
450
|
"repository": "1aboveio/ai",
|
|
451
451
|
"revision": "main"
|
|
452
452
|
},
|
|
453
|
-
"contentDigest": "
|
|
453
|
+
"contentDigest": "ddb2fb04b2020d90e4563f500c765ad25fd87a81c764da15cbf90cf4cf2a645c",
|
|
454
454
|
"digestExcludes": []
|
|
455
455
|
},
|
|
456
456
|
{
|
|
@@ -463,7 +463,7 @@
|
|
|
463
463
|
"repository": "1aboveio/ai",
|
|
464
464
|
"revision": "main"
|
|
465
465
|
},
|
|
466
|
-
"contentDigest": "
|
|
466
|
+
"contentDigest": "4ddf5bc5b2149ce8bee3acdeacc5263e7f4d3edfcad9eb3d20b8a60135e35c48",
|
|
467
467
|
"digestExcludes": []
|
|
468
468
|
},
|
|
469
469
|
{
|
|
@@ -476,7 +476,7 @@
|
|
|
476
476
|
"repository": "1aboveio/ai",
|
|
477
477
|
"revision": "main"
|
|
478
478
|
},
|
|
479
|
-
"contentDigest": "
|
|
479
|
+
"contentDigest": "0d6b2312943ee5bdc3b6d9923f2ca3f7bb604b6d731865c1a37f2b1321c15094",
|
|
480
480
|
"digestExcludes": []
|
|
481
481
|
},
|
|
482
482
|
{
|
|
@@ -489,7 +489,7 @@
|
|
|
489
489
|
"repository": "1aboveio/ai",
|
|
490
490
|
"revision": "main"
|
|
491
491
|
},
|
|
492
|
-
"contentDigest": "
|
|
492
|
+
"contentDigest": "0b73fe3e9c27ad54f6b2ead57f755880f0075574717e750fc1a0d86d4be53fe0",
|
|
493
493
|
"digestExcludes": []
|
|
494
494
|
},
|
|
495
495
|
{
|
|
@@ -502,7 +502,7 @@
|
|
|
502
502
|
"repository": "1aboveio/ai",
|
|
503
503
|
"revision": "main"
|
|
504
504
|
},
|
|
505
|
-
"contentDigest": "
|
|
505
|
+
"contentDigest": "70f19cc904e50edfb18028d5ebbfb6993514c56fae70df5891581806d654b7e3",
|
|
506
506
|
"digestExcludes": []
|
|
507
507
|
},
|
|
508
508
|
{
|
|
@@ -515,7 +515,7 @@
|
|
|
515
515
|
"repository": "1aboveio/ai",
|
|
516
516
|
"revision": "main"
|
|
517
517
|
},
|
|
518
|
-
"contentDigest": "
|
|
518
|
+
"contentDigest": "b2ca5b7bdb5b77e234f9cbc2aaabd1039e84d30ed561cc6ad2c713c7f2edfb03",
|
|
519
519
|
"digestExcludes": []
|
|
520
520
|
},
|
|
521
521
|
{
|
|
@@ -528,13 +528,13 @@
|
|
|
528
528
|
"repository": "1aboveio/ai",
|
|
529
529
|
"revision": "main"
|
|
530
530
|
},
|
|
531
|
-
"contentDigest": "
|
|
531
|
+
"contentDigest": "de4c735b17f0f2df5bbe3299f235570d8a06acb819388ade0ccbe70b1907d94a",
|
|
532
532
|
"digestExcludes": [
|
|
533
533
|
"coherence/workflow.json"
|
|
534
534
|
]
|
|
535
535
|
}
|
|
536
536
|
],
|
|
537
|
-
"releaseIdentity": "
|
|
537
|
+
"releaseIdentity": "30861baee3c0ce10d14771ac79464872aeaaf2c34c8bce99a3e0ba4025626811",
|
|
538
538
|
"lifecycleAuthority": "native-skills-cli",
|
|
539
539
|
"repairRecipe": {
|
|
540
540
|
"id": "engineering-workflow-dependency-first",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: ensure-coverage
|
|
3
3
|
description: "Define or audit behavior-first test criteria — ACs, required test levels, mock/integration/E2E policy — across three axes: breadth (Coverage Ledger), depth (over-mocking), presentation (perceivability of browser surfaces). NOT judging whether a single test is any good (test-quality), authoring browser tests (e2e-test), reviewing a PR (better-review), or delivering issues (resolve-issues)."
|
|
4
4
|
disable-model-invocation: true
|
|
5
|
-
release-version: 0.50.
|
|
5
|
+
release-version: 0.50.28
|
|
6
6
|
---
|
|
7
7
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
8
8
|
# Ensure Coverage
|
|
@@ -3,7 +3,7 @@ name: golden-path
|
|
|
3
3
|
description: "Golden-path E2E: the short list of user journeys whose failure blocks a release, kept in a repo as one contract (golden-paths.json) with a generated GOLDEN_PATHS.md and a generated GitHub Actions workflow, and run against a local build or a deployed URL for an ALIVE/DEAD verdict. Use to set golden paths up in a repo ('init golden paths', 'add golden-path CI'), to migrate an older smoke.manifest.json or a hand-built smoke setup ('audit', 'migrate smoke'), to add, change, or remove a golden path, to ask 'is the build alive?' or run them before a PR or release, or when a change touches a flow listed in GOLDEN_PATHS.md. NOT for writing the Playwright specs themselves (e2e-test), deciding what a change must prove (ensure-coverage), or general workflow YAML (github-actions)."
|
|
4
4
|
dependencies:
|
|
5
5
|
- e2e-test
|
|
6
|
-
release-version: 0.50.
|
|
6
|
+
release-version: 0.50.28
|
|
7
7
|
---
|
|
8
8
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
9
9
|
# Golden path
|
|
@@ -3,7 +3,7 @@ name: harness-runtime
|
|
|
3
3
|
description: Internal import-only library shared by first-party engineering packages. Not a workflow skill; never select or invoke it as a user capability.
|
|
4
4
|
disable-model-invocation: true
|
|
5
5
|
user-invocable: false
|
|
6
|
-
release-version: 0.50.
|
|
6
|
+
release-version: 0.50.28
|
|
7
7
|
---
|
|
8
8
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
9
9
|
# Harness Runtime
|
|
@@ -9,7 +9,7 @@ dependencies:
|
|
|
9
9
|
- better-review
|
|
10
10
|
- golden-path
|
|
11
11
|
- harness-runtime
|
|
12
|
-
release-version: 0.50.
|
|
12
|
+
release-version: 0.50.28
|
|
13
13
|
---
|
|
14
14
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
15
15
|
# Resolve issues
|
|
@@ -155,7 +155,7 @@ trusted complete result for that HEAD is posted on the PR; it runs alongside
|
|
|
155
155
|
CI. From round 2, carry a HEAD that follows a pass, else pick the tier: a
|
|
156
156
|
carry or skip writes its record and spawns no reviewer ([review.md](references/review.md#tier-then-verdict)).
|
|
157
157
|
Merge [GitHub reviews](references/review.md#github-reviews) into its result,
|
|
158
|
-
run `review-verdict.mjs
|
|
158
|
+
run `review-verdict.mjs --require-spec` for units with agreed criteria, and follow the `verdict` it prints (exit 0; 2 only if it could not run): `pass`; `fix`, give the
|
|
159
159
|
`fixBrief` (P0/P1), its retained reproducers and any selected supporting P2 under [dropbox routing](references/dropbox.md#supporting-p2-work) to the implementation owner as its `action` says, then review
|
|
160
160
|
again; `review-again`; `handback`, defer the PR with its open findings; `wait`,
|
|
161
161
|
request the awaited re-review; `decide`, answer the `decide` file
|
|
@@ -104,7 +104,7 @@ record, then run the [GitHub merge](#github-reviews) and the verdict on it as
|
|
|
104
104
|
on any round, with no `--base`:
|
|
105
105
|
|
|
106
106
|
```bash
|
|
107
|
-
node <skill-base-dir>/scripts/review-verdict.mjs --carry \
|
|
107
|
+
node <skill-base-dir>/scripts/review-verdict.mjs --carry --require-spec \
|
|
108
108
|
--review <run>/reviews/<unit>-r<N+1>.json --head <headSha> --base <review base>
|
|
109
109
|
```
|
|
110
110
|
|
|
@@ -216,7 +216,7 @@ the PR author; `github-reviews.mjs` reads them and decides what blocks.
|
|
|
216
216
|
--git <run>/reviews/<unit>/clone --base <review base> &&
|
|
217
217
|
node <skill-base-dir>/scripts/github-reviews.mjs merge --pr <owner/name#N> \
|
|
218
218
|
--head <PR headSha> --review <run>/reviews/<unit>-r<N>.json &&
|
|
219
|
-
node <skill-base-dir>/scripts/review-verdict.mjs \
|
|
219
|
+
node <skill-base-dir>/scripts/review-verdict.mjs --require-spec \
|
|
220
220
|
--review <run>/reviews/<unit>-r<N>.json --head <PR headSha> [--base <review base>]
|
|
221
221
|
```
|
|
222
222
|
|
|
@@ -227,6 +227,11 @@ the PR author; `github-reviews.mjs` reads them and decides what blocks.
|
|
|
227
227
|
`--base` is required for a skip record the scope script wrote (a carry
|
|
228
228
|
needs none), and the command then runs in the unit's review clone.
|
|
229
229
|
|
|
230
|
+
Use `--require-spec` for every verdict or carry when the unit has agreed
|
|
231
|
+
acceptance criteria. If its spec pass is missing or skipped, restore the
|
|
232
|
+
source and have the reviewer finish that pass in the same round. Omit the
|
|
233
|
+
flag for an explicitly code-only review.
|
|
234
|
+
|
|
230
235
|
| Verdict | Do |
|
|
231
236
|
|---|---|
|
|
232
237
|
| `pass` | Record `reviewedHead` and `deferred` (for a confirmed skip, `tier` and `carriedFrom` too); mark ready once CI is green on this HEAD |
|
|
@@ -558,6 +558,7 @@ export function nextActions(plan, reviews = {}, capacity, { resume = false, now,
|
|
|
558
558
|
}
|
|
559
559
|
if (!u.headSha) continue
|
|
560
560
|
const review = reviews[id]
|
|
561
|
+
const verdict = u.issue || u.source ? 'review-verdict.mjs --require-spec' : 'review-verdict.mjs'
|
|
561
562
|
// A fix brief at the HEAD (GitHub feedback merged after the pass) outranks the old pass.
|
|
562
563
|
const fixAtHead = review && review.head === u.headSha && review.fix
|
|
563
564
|
if (u.reviewedHead === u.headSha && !fixAtHead) {
|
|
@@ -568,16 +569,16 @@ export function nextActions(plan, reviews = {}, capacity, { resume = false, now,
|
|
|
568
569
|
} else if (reviewAgain.has(id)) {
|
|
569
570
|
add('start-review', u, `review ${u.pr} at ${u.headSha.slice(0, 7)} again against the issue as it reads now (round ${review.round + 1}, full); review-verdict compares it with round ${review.round}`)
|
|
570
571
|
} else if (review && u.reviewedHead === review.head && review.complete && !review.blocking && !review.awaiting) {
|
|
571
|
-
add('carry', u, `review passed on ${review.head.slice(0, 7)}; ${u.headSha.slice(0, 7)} came after it, so no reviewer: in its review clone run
|
|
572
|
+
add('carry', u, `review passed on ${review.head.slice(0, 7)}; ${u.headSha.slice(0, 7)} came after it, so no reviewer: in its review clone run ${verdict} --carry --review <run>/reviews/${id}-r${review.round + 1}.json --head ${u.headSha} --base <review base> ; then github-reviews.mjs merge and ${verdict} on that file`)
|
|
572
573
|
} else if (review && review.head === u.headSha) {
|
|
573
574
|
const answer = reviewQuestion(u) ? answeredBy.get(decideKey(id, review)) : undefined
|
|
574
575
|
if (review.fix) add('start-fix', u, `give reviews/${id}-r${review.round}.fix.json to a fix worker, as its action says`)
|
|
575
|
-
else if (answer !== undefined) add('review-verdict', u, `decision ${answer} answers reviews/${id}-r${review.round}.decide.json: run
|
|
576
|
-
else add('review-verdict', u, `run github-reviews.mjs merge, then
|
|
576
|
+
else if (answer !== undefined) add('review-verdict', u, `decision ${answer} answers reviews/${id}-r${review.round}.decide.json: run ${verdict} on reviews/${id}-r${review.round}.json with --decision ${answer}`)
|
|
577
|
+
else add('review-verdict', u, `run github-reviews.mjs merge, then ${verdict}, on reviews/${id}-r${review.round}.json`)
|
|
577
578
|
} else {
|
|
578
579
|
const next = (review?.round ?? 0) + 1
|
|
579
580
|
add('start-review', u, review
|
|
580
|
-
? `pick the tier for ${u.pr} at ${u.headSha.slice(0, 7)}: rereview-scope.mjs --prior <run>/reviews/${id}-r${review.round}.json --base <review base> --head ${u.headSha} --write-skip <run>/reviews/${id}-r${next}.json; on skip run
|
|
581
|
+
? `pick the tier for ${u.pr} at ${u.headSha.slice(0, 7)}: rereview-scope.mjs --prior <run>/reviews/${id}-r${review.round}.json --base <review base> --head ${u.headSha} --write-skip <run>/reviews/${id}-r${next}.json; on skip run ${verdict} on that file, else spawn round ${next}'s reviewer`
|
|
581
582
|
: `review ${u.pr} at ${u.headSha.slice(0, 7)} (round ${next})`)
|
|
582
583
|
}
|
|
583
584
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
// alone, so a P2 can never send a PR back for fixes and a P3 is ignored: never deferred,
|
|
4
4
|
// never filed, never checked.
|
|
5
5
|
//
|
|
6
|
-
// review-verdict.mjs --review <run>/reviews/<unit>-r<N>.json --head <sha> [--base <ref>] [--decision <id>] [--exit-verdict]
|
|
7
|
-
// review-verdict.mjs --carry --review <run>/reviews/<unit>-r<N+1>.json --head <sha> --base <ref>
|
|
6
|
+
// review-verdict.mjs --review <run>/reviews/<unit>-r<N>.json --head <sha> [--require-spec] [--base <ref>] [--decision <id>] [--exit-verdict]
|
|
7
|
+
// review-verdict.mjs --carry --review <run>/reviews/<unit>-r<N+1>.json --head <sha> --base <ref> [--require-spec]
|
|
8
8
|
//
|
|
9
9
|
// --carry: a HEAD pushed after a passing review (a CI fix or a base update) gets no
|
|
10
10
|
// reviewer. Run it in the unit's review clone with --head fetched. It writes the carry
|
|
@@ -297,10 +297,14 @@ function skipLinkProblems(link, before) {
|
|
|
297
297
|
return problems
|
|
298
298
|
}
|
|
299
299
|
|
|
300
|
+
function requireSpecPass(review) {
|
|
301
|
+
if (review?.passes?.spec !== 'done') throw new ReviewIncomplete("Restore the unit's acceptance source to the reviewer brief and complete the spec pass.")
|
|
302
|
+
}
|
|
303
|
+
|
|
300
304
|
// A skip carries an approval only when every link back to a real review holds, and the
|
|
301
305
|
// scope script, rerun now, still picks skip. `chain` is the previous record, then the
|
|
302
306
|
// ones before it, newest first; `confirmSkip()` returns the rerun's { tier, reasons }.
|
|
303
|
-
function checkSkip(review, chain, confirmSkip) {
|
|
307
|
+
function checkSkip(review, chain, confirmSkip, requireSpec) {
|
|
304
308
|
let link = review
|
|
305
309
|
for (const [i, before] of [...chain, undefined].entries()) {
|
|
306
310
|
if (i > 0) {
|
|
@@ -309,6 +313,7 @@ function checkSkip(review, chain, confirmSkip) {
|
|
|
309
313
|
}
|
|
310
314
|
const problems = skipLinkProblems(link, before)
|
|
311
315
|
if (problems.length) throw new ReviewIncomplete(`skip record does not hold: round ${link.round}: ${problems.join('; ')}; spawn the reviewer`)
|
|
316
|
+
if (requireSpec) requireSpecPass(before)
|
|
312
317
|
if (reviewTier(before) !== 'skip') break
|
|
313
318
|
link = before
|
|
314
319
|
}
|
|
@@ -320,12 +325,17 @@ function checkSkip(review, chain, confirmSkip) {
|
|
|
320
325
|
}
|
|
321
326
|
}
|
|
322
327
|
|
|
323
|
-
export function reviewVerdict(review, head, prior = null, { confirmSkip, earlier = [], history = [], decision = null } = {}) {
|
|
328
|
+
export function reviewVerdict(review, head, prior = null, { confirmSkip, earlier = [], history = [], decision = null, requireSpec = false } = {}) {
|
|
324
329
|
if (!isText(head)) throw new ReviewVerdictError('--head is required')
|
|
325
330
|
const problems = checkReview(review, head, { requireRulePaths: true })
|
|
326
331
|
if (problems.length) throw new ReviewIncomplete(`incomplete review; spawn the reviewer again only after resolving any execution incident:\n- ${problems.join('\n- ')}`)
|
|
327
332
|
const skip = reviewTier(review) === 'skip'
|
|
328
|
-
if (
|
|
333
|
+
if (requireSpec) requireSpecPass(review)
|
|
334
|
+
// Delta reviews inherit spec rows from the previous round.
|
|
335
|
+
if (requireSpec && reviewTier(review) === 'delta' && prior?.passes?.spec !== 'done') {
|
|
336
|
+
throw new ReviewIncomplete("The delta has no completed spec pass to inherit. Review the unit's acceptance source in a full review.")
|
|
337
|
+
}
|
|
338
|
+
if (skip) checkSkip(review, [prior, ...earlier], confirmSkip, requireSpec)
|
|
329
339
|
|
|
330
340
|
const fixRound = effectiveFixRound(review, prior)
|
|
331
341
|
const blocking = review.findings.filter((f) => BLOCKING.includes(f.severity))
|
|
@@ -410,7 +420,7 @@ export function fixBriefOf(result) {
|
|
|
410
420
|
}
|
|
411
421
|
}
|
|
412
422
|
|
|
413
|
-
const USAGE = 'usage: review-verdict.mjs --review <reviews/<unit>-r<N>.json> --head <sha> [--prior <reviews/<unit>-r<N-1>.json>] [--base <ref> (required for a scope-script skip record)] [--decision <decisions id>]\n review-verdict.mjs --carry --review <reviews/<unit>-r<N+1>.json> --head <sha> --base <ref>'
|
|
423
|
+
const USAGE = 'usage: review-verdict.mjs --review <reviews/<unit>-r<N>.json> --head <sha> [--require-spec] [--prior <reviews/<unit>-r<N-1>.json>] [--base <ref> (required for a scope-script skip record)] [--decision <decisions id>]\n review-verdict.mjs --carry --review <reviews/<unit>-r<N+1>.json> --head <sha> --base <ref> [--require-spec]'
|
|
414
424
|
|
|
415
425
|
const ROUND_FILE = /^(.*-r)(\d+)\.json$/
|
|
416
426
|
// The round a review file's name gives it, or null when the name has none.
|
|
@@ -420,6 +430,7 @@ function parseArgs(argv) {
|
|
|
420
430
|
const opts = {}
|
|
421
431
|
for (let i = 0; i < argv.length; i += 2) {
|
|
422
432
|
if (argv[i] === '--carry') { opts.carry = true; i--; continue }
|
|
433
|
+
if (argv[i] === '--require-spec') { opts.requireSpec = true; i--; continue }
|
|
423
434
|
if (argv[i] === '--exit-verdict') { opts.exitVerdict = true; i--; continue }
|
|
424
435
|
if (argv[i] === '--json') { i--; continue } // the output is always JSON
|
|
425
436
|
if (!argv[i]?.startsWith('--') || argv[i + 1] === undefined) throw new ReviewVerdictError(USAGE)
|
|
@@ -519,6 +530,7 @@ if (isMainModule(import.meta.url)) {
|
|
|
519
530
|
const prior = readPrior(opts, { fixRound: 1 })
|
|
520
531
|
if (isRecord(prior) && prior.round !== n - 1) throw new ReviewIncomplete(`the round before ${basename(opts.review)} records round ${prior.round}, not ${n - 1}; review it`)
|
|
521
532
|
carryRecord(prior, opts.head) // refuse a round that did not pass before touching git
|
|
533
|
+
if (opts.requireSpec) requireSpecPass(prior)
|
|
522
534
|
const git = (args) => execFileSync('git', args, { encoding: 'utf8' }).trim()
|
|
523
535
|
let identity
|
|
524
536
|
try {
|
|
@@ -538,7 +550,7 @@ if (isMainModule(import.meta.url)) {
|
|
|
538
550
|
const confirmSkip = opts.base ? () => rereviewScope({ prior, base: opts.base, head: opts.head }) : undefined
|
|
539
551
|
const earlier = reviewTier(review) === 'skip' ? readEarlier(opts, prior) : []
|
|
540
552
|
const history = () => readHistory(opts, review)
|
|
541
|
-
const result = reviewVerdict(review, opts.head, prior, { confirmSkip, earlier, history, decision: opts.decision ?? null })
|
|
553
|
+
const result = reviewVerdict(review, opts.head, prior, { confirmSkip, earlier, history, decision: opts.decision ?? null, requireSpec: opts.requireSpec })
|
|
542
554
|
if (result.verdict === 'fix') {
|
|
543
555
|
result.fixBrief = join(dirname(opts.review), `${basename(opts.review, '.json')}.fix.json`)
|
|
544
556
|
writeFileSync(result.fixBrief, `${JSON.stringify(fixBriefOf(result), null, 2)}\n`)
|
|
@@ -4,7 +4,7 @@ description: "Slash/explicit-only (/resolve-release). Full GitHub Flow release f
|
|
|
4
4
|
disable-model-invocation: true
|
|
5
5
|
metadata:
|
|
6
6
|
workflow-role: coordinator
|
|
7
|
-
release-version: 0.50.
|
|
7
|
+
release-version: 0.50.28
|
|
8
8
|
---
|
|
9
9
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
10
10
|
# Resolve release
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: test-quality
|
|
3
3
|
description: "Seven principles for tests that catch real bugs, and an audit that reports weak, redundant, and not-coverage tests without fixing them. Use when writing, changing, or reviewing tests, or when asked whether tests are useful, redundant, over-mocked, flaky, only assert static text, or test config files, or asked to make a slow test suite faster without losing coverage, or when the user asks to write the testing conventions into a repo's CONTRIBUTING.md. NOT defining what a spec must prove (ensure-coverage) or authoring browser tests (e2e-test)."
|
|
4
|
-
release-version: 0.50.
|
|
4
|
+
release-version: 0.50.28
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# Test Quality
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: compliance-audit
|
|
3
3
|
version: 2.9.0
|
|
4
4
|
description: "Audit operations against financial-compliance checklists (AML/KYC, VARS, PCI-DSS, TPA oversight, onboarding, transaction monitoring). Produces tracker.md (with a tracker.xlsx export) and phase-trail.md with layered validation; cites evidence by original filename. Input: reg-parser or the built-in VARS checklist"
|
|
5
|
-
release-version: 0.50.
|
|
5
|
+
release-version: 0.50.28
|
|
6
6
|
---
|
|
7
7
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
8
8
|
# Compliance Audit
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: contract-compare
|
|
3
3
|
description: "Compare two or more contracts side-by-side for structured diff, gap analysis, and benchmarking. Use when: comparing contracts or agreements, contract diff, compare terms, vendor-vs-vendor, compare our template vs theirs, compliance gap between contracts. NOT for single-contract risk review — use contract-review for that."
|
|
4
|
-
release-version: 0.50.
|
|
4
|
+
release-version: 0.50.28
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# Contract Compare
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: contract-review
|
|
3
3
|
description: "Review contracts for legal, commercial, and compliance risks via convert → chunk review → merge → validate (+ optional mandate preprocessing). Use for reviewing, auditing, or checking any contract, agreement, NDA, MSA, or SLA; input a file path (PDF/DOCX/TXT) or pasted text."
|
|
4
|
-
release-version: 0.50.
|
|
4
|
+
release-version: 0.50.28
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# Contract Review
|
|
@@ -3,7 +3,7 @@ name: doc-authenticity
|
|
|
3
3
|
version: 0.4.1
|
|
4
4
|
description: "Screen PDF documents and raster images for fabrication, tampering, Photoshop or other image-editor use, and content validity. Detects file type, runs format-specific authenticity forensics, classifies bank statements, conversation logs, invoices, agreements, and other documents, then applies type-specific validity checks. Produces separate authenticity (NO_EVIDENCE_OF_MODIFICATION / SUSPICIOUS / LIKELY_MODIFIED / INCONCLUSIVE) and validity (VALID / INVALID / INCONCLUSIVE) verdicts. Use whenever a user asks whether a document, screenshot, scan, statement, invoice, contract, chat log, receipt, or payment evidence is genuine, original, edited, Photoshopped, manipulated, fake, or valid."
|
|
5
5
|
disable-model-invocation: true
|
|
6
|
-
release-version: 0.50.
|
|
6
|
+
release-version: 0.50.28
|
|
7
7
|
---
|
|
8
8
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
9
9
|
# Document and Image Authenticity
|
|
@@ -12,7 +12,7 @@ description: >
|
|
|
12
12
|
impact, and a business report. Use for fraud, scam, mule, account-takeover,
|
|
13
13
|
chargeback, dispute, transfer, collection, or payout risk analysis even when the
|
|
14
14
|
user does not name this skill.
|
|
15
|
-
release-version: 0.50.
|
|
15
|
+
release-version: 0.50.28
|
|
16
16
|
---
|
|
17
17
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
18
18
|
# Fraud Detection
|
|
@@ -14,7 +14,7 @@ description: >
|
|
|
14
14
|
transactions" — even if they do not say payment-analysis. Do NOT use for
|
|
15
15
|
fraud rule discovery (fraud-detection) or TLD / MCC-miscoding
|
|
16
16
|
clusters (tld-detection).
|
|
17
|
-
release-version: 0.50.
|
|
17
|
+
release-version: 0.50.28
|
|
18
18
|
---
|
|
19
19
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
20
20
|
# Payment Analysis
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: portfolio-payment-analysis
|
|
3
3
|
description: Analyze Helipay/Worldpay submerchants from authorization, settlement, dispute and DART-340 exports; compare merchants and produce an offline interactive Chinese merchant report. Use for aggregator merchant comparisons, merchant authorization performance, issuer drilldown, merchant fraud/dispute histories and VAMP extract estimates. Portfolio-wide overviews belong to payment-analysis; fraud rule discovery belongs to fraud-detection.
|
|
4
|
-
release-version: 0.50.
|
|
4
|
+
release-version: 0.50.28
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# Portfolio payment analysis
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: rfi-writing
|
|
3
3
|
description: Draft, shorten, or independently review a payment company's Request for Information (RFI) reply to a card scheme, acquirer, or regulator. Use for RFI responses, scheme case packs, short narratives supported by case files, Sumsub/KYC, Elliptic/KYT or correspondence, and requests to combine screenshots into a submission PDF.
|
|
4
|
-
release-version: 0.50.
|
|
4
|
+
release-version: 0.50.28
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# RFI writing
|
|
@@ -8,7 +8,7 @@ description: >
|
|
|
8
8
|
links, an entity chain, and a watchlist for the operator's next domains.
|
|
9
9
|
Not transaction data (tld-detection) or fraud rules (fraud-detection).
|
|
10
10
|
disable-model-invocation: true
|
|
11
|
-
release-version: 0.50.
|
|
11
|
+
release-version: 0.50.28
|
|
12
12
|
---
|
|
13
13
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
14
14
|
# Similar Domain
|
|
@@ -6,7 +6,7 @@ description: >
|
|
|
6
6
|
patterns, with USD and BIN-country currency views, group profiles and priorities.
|
|
7
7
|
Not payment-analysis, fraud-detection, or website research.
|
|
8
8
|
disable-model-invocation: true
|
|
9
|
-
release-version: 0.50.
|
|
9
|
+
release-version: 0.50.28
|
|
10
10
|
---
|
|
11
11
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
12
12
|
# TLD detection
|