@1aboveio/skills 1.0.39 → 1.0.40

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 (78) hide show
  1. package/.codex-plugin/plugin.json +1 -1
  2. package/.codex-plugin/resources.json +142 -142
  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 +12 -9
  57. package/skills/engineering/resolve-issues/agents/openai.yaml +1 -1
  58. package/skills/engineering/resolve-issues/references/expire.md +28 -27
  59. package/skills/engineering/resolve-issues/references/exploration.md +4 -2
  60. package/skills/engineering/resolve-issues/references/implementation.md +7 -12
  61. package/skills/engineering/resolve-issues/references/preflight.md +13 -15
  62. package/skills/engineering/resolve-issues/references/principles.md +61 -24
  63. package/skills/engineering/resolve-issues/references/task-plan.md +4 -1
  64. package/skills/engineering/resolve-issues/scripts/size-check.mjs +2 -2
  65. package/skills/engineering/resolve-release/SKILL.md +1 -1
  66. package/skills/engineering/rush-issues/SKILL.md +1 -1
  67. package/skills/engineering/rush-release/SKILL.md +1 -1
  68. package/skills/engineering/test-quality/SKILL.md +1 -1
  69. package/skills/risk-compliance/compliance-audit/SKILL.md +1 -1
  70. package/skills/risk-compliance/contract-compare/SKILL.md +1 -1
  71. package/skills/risk-compliance/contract-review/SKILL.md +1 -1
  72. package/skills/risk-compliance/doc-authenticity/SKILL.md +1 -1
  73. package/skills/risk-compliance/fraud-detection/SKILL.md +1 -1
  74. package/skills/risk-compliance/payment-analysis/SKILL.md +1 -1
  75. package/skills/risk-compliance/portfolio-payment-analysis/SKILL.md +1 -1
  76. package/skills/risk-compliance/rfi-writing/SKILL.md +1 -1
  77. package/skills/risk-compliance/similar-domain/SKILL.md +1 -1
  78. 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": "fe1bf475469f08b93e5fa5431cd8bcdc3cce8fa7fa87e0720495de24008afe10",
375
+ "contentDigest": "1aa27d5775a0ad3608e7372142e806931a702e5eaf8ad16a4c2c313ca8ef0b6a",
376
376
  "digestExcludes": []
377
377
  },
378
378
  {
@@ -385,7 +385,7 @@
385
385
  "repository": "1aboveio/ai",
386
386
  "revision": "main"
387
387
  },
388
- "contentDigest": "3f47e6cbf3f859333e1a2830ff796227ea063c9184a914d0b999fb259807c207",
388
+ "contentDigest": "0163ca33290c286d18ebdecdb664b1badc84f227731db982b7f453298367c1b8",
389
389
  "digestExcludes": []
390
390
  },
391
391
  {
@@ -398,7 +398,7 @@
398
398
  "repository": "1aboveio/ai",
399
399
  "revision": "main"
400
400
  },
401
- "contentDigest": "2abb25eea4aee7cbbe7596ce5874fdeded4b76a229d1fa173e3f372d3154df1d",
401
+ "contentDigest": "42ccc119a3b4d99ef2a4d0d226dc204358ef2f9df071e1a5e86a175a813ded54",
402
402
  "digestExcludes": []
403
403
  },
404
404
  {
@@ -411,7 +411,7 @@
411
411
  "repository": "1aboveio/ai",
412
412
  "revision": "main"
413
413
  },
414
- "contentDigest": "fb1d15d1ede1cf7ef14badf5669fdeefaf32610d9689fa7527704e91535fd239",
414
+ "contentDigest": "b71b68eb6593500c1aa1334f9cc644899d188ca7ad3f9a98104b07e62c88bd8a",
415
415
  "digestExcludes": []
416
416
  },
417
417
  {
@@ -424,7 +424,7 @@
424
424
  "repository": "1aboveio/ai",
425
425
  "revision": "main"
426
426
  },
427
- "contentDigest": "0f200432c82a4a9c81adee30318d98102e488ebcff43d027f4d46a063c4d4c42",
427
+ "contentDigest": "954a8f7c0fbdce961c30bfce87adad2789f3871ffadded15397a0a5a8e10e036",
428
428
  "digestExcludes": []
429
429
  },
430
430
  {
@@ -437,7 +437,7 @@
437
437
  "repository": "1aboveio/ai",
438
438
  "revision": "main"
439
439
  },
440
- "contentDigest": "17b6307dda2e43e544e522c9962b441bd1efb7f221abd34504723975fb984acf",
440
+ "contentDigest": "15389fa566273831b98de4502df4939973af24f283c22a5df446951673d586eb",
441
441
  "digestExcludes": []
442
442
  },
443
443
  {
@@ -450,7 +450,7 @@
450
450
  "repository": "1aboveio/ai",
451
451
  "revision": "main"
452
452
  },
453
- "contentDigest": "7e8d7d47fd713e112f3871ab9dd9332da7ebe824405da5d4afc88119a4b25fb0",
453
+ "contentDigest": "ba5b16b3e80ded0caeb0e93ba30b46e816d54e6412d8687f4a88a0d1ff03b179",
454
454
  "digestExcludes": []
455
455
  },
