@1aboveio/skills 1.0.37 → 1.0.38

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 (75) hide show
  1. package/.codex-plugin/plugin.json +1 -1
  2. package/.codex-plugin/resources.json +139 -139
  3. package/package.json +4 -4
  4. package/skills/app-dev/airflow/SKILL.md +1 -1
  5. package/skills/app-dev/android-development/SKILL.md +1 -1
  6. package/skills/app-dev/app-debug/SKILL.md +1 -1
  7. package/skills/app-dev/better-auth/SKILL.md +1 -1
  8. package/skills/app-dev/data-catalog/SKILL.md +1 -1
  9. package/skills/app-dev/data-quality/SKILL.md +1 -1
  10. package/skills/app-dev/ios-foundation/SKILL.md +1 -1
  11. package/skills/app-dev/maestro/SKILL.md +1 -1
  12. package/skills/app-dev/monorepo/SKILL.md +1 -1
  13. package/skills/app-dev/nextjs-fullstack/SKILL.md +1 -1
  14. package/skills/app-dev/prisma-setup/SKILL.md +1 -1
  15. package/skills/app-dev/pyspark/SKILL.md +1 -1
  16. package/skills/app-dev/python-backend/SKILL.md +1 -1
  17. package/skills/app-dev/shadcn/SKILL.md +1 -1
  18. package/skills/app-dev/zod-v4/SKILL.md +1 -1
  19. package/skills/cicd/cloud-build/SKILL.md +1 -1
  20. package/skills/cicd/cloud-debug/SKILL.md +1 -1
  21. package/skills/cicd/cloud-deploy/SKILL.md +1 -1
  22. package/skills/cicd/docker/SKILL.md +1 -1
  23. package/skills/cicd/github-actions/SKILL.md +1 -1
  24. package/skills/cicd/github-flow/SKILL.md +1 -1
  25. package/skills/cicd/google-cloud/SKILL.md +1 -1
  26. package/skills/cicd/mergify/SKILL.md +1 -1
  27. package/skills/cicd/podman/SKILL.md +1 -1
  28. package/skills/content/article-review/SKILL.md +1 -1
  29. package/skills/content/article-to-image/SKILL.md +1 -1
  30. package/skills/content/flowchart-svg/SKILL.md +1 -1
  31. package/skills/content/image-gen/SKILL.md +1 -1
  32. package/skills/content/mermaid/SKILL.md +1 -1
  33. package/skills/content/wechat-article-writer/SKILL.md +1 -1
  34. package/skills/content/wechat-publisher/SKILL.md +1 -1
  35. package/skills/content/wechat-search/SKILL.md +1 -1
  36. package/skills/content/xai-search/SKILL.md +1 -1
  37. package/skills/core/distill-writing/SKILL.md +1 -1
  38. package/skills/core/doc-to-md/SKILL.md +1 -1
  39. package/skills/core/editorial-review/SKILL.md +1 -1
  40. package/skills/core/house-style/SKILL.md +1 -1
  41. package/skills/core/plain-language/SKILL.md +1 -1
  42. package/skills/core/polish-cn/SKILL.md +1 -1
  43. package/skills/core/reg-parser/SKILL.md +1 -1
  44. package/skills/core/terminology/SKILL.md +1 -1
  45. package/skills/core/write-doc/SKILL.md +1 -1
  46. package/skills/core/write-report/SKILL.md +1 -1
  47. package/skills/engineering/acceptance-design/SKILL.md +1 -1
  48. package/skills/engineering/better-review/SKILL.md +1 -1
  49. package/skills/engineering/e2e-test/SKILL.md +1 -1
  50. package/skills/engineering/engineering/SKILL.md +1 -1
  51. package/skills/engineering/engineering-runtime/SKILL.md +1 -1
  52. package/skills/engineering/engineering-runtime/coherence/workflow.json +14 -14
  53. package/skills/engineering/ensure-coverage/SKILL.md +1 -1
  54. package/skills/engineering/golden-path/SKILL.md +1 -1
  55. package/skills/engineering/harness-runtime/SKILL.md +1 -1
  56. package/skills/engineering/resolve-issues/SKILL.md +2 -2
  57. package/skills/engineering/resolve-issues/references/done.md +17 -6
  58. package/skills/engineering/resolve-issues/references/expire.md +1 -1
  59. package/skills/engineering/resolve-issues/references/preflight.md +1 -1
  60. package/skills/engineering/resolve-issues/references/task-plan.md +6 -2
  61. package/skills/engineering/resolve-issues/scripts/next-actions.mjs +42 -12
  62. package/skills/engineering/resolve-release/SKILL.md +1 -1
  63. package/skills/engineering/rush-issues/SKILL.md +3 -3
  64. package/skills/engineering/rush-release/SKILL.md +1 -1
  65. package/skills/engineering/test-quality/SKILL.md +1 -1
  66. package/skills/risk-compliance/compliance-audit/SKILL.md +1 -1
  67. package/skills/risk-compliance/contract-compare/SKILL.md +1 -1
  68. package/skills/risk-compliance/contract-review/SKILL.md +1 -1
  69. package/skills/risk-compliance/doc-authenticity/SKILL.md +1 -1
  70. package/skills/risk-compliance/fraud-detection/SKILL.md +1 -1
  71. package/skills/risk-compliance/payment-analysis/SKILL.md +1 -1
  72. package/skills/risk-compliance/portfolio-payment-analysis/SKILL.md +1 -1
  73. package/skills/risk-compliance/rfi-writing/SKILL.md +1 -1
  74. package/skills/risk-compliance/similar-domain/SKILL.md +1 -1
  75. 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": "251f1894010375749a6b6019e72f211e3b0bd4f4c906b6f539e58c6236d51f18",
375
+ "contentDigest": "a3703310103bd53d124c3da1743d5768df2e4a1e78a636047100bb84b02dd035",
376
376
  "digestExcludes": []
377
377
  },
378
378
  {
@@ -385,7 +385,7 @@
385
385
  "repository": "1aboveio/ai",
386
386
  "revision": "main"
387
387
  },
388
- "contentDigest": "fd74d6569c3afdce331788c2dd2cf4c4375c4e936babcb6f890e53e434d81b4e",
388
+ "contentDigest": "a202f11802b4518508e7a72134ae44e5ad4b73512c3d0b1bc30a469aa67e23ef",
389
389
  "digestExcludes": []
390
390
  },
391
391
  {
@@ -398,7 +398,7 @@
398
398
  "repository": "1aboveio/ai",
399
399
  "revision": "main"
400
400
  },
401
- "contentDigest": "6fe410e4b3ea72127ac17036fa3691a64f513b2df3e158f27552efcb7a84c8e8",
401
+ "contentDigest": "a4f885fc5821e8efc1d18745bcfea92811f9e58ee14813b650e1b02919fca786",
402
402
  "digestExcludes": []
403
403
  },
404
404
  {
@@ -411,7 +411,7 @@
411
411
  "repository": "1aboveio/ai",
412
412
  "revision": "main"
413
413
  },
414
- "contentDigest": "a50095ea9a8b5fbc170700850bdb8a7ac8c7d8ac5b25d6ac36bf92968e318135",
414
+ "contentDigest": "b403234ad5534ab9d12eb686460e480ae69a579cd09097c6af402e7e7fd5d841",
415
415
  "digestExcludes": []
416
416
  },
417
417
  {
@@ -424,7 +424,7 @@
424
424
  "repository": "1aboveio/ai",
425
425
  "revision": "main"
426
426
  },
427
- "contentDigest": "57ca309d3ac90b94658fd8e754f0b2e01d8520de869f5ccf8db146beecc20abf",
427
+ "contentDigest": "bf64548f39328a994391cd0ac33731bd036e7470cb5820b0b2b372a3e1638419",
428
428
  "digestExcludes": []
429
429
  },
430
430
  {
@@ -437,7 +437,7 @@
437
437
  "repository": "1aboveio/ai",
438
438
  "revision": "main"
439
439
  },
440
- "contentDigest": "36bcb23c82ffc2c68db817d9edca19f421013255f26efda3857416f71f11a4d3",
440
+ "contentDigest": "036538aaa20d991bea0c16e383afb1c0a08128142dde19cf047348a3029301c1",
441
441
  "digestExcludes": []
442
442
  },
443
443
  {
@@ -450,7 +450,7 @@
450
450
  "repository": "1aboveio/ai",
451
451
  "revision": "main"
452
452
  },
453
- "contentDigest": "d88b73bd13b4d9ff40d255f0c24cc69fb10303fab19f630b29c74b818a6ba90f",
453
+ "contentDigest": "1cb5dc3b9f693c8467fba03d60f1fe39b0dde46b7a2f0aaec9dcbf1075abc2e5",
454
454
  "digestExcludes": []
455
455
  },
456
456
  {
@@ -463,7 +463,7 @@
463
463
  "repository": "1aboveio/ai",
464
464
  "revision": "main"
465
465
  },
466
- "contentDigest": "c2c24224ece09497d09db4cf9efd154f1c32be66617144c5d1a863c632a78c56",
466
+ "contentDigest": "c61c1d90a50fc13b3272f7be317a4106ca01508fd2284bf9666d1bb7923bdc83",
467
467
  "digestExcludes": []
468
468
  },
469
469
  {
@@ -476,7 +476,7 @@
476
476
  "repository": "1aboveio/ai",
477
477
  "revision": "main"
478
478
  },
479
- "contentDigest": "33fa38e18229e9abb903f347d90b56296a76ffe4afcba83c5071f9a6693a416a",
479
+ "contentDigest": "77006d12878ab170f6a8bc999d0a0d61922db255fa946c543d263078d841b2d2",
480
480
  "digestExcludes": []
481
481
  },
482
482
  {
@@ -489,7 +489,7 @@
489
489
  "repository": "1aboveio/ai",
490
490
  "revision": "main"
491
491
  },
492
- "contentDigest": "330364c70ef5414969bc96d2e0db6cdd1f4dfebcc3ae5146a9245822381d5428",
492
+ "contentDigest": "08453906baf6ebfe57ab061fec699cd4289a87adb12ee3d82f83dd8d5b174182",
493
493
  "digestExcludes": []
494
494
  },
495
495
  {
@@ -502,7 +502,7 @@
502
502
  "repository": "1aboveio/ai",
503
503
  "revision": "main"
504
504
  },
505
- "contentDigest": "8aa060cdc1454e879d055f55cbae77357004ff0bca50993d6c0ca03b3c952d2a",
505
+ "contentDigest": "168e89e98a17ccf7ba751f5f09c8ac183aac314558670eee7c4b7406ea3071e9",
506
506
  "digestExcludes": []
507
507
  },
508
508
  {
@@ -515,7 +515,7 @@
515
515
  "repository": "1aboveio/ai",
516
516
  "revision": "main"
517
517
  },
518
- "contentDigest": "15ce8aebb2ea2bcb91bd4d23125dab7c00c34265eeb709ab8bb8c3c80bcd2c53",
518
+ "contentDigest": "cdd587ac764b4245911279eabda781921ef666f8d386035aa63c885e930ccf99",
519
519
  "digestExcludes": []
520
520
  },
521
521
  {
@@ -528,13 +528,13 @@
528
528
  "repository": "1aboveio/ai",
529
529
  "revision": "main"
530
530
  },
531
- "contentDigest": "be04b70d5e549e25afd6103499bb3833f472f96fc50ccd8ea81ada41e180770d",
531
+ "contentDigest": "972107320d0fd65bec0d6179159ebf2e0e279f7b07826f9ac0328ba7559c33a8",
532
532
  "digestExcludes": [
533
533
  "coherence/workflow.json"
534
534
  ]
535
535
  }
536
536
  ],
537
- "releaseIdentity": "d358b8e32ca84b169adff63d4b36b16d9d80f563759f3ff17db92eab957e736e",
537
+ "releaseIdentity": "51fc79f94f41026a1d1d4ade9f2afdad11597c0e179c31c022fff6522a17bd1f",
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.17
5
+ release-version: 0.50.18
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.17
6
+ release-version: 0.50.18
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.17
6
+ release-version: 0.50.18
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.17
12
+ release-version: 0.50.18
13
13
  ---
14
14
  **Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
15
15
  # Resolve issues
@@ -247,4 +247,4 @@ behavior delivered, checks and results, the PR and its CI run, and any
247
247
  outstanding blocker or pending obligation as an issue link, then
248
248
  [post the dropbox](references/dropbox.md#post-at-the-end) and the run
249
249
  line: elapsed time (as on the board) and the run directory.
250
- Then [close the run](references/done.md#close-the-run): complete the goal; never pause it for a reply.
250
+ Then [close the run](references/done.md#close-the-run): keep the Goal and plan bound on `handoff`. Complete the Goal only on verified `finish`.
@@ -35,9 +35,20 @@ merged or its human-only remainder was excluded. Link that obligation in the rep
35
35
 
36
36
  After the report ([SKILL.md](../SKILL.md#done)):
37
37
 
38
- The run is done when nothing it can do is left: every unit landed,
39
- cancelled, deferred, or (`supervised`) handed back merge-ready. Mark the goal
40
- complete (`update_goal` with `complete`), which also releases the workflow;
41
- never pause it for a reply. The report lists each deferred item with its
42
- owning issue and what each not-started unit waits on; a later run on the
43
- spec picks them up.
38
+ A round can hand back outstanding requirements. On `handoff`, post the report and
39
+ dropbox, name each remaining unit, its blocker and the event that can clear it.
40
+ Record any missing evidence you can still collect. Leave the same Goal active
41
+ and its workflow and plan bound. Once the remaining work needs an external event,
42
+ use `release_workflow` to register the wait in Pi. A user reply, relevant worker
43
+ result or scheduled retry can continue this Goal. Respect an explicit user pause.
44
+
45
+ Call `update_goal` with `complete` only on a sole `finish`, after checking the
46
+ whole objective, including closing the parent issue if requested. Cover any
47
+ whole-spec criteria in the plan. Record the qualifying result or reference in
48
+ each delivered unit's `acceptanceEvidence`. Link existing evidence instead of
49
+ rerunning accepted checks. For an excluded issue, record its verified outcome
50
+ there too. To remove required scope, record the user's explicit words and the
51
+ affected requirement in a decision with `source: user` and `removedUnits` naming
52
+ exactly the cancelled unit IDs or excluded issue references the user removed.
53
+ Approval to perform work keeps it in scope. Agent recommendations, deferrals,
54
+ superseded decisions and cancellation alone leave the requirement outstanding.
@@ -248,7 +248,7 @@ use an explicit replacement under the [owner contract](implementation.md#impleme
248
248
  keeping the replaced reference as evidence; replacement briefs use those local facts
249
249
  rather than an old transcript. Keep the response limits and history above. Record a queue stall with the
250
250
  provider pending as a wait and watch again. End the run only when
251
- `next-actions.mjs`, invoked with [live capacity](implementation.md#live-capacity), prints `finish`, and never claim the spec complete.
251
+ `next-actions.mjs`, invoked with [live capacity](implementation.md#live-capacity), prints `handoff`. Report the blocker and keep the Goal active.
252
252
 
253
253
  ## Proof stays with its unit
254
254
 
@@ -498,7 +498,7 @@ asking which to do.
498
498
  | `review-verdict.mjs` verdict `wait` (a GitHub reviewer's re-review) | Request it and keep shipping other units; after 30 minutes block the unit `review-handback` ([review.md](review.md#procedure)) |
499
499
  | A unit out of fix cycles, or `review-verdict.mjs` verdict `handback` | Defer the unit: keep its draft PR and workspace |
500
500
  | Host capacity cannot be determined | Start no new workers, record `capacity-unavailable` on the board, and re-read capacity at every notice and scheduling pass; never guess a budget, and finish only when `next-actions.mjs` prints `finish` |
501
- | Every remaining unit blocked or deferred | End the run when `next-actions.mjs` prints `finish` ([done.md](done.md#close-the-run)) |
501
+ | Every remaining unit blocked or deferred | Hand back the round on `handoff` and keep the Goal active ([done.md](done.md#close-the-run)) |
502
502
 
503
503
  **Defer** means: record once, on the issue that owns it, what is left, why,
504
504
  and the exact step that finishes it; keep the work; hold only what depends
@@ -93,6 +93,7 @@ Fleet `status`: `pending`, `in-flight`, `succeeded`, `failed`,
93
93
  | `worker`, `workerSince`, `clock` | Slot identifier of any worker running for the unit (implementer, reviewer, fix), `null` when none; when that worker started (ISO time, for [stuck-worker checks](expire.md#waits)); attempt and cumulative wall time |
94
94
  | `workerKind` | `implement`, `fix`, or `review`, set with `worker`; the [live-capacity scheduler](implementation.md#live-capacity) (`next-actions.mjs`) prints `worker-kind` for any other kind or none. An infrastructure diagnosis or a test-first worker is a `fix` worker. The explorer is the `explore` fleet row's worker, never a unit's; a merge-queue watcher is not a worker |
95
95
  | `implementationOwner` | Saved implementation conversation: `{sessionId, runId?, cwd?, kind?}`. `sessionId` is the native session to continue and is what `subagent_spawn({session_id})` takes; `runId` is that session's latest attempt, never a `session_id`. `kind` is `implement` (default) or `fix`, never `review`; `cwd`, when recorded, matches `workspace`. Save the spawn receipt here, independently of `worker`; a parked owner occupies no slot. The scheduler emits `owner-resume` for a usable owner, `owner-recovery` for a legacy record that holds only an attempt id, or an explicit `ownerUnavailable` reason for replacement. `retentionReleased` on an old plan is inert history: nothing reads or releases it. Old plans remain readable. See [ownership](implementation.md#implementation-owner). |
96
+ | `acceptanceEvidence` | Result or reference verifying the unit's agreed criteria, including any required manual checks. Record the result when verified. |
96
97
  | `reviewSession` | Optional `{sessionId, runId?, head, round}` for the current unfinished review: the same session/attempt split, continued only for the same HEAD and scope. Clear it when that round completes, so the next completed-review round starts fresh. It is never an implementation owner or a slot reservation. |
97
98
  | `retiredSessions` | Optional references kept beside a replaced implementation owner or unfinished reviewer: `{sessionId?, runId?, kind, reason?}`. Only as evidence for the replacement brief and for the record; no release operation is owed. |
98
99
  | `estimatedLines` | Preflight assessment estimate |
@@ -155,7 +156,10 @@ the original review and retire its pending dropbox entry as documented there.
155
156
  question it settles (`results/<unit>-<label>.json`, or
156
157
  `reviews/<unit>-r<N>.decide.json`), which ends that unit's `decide`. A `rush-issues` decision taken from the
157
158
  agent's recommendation adds `source: agent-recommendation` and the
158
- recommendation's reason; its human's words are the invocation.
159
+ recommendation's reason; its human's words are the invocation. When the user
160
+ explicitly removes scope, record `source: user` and `removedUnits` listing the
161
+ affected unit IDs or excluded issue references. The scheduler checks this
162
+ decision at [Goal acceptance](done.md#close-the-run).
159
163
 
160
164
  ### Worker selection on resume
161
165
 
@@ -265,7 +269,7 @@ Example: someone files #61 under epic #12 mid-run; the next resume prints
265
269
  close it", and into the handback.
266
270
  - A unit that depends on an `excluded` issue waits for a human: it stays
267
271
  `pending` (not started), `next-actions.mjs` with [live capacity](implementation.md#live-capacity) gives it no action, and
268
- `finish` names it with what it waits on.
272
+ `handoff` names it with what it waits on.
269
273
  Example: unit #1801 is `blocked_by` emulator setup #1800, which
270
274
  the run excluded as unbuildable, so 1801 is not started, never `blocked`.
271
275
 
@@ -68,12 +68,11 @@
68
68
  // itself (retry-*, timeout-task, spawn-death, external-blocker) is due its next automatic attempt
69
69
  // (30m, 2h, 8h after blockedAt): set it in-flight, autoRetries + 1
70
70
  // wait no worker is active and no retry is due: arm one one-shot timer, never finish
71
- // finish every unit is delivered, blocked, cancelled, or not started behind one of
72
- // those (named in the detail, with units built whose PR cannot open because a
73
- // parent will not land): write the handoff. For a
74
- // GitHub spec it needs a fetch in the same call: without --sync, or when the
75
- // fetch failed, it prints `sync` instead. A run never finishes on a tree it
76
- // could not read
71
+ // handoff the round can report its results. Settlement lists each unit and excluded
72
+ // requirement with its evidence or remaining blocker.
73
+ // finish every settlement row has acceptance evidence or an explicit scope removal.
74
+ // Both actions require a fresh tree fetch for a GitHub spec. Without --sync,
75
+ // or if that fetch fails, the scheduler requests sync.
77
76
  //
78
77
  // A unit's optional `implementationOwner` is the implement-or-fix conversation that outlives the
79
78
  // worker slot, recorded from the harness as { sessionId, runId?, cwd?, kind }: `sessionId` is the
@@ -104,7 +103,7 @@
104
103
  // modes, a one-line rules reminder for that mode).
105
104
  //
106
105
  // Only this script decides that the run is finished. End a turn only when it prints nothing
107
- // due, or `finish`. Each due action records when it was first printed (<run>/next-actions-seen.json;
106
+ // due, `handoff`, or `finish`. Each due action records when it was first printed (<run>/next-actions-seen.json;
108
107
  // --peek reads without recording), and a repeat says how long it has gone undone.
109
108
  //
110
109
  // `blocked` means a unit itself is stopped, and its `blockedReason` says why, from
@@ -112,7 +111,7 @@
112
111
  // decision, a review handback, or (not in rush runs) a size hold. Any other block is reopened. A unit that only waits on another unit is
113
112
  // not started: it stays `pending`, never `blocked`. A pending
114
113
  // unit behind a parent that will not finish this run (blocked, cancelled, or `excluded`) gets no
115
- // action and counts as settled, so `finish` names it as not started and what it waits on.
114
+ // action and counts as settled, so `handoff` names it as not started and what it waits on.
116
115
  //
117
116
  // Actions that need a worker (start-fix, start-review, resume, fill-slot) are limited to the
118
117
  // free slots. A unit starts when its `dependsOn` parents' code is done, in every delivery mode;
@@ -153,7 +152,7 @@ export const WORKER_ACTION_KINDS = Object.freeze({ 'fill-slot': 'implement', res
153
152
  export const IMPLEMENTATION_OWNER_KINDS = Object.freeze(['implement', 'fix'])
154
153
  export const SKILL_PATH = join(dirname(dirname(fileURLToPath(import.meta.url))), 'SKILL.md')
155
154
  // Printed after every text call, and by rehydrate.mjs after a compaction.
156
- export const RULES = 'Per unit, run only implement, fix, and review workers, recorded as workerKind: no planning, architecture, product, or setup workers. You own preflight findings; use an optional explorer on the fleet explore row only for concrete planning unknowns (exploration.md). You coordinate: never edit product code. In full mode take every step from next-actions.mjs; in every mode the run ends only when it reports done. A HEAD after a passing review is carried; any other new HEAD takes the tier rereview-scope.mjs picks, never yours. Decide before you defer: a question a worker or review raises is answered and recorded, then the unit continues; retrying or deferring never answers it. Never block on the human: take the automatic answer and keep going. Fix the root cause, never only its symptom. Before each scheduling pass, refresh subagent_settings and pass its snapshot with --capacity-json; do not reuse a run-start budget or subtract workflow workers again.'
155
+ export const RULES = 'Per unit, run only implement, fix, and review workers, recorded as workerKind: no planning, architecture, product, or setup workers. You own preflight findings; use an optional explorer on the fleet explore row only for concrete planning unknowns (exploration.md). You coordinate: never edit product code. In full mode take every step from next-actions.mjs; in every mode report remaining work on handoff and complete the Goal only on verified finish. A HEAD after a passing review is carried; any other new HEAD takes the tier rereview-scope.mjs picks, never yours. Decide before you defer: a question a worker or review raises is answered and recorded, then the unit continues; retrying or deferring never answers it. Never block on the human: take the automatic answer and keep going. Fix the root cause, never only its symptom. Before each scheduling pass, refresh subagent_settings and pass its snapshot with --capacity-json; do not reuse a run-start budget or subtract workflow workers again.'
157
156
  export const DEFAULT_QUIET_MINUTES = 45
158
157
  // The reasons a unit may stay blocked (expire.md#reason-codes). Waiting on another unit, an
159
158
  // infrastructure or external blocker (a tree issue the unit waits on), and a size hold in a rush
@@ -236,6 +235,33 @@ export function workspaceCleanupSettled(unit) {
236
235
  (result.state === 'complete' || (result.state === 'retained' && typeof result.reason === 'string' && result.reason.trim().length > 0))
237
236
  }
238
237
 
238
+ // Evidence for the user's objective, including requirements parked outside the unit roster.
239
+ function goalSettlement(plan, units, waitsOn) {
240
+ const decisions = Array.isArray(plan.decisions) ? plan.decisions : []
241
+ const text = (value) => typeof value === 'string' && value.trim()
242
+ function disposition(row, unit, excluded) {
243
+ const receipt = text(row.acceptanceEvidence)
244
+ if (receipt && (row.status === 'succeeded' || excluded)) return { unit, status: 'delivered', evidence: receipt }
245
+ if (excluded || row.status === 'cancelled') {
246
+ const decision = decisions.find((d) => d.source === 'user' && Array.isArray(d.removedUnits) && d.removedUnits.includes(unit)
247
+ && text(d.id) && text(d.humanWords) && text(d.changes) && !decisions.some((later) => later.supersedes === d.id))
248
+ if (decision) {
249
+ return { unit, status: 'removed', evidence: decision.id + ': ' + decision.humanWords }
250
+ }
251
+ }
252
+ const dependency = !excluded && waitsOn(row)
253
+ if (dependency) return { unit, status: 'blocked', evidence: 'waiting for ' + dependency }
254
+ if (row.status === 'blocked') return { unit, status: 'blocked', evidence: text(row.humanNeed) || text(row.note) || row.blockedReason }
255
+ if (excluded) return { unit, status: 'unverified', evidence: text(row.reason) || 'check this excluded requirement' }
256
+ return { unit, status: 'unverified', evidence: row.status === 'cancelled'
257
+ ? 'cancellation has no current user scope-removal decision' : 'record the outstanding acceptance result or its blocker' }
258
+ }
259
+ return [
260
+ ...units.map((row) => disposition(row, String(row.id), false)),
261
+ ...(plan.excluded ?? []).map((row) => disposition(row, String(row.issue ?? row.id), true)),
262
+ ]
263
+ }
264
+
239
265
  // Pure decision from the plan and each unit's newest review round.
240
266
  // `capacity`: a fresh Harness snapshot, or an explicitly reconciled total workflow budget.
241
267
  // Snapshot availableSlots is already net of all running and reserved workers.
@@ -777,7 +803,10 @@ export function nextActions(plan, reviews = {}, capacity, { resume = false, now,
777
803
  detail: `unit ${next.id} is blocked (${next.blockedReason}); its next automatic attempt is at ${wakeAt}: arm one one-shot background retry timer (sleep ${delaySeconds}, completion callback enabled); cancel any obsolete retry timer and do not finish` })
778
804
  } else {
779
805
  const retained = units.filter((u) => managed(u) && u.lifecycle?.cleanup?.state === 'retained').map((u) => `${u.id}: ${u.lifecycle.cleanup.reason}`)
780
- due.push({ action: 'finish', unit: null, detail: `every unit is delivered, blocked, cancelled, or not started behind one of those: write the handoff${parked.length ? `; not started: ${parked.join(', ')}` : ''}${built.length ? `; built, PR not opened: ${built.join(', ')}` : ''}${openWaiting.length ? `; PR open, cannot land: ${openWaiting.join(', ')}` : ''}${retained.length ? `; retained environments (not cleaned): ${retained.join('; ')}` : ''}` })
806
+ const settlement = goalSettlement(plan, units, waitsOn)
807
+ const open = settlement.filter((row) => row.status === 'blocked' || row.status === 'unverified')
808
+ const action = open.length ? 'handoff' : 'finish'
809
+ due.push({ action, unit: null, settlement, detail: `write the handoff${open.length ? '; Goal remains active: ' + open.map((row) => row.unit + ': ' + row.evidence).join('; ') : '; acceptance verified'}${parked.length ? `; not started: ${parked.join(', ')}` : ''}${built.length ? `; built, PR not opened: ${built.join(', ')}` : ''}${openWaiting.length ? `; PR open, cannot land: ${openWaiting.join(', ')}` : ''}${retained.length ? `; retained environments (not cleaned): ${retained.join('; ')}` : ''}` })
781
810
  }
782
811
  }
783
812
  // How long each due action has gone undone, from when it was first printed.
@@ -951,7 +980,7 @@ if (isMainModule(import.meta.url)) {
951
980
  const guardNames = [...new Set(result.due.filter((a) => /^guards: (?!none)/m.test(view) && ['recover-workspace', 'prepare-workspace', 'cleanup-workspace', 'decide', 'review-verdict', 'unblock', 'worker-kind', 'split', 'sync', 'add-unit', 'drop-unit', 'set-deps', 'move-link', 'blocked-outside'].includes(a.action)).map((a) => a.action))]
952
981
  process.stdout.write(`${mode === 'off' ? `${view.split('\n')[0].replace(/: .*$/, '')}${guardNames.length ? ` (clear first: ${guardNames.join(', ')})` : ''}` : view}\n`)
953
982
  process.stdout.write(`${budgetLine(result.capacity)}\n`)
954
- process.stdout.write(rulesLine(`${mode === 'off' ? 'Scheduler mode off: plan every step yourself from the plan and results.' : 'Scheduler mode narrow: clear the guards, then choose each unit\'s next step yourself.'} The run ends only when this prints "run done".`))
983
+ process.stdout.write(rulesLine(`${mode === 'off' ? 'Scheduler mode off: plan every step yourself from the plan and results.' : 'Scheduler mode narrow: clear the guards, then choose each unit\'s next step yourself.'} The run ends only when this prints "run done". At "run handoff", report remaining Goal requirements.`))
955
984
  } else {
956
985
  for (const a of result.due) process.stdout.write(`${a.action.padEnd(15)}${a.detail}\n`)
957
986
  for (const a of result.waiting) process.stdout.write(`${'waiting-slot'.padEnd(15)}${a.detail}\n`)
@@ -975,7 +1004,8 @@ export function narrowView(plan, result) {
975
1004
  const wait = result.due.find((a) => a.action === 'wait')
976
1005
  const held = [...units.values()].filter((u) => u.status === 'blocked' && u.blockedReason === 'human-decision').map((u) => `${u.id} (item ${u.humanItem ?? '?'}: ${u.humanNeed ?? 'unstated'})`)
977
1006
  const done = result.due.some((a) => a.action === 'finish')
978
- const state = done ? 'done: write the handoff' : guards.length ? 'not done: clear the guards first' : work.length ? 'not done: units have work' : wait ? `not done: waiting (${wait.detail})` : 'not done: workers are running'
1007
+ const handoff = result.due.find((a) => a.action === 'handoff')
1008
+ const state = done ? 'done: write the handoff' : handoff ? 'handoff: ' + handoff.detail : guards.length ? 'not done: clear the guards first' : work.length ? 'not done: units have work' : wait ? `not done: waiting (${wait.detail})` : 'not done: workers are running'
979
1009
  return [`run ${state}`, `units with work: ${work.join(', ') || 'none'} (choose each unit's next step yourself)`,
980
1010
  `guards: ${guards.length ? guards.join(' | ') : 'none'}`, `held on the human: ${held.join(', ') || 'none'}`].join('\n')
981
1011
  }
@@ -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.17
7
+ release-version: 0.50.18
8
8
  ---
9
9
  **Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
10
10
  # Resolve release
@@ -1,12 +1,12 @@
1
1
  ---
2
2
  name: rush-issues
3
- description: "Slash/explicit-only (/rush-issues). No-questions shortcut of /resolve-issues: drive an issue, epic, or feature spec to reviewed, green PRs, one per issue, and merge each (through the queue when there is one). Takes every preflight default (the catalog's implementer slot unless the invocation pins one, the default branch, autonomous merge with blocker fixes, full scheduler mode unless scheduler= says otherwise, the drafted plan) and asks nothing, even at preflight; invoking it is the authorization. Like resolve-issues, never blocks on the human: it takes the automatic answer (the recommendation, formed if none; filed splits) and defers what only a human can do (a looser required check, shared-environment changes, missing access) on its owning issue while the rest ships. Posts the dropbox, then completes the goal. Do not auto-select. NOT for choosing the target branch, supervised merge, or trimming a plan or moving units to later (resolve-issues), and NOT for release work (rush-release)."
3
+ description: "Slash/explicit-only (/rush-issues). No-questions shortcut of /resolve-issues: drive an issue, epic, or feature spec to reviewed, green PRs, one per issue, and merge each (through the queue when there is one). Takes every preflight default (the catalog's implementer slot unless the invocation pins one, the default branch, autonomous merge with blocker fixes, full scheduler mode unless scheduler= says otherwise, the drafted plan) and asks nothing, even at preflight; invoking it is the authorization. Like resolve-issues, never blocks on the human: it takes the automatic answer (the recommendation, formed if none; filed splits) and defers what only a human can do (a looser required check, shared-environment changes, missing access) on its owning issue while the rest ships. Posts the dropbox at handoff. Completes the Goal after acceptance. Do not auto-select. NOT for choosing the target branch, supervised merge, or trimming a plan or moving units to later (resolve-issues), and NOT for release work (rush-release)."
4
4
  disable-model-invocation: true
5
5
  metadata:
6
6
  workflow-role: coordinator
7
7
  dependencies:
8
8
  - resolve-issues
9
- release-version: 0.50.17
9
+ release-version: 0.50.18
10
10
  ---
11
11
  **Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
12
12
  # Rush issues (shortcut of resolve-issues)
@@ -47,7 +47,7 @@ question.
47
47
  label; never install the hook or add the label yourself;
48
48
  - at the end, post the dropbox
49
49
  ([dropbox.md](../resolve-issues/references/dropbox.md#post-at-the-end))
50
- and complete the goal
50
+ and keep the Goal and workflow bound while required work remains. Complete the Goal only after verified acceptance
51
51
  ([done.md](../resolve-issues/references/done.md#close-the-run)).
52
52
  3. Everything else — run rules, stages, scripts, review, CI and merge, and the
53
53
  done criteria — applies exactly as `resolve-issues` states it. In particular,
@@ -6,7 +6,7 @@ metadata:
6
6
  workflow-role: coordinator
7
7
  dependencies:
8
8
  - resolve-release
9
- release-version: 0.50.17
9
+ release-version: 0.50.18
10
10
  ---
11
11
  **Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
12
12
  # Rush release (shortcut of 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.17
4
+ release-version: 0.50.18
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.17
5
+ release-version: 0.50.18
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.17
4
+ release-version: 0.50.18
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.17
4
+ release-version: 0.50.18
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.17
6
+ release-version: 0.50.18
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.17
15
+ release-version: 0.50.18
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
17
+ release-version: 0.50.18
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.17
4
+ release-version: 0.50.18
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.17
4
+ release-version: 0.50.18
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.17
11
+ release-version: 0.50.18
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.17
9
+ release-version: 0.50.18
10
10
  ---
11
11
  **Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
12
12
  # TLD detection