@1aboveio/skills 1.0.29 → 1.0.30

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 (71) hide show
  1. package/.codex-plugin/plugin.json +1 -1
  2. package/.codex-plugin/resources.json +133 -133
  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 +2 -2
  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 +2 -2
  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/mergify/scripts/watch-pr-delivery-core.mjs +91 -9
  28. package/skills/cicd/podman/SKILL.md +1 -1
  29. package/skills/content/article-review/SKILL.md +1 -1
  30. package/skills/content/article-to-image/SKILL.md +1 -1
  31. package/skills/content/flowchart-svg/SKILL.md +1 -1
  32. package/skills/content/image-gen/SKILL.md +1 -1
  33. package/skills/content/mermaid/SKILL.md +1 -1
  34. package/skills/content/wechat-article-writer/SKILL.md +1 -1
  35. package/skills/content/wechat-publisher/SKILL.md +1 -1
  36. package/skills/content/wechat-search/SKILL.md +1 -1
  37. package/skills/content/xai-search/SKILL.md +1 -1
  38. package/skills/core/distill-writing/SKILL.md +1 -1
  39. package/skills/core/doc-to-md/SKILL.md +1 -1
  40. package/skills/core/editorial-review/SKILL.md +1 -1
  41. package/skills/core/house-style/SKILL.md +1 -1
  42. package/skills/core/plain-language/SKILL.md +1 -1
  43. package/skills/core/polish-cn/SKILL.md +1 -1
  44. package/skills/core/reg-parser/SKILL.md +1 -1
  45. package/skills/core/terminology/SKILL.md +1 -1
  46. package/skills/core/write-doc/SKILL.md +1 -1
  47. package/skills/core/write-report/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 +13 -13
  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 +1 -1
  57. package/skills/engineering/resolve-release/SKILL.md +1 -1
  58. package/skills/engineering/resolve-release/references/prepared-metadata.md +16 -2
  59. package/skills/engineering/resolve-release/scripts/plan.mjs +92 -3
  60. package/skills/engineering/rush-issues/SKILL.md +1 -1
  61. package/skills/engineering/rush-release/SKILL.md +1 -1
  62. package/skills/engineering/test-quality/SKILL.md +1 -1
  63. package/skills/risk-compliance/compliance-audit/SKILL.md +2 -2
  64. package/skills/risk-compliance/contract-compare/SKILL.md +1 -1
  65. package/skills/risk-compliance/contract-review/SKILL.md +1 -1
  66. package/skills/risk-compliance/doc-authenticity/SKILL.md +1 -1
  67. package/skills/risk-compliance/fraud-detection/SKILL.md +1 -1
  68. package/skills/risk-compliance/payment-analysis/SKILL.md +1 -1
  69. package/skills/risk-compliance/portfolio-payment-analysis/SKILL.md +1 -1
  70. package/skills/risk-compliance/similar-domain/SKILL.md +1 -1
  71. package/skills/risk-compliance/tld-detection/SKILL.md +1 -1
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: plain-language
3
3
  description: "Session mode: every reply and status line in plain language — lead with the point, everyday words, full sentences, no filler — in English or Chinese, until turned off. Enable by default when the project has an applicable WRITING.md, even without a slash command. Use for /plain-language, 'talk plainly', '说人话', and explicit requests to remember project reply preferences; an actual /plain-language invocation automatically configures the current directory's WRITING.md and loading pointers; init remains an alias. Save reply rules only under Agent replies; route document preferences to distill-writing. Natural-language toggles and off remain session-only. Turn off with '/plain-language off' or 'normal mode'. NOT for writing a document (write-doc) or analytical report (write-report) or reviewing one (editorial-review)."
4
- release-version: 0.50.9
4
+ release-version: 0.50.10
5
5
  ---
6
6
  **Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
7
7
  # Plain language
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: polish-cn
3
3
  description: "Polish the Chinese wording of a finished document or report, with a script proving every number, date, identifier, link and protected term is unchanged; prefers a Chinese model and records which ran. Use for '中文润色' or as a report skill's last step. NOT for cutting or restructuring content (editorial-review) or translating (write-doc or write-report)."
4
- release-version: 0.50.9
4
+ release-version: 0.50.10
5
5
  ---
6
6
  **Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
7
7
  # Polish Chinese