456
456
  {
@@ -463,7 +463,7 @@
463
463
  "repository": "1aboveio/ai",
464
464
  "revision": "main"
465
465
  },
466
- "contentDigest": "eda46787f6676d9a24d40e6d7a473c7db568840c463dc6a3bf23b5ea2b6cdd03",
466
+ "contentDigest": "aa9f5248b7efb184b07914b914db970bb40a0d9b7957e734c6fbca9a7c370e16",
467
467
  "digestExcludes": []
468
468
  },
469
469
  {
@@ -476,7 +476,7 @@
476
476
  "repository": "1aboveio/ai",
477
477
  "revision": "main"
478
478
  },
479
- "contentDigest": "0ca4970483a15c87dd15a89a26a11f4be56060bacbc546768eda214ce398a40b",
479
+ "contentDigest": "4d07677048a2b72c3b5ce99a75f7f95fc069cd9a17092f1e783adc346e5dd2d1",
480
480
  "digestExcludes": []
481
481
  },
482
482
  {
@@ -489,7 +489,7 @@
489
489
  "repository": "1aboveio/ai",
490
490
  "revision": "main"
491
491
  },
492
- "contentDigest": "758d8a49718192782932972ff88f73f48cc4993818fc77575042850b0afed847",
492
+ "contentDigest": "3a1782daf6d20da07aa54d138e141e985bb1068907ef4985de6a348041368781",
493
493
  "digestExcludes": []
494
494
  },
495
495
  {
@@ -502,7 +502,7 @@
502
502
  "repository": "1aboveio/ai",
503
503
  "revision": "main"
504
504
  },
505
- "contentDigest": "1dbb2ed72057d686ca67026b56d47433824070612d0363d29892e64323bb29d5",
505
+ "contentDigest": "7343b30ff2efbb0ace186fd34e189c736235435cebc0a9faf1bf82502c4b60a6",
506
506
  "digestExcludes": []
507
507
  },
508
508
  {
@@ -515,7 +515,7 @@
515
515
  "repository": "1aboveio/ai",
516
516
  "revision": "main"
517
517
  },
518
- "contentDigest": "4f60a87396a62eaadc211f6ca22b747243398833c0c009ef388910057200c410",
518
+ "contentDigest": "77aa7bcadddea61702aad97517e49214c9eb54c53d68875bef196ce7b5421a29",
519
519
  "digestExcludes": []
520
520
  },
521
521
  {
@@ -528,13 +528,13 @@
528
528
  "repository": "1aboveio/ai",
529
529
  "revision": "main"
530
530
  },
531
- "contentDigest": "b5c2fff195967feaf288424e771b166971d68a62b53acc1a6c9a87e1f6eafed1",
531
+ "contentDigest": "d520cb6783606ab5e27cde36f9bc33547a3203bc115dfbff20f3d196a3f57ed6",
532
532
  "digestExcludes": [
533
533
  "coherence/workflow.json"
534
534
  ]
535
535
  }
536
536
  ],
537
- "releaseIdentity": "e6a4f38bc5b1834821ebdd2c6a87dbdac5ac930cfbb814ac1d8250f92b56b6ed",
537
+ "releaseIdentity": "b3783af4a8fde544608bb115272df402c62a1bc1a64c1eb3231c18d84097dd7b",
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.19
5
+ release-version: 0.50.21
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.19
6
+ release-version: 0.50.21
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.19
6
+ release-version: 0.50.21
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.19
12
+ release-version: 0.50.21
13
13
  ---
14
14
  **Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
15
15
  # Resolve issues
@@ -54,10 +54,12 @@ Read the procedure for the current stage.
54
54
  ([preflight.md](references/preflight.md#file-a-split)). On expiry, take the failure kind's response and continue. Mark a unit stopped by its
55
55
  own failure or a human-only decision `blocked` with a [`blockedReason`](references/expire.md#reason-codes)
56
56
  ([live-capacity scheduler](references/implementation.md#live-capacity): `next-actions.mjs` reopens any other block), keep its workspace, ship the rest, and settle what is left
57
- ([Done](#done)); an infrastructure or external blocker becomes a tree issue the units wait on
58
- ([expire.md](references/expire.md#infrastructure-failures)); a unit that only waits on another unit is not
57
+ ([Done](#done)). Before adding an infrastructure or external blocker to the tree,
58
+ apply the [scope and approach principles](references/principles.md#scope-and-approach).
59
+ Link only the units that still need it under the
60
+ [blocker procedure](references/expire.md#infrastructure-failures). A unit that only waits on another unit is not
59
61
  started (`pending`), never `blocked`; what stays blocked ends deferred on its owning issue, never done.
60
- - **Your role.** Coordinate first ([principle 7](references/principles.md)); between notices you may do bounded work
62
+ - **Your role.** [Coordinate first](references/principles.md#coordination). Between notices you may do bounded work
61
63
  yourself: reproduce a failing browser or emulator journey, investigate an infrastructure failure, run a short
62
64
  check. When a journey or case you run fails, copy its `NATIVE_FAILURE` line (or the failing step, error and
63
65
  evidence path) into the unit's plan row; an exit code alone is not a failure record.
@@ -164,8 +166,8 @@ request the awaited re-review; `decide`, answer the `decide` file
164
166
  ### 4. CI and merge
165
167
 
166
168
  Watch CI on every pushed HEAD; green means every required check ran and passed on that
167
- HEAD (none reported is not green). Have a fix worker fix failures on the branch;
168
- principle 6 decides the new HEAD's review.
169
+ HEAD (none reported is not green). Have a fix worker fix failures on the branch.
170
+ Apply the [review scope for the new revision](references/principles.md#delivery-and-handback).
169
171
  Enqueue through the queue's skill only when CI is green and the verdict is `pass`
170
172
  on the same HEAD.
171
173
  After 2 cycles without progress ([expire.md](references/expire.md)), or a harness-reported stuck worker, take the failure kind's response
@@ -175,7 +177,7 @@ A landed unit's workspace and resources are cleaned then, alongside independent
175
177
 
176
178
  ## Task plan and board
177
179
 
178
- Keep the task plan as the only source of truth; only you update it
180
+ Keep run state in the task plan. Only the coordinator updates it
179
181
  ([task-plan.md](references/task-plan.md)). When `update_todo` is advertised, capture
180
182
  the known outcome before substantive work and bind or reload the saved plan with
181
183
  `update_todo({workflow:{path:<absolute-plan-path>,revision:<persisted-planRevision>},outcome:{objective:<objective>}})`.
@@ -194,8 +196,9 @@ record later-gate obligations. A merged PR does not close pending acceptance.
194
196
  First [clean every delivered unit's environment](references/done.md#clean-before-handoff), then
195
197
  [settle blocked units](references/done.md#settle-blocked-units). Every PR is reviewed, green on its exact HEAD, and merged (`autonomous`) or
196
198
  handed back merge-ready (`supervised`). For a blocked unit, hand back it, its
197
- dependents, and the merged units. Link each issue the run filed into the spec's tree, and each `excluded` rollup to close;
198
- hand back the draft from `<run>/splits/` only for a unit still held, and the link to the pending device record. Report one short record per unit:
199
+ dependents, and the merged units. Link [required splits and blockers](references/preflight.md#link-issues-the-spec-needs)
200
+ into the spec's tree. Include any `excluded` rollup to close, the `<run>/splits/` draft for a
201
+ unit still held, and the link to any pending device record. Report one short record per unit:
199
202
  behavior delivered, checks and results, the PR and its CI run, and any
200
203
  outstanding blocker or pending obligation as an issue link, then
201
204
  [post the dropbox](references/dropbox.md#post-at-the-end) and the run
@@ -1,6 +1,6 @@
1
1
  interface:
2
2
  display_name: "Resolve Issues"
3
- short_description: "Slash/explicit-only spec to reviewed, merged PRs, one per issue; asks once at preflight"
3
+ short_description: "Deliver GitHub issues as reviewed, merged or merge-ready PRs"
4
4
 
5
5
  policy:
6
6
  # Codex counterpart to SKILL.md disable-model-invocation: true
@@ -53,7 +53,7 @@ the same attempt.** Record it as the block's `failureMode`.
53
53
  | `tool-error` | a tool crashes, the model refuses or drops its stream, the worker dies (`spawn-death`) | retry on another permitted model, or with another tool when the model is pinned | 2 |
54
54
  | `denied` | the sandbox or harness refuses a command | one permission request through the harness, then a different permitted action that reaches the same outcome (never the same action by another channel or with a sandbox, hook, or setting turned off); with none, a handback step | 1 |
55
55
  | `test-fail` | a test, check, or CI job fails on the change | find the cause and fix it ([Infrastructure failures](#infrastructure-failures) when it is not the change) | until 2 cycles without a new low |
56
- | `stalled` | 2 cycles without a new low, or resumes that make no progress | change the strategy, the scope, or the model; never resend the brief | 1 replan |
56
+ | `stalled` | 2 cycles without a new low, or resumes that make no progress | revise the brief with a new approach, a narrower attempt, or a different model if the run settings allow it | 1 replan |
57
57
  | unknown | none of the above | retry once, then name the mode from what that run shows | 1 |
58
58
 
59
59
  This table is the one retry ladder: the attempts here run inside a cycle, and the scheduler's
@@ -180,6 +180,8 @@ rest ships.
180
180
  5. Missing access. Record the access needed and the evidence in `humanNeed`.
181
181
 
182
182
  On resume, take every `unblock` from `next-actions.mjs --resume` with [live capacity](implementation.md#live-capacity).
183
+ For a step that needed outside action, check the recorded need. If it still applies,
184
+ record the continuing block and proceed with independent work.
183
185
 
184
186
  ## Respond by failure kind
185
187
 
@@ -202,8 +204,8 @@ missing, or names a step without a reason.
202
204
  | Review: `review-verdict.mjs` verdict `handback` (`not-converging`) | Stop fixing; mark the unit `blocked` (`blockedReason: review-handback`) and defer the PR with its open findings on its issue. |
203
205
  | Review: `review-verdict.mjs` verdict `decide`, or a worker's `decisionNeeded` | [Decide before you defer](#decide-before-you-defer). |
204
206
  | CI: a fix cycle without progress | Treat the failing check as the failing test: continue the implementation owner with the required escalation fill and that check as its only target, using the [continuation/replacement selection](task-plan.md#worker-selection-on-resume) rather than fabricating a pin. 2 cycles in a row without progress: `blocked` (`blockedReason: retry-ci`), deferred on its issue. |
205
- | Too big for one attempt | Resume in the kept workspace while each resume makes [progress](#retry-by-failure-mode); after 2 in a row without verified checkpoint/failure-count progress, draft a split in `<run>/splits/`, file it into the spec's tree, and run the slices the sync adds ([preflight.md](preflight.md#put-every-filed-issue-in-the-tree)). |
206
- | A required proof the unit has no environment for yet | The unit builds it; see [Proof stays with its unit](#proof-stays-with-its-unit). |
207
+ | Too big for one attempt | Resume in the kept workspace while each resume makes [progress](#retry-by-failure-mode); after 2 in a row without verified checkpoint/failure-count progress, draft a split in `<run>/splits/`, file it into the spec's tree, and run the slices the sync adds ([preflight.md](preflight.md#link-issues-the-spec-needs)). |
208
+ | A required proof the unit has no environment for yet | Follow [Proof stays with its unit](#proof-stays-with-its-unit). |
207
209
  | Dependency | Fix the edge; resume when runnable. |
208
210
  | A capability the unit needs is missing and no unit builds it (a shared driver, fixture, or hook) | Build it inside the first unit that needs it; units that need it later get `dependsOn` on that unit. Only when that puts the unit past the size check's line limit, file it as its own issue beside them, with `blocked_by` on the units that use it, never on their parent issue. Example: three proof units each need a device-state reader: the first builds it, the other two depend on the first. |
209
211
  | [Human-only](#human-only) blocker | Take its automatic answer ([preflight.md](preflight.md#never-block-on-the-human)); when that defers it, mark `blocked` (`blockedReason: human-decision`, its `humanItem` and `humanNeed`), keep the work, and record what is needed on its owning issue; never ship part of the unit. |
@@ -224,27 +226,23 @@ the parent's code is done ([implementation.md](implementation.md)), so
224
226
  dependents start while the parent still proves itself; only the unit's own
225
227
  merge waits for its proof.
226
228
 
227
- - **No working suite or environment yet? The unit builds what its proof
228
- needs**, after recording why the existing path cannot prove that criterion and why
229
- the proposed addition is the smallest suitable option ([Delivery progress](../SKILL.md#delivery-progress)),
230
- with access the run already has (the run's local emulator, when
231
- [its queue](implementation.md#scheduling) hands it over, a
232
- disposable database, a container, a tunnel hostname), counted in its
233
- lines like a missing prerequisite. When two or more units need the same
234
- setup, the size check's split makes it a prefactor slice.
229
+ - **No working suite or environment yet?** Look for an authorized way to obtain
230
+ the same required observation with existing resources. If the chosen path
231
+ needs new setup, build the smallest suitable addition within the unit's
232
+ authority and count it in the unit's estimate ([Delivery progress](../SKILL.md#delivery-progress)).
233
+ Apply the usual split rules when units share that setup. If the remaining step
234
+ requires external action, record the pending proof on its owning issue.
235
235
  - **The environment fails? It is an
236
- [infrastructure failure](#infrastructure-failures):** one bounded
237
- investigation that fixes what the run can; a blocker issue only when the
238
- cause stays unfound or its fix is human-only. The unit's journey waits on the
239
- blocker with its draft PR and workspace kept; every other unit keeps
240
- going.
236
+ [infrastructure failure](#infrastructure-failures):** use the bounded
237
+ investigation below. If the chosen path still needs a blocker issue, only
238
+ affected journeys wait on it. Keep their draft PRs and workspaces.
241
239
  - **Question the proof itself when building its environment would
242
240
  cost more than the change:** infrastructure beyond one bounded setup,
243
241
  the environment work held by the size check, or 2 environment attempts
244
242
  that end without progress. Decide at the first of these, never after a
245
- chain of workarounds, and take whichever ships the spec sooner at the
246
- same bar: the unit waits on the blocker, or its PR ships at its coding
247
- acceptance while the remaining proof stays open, recorded once as pending
243
+ chain of workarounds. Try a promising alternative that can prove the same
244
+ criterion. If the blocker still stands, the unit waits on it or its PR ships
245
+ at its coding acceptance while the remaining proof stays open, recorded once as pending
248
246
  on the issue that owns it; that issue is never reported done until the
249
247
  proof passes. Only a human waives a check, by saying so.
250
248
  Example: five interrupt-during-commit browser checks timed out on a slow
@@ -262,9 +260,11 @@ merge waits for its proof.
262
260
 
263
261
  ## Infrastructure failures
264
262
 
265
- **Diagnose infrastructure that prevents an agreed required check or feature from
266
- running, and fix its cause.** Do not use this section to harden healthy infrastructure,
267
- repair unrelated debt, or create a new test platform for speculative assurance. Never
263
+ **Use the [delivery principles](principles.md#scope-and-approach) to choose a path
264
+ when infrastructure fails.** On that path, diagnose infrastructure that prevents an
265
+ agreed required check or feature from running, and fix its cause. Do not use this
266
+ section to harden healthy infrastructure, repair unrelated debt, or create a new
267
+ test platform for speculative assurance. Never
268
268
  wait for someone else to diagnose a blocker the run can resolve.
269
269
 
270
270
  "The same failure" means the same command failing with the same error.
@@ -284,13 +284,14 @@ com.facebook.react` in unit A and again in unit C: one failure.
284
284
  3. **Known fix.** Apply it within the user's authorization and rerun the failed
285
285
  check at the same HEAD. Record the cause, evidence and change in `decisions`
286
286
  and on the blocker issue. Defer a [human-only](#human-only) intervention there.
287
- 4. **Cause not found when that limit runs out? Make one blocker issue.**
288
- File it with the command, the error, what was tried, and what is still
289
- unknown (nothing else: [Filed text](preflight.md#filed-text)), or link the
290
- repository's open issue for it. Record it in
287
+ 4. **At the diagnosis limit, reassess the delivery path.** Pursue a better
288
+ authorized path if one can satisfy the same criterion and required checks.
289
+ If the unresolved failure still blocks the chosen path, link the repository's
290
+ open issue for it or file one with the command, the error, what was tried, and
291
+ what is still unknown ([Filed text](preflight.md#filed-text)). Record it in
291
292
  `decisions`. Put it in the spec's tree beside the units it blocks, with
292
293
  a `blocked_by` link on each of them, then sync
293
- ([preflight.md](preflight.md#put-every-filed-issue-in-the-tree)): it
294
+ ([preflight.md](preflight.md#link-issues-the-spec-needs)): it
294
295
  becomes a unit the run can fix, and the units it affects wait on it, not
295
296
  started (`pending`), never `blocked`. For an external outage that may clear on retry, record
296
297
  `external-blocker` with `blockedAt` on the blocker unit.
@@ -108,8 +108,10 @@ The coordinator and any delegated explorer use these rules:
108
108
  other criteria or existing behavior.** Example: "the regression suite
109
109
  passes", "the README describes the flag", and "existing logins keep
110
110
  working" are proof, docs, and a regression check.
111
- 4. **`prerequisites`: what the unit builds on but does not ask for, and is
112
- missing.** Always present: `[]` when none. Mark each `missing` with where you looked, and `separate`:
111
+ 4. **`prerequisites`: dependencies of the chosen delivery path.** Apply the
112
+ [scope and approach principles](principles.md#scope-and-approach) before sizing
113
+ missing work. Keep dependencies of discarded approaches out of the estimate.
114
+ Always present: `[]` when none. Mark each `missing` with where you looked, and `separate`:
113
115
  `true` for a surface the issue does not name (new service or module,
114
116
  migration, code moved to be shared), else `false`. Neither holds the
115
117
  unit: the unit builds it, and its lines count in `estimatedLines`; a
@@ -206,9 +206,8 @@ workers those local facts rather than copying the old transcript. Keep all progr
206
206
  Coordination commands that exit 0 to return a structured verdict keep that protocol;
207
207
  read their verdict as documented. Record the command, status and failing step in
208
208
  the existing result/failure fields; no new harness or evidence document is needed.
209
- - Prove `browser` and `emulator` levels with the existing end-to-end suite;
210
- with none, the unit builds the journey its proof needs
211
- ([expire.md](expire.md#proof-stays-with-its-unit)).
209
+ - For `browser` and `emulator` proof, reuse a suitable end-to-end suite. If it
210
+ is unavailable, follow [Proof stays with its unit](expire.md#proof-stays-with-its-unit).
212
211
  - Reuse existing tests that already prove an outcome. Add focused cases for the
213
212
  changed behavior and material failures, at the lowest level that proves them for
214
213
  real. Decide whether a new defensive branch belongs before writing a test for it;
@@ -225,10 +224,9 @@ workers those local facts rather than copying the old transcript. Keep all progr
225
224
  environment caused it. CI qualifies the candidate.
226
225
  - Run any other `browser` or `emulator` journey on the worker's final HEAD;
227
226
  after a fix, rerun one only when the fix touches what it covers.
228
- - Stop when the agreed plan passes: the criteria at `proof.level` on the
229
- final HEAD. Add a check only for a specific unresolved defect or
230
- uncertainty that could change the delivery decision; state it and the
231
- result that would change the decision in one line before running it.
227
+ - Finish the worker's proof when the evidence covers the agreed criteria at
228
+ `proof.level` on the final HEAD. For a gap, follow the
229
+ [verification principles](principles.md#verification).
232
230
  - Reuse a passing result while the code, dependencies, and configuration it
233
231
  covers are unchanged; a metadata-only commit or a content-equivalent
234
232
  rebase keeps it. After a correction, rerun the checks it affects, not the
@@ -236,11 +234,8 @@ workers those local facts rather than copying the old transcript. Keep all progr
236
234
  - Never expand the criteria or add evidence obligations during the unit;
237
235
  report a missing criterion as a `decision` dropbox item. Block only when the unit
238
236
  cannot meet its existing criteria without it.
239
- - When the suite itself cannot run (it fails before the unit's journey
240
- starts, or the same way on the target), treat it as an infrastructure
241
- failure ([expire.md](expire.md#infrastructure-failures)): one bounded
242
- investigation that fixes what the run can; a shared blocker issue only
243
- when the cause stays unfound or its fix is human-only. Keep the rest moving.
237
+ - When the suite fails before the journey starts or fails the same way on the
238
+ target, follow [Infrastructure failures](expire.md#infrastructure-failures).
244
239
  - Keep `proof.physical` and explicitly assigned later release acceptance pending
245
240
  at their named gate and owning issue. Build the automated tests the current issue
246
241
  requests even when CI runs them as a campaign. If the current issue requests the
@@ -185,9 +185,9 @@ by row 1 of [Never block on the human](#never-block-on-the-human).
185
185
  | Consideration | Measure | Warn | Hold or stop |
186
186
  |---|---|---|---|
187
187
  | scope | Behaviors | 2-3 | 4+: hold |
188
- | scope | Missing prerequisite | any: the unit builds it, counted in its lines | |
188
+ | scope | Missing prerequisite of the chosen path | any: count the work the unit needs to build | |
189
189
  | scope | Estimated lines x 1.3 | 2,501-5,000 | over 5,000: hold |
190
- | proof | `browser`/`emulator` proof with no working end-to-end suite | any: the unit builds the journey it needs, counted in its lines | |
190
+ | proof | `browser`/`emulator` proof with no working end-to-end suite | any: estimate the journey work still needed on the chosen path | |
191
191
  | proof | `emulator` proof across 3+ layers | any | |
192
192
  | proof | `proof.physical` evidence | any: one pending release-gate record | |
193
193
  | plan | Open `product`/`scope`/`approval` question for a unit | | any: hold that unit |
@@ -204,9 +204,8 @@ by row 1 of [Never block on the human](#never-block-on-the-human).
204
204
 
205
205
  Only scope and open questions hold a unit; proof only warns. Add each
206
206
  `handback` item, including `verification`, as a handback step. A unit with
207
- no working end-to-end suite builds the journey its proof needs inside the
208
- unit ([expire.md](expire.md#proof-stays-with-its-unit); never hold units
209
- behind a suite.
207
+ no working end-to-end suite follows [Proof stays with its unit](expire.md#proof-stays-with-its-unit).
208
+ Independent units continue.
210
209
 
211
210
  ### Splits
212
211
 
@@ -279,7 +278,9 @@ Example: "Emulator boot fails: `emulator -avd ci` exits 1 with `KVM not
279
278
  available`; tried a cold boot and a fresh AVD", never "a maintainer must
280
279
  authorize emulator use".
281
280
 
282
- ### Put every filed issue in the tree
281
+ <a id="put-every-filed-issue-in-the-tree"></a>
282
+
283
+ ### Link issues the spec needs
283
284
 
284
285
  **An issue the spec still needs goes into the spec's issue tree, with a
285
286
  native `blocked_by` link on each issue that waits for it; the
@@ -313,7 +314,7 @@ Example: `/resolve-issues` answered "run the rest" files nothing;
313
314
  1. List the held issue's sub-issues and its parent's first; reuse a slice
314
315
  already filed under the same title and file only the rest.
315
316
  2. Create one issue per slice, blockers first, labeled `ready-for-agent`,
316
- placed by [Put every filed issue in the tree](#put-every-filed-issue-in-the-tree):
317
+ placed as described under [Link issues the spec needs](#link-issues-the-spec-needs):
317
318
  a prerequisite slice beside the held issue, with `blocked_by` on the
318
319
  issues that use it (the held issue while it is one unit; once it has
319
320
  slices, only the slices that use it); behavior slices under the
@@ -364,8 +365,8 @@ when available. On resume, present only choices that the user's recorded approva
364
365
  install it (recommended), or run without it.
365
366
  1. **Target branch:** up to four fetched heads, provisional first.
366
367
  2. **Merge mode:** `autonomous` (recommended): merge each
367
- reviewed, green PR, fixing blockers outside the plan
368
- ([expire.md](expire.md#infrastructure-failures)); or
368
+ reviewed, green PR, resolving [blockers](expire.md#infrastructure-failures)
369
+ within the run's authority; or
369
370
  `supervised`: hand each back merge-ready.
370
371
  3. **Scheduler mode:** how much `next-actions.mjs` prescribes, recorded as
371
372
  the plan's `schedulerMode`. `full` (recommended): do every step it
@@ -415,11 +416,8 @@ when its first worker is admitted ([workspaces](workspaces.md#prepare-at-admissi
415
416
 
416
417
  **Spawn no worker for `environmentChecks` and wait on none.** Put the commands in
417
418
  the brief of the first implementer that relies on them; it runs them first in its
418
- own workspace, once per run, and reports a failure as an infrastructure failure
419
- ([expire.md](expire.md#infrastructure-failures)): one bounded investigation that
420
- fixes what the run can; one shared blocker issue only when it cannot. Every unit keeps going: it proves what it can, and only
421
- the journeys that need the environment wait on the blocker issue, inside their
422
- own units.
419
+ own workspace, once per run. On failure, follow [Infrastructure failures](expire.md#infrastructure-failures).
420
+ Only journeys that need the affected environment wait on it.
423
421
  Example: eight units each waited 6-10 minutes on their own environment-check
424
422
  worker; instead, the first implementer ran the checks as its first step.
425
423
 
@@ -470,7 +468,7 @@ If the remaining step needs a new decision or access, defer it on its issue.
470
468
  | Open product, scope, or approval question; product code outside the units ([human-only](expire.md#human-only) 1, 4) | Choose the least disruptive authorized option that meets the criteria. Use test data or fixtures for test prerequisites. Defer an unrequested change to sign-in, membership, permissions or money behavior if no in-scope option meets the criteria. |
471
469
  | A CI workflow change (item 2) that keeps every required check, merge condition, and gate at least as strict: commands, callers, paths, caches | Make it in the unit's PR; review and CI cover it |
472
470
  | Adding, removing, or loosening a required check, merge rule, or branch protection (item 2); a longer timeout or budget loosens it | Never make it: defer it. Example: a CI readiness budget raised from 10 s to 60 s hid a broken runner |
473
- | A required proof the unit has no environment for | Build it inside the unit with run-owned resources; when it fails, follow [Proof stays with its unit](expire.md#proof-stays-with-its-unit) |
471
+ | A required proof the unit has no environment for | Choose how to obtain it under [Proof stays with its unit](expire.md#proof-stays-with-its-unit). |
474
472
  | Size check `hold` or `stop` (`rush-issues` at step 6; held units the human chose to run later stay deferred) | File the drafted splits and run the `runnable` units; split a still-held slice again while that makes progress. With no drafted split, or none that shrinks it, file your recommended split ([File a split](#file-a-split) step 6). Never defer a unit for size: `next-actions.mjs` prints `split` and holds `finish` until it is split. A unit held only by an open question is never split: take row 1's answer, record it, and rerun the size check |
475
473
  | `decide` from `next-actions.mjs`: a worker's `decisionNeeded`, or `review-verdict.mjs` verdict `decide` | Follow [Decide before you defer](expire.md#decide-before-you-defer) and record the outcome with `answers` naming the question's file |
476
474
  | `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)) |
@@ -1,26 +1,63 @@
1
1
  # Delivery principles
2
2
 
3
- 1. Deliver the requested behavior against the agreed acceptance criteria and required checks.
4
- 2. Limit supporting work to a requirement, concrete dependency or demonstrated defect.
5
- Route unrelated findings to the [dropbox](dropbox.md). Resolve design choices under
6
- [Decide before you defer](expire.md#decide-before-you-defer).
7
- 3. Add a check when its result could change the delivery decision.
8
- 4. Reuse evidence while its inputs remain valid. Qualify each candidate at its assigned
9
- [CI stage](ci.md).
10
- 5. Push the draft after focused tests pass. CI runs the full required suite.
11
- 6. For a new HEAD after a passing review, use [review carry](review.md#carry-after-a-pass).
12
- Otherwise use the review scope script's tier.
13
- 7. **Coordinate first.** On every completion notice, read fresh capacity and run `scripts/next-actions.mjs --run <run>`
14
- with the [live capacity arguments](implementation.md#live-capacity); do everything it prints
15
- before resuming your own work. The harness owns [worker monitoring](expire.md#waits);
16
- do not start a duplicate heartbeat.
17
- Use `--resume` on a new invocation. Follow the scheduler's `wait`, `handoff`
18
- and `finish` outcomes under [Done](done.md#close-the-run).
19
- 8. **Run as much at once as the plan and live host capacity allow.** Start every `fill-slot` before your own work;
20
- never hold a ready unit back; link a unit only to what its change needs.
21
- 9. Record a remaining obligation once on its owning issue and link it from the handback.
22
- 10. **Keep unaffected units moving.** After preflight, use the
23
- [automatic answers](preflight.md#never-block-on-the-human) for open questions.
24
- 11. **Fix the cause of a failed agreed check.** Follow the worker's
25
- [proof procedure](implementation.md#proof). Repair infrastructure when required
26
- for acceptance. Route unrelated debt to the dropbox.
3
+ ## Scope and approach
4
+
5
+ 1. **Freeze the agreed requirements and acceptance criteria.** Deliver the requested
6
+ behavior against the agreed acceptance criteria. Change either the requirements
7
+ or the criteria only when the user requests or approves the change.
8
+
9
+ 2. **Choose the delivery path.** Choose the simplest viable path to the agreed
10
+ outcome within the user's constraints. Revisit that choice when new evidence
11
+ changes its feasibility, cost, or risk. Limit supporting work to a requirement,
12
+ concrete dependency, or demonstrated defect.
13
+
14
+ 3. **Explore options when blocked.** Identify what the blocker prevents and look for
15
+ other ways to reach the same outcome. When a promising alternative is uncertain,
16
+ try it far enough to make an informed decision. Choose and pursue the best
17
+ available path within your authority. If every viable path requires external
18
+ action, state exactly what is needed. See [Decide before you defer](expire.md#decide-before-you-defer).
19
+
20
+ 4. **Guard against recursive unblocking.** When a prerequisite introduces another
21
+ prerequisite, extend the chain only if you can explain which agreed requirement,
22
+ acceptance criterion, or required check it serves and why this path is still justified.
23
+ “B needs C” alone is insufficient reason to start C. Route unrelated findings
24
+ to the [dropbox](dropbox.md).
25
+
26
+ ## Coordination
27
+
28
+ 5. **Coordinate first.** On each completion notice, read fresh capacity and run
29
+ `scripts/next-actions.mjs --run <run>` with the [live capacity arguments](implementation.md#live-capacity).
30
+ If new evidence invalidates a planned step, update the affected plan within the
31
+ approved scope and rerun the scheduler. Act on its output before resuming your
32
+ own work. Leave [worker monitoring](expire.md#waits) to the harness. Use `--resume`
33
+ on a new invocation and follow the scheduler's `wait`, `handoff` and `finish`
34
+ outcomes under [Done](done.md#close-the-run).
35
+
36
+ 6. **Use available capacity for ready work.** Start every `fill-slot` before your
37
+ own work. Give each unit only the dependencies its change requires.
38
+
39
+ 7. **Keep unaffected units moving.** When a unit is blocked, continue independent
40
+ work. After preflight, use the [automatic answers](preflight.md#never-block-on-the-human)
41
+ for open questions.
42
+
43
+ ## Verification
44
+
45
+ 8. **Reuse valid evidence and be precise about what it establishes.** When evidence
46
+ is hard to obtain, reassess how to verify the criterion. If a gap remains, state
47
+ what is still unverified and what would resolve it. Qualify each candidate at
48
+ its assigned [CI stage](ci.md).
49
+
50
+ 9. **Fix the cause of a failed required check.** Follow the worker's
51
+ [proof procedure](implementation.md#proof). Repair infrastructure when required
52
+ for acceptance. Route unrelated debt to the dropbox.
53
+
54
+ ## Delivery and handback
55
+
56
+ 10. **Push the draft after focused tests pass.** Use CI to run the full required suite.
57
+
58
+ 11. **Use the appropriate review scope for each revision.** After a passing review,
59
+ apply [review carry](review.md#carry-after-a-pass) to the new HEAD. Otherwise,
60
+ use the tier selected by the review scope script.
61
+
62
+ 12. **Record each remaining obligation once.** Put it on its owning issue and link
63
+ to it from the handback.
@@ -251,7 +251,10 @@ Example: someone files #61 under epic #12 mid-run; the next resume prints
251
251
  not issue bodies; unchanged sync output does not establish unchanged criteria.
252
252
  Reassess affected units under [assessment reuse](exploration.md#reuse-first),
253
253
  or reassess when the prior inputs cannot be established, before scheduling them.
254
- - `set-deps` only adds; a dependency recorded in findings stays.
254
+ - `set-deps` adds missing dependencies and preserves those recorded in findings. If new
255
+ evidence shows a dependency chosen by the run is obsolete, update the affected finding
256
+ and the unit's `dependsOn`. Reconcile any corresponding GitHub `blocked_by` link
257
+ within the run's authority and sync the tree. Keep each requested deliverable in the plan.
255
258
  - `cycle`: units depend on, or are chained on, each other, so none can move.
256
259
  Remove the link that is not a real dependency (on GitHub and in the plan);
257
260
  for a `stacksOn` loop, restack the unit it names onto the target.
@@ -165,7 +165,7 @@ function scopeReasons(id, entry) {
165
165
  if (n >= LIMITS.behaviors.stop) add('stop', 'behaviors', `unit ${id} delivers ${n} behaviors (${list}); split it into the fewest issues of at most ${PACK_BEHAVIORS} behaviors each`)
166
166
  else if (n >= LIMITS.behaviors.warn) add('warn', 'behaviors', `unit ${id} delivers ${n} behaviors (${list}); fine while each stays small`)
167
167
  for (const p of slice.prerequisites.filter((p) => p.status === 'missing')) {
168
- add('warn', 'prerequisites', `unit ${id} must also build ${p.what} (${p.evidence}); build it inside the unit, counted in its lines`)
168
+ add('warn', 'prerequisites', `unit ${id} lists a missing prerequisite: ${p.what} (${p.evidence}). Count the work needed on the chosen path in the unit estimate.`)
169
169
  }
170
170
  return reasons
171
171
  }
@@ -234,7 +234,7 @@ function proofReasons(id, entry) {
234
234
  const { proof, slice } = entry
235
235
  const suite = missingSuite(entry)
236
236
  if (suite) {
237
- add('warn', 'suite', `unit ${id} needs ${proof.level} proof but the repository has no working end-to-end suite for it: ${suite.what} (${suite.evidence}); build the ${proof.level} journey it needs inside the unit, counted in its lines`)
237
+ add('warn', 'suite', `unit ${id} needs ${proof.level} proof and reports no working suite: ${suite.what} (${suite.evidence}). Estimate any work still needed to exercise the journey.`)
238
238
  }
239
239
  if (proof.level === 'emulator' && slice.layers.length >= LIMITS.emulatorLayers.warn) {
240
240
  add('warn', 'emulatorLayers', `unit ${id} needs emulator proof across ${slice.layers.length} layers (${slice.layers.join(', ')}); prove the logic below the emulator and keep one journey on it`)
@@ -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.19
7
+ release-version: 0.50.21
8
8
  ---
9
9
  **Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
10
10
  # Resolve release
@@ -6,7 +6,7 @@ metadata:
6
6
  workflow-role: coordinator
7
7
  dependencies:
8
8
  - resolve-issues
9
- release-version: 0.50.19
9
+ release-version: 0.50.21
10
10
  ---
11
11
  **Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
12
12
  # Rush issues (shortcut of resolve-issues)