@@ -2,7 +2,7 @@
2
2
  name: reg-parser
3
3
  version: 1.1.0
4
4
  description: "Parse regulatory/scheme documents into structured outputs: convert a regulation (AML, VARS, PCI-DSS, KYC, GDPR) into an audit-ready compliance checklist, or trace contract clauses to a mandate source. Suggest proactively when a regulation PDF accompanies a contract review or compliance task. NOT general summarization (doc-to-md), writing a gap-analysis report (write-report), or writing a policy from the checklist (write-doc)."
5
- release-version: 0.50.9
5
+ release-version: 0.50.10
6
6
  ---
7
7
  **Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
8
8
  # reg-parser
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: terminology
3
3
  description: "Build and keep a project's TERMINOLOGY.md: the preferred term per concept in English, 简体 and 繁體, and the terms to avoid. Use to set it up from the project's documents, when the user settles or corrects a term, or when another writing skill needs the format. NOT for writing documents (write-doc) or analytical reports (write-report) or the code domain model (domain-modeling)."
4
- release-version: 0.50.9
4
+ release-version: 0.50.10
5
5
  ---
6
6
  **Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
7
7
  # Terminology
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: write-doc
3
3
  description: "Write or edit documents that define or propose something: BRD, PRD, technical spec, integration guide, proposal, policy or risk procedure; English, Chinese or bilingual. Use automatically for drafting or revising these documents. Markdown by default; export when requested. NOT for analytical reports or writing up findings (write-report), ordinary chat replies (plain-language), learning style or saving preferences alone (distill-writing), performing an audit (compliance-audit), or WeChat articles (wechat-article-writer)."
4
- release-version: 0.50.9
4
+ release-version: 0.50.10
5
5
  ---
6
6
  **Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
7
7
  # Write a document
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: write-report
3
3
  description: "Write or edit analytical reports from data, research, analysis or findings: payment, fraud, operational, performance, research, gap-analysis, audit, external assessment, management and Visa VARS reports. Use whenever asked to report results, write up findings, or turn analysis into a report, even without naming this skill. English, Chinese or bilingual; Markdown by default, export when requested. NOT for defining requirements, policies or proposals (write-doc), performing the underlying domain analysis or audit, chat-only answers (plain-language), or learning house style (distill-writing)."
4
- release-version: 0.50.9
4
+ release-version: 0.50.10
5
5
  ---
6
6
  **Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
7
7
  # Write an analytical report
@@ -4,7 +4,7 @@ description: "Slash/explicit-only (/better-review). Single-agent adversarial rev
4
4
  disable-model-invocation: true
5
5
  dependencies:
6
6
  - engineering-runtime
7
- release-version: 0.50.9
7
+ release-version: 0.50.10
8
8
  ---
9
9
  **Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
10
10
  # Better Review
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: e2e-test
3
3
  description: "Playwright end-to-end guidance for affected browser journeys, render health and presentation checks, with route manifests and sweeps for broader audits. Use when browser routes or user flows ship or change, or a Playwright test flakes. NOT for non-browser tests, defining what to test (ensure-coverage), the curated ALIVE/DEAD golden-path gate (golden-path), or CI workflow YAML (github-actions)."
4
- release-version: 0.50.9
4
+ release-version: 0.50.10
5
5
  ---
6
6
  **Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
7
7
  # E2E Testing Standard
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: engineering
3
3
  description: "Engineering conventions: feature-delivery priorities, focused verification and review, operational boundaries, and tracker routing. Standalone /engineering offers Global, Project, or Session setup and targeted resets for configured scopes; /engineering init keeps explicit project setup. Use when setting up AGENTS.md or CONTRIBUTING.md, saving or resetting engineering defaults, or before creating an engineering issue, spec, epic, ticket, or sub-issue on GitHub or Linear. Reads existing policy without writing during ordinary work. NOT the issue-to-PR workflow (resolve-issues), release execution (resolve-release), Git delivery (github-flow), or CI setup (github-actions)."
4
- release-version: 0.50.9
4
+ release-version: 0.50.10
5
5
  ---
6
6
  **Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
7
7
  # Engineering
@@ -3,7 +3,7 @@ name: engineering-runtime
3
3
  description: Internal support package for shared Engineering Workflow executable behavior. Never select or invoke this package as a user capability.
4
4
  disable-model-invocation: true
5
5
  user-invocable: false
6
- release-version: 0.50.9
6
+ release-version: 0.50.10
7
7
  ---
8
8
  **Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
9
9
  # Engineering Runtime
@@ -369,7 +369,7 @@
369
369
  "repository": "1aboveio/ai",
370
370
  "revision": "main"
371
371
  },
372
- "contentDigest": "24615d5677c5ad76597d72a582b7cf60e8d57a6e324a12ab5ad77c55bd52c63f",
372
+ "contentDigest": "5096eab882839627ddd246f28af12b4e0176f1b791d0dba0c3f65bdada453174",
373
373
  "digestExcludes": []
374
374
  },
375
375
  {
@@ -382,7 +382,7 @@
382
382
  "repository": "1aboveio/ai",
383
383
  "revision": "main"
384
384
  },
385
- "contentDigest": "a28a6686dd02fd90e9d258b6b7e16f1d054c8a6525f73da2e4293285ef594a61",
385
+ "contentDigest": "e3ac184e063908c49336f54efc74ec887bed8541e5bd1f1b0f978f2160c3b257",
386
386
  "digestExcludes": []
387
387
  },
388
388
  {
@@ -395,7 +395,7 @@
395
395
  "repository": "1aboveio/ai",
396
396
  "revision": "main"
397
397
  },
398
- "contentDigest": "08f62590185c470e559c1409d9813bf95978cffcc74f3737f18356c7fcc3a8cf",
398
+ "contentDigest": "76ed8851d812bacd898b713403d067a326545b482a9e560efa2da3decd7b2d08",
399
399
  "digestExcludes": []
400
400
  },
401
401
  {
@@ -408,7 +408,7 @@
408
408
  "repository": "1aboveio/ai",
409
409
  "revision": "main"
410
410
  },
411
- "contentDigest": "c563c846f454f21a60eca5273a3c252b61012945ae04b38cfad6d3ff810abdad",
411
+ "contentDigest": "0c548de1fbd65255aada0df343e582e38184d0a9bb49a4c34412d2621800646b",
412
412
  "digestExcludes": []
413
413
  },
414
414
  {
@@ -421,7 +421,7 @@
421
421
  "repository": "1aboveio/ai",
422
422
  "revision": "main"
423
423
  },
424
- "contentDigest": "962eabcd09ba39125cc8830f32deea396009970fa0a256d41d224a0b1a88f8b6",
424
+ "contentDigest": "db9cc78cca3be9453a01216ea6fcbbb63918fdfcf643c887d46671adc91cd4c3",
425
425
  "digestExcludes": []
426
426
  },
427
427
  {
@@ -434,7 +434,7 @@
434
434
  "repository": "1aboveio/ai",
435
435
  "revision": "main"
436
436
  },
437
- "contentDigest": "019c8b3f423188637d0e08ef169ecdadb2ba1f0ed62287098924699ed198f1dd",
437
+ "contentDigest": "ae6f66016d964f48665d82c0d4437720ad0ff2ac4134da030ba9f74254c53dba",
438
438
  "digestExcludes": []
439
439
  },
440
440
  {
@@ -447,7 +447,7 @@
447
447
  "repository": "1aboveio/ai",
448
448
  "revision": "main"
449
449
  },
450
- "contentDigest": "7a260e6351dafcdf92bf9c55cef095f2548fdce8b3ae200bac8054eea11f772f",
450
+ "contentDigest": "0c68bccc2efac406233470bbc3e7e0895e14a2819d43e0f551317b76a64fe527",
451
451
  "digestExcludes": []
452
452
  },
453
453
  {
@@ -460,7 +460,7 @@
460
460
  "repository": "1aboveio/ai",
461
461
  "revision": "main"
462
462
  },
463
- "contentDigest": "a63b41f4687cb4fc0baaac89a74900f18c3c7477f3b0a5b5120ec7b46342b29d",
463
+ "contentDigest": "b1726270fe1af51bd6b01bb96b00978f319013d102e0e0d7cdc25c017beab254",
464
464
  "digestExcludes": []
465
465
  },
466
466
  {
@@ -473,7 +473,7 @@
473
473
  "repository": "1aboveio/ai",
474
474
  "revision": "main"
475
475
  },
476
- "contentDigest": "6e3b2d5e58b25bdb7ee79979ef7e5fbf424710873a993589ed8a726901236518",
476
+ "contentDigest": "1425f77738449fc8ccdcce931601a826215def2b355f1e6f0ad980e486f6d9d9",
477
477
  "digestExcludes": []
478
478
  },
479
479
  {
@@ -486,7 +486,7 @@
486
486
  "repository": "1aboveio/ai",
487
487
  "revision": "main"
488
488
  },
489
- "contentDigest": "acf00d1298d4cf7e0d00874735755e8be47201296aed217c212c17a873f0c8ec",
489
+ "contentDigest": "b4a01e9179447cf98308cadef6dc6eea9e1d6e30225f7646799f226c73fbfa1c",
490
490
  "digestExcludes": []
491
491
  },
492
492
  {
@@ -499,7 +499,7 @@
499
499
  "repository": "1aboveio/ai",
500
500
  "revision": "main"
501
501
  },
502
- "contentDigest": "60910da1d6258df85987390c26bd49f5d3a96363181d24bb061153c6eb39d06a",
502
+ "contentDigest": "167f854c25289db4d77514b161faa6927664c9fdb6d827c290a0e7999248db94",
503
503
  "digestExcludes": []
504
504
  },
505
505
  {
@@ -512,13 +512,13 @@
512
512
  "repository": "1aboveio/ai",
513
513
  "revision": "main"
514
514
  },
515
- "contentDigest": "20dea07e2a1dc29d092d5bde3319fd1f268f46258fe83eb7c27247e7a9724b3e",
515
+ "contentDigest": "93de27e15d9cb4c224b7c3e96b37dab9e071b651dd28e22633f008605fffa714",
516
516
  "digestExcludes": [
517
517
  "coherence/workflow.json"
518
518
  ]
519
519
  }
520
520
  ],
521
- "releaseIdentity": "3f77944e6b27eafbedc6e81ea3fcb687f0d0473607e24559661bed20eed410c3",
521
+ "releaseIdentity": "b199fa7e25acc694acaf139350ffb72a15f714d7f28334957b5c70c726361add",
522
522
  "lifecycleAuthority": "native-skills-cli",
523
523
  "repairRecipe": {
524
524
  "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.9
5
+ release-version: 0.50.10
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.9
6
+ release-version: 0.50.10
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.9
6
+ release-version: 0.50.10
7
7
  ---
8
8
  **Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
9
9
  # Harness Runtime
@@ -8,7 +8,7 @@ dependencies:
8
8
  - better-review
9
9
  - golden-path
10
10
  - harness-runtime
11
- release-version: 0.50.9
11
+ release-version: 0.50.10
12
12
  ---
13
13
  **Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
14
14
  # Resolve issues
@@ -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.9
7
+ release-version: 0.50.10
8
8
  ---
9
9
  **Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
10
10
  # Resolve release
@@ -117,7 +117,7 @@ The planner is read-only, apart from its stdout. It proves from real git objects
117
117
 
118
118
  - the declared GitHub `origin` identity matches `repository` (canonical HTTPS,
119
119
  SCP-style SSH or `ssh://git@github.com/` URL);
120
- - the original single-parent cut changes only root version identities and
120
+ - the original single-parent cut changes only supported version identities and
121
121
  `CHANGELOG.md`, with no package scripts, dependency, lock dependency or other
122
122
  non-version edits hidden in identity files;
123
123
  - the cut is an ancestor of its merge and their whole trees are equal;
@@ -168,7 +168,21 @@ values, nonfinite numbers, integers outside the lossless JSON range and exceeded
168
168
  bounds all refuse with sanitized acquisition/parser errors. No Python is invoked
169
169
  for npm-only reuse, and normal create-cut planning and application are unchanged.
170
170
 
171
- Identity files must be regular non-executable files. Workspace npm is not this route.
171
+ Identity files must be regular non-executable files. Cloud Run RC reuse also supports
172
+ a coordinated shared-version pnpm workspace cut: root `pnpm-workspace.yaml` declares
173
+ the tracked member manifests, and every root/member version moves from one shared
174
+ parent version to the requested version. Literal package directories, `*`, `?`,
175
+ whole-segment `**` and `!` exclusions are supported; other pattern syntax and
176
+ positive patterns without tracked manifests refuse. The workspace declaration stays
177
+ byte-identical from parent through target, with the same manifest paths, package
178
+ names and `private` field presence/value. Every manifest must remain regular and
179
+ non-executable. The historical cut compares all JSON fields structurally with only
180
+ `version` removed; scripts, dependencies and all other fields must stay unchanged.
181
+ Undeclared changed manifests and rename pre-images remain outside the metadata cut.
182
+ Reviewed dependency changes after the cut remain allowed. This extension applies
183
+ only when a Cloud Run cut needs workspace manifests; root-only checks are unchanged.
184
+ Artifact-only, pre-tag npm and independently versioned workspace release routes gain
185
+ no new reuse capability.
172
186
  Distribution-aware cuts (`skills/distribution/manifest.json`) have a wider
173
187
  generated metadata surface and refuse reuse until a dedicated verifier exists;
174
188
  normal distribution cuts are unchanged. `--dark-flags` refuses in reuse mode:
@@ -11,6 +11,7 @@ import { join } from 'node:path'
11
11
  import { spawnSync } from 'node:child_process'
12
12
  import { isDeepStrictEqual } from 'node:util'
13
13
  import { isMainModule } from '../../engineering-runtime/scripts/main-module.mjs'
14
+ import { parseYamlMapping } from '../../engineering-runtime/scripts/yaml-mapping.mjs'
14
15
 
15
16
  const PLAN_USAGE = 'plan.mjs --sha <sha> [--trunk main] [--json] [--strict] [--cloud-run] [--dark-flags <list.json>] [--prepared-metadata <file>]'
16
17
  const SEMVER_RE = /^v?(\d+)\.(\d+)\.(\d+)$/
@@ -532,7 +533,71 @@ function identityWithoutVersion(text, path, python, npm = null) {
532
533
  return json
533
534
  }
534
535
 
535
- function verifyMetadataOnlyCut(input, files, cwd, preTag = false) {
536
+ // Deliberately support only literal paths, *, ?, and whole-segment **. Refuse
537
+ // other glob syntax rather than interpreting a pnpm declaration differently.
538
+ function workspacePattern(pattern) {
539
+ requirePrepared(typeof pattern === 'string' && pattern.length > 0, 'workspace patterns must be nonempty strings')
540
+ const exclude = pattern.startsWith('!')
541
+ const path = exclude ? pattern.slice(1) : pattern
542
+ requirePrepared(path === '.' || (path.split('/').every((part) => part && part !== '.' && part !== '..'
543
+ && /^[A-Za-z0-9_@.*?-]+$/.test(part) && (!part.includes('**') || part === '**'))
544
+ && !path.startsWith('/')), 'unsupported workspace package pattern')
545
+ const segments = path.split('/').map((part) => part === '**' ? '(?:[^/]+/)*'
546
+ : `${part.replace(/[.+]/g, '\\$&').replace(/\*/g, '[^/]*').replace(/\?/g, '[^/]')}/`)
547
+ return { exclude, path, match: new RegExp(`^${segments.join('')}$`) }
548
+ }
549
+
550
+ function preparedWorkspaceAt(sha, version, cwd) {
551
+ requireRegularFile(sha, 'pnpm-workspace.yaml', cwd)
552
+ const bytes = preparedBlobAt(sha, 'pnpm-workspace.yaml', cwd)
553
+ let declaration
554
+ try {
555
+ declaration = parseYamlMapping(new TextDecoder('utf-8', { fatal: true }).decode(bytes), 'pnpm-workspace.yaml')
556
+ } catch {
557
+ requirePrepared(false, 'pnpm-workspace.yaml inspection failed')
558
+ }
559
+ requirePrepared(Array.isArray(declaration.packages) && declaration.packages.length > 0, 'workspace packages must be a nonempty array')
560
+ const patterns = declaration.packages.map(workspacePattern)
561
+ requirePrepared(patterns.some((pattern) => !pattern.exclude), 'workspace needs a positive package pattern')
562
+ // Read only tracked Git paths, including nonregular entries so symlinks cannot
563
+ // silently disappear from expansion. NUL framing preserves arbitrary paths.
564
+ const tracked = git(['ls-tree', '-r', '--name-only', '-z', sha], cwd).split('\0').filter(Boolean)
565
+ const candidates = tracked.filter((path) => path.endsWith('/package.json'))
566
+ const matches = (pattern, path) => pattern.path === '.' ? path === 'package.json'
567
+ : pattern.match.test(`${path.slice(0, -'/package.json'.length)}/`)
568
+ for (const pattern of patterns.filter((item) => !item.exclude)) {
569
+ requirePrepared(pattern.path === '.' || candidates.some((path) => matches(pattern, path)), 'workspace pattern has no tracked package manifest')
570
+ }
571
+ const files = ['package.json', ...candidates.filter((path) => patterns.some((p) => !p.exclude && matches(p, path))
572
+ && !patterns.some((p) => p.exclude && matches(p, path)))].sort()
573
+ requirePrepared(files.length > 1, 'shared-version workspace requires a tracked member')
574
+ const identities = new Map()
575
+ const names = new Set()
576
+ for (const path of files) {
577
+ requireRegularFile(sha, path, cwd)
578
+ const parsed = preparedJsonAt(sha, path, cwd)
579
+ const pkg = parsed.data
580
+ requirePrepared(typeof pkg.name === 'string' && pkg.name.trim().length > 0 && !names.has(pkg.name), 'workspace package names must be nonempty and unique')
581
+ names.add(pkg.name)
582
+ requireSafePreparedVersion(pkg.version, path)
583
+ version ??= pkg.version
584
+ requirePrepared(pkg.version === version, `workspace ${path} version must match shared version ${version}`)
585
+ identities.set(path, parsed)
586
+ }
587
+ return { bytes, files, identities, version }
588
+ }
589
+
590
+ function requireSameWorkspace(left, right) {
591
+ requirePrepared(left.bytes.equals(right.bytes) && isDeepStrictEqual(left.files, right.files), 'workspace topology changed after preparation')
592
+ for (const path of left.files) {
593
+ const oldPkg = left.identities.get(path).data
594
+ const newPkg = right.identities.get(path).data
595
+ requirePrepared(oldPkg.name === newPkg.name && Object.hasOwn(oldPkg, 'private') === Object.hasOwn(newPkg, 'private')
596
+ && isDeepStrictEqual(oldPkg.private, newPkg.private), `workspace package identity changed: ${path}`)
597
+ }
598
+ }
599
+
600
+ function verifyMetadataOnlyCut(input, files, cwd, preTag = false, workspace = null) {
536
601
  const { cutSha, version } = input
537
602
  const parents = git(['rev-list', '--parents', '-n', '1', cutSha], cwd).trim().split(' ')
538
603
  requirePrepared(parents.length === 2, 'metadata-only cut must have exactly one parent')
@@ -552,8 +617,19 @@ function verifyMetadataOnlyCut(input, files, cwd, preTag = false) {
552
617
  ? versionFromGitFiles(parent, files, cwd)
553
618
  : previousPython?.project.version ?? versionFromGitFiles(parent, files, cwd)
554
619
  requirePrepared(previousVersion !== version, 'metadata-only cut did not prepare a new version')
620
+ if (workspace) {
621
+ const previousWorkspace = preparedWorkspaceAt(parent, previousVersion, cwd)
622
+ requireSameWorkspace(previousWorkspace, workspace)
623
+ for (const path of workspace.files) {
624
+ const oldIdentity = structuredClone(previousWorkspace.identities.get(path).canonical)
625
+ const newIdentity = structuredClone(workspace.identities.get(path).canonical)
626
+ delete oldIdentity[1].version
627
+ delete newIdentity[1].version
628
+ requirePrepared(isDeepStrictEqual(oldIdentity, newIdentity), `original cut is not metadata-only: ${path} changes more than version identity`)
629
+ }
630
+ }
555
631
  const changed = git(['diff', '--no-renames', '--name-only', '-z', parent, cutSha], cwd).split('\0').filter(Boolean)
556
- requirePrepared(changed.includes('CHANGELOG.md') && changed.every((path) => path === 'CHANGELOG.md' || files.includes(path)), 'original cut is not metadata-only')
632
+ requirePrepared(changed.includes('CHANGELOG.md') && changed.every((path) => path === 'CHANGELOG.md' || files.includes(path) || workspace?.files.includes(path)), 'original cut is not metadata-only')
557
633
  for (const path of files) {
558
634
  const structured = path === 'pyproject.toml' || path === 'uv.lock'
559
635
  || (preTag && ['package.json', 'package-lock.json'].includes(path))
@@ -602,10 +678,23 @@ function planPreparedRelease({ sha, trunk, cloudRun, darkFlags, preparedMetadata
602
678
  }
603
679
  requirePrepared(git(['rev-parse', `${input.cutSha}^{tree}`], cwd) === git(['rev-parse', `${input.mergeSha}^{tree}`], cwd), 'cut and merge trees must be equal')
604
680
  const files = preparedVersionFilesAt(input.cutSha, cwd)
681
+ const hasWorkspace = (commit) => Boolean(git(['ls-tree', commit, '--', 'pnpm-workspace.yaml'], cwd).trim())
682
+ const workspaceCut = hasWorkspace(input.cutSha)
683
+ // This capability is only for shared-version Cloud Run retries, never the
684
+ // independent-package dispatcher or the pre-tag npm publication route.
685
+ const needsWorkspace = workspaceCut && !preTag && cloudRun
686
+ && git(['diff', '--no-renames', '--name-only', '-z', `${input.cutSha}^`, input.cutSha], cwd).split('\0')
687
+ .some((path) => path && path !== 'CHANGELOG.md' && !files.includes(path))
688
+ const workspace = needsWorkspace
689
+ ? preparedWorkspaceAt(input.cutSha, input.version, cwd) : null
605
690
  const pythonIdentities = []
606
691
  let preparedPackageName
607
692
  for (const commit of [input.cutSha, ...(preTag ? [previous.sourceSha] : []), sha]) {
608
693
  requirePrepared(JSON.stringify(preparedVersionFilesAt(commit, cwd)) === JSON.stringify(files), 'root version file set changed after preparation')
694
+ if (workspace) {
695
+ requirePrepared(hasWorkspace(commit), 'workspace topology changed after preparation')
696
+ requireSameWorkspace(workspace, preparedWorkspaceAt(commit, input.version, cwd))
697
+ }
609
698
  const npm = preTag ? preparedNpmAt(commit, files, input.version, cwd) : null
610
699
  if (npm) {
611
700
  preparedPackageName ??= npm.pkg.name
@@ -619,7 +708,7 @@ function planPreparedRelease({ sha, trunk, cloudRun, darkFlags, preparedMetadata
619
708
  requirePrepared(targetPython.project.name === cutPython.project.name, 'pyproject.toml target project name differs from prepared identity')
620
709
  requirePrepared(isDeepStrictEqual(targetPython.rootSource, cutPython.rootSource), 'uv.lock target root source mode differs from prepared identity')
621
710
  }
622
- verifyMetadataOnlyCut(input, files, cwd, preTag)
711
+ verifyMetadataOnlyCut(input, files, cwd, preTag, workspace)
623
712
  const original = releaseSection(input.cutSha, input.version, cwd)
624
713
  const prepared = releaseSection(sha, input.version, cwd)
625
714
  const tag = `v${input.version}`
@@ -6,7 +6,7 @@ metadata:
6
6
  workflow-role: coordinator
7
7
  dependencies:
8
8
  - resolve-issues
9
- release-version: 0.50.9
9
+ release-version: 0.50.10
10
10
  ---
11
11
  **Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
12
12
  # Rush issues (shortcut of resolve-issues)
@@ -6,7 +6,7 @@ metadata:
6
6
  workflow-role: coordinator
7
7
  dependencies:
8
8
  - resolve-release
9
- release-version: 0.50.9
9
+ release-version: 0.50.10
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.9
4
+ release-version: 0.50.10
5
5
  ---
6
6
  **Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
7
7
  # Test Quality
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  name: compliance-audit
3
3
  version: 2.9.0
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.9
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.10
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.9
4
+ release-version: 0.50.10
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.9
4
+ release-version: 0.50.10
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.9
6
+ release-version: 0.50.10
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.9
15
+ release-version: 0.50.10
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.9
17
+ release-version: 0.50.10
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.9
4
+ release-version: 0.50.10
5
5
  ---
6
6
  **Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
7
7
  # Portfolio payment analysis
@@ -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.9
11
+ release-version: 0.50.10
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
9
+ release-version: 0.50.10
10
10
  ---
11
11
  **Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
12
12
  # TLD detection