@1aboveio/skills 1.0.37 → 1.0.39

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 (79) hide show
  1. package/.codex-plugin/plugin.json +1 -1
  2. package/.codex-plugin/resources.json +143 -143
  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 +3 -2
  51. package/skills/engineering/engineering/references/engineering-conventions.md +16 -0
  52. package/skills/engineering/engineering-runtime/SKILL.md +1 -1
  53. package/skills/engineering/engineering-runtime/coherence/workflow.json +14 -14
  54. package/skills/engineering/ensure-coverage/SKILL.md +1 -1
  55. package/skills/engineering/golden-path/SKILL.md +1 -1
  56. package/skills/engineering/harness-runtime/SKILL.md +1 -1
  57. package/skills/engineering/resolve-issues/SKILL.md +16 -63
  58. package/skills/engineering/resolve-issues/references/ci.md +3 -4
  59. package/skills/engineering/resolve-issues/references/done.md +17 -6
  60. package/skills/engineering/resolve-issues/references/expire.md +18 -69
  61. package/skills/engineering/resolve-issues/references/implementation.md +5 -9
  62. package/skills/engineering/resolve-issues/references/preflight.md +21 -43
  63. package/skills/engineering/resolve-issues/references/principles.md +18 -46
  64. package/skills/engineering/resolve-issues/references/task-plan.md +13 -16
  65. package/skills/engineering/resolve-issues/scripts/next-actions.mjs +42 -12
  66. package/skills/engineering/resolve-release/SKILL.md +1 -1
  67. package/skills/engineering/rush-issues/SKILL.md +11 -48
  68. package/skills/engineering/rush-release/SKILL.md +1 -1
  69. package/skills/engineering/test-quality/SKILL.md +1 -1
  70. package/skills/risk-compliance/compliance-audit/SKILL.md +1 -1
  71. package/skills/risk-compliance/contract-compare/SKILL.md +1 -1
  72. package/skills/risk-compliance/contract-review/SKILL.md +1 -1
  73. package/skills/risk-compliance/doc-authenticity/SKILL.md +1 -1
  74. package/skills/risk-compliance/fraud-detection/SKILL.md +1 -1
  75. package/skills/risk-compliance/payment-analysis/SKILL.md +1 -1
  76. package/skills/risk-compliance/portfolio-payment-analysis/SKILL.md +1 -1
  77. package/skills/risk-compliance/rfi-writing/SKILL.md +1 -1
  78. package/skills/risk-compliance/similar-domain/SKILL.md +1 -1
  79. 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": "fe1bf475469f08b93e5fa5431cd8bcdc3cce8fa7fa87e0720495de24008afe10",
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": "3f47e6cbf3f859333e1a2830ff796227ea063c9184a914d0b999fb259807c207",
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": "2abb25eea4aee7cbbe7596ce5874fdeded4b76a229d1fa173e3f372d3154df1d",
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": "fb1d15d1ede1cf7ef14badf5669fdeefaf32610d9689fa7527704e91535fd239",
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": "0f200432c82a4a9c81adee30318d98102e488ebcff43d027f4d46a063c4d4c42",
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": "17b6307dda2e43e544e522c9962b441bd1efb7f221abd34504723975fb984acf",
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": "7e8d7d47fd713e112f3871ab9dd9332da7ebe824405da5d4afc88119a4b25fb0",
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": "eda46787f6676d9a24d40e6d7a473c7db568840c463dc6a3bf23b5ea2b6cdd03",
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": "0ca4970483a15c87dd15a89a26a11f4be56060bacbc546768eda214ce398a40b",
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": "758d8a49718192782932972ff88f73f48cc4993818fc77575042850b0afed847",
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": "1dbb2ed72057d686ca67026b56d47433824070612d0363d29892e64323bb29d5",
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": "4f60a87396a62eaadc211f6ca22b747243398833c0c009ef388910057200c410",
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": "b5c2fff195967feaf288424e771b166971d68a62b53acc1a6c9a87e1f6eafed1",
532
532
  "digestExcludes": [
533
533
  "coherence/workflow.json"
534
534
  ]
535
535
  }
536
536
  ],
537
- "releaseIdentity": "d358b8e32ca84b169adff63d4b36b16d9d80f563759f3ff17db92eab957e736e",
537
+ "releaseIdentity": "e6a4f38bc5b1834821ebdd2c6a87dbdac5ac930cfbb814ac1d8250f92b56b6ed",
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.19
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.19
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.19
7
7
  ---
8
8
  **Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
9
9
  # Harness Runtime
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: resolve-issues
3
- description: "Slash/explicit-only (/resolve-issues). Drive an issue, epic, or feature spec to reviewed, green PRs, one per issue, merged or handed back merge-ready: preflight assessment with an explorer only for planning unknowns, a per-issue slice check, isolated implementers within live host capacity, then per issue its PR, independent better-review, CI, and queue/merge (or merge-ready hand-back) as soon as it is done. Asks once, at the end of preflight (target branch, merge mode, scheduler mode, plan) and resolves the worker roles' models as run metadata instead of asking, then never blocks on the human; small non-blocking problems collect in a dropbox, posted at the end as grouped ready-for-agent issues. /rush-issues is its no-questions shortcut. Do not auto-select. Use for whole-spec delivery, including high-risk work; risk changes model and validation depth, never the workflow. NOT for release work (resolve-release)."
3
+ description: "Explicit /resolve-issues workflow for delivering a GitHub issue, epic, or feature spec as reviewed PRs with passing CI. Confirm the plan and delivery settings at preflight, then merge or hand back merge-ready PRs. For unattended delivery use /rush-issues. For releases use /resolve-release."
4
4
  disable-model-invocation: true
5
5
  metadata:
6
6
  workflow-role: coordinator
@@ -9,72 +9,27 @@ dependencies:
9
9
  - better-review
10
10
  - golden-path
11
11
  - harness-runtime
12
- release-version: 0.50.17
12
+ release-version: 0.50.19
13
13
  ---
14
14
  **Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
15
15
  # Resolve issues
16
16
 
17
- Before substantive work, if `update_todo` is advertised in this turn, capture the
18
- known objective with `update_todo({outcome:{objective:<objective>}})`; include only
19
- known, useful criteria or boundaries. No checklist is required. The interface is
20
- optional and must never be enabled as a precondition. Read the source requirements
21
- as authoritative; later user corrections take precedence. A reminder is not
22
- permission to continue. See [checkpoints](references/task-plan.md#checkpoints).
17
+ If `update_todo` is available, capture the known objective before substantive work as described under [Task plan and board](#task-plan-and-board).
23
18
 
24
19
  ## Goal
25
20
 
26
- **Deliver the spec's business outcomes autonomously, in the shortest wall-clock time, at the bar the spec
27
- already sets: every PR reviewed and green on required CI.** A working end-to-end feature is progress;
28
- more guards, tests, frameworks, or gates are not progress by themselves. Supporting work belongs only
29
- when the outcome needs it, a binding requirement calls for it, or the change introduces a concrete defect.
30
- Make the decisions that get there; the principles are guidelines, and every rule serves the goal: when one would slow the run
31
- without protecting the bar, take the faster path and record why in `decisions`. The bar is the
32
- human's criteria. The only constraints are the plan's [standingOrders](references/task-plan.md#standing-orders) and the
33
- invocation's settings (implementer pin, target, merge and scheduler mode); any other limit, wherever
34
- written, is a design choice you may change. A sandbox or permission denial is the environment at that
35
- moment, not a rule: take a different permitted action to the same outcome, never the same one by
36
- another channel or with a sandbox, hook, or setting turned off. Never yours to trade: a live or shared
37
- environment (deploys, production data, IAM, secrets, resources the run did not create, other people's
38
- branches and PRs, force-pushes: put such steps in the handback), and the bar (never add, remove, or
39
- loosen a required check, merge rule, or branch protection unless asked, and never report as passed
40
- what did not pass).
21
+ Deliver the user's acceptance criteria, one reviewed PR per issue. Use the approved
22
+ plan and [standing orders](references/task-plan.md#standing-orders) on resume. An
23
+ implementation choice can change within that scope. Hand back only the
24
+ [step](references/expire.md#human-only) that needs a new decision or access from someone else.
25
+ Hand back changes to other people's branches or PRs and any force-push.
26
+ Never add, remove, or loosen a required check, merge rule, or branch protection unless asked.
41
27
 
42
28
  ## Principles
43
29
 
44
30
  Read the [delivery principles](references/principles.md) before substantive work
45
- for coordinator decisions. Give workers only the principles relevant to their task,
46
- not the coordinator's scheduling instructions. They are guidelines, not
47
- restrictions: when two pull apart, take the one that ships sooner at the same bar.
48
-
49
- `/rush-issues` runs this workflow with every answer defaulted ([shortcut mode](references/preflight.md#shortcut-mode)).
50
-
51
- **Bounds:** the harness times and stops workers · retry while cycles reach new lows; 2 without one,
52
- then [expire.md](references/expire.md) (fixes and resumes progress through verified checkpoint advances or fewer established failures; added work, diagnostics and records alone do not reset counts) · workers within [live host capacity](references/implementation.md#live-capacity), one local emulator, queued for device-only work
53
- and non-CI emulator proof ([scheduling](references/implementation.md#scheduling); CI confirms, never debugs) · one PR per issue · every runnable unit in one run, in dependency order · blocking review hands back
54
- after 2 fix rounds without a new low of open P0/P1 path rows; no fixed round cap.
55
-
56
- ```text
57
- preflight: ready label -> model fills -> plan draft
58
- -> preflight assessment (optional explorer) -> size check (only scope or an open question holds a unit, with a split)
59
- -> one approval (target branch, merge mode, scheduler mode, plan)
60
- -> schedule runnable units within live host capacity:
61
- prepare a unit's workspace when its first worker is admitted (never all units up front)
62
- -> implement -> first coherent commit: draft PR (CI starts) once parents' PRs are open
63
- (stack, chain) or merged (wait) -> validate -> self-review -> fix and re-validate
64
- -> when a unit's code is done, for that unit:
65
- rebase on its parent (stack, chain) or the target (wait)
66
- -> independent review, while CI runs -> review-verdict.mjs decides:
67
- `pass`: review passes (route P2 by its contribution to delivery;
68
- P3 is skipped); `fix`: its fixBrief (P0/P1) plus explicitly selected supporting P2,
69
- push, re-review; `review-again`: review again
70
- -> CI red: fix, push; after a passing review, carry it (no reviewer)
71
- -> review passed and CI green on one HEAD: mark ready
72
- -> autonomous: merge (through the queue; stack, chain: enqueue a line's deepest PR); supervised: hand back merge-ready
73
- -> after a merge, clean that unit's workspace and resources (retained = report it); optional: read-only warehouse canary on that commit
74
- -> done: every PR merged (autonomous) or handed back merge-ready (supervised), every delivered environment cleaned or retained with a reason
75
- ```
76
-
77
- Read each procedure right before its stage; never substitute your own.
31
+ for coordinator decisions. Share the relevant principles with each worker.
32
+ Read the procedure for the current stage.
78
33
 
79
34
  | Stage | Procedure |
80
35
  |---|---|
@@ -114,7 +69,7 @@ Read each procedure right before its stage; never substitute your own.
114
69
  large output to files (read only the lines you need). Expect Pi's **Completions while busy: Steer active run**
115
70
  (`/harness-settings`) so notices reach you while you work; when it is off, run `next-actions.mjs` with
116
71
  [fresh capacity](references/implementation.md#live-capacity) before each new step of your own work.
117
- - **The human.** Ask once, at the approval. Record every decision, correction, and scope change in
72
+ - **User decisions.** Record each decision, correction, and scope change in
118
73
  `decisions` at once, and each standing instruction in `standingOrders`; re-read the standing orders on
119
74
  resume and before any push, enqueue, data write, or deletion. Default merge mode is `autonomous`.
120
75
  - **Proof.** Treat producer reports as claims until the reviewer or CI checks them. Tests and diagnostic probes
@@ -124,9 +79,7 @@ Read each procedure right before its stage; never substitute your own.
124
79
  findings, reviews and CI artifacts as the records; produce an additional checklist or
125
80
  evidence document only when the issue or repository requires it, deriving results from actual runs.
126
81
  - **Delivery.** A dependent starts on its parent's finished code. Stack its PR on the parent's (a GitHub-native
127
- stack) under a live Mergify queue; chain it when the merge keeps commits; else open it once the parent merges. Live
128
- steps are only the read-only warehouse canary (never blocks) and the isolated, run-owned resources
129
- [preflight.md](references/preflight.md#never-block-on-the-human) allows.
82
+ stack) under a live Mergify queue; chain it when the merge keeps commits; else open it once the parent merges. The optional [warehouse canary](references/canary.md) is read-only and never blocks delivery.
130
83
 
131
84
  ## Acceptance criteria
132
85
 
@@ -177,8 +130,8 @@ efforts are run metadata, never a question.
177
130
  ([exploration.md](references/exploration.md#reuse-first)).
178
131
  5. **Size check:** run `size-check.mjs` (exit 0; read `verdict`). On `hold` or `stop`, hold the listed
179
132
  units (their dependents wait, not started) and draft their splits (yours when none is drafted); on `exploration-unfinished`, complete the findings using step 4's owner routing.
180
- 6. **Approval:** ask once for target, merge mode, scheduler mode, and plan;
181
- record the answers; plan each unit's branch, workspace, base, and lifecycle
133
+ 6. **Approval:** resolve the target, merge mode, scheduler mode and plan under
134
+ [step 6](references/preflight.md#6-approval); plan each unit's branch, workspace, base, and lifecycle
182
135
  intent, and prepare a workspace only when its first worker is admitted
183
136
  ([workspaces.md](references/workspaces.md#prepare-at-admission-once)).
184
137
  In shortcut mode, take the defaults: on `hold` or `stop`, file the splits (never defer
@@ -247,4 +200,4 @@ behavior delivered, checks and results, the PR and its CI run, and any
247
200
  outstanding blocker or pending obligation as an issue link, then
248
201
  [post the dropbox](references/dropbox.md#post-at-the-end) and the run
249
202
  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.
203
+ 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`.
@@ -24,14 +24,13 @@ PR CI; it cannot be required to pass before the queue candidate exists.
24
24
  on that HEAD: a check that never reported is missing, not passed. Example: a
25
25
  PR with no checks at all is not green; find out why CI did not run.
26
26
  2. On failure, read the logs; have a fix worker reproduce it, fix it on the
27
- same branch, rerun the failing check (a journey: off CI, with
28
- `proof.suite.local`) and the checks the fix affects plus
27
+ same branch, rerun the failing check under the [proof procedure](implementation.md#proof)
28
+ and the checks the fix affects plus
29
29
  typecheck and build, push the permitted branch, write its result and return
30
30
  without waiting for CI. Pending CI is not a pass and does not weaken acceptance.
31
31
  Long local tests and builds needed for the repair are allowed. An
32
32
  infrastructure failure goes to [expire.md](expire.md#infrastructure-failures).
33
- 3. A changed HEAD needs approval bound to that HEAD: push it and let CI
34
- run. After a passing review, [carry](review.md#carry-after-a-pass) it:
33
+ 3. Bind the review verdict and required CI to the new HEAD. After a passing review, [carry](review.md#carry-after-a-pass) it:
35
34
  no reviewer, CI on it is the proof. Otherwise run the tier the scope
36
35
  script picks ([review.md](review.md#tier-then-verdict)). A provider rerun keeps the
37
36
  review. Required CI proves the final combined tree. Rerun only checks
@@ -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.
@@ -81,19 +81,10 @@ none of them unblocks the unit.
81
81
  - Answer it with the [automatic answer](preflight.md#never-block-on-the-human). Then the unit's next step
82
82
  follows: a resume or fix that carries the decision. That attempt always
83
83
  runs, whatever the no-progress count; the ones after it count as usual.
84
- - Defer a choice only when every answer loosens an acceptance criterion, a
85
- required check, or a merge rule, or needs access the run does not have;
86
- record that as the decision, with the reason. First trace each side of a
87
- conflict to the human's criteria: a requirement that comes from how the
88
- run chose to meet a criterion is a design choice the run can change.
89
- - A recommendation to stay blocked, keep a candidate retained, or defer is
90
- not an answer: answer the question beneath it (which way meets the
91
- criterion); a limit that is not a [standing order](task-plan.md#standing-orders)
92
- rules no way out.
93
- Example: a worker recommended keeping a deploy-check unit blocked because
94
- no permitted way could read the staging logs; the "no log access" limit
95
- came from a split an earlier run filed and one denied command, so the
96
- answer was to read the logs through the repository's documented CLI.
84
+ - Where several answers preserve the criteria and required checks, choose one within
85
+ scope. If every answer would lower the bar or needs new authorization or access,
86
+ record what is needed and defer the affected step. Reconsider the implementation
87
+ choice behind a worker's recommendation to stay blocked.
97
88
 
98
89
  Example: #2533's fix worker returned "needs a boundary that proves the upload
99
90
  body completed"; the run resumed it twice with the same brief and deferred
@@ -182,38 +173,13 @@ rest ships.
182
173
  issue or note says ([preflight.md](preflight.md#never-block-on-the-human)).
183
174
  2. A change that loosens a merge rule, a required check, branch protection,
184
175
  or a CI workflow.
185
- 3. A change to a live or shared environment: staging or production data, a
186
- runner or machine the run did not set up, another person's resource.
187
- Creating new, isolated, test-only resources the run owns (a tunnel
188
- hostname, a scratch service) is not one. Once the repository documents one for reuse, it is shared:
189
- start and stop it, never delete it.
176
+ 3. A live or shared change beyond the user's authorization. If an isolated test resource
177
+ meets the same criteria, use a documented test zone or the least-shared available zone.
178
+ Record and clean up run-owned resources. Stop resources documented for reuse and leave them in place.
190
179
  4. Product code outside the run's units.
191
- 5. Access the run does not have: a secret, an account, a device, a paid
192
- service. A capability the machine has but a rule forbids is not item 5:
193
- a rule that is not a [standing order](task-plan.md#standing-orders) does not hold;
194
- a sandbox denial gets one permission request through the harness, then a
195
- route around it. Example: reading the logs of a container the run itself
196
- started needs no access the run lacks.
197
-
198
- **Use what the machine already has before naming item 5.** Check the
199
- installed CLIs and the accounts they are logged in to (`gh`, `gcloud`,
200
- `wrangler`, `aws`), the environment, and the repository's docs, and put what
201
- you checked in the blocker.
202
- Example: a test needed a trusted HTTPS hostname. `wrangler` was already
203
- logged in to the account owning the domains, so a run-owned tunnel hostname
204
- was within reach: not item 5.
205
-
206
- What the run or its workers created is the run's own: databases,
207
- processes, ports, containers, emulators, files, branches, and draft PRs.
208
- Retrying, resuming, cleaning up, and reviewing again are the run's too.
209
- A missing token, handle, record, or permission note does not put a fix on
210
- the list, and neither does a note or comment from an earlier invocation:
211
- take every `unblock` that `next-actions.mjs --resume` with
212
- [fresh capacity arguments](implementation.md#live-capacity) prints.
213
- Example: a reviewer's timed-out test left its database and lost the
214
- cleanup token; that is not on the list, so confirm the name and zero
215
- sessions, drop it, and resume the reviewer. A required check that needs a
216
- secret the repository lacks is item 5: hand it back.
180
+ 5. Missing access. Record the access needed and the evidence in `humanNeed`.
181
+
182
+ On resume, take every `unblock` from `next-actions.mjs --resume` with [live capacity](implementation.md#live-capacity).
217
183
 
218
184
  ## Respond by failure kind
219
185
 
@@ -248,7 +214,7 @@ use an explicit replacement under the [owner contract](implementation.md#impleme
248
214
  keeping the replaced reference as evidence; replacement briefs use those local facts
249
215
  rather than an old transcript. Keep the response limits and history above. Record a queue stall with the
250
216
  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.
217
+ `next-actions.mjs`, invoked with [live capacity](implementation.md#live-capacity), prints `handoff`. Report the blocker and keep the Goal active.
252
218
 
253
219
  ## Proof stays with its unit
254
220
 
@@ -311,28 +277,13 @@ com.facebook.react` in unit A and again in unit C: one failure.
311
277
  2. **New? One fix worker on the unit that hit it (`workerKind: fix`) gets
312
278
  the repository's documented limit (20 minutes when it has none)** to
313
279
  reproduce it, find the cause, and fix what the run itself owns.
314
- Once the log names the cause as something the run does not own (a
315
- shared runner, GitHub's API, the network), it is a blocker only if it
316
- lasts: rerun it with growing gaps (about 5, 15, then 45 minutes) while
317
- other units keep shipping. Never rerun before the cause is named.
318
- Example: checkout failed with `EACCES` on three shared runners at 20:30;
319
- by 01:00 the directories were gone and the same PR merged unchanged.
320
- Example: point Gradle at the run's private cache, pick a free port,
321
- stop the run's own stuck emulator.
280
+ For an external outage that can clear by itself, retry after about 5, 15,
281
+ then 45 minutes while other units continue.
322
282
  An open review `executionIncident` is the run's to fix
323
283
  ([result.md](../../better-review/references/result.md)).
324
- 3. **Cause found, fix outside the run? Apply it.** Record the cause and
325
- its proof, the change, and what it touches in `decisions` and on the
326
- blocker issue, then rerun the failed check at the same HEAD. A
327
- [human-only](#human-only) fix takes its automatic answer instead
328
- ([preflight.md](preflight.md#never-block-on-the-human)).
329
- Example: "BuildKit on runner `mac-2` cannot pull `docker/dockerfile:1.7`
330
- because its registry mirror returns 404 (log line 212). Fix: drop the
331
- mirror from `/etc/buildkit/buildkitd.toml` and restart buildkitd.
332
- Proof: rerun `Admission CI` on #1388's HEAD." `mac-2` is a shared runner
333
- (item 3), so this goes on the blocker issue and #1388 waits on it while
334
- the rest ships. Never: "the runner custodian needs to provide resolution
335
- evidence."
284
+ 3. **Known fix.** Apply it within the user's authorization and rerun the failed
285
+ check at the same HEAD. Record the cause, evidence and change in `decisions`
286
+ and on the blocker issue. Defer a [human-only](#human-only) intervention there.
336
287
  4. **Cause not found when that limit runs out? Make one blocker issue.**
337
288
  File it with the command, the error, what was tried, and what is still
338
289
  unknown (nothing else: [Filed text](preflight.md#filed-text)), or link the
@@ -341,10 +292,8 @@ com.facebook.react` in unit A and again in unit C: one failure.
341
292
  a `blocked_by` link on each of them, then sync
342
293
  ([preflight.md](preflight.md#put-every-filed-issue-in-the-tree)): it
343
294
  becomes a unit the run can fix, and the units it affects wait on it, not
344
- started (`pending`), never `blocked`. When its fix lies outside the run (a
345
- shared runner, a provider, the network), block the blocker unit itself as
346
- `external-blocker` with `blockedAt`, never `human-decision`: the outage may
347
- end, so the run rechecks it over time instead of finishing.
295
+ started (`pending`), never `blocked`. For an external outage that may clear on retry, record
296
+ `external-blocker` with `blockedAt` on the blocker unit.
348
297
  5. **Hold back only the work it affects.**
349
298
  Example: the emulator will not boot, so the Android units keep shipping
350
299
  what they can prove, their emulator journeys wait on the blocker issue
@@ -218,15 +218,11 @@ workers those local facts rather than copying the old transcript. Keep all progr
218
218
  a new branch does not automatically need another test layer.
219
219
  - When CI runs the unit's `browser` or `emulator` suite, CI proves it: push
220
220
  and the coordinator reads the journey's result on the pushed HEAD. The worker
221
- returns with CI pending. CI confirms a fix; it
222
- never debugs one. After a failed journey, reproduce it with
223
- `proof.suite.local` before the next push or dispatch. When `local` passes
224
- where CI fails, the difference is the environment: run CI once more with
225
- added diagnostics, then treat it as an
226
- [infrastructure failure](expire.md#infrastructure-failures). Example: four units
227
- push and their journeys run in parallel on the Android runners; one fails,
228
- and its fix worker reproduces the failing checkpoint locally before CI
229
- runs it again.
221
+ returns with CI pending. Reproduce a failed checkpoint with `proof.suite.local`
222
+ using inputs permitted locally. When the failure occurs only in CI or its inputs
223
+ are restricted to CI, gather diagnostics in the authorized lane and follow
224
+ [infrastructure failure handling](expire.md#infrastructure-failures) if the
225
+ environment caused it. CI qualifies the candidate.
230
226
  - Run any other `browser` or `emulator` journey on the worker's final HEAD;
231
227
  after a fix, rerun one only when the fix touches what it covers.
232
228
  - Stop when the agreed plan passes: the criteria at `proof.level` on the
@@ -205,7 +205,7 @@ by row 1 of [Never block on the human](#never-block-on-the-human).
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
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
208
+ unit ([expire.md](expire.md#proof-stays-with-its-unit); never hold units
209
209
  behind a suite.
210
210
 
211
211
  ### Splits
@@ -272,7 +272,7 @@ criteria and the facts, and never adds a restriction.** That covers splits,
272
272
  blocker issues, dropbox issues, status and handback comments, and edits to
273
273
  the spec's or a unit's body. It goes out under the human's account, where
274
274
  later runs cannot tell it from the human's own words, so it never adds a
275
- prohibition (only [standing orders](task-plan.md#standing-orders) constrain a run), an authorization or approval step, an ownership or custody
275
+ prohibition, an authorization or approval step, an ownership or custody
276
276
  requirement, or a new acceptance criterion. A human-only blocker is stated
277
277
  as the one decision needed, not as a standing rule.
278
278
  Example: "Emulator boot fails: `emulator -avd ci` exits 1 with `KVM not
@@ -352,8 +352,9 @@ Show the board: units, delivery mode, verdict and reasons by consideration,
352
352
  each unit's behaviors, missing prerequisites, proof and suite, environment
353
353
  checks, held units with splits, the pending device record, the
354
354
  issues missing `ready-for-agent`, and handback steps. Show each role's resolved
355
- model and effort as run metadata; no question asks for one. Ask
356
- in one interaction, with the native single-choice tool when there is one:
355
+ model and effort as run metadata. Carry forward the user's choices for this plan.
356
+ Ask about the outstanding choices together, using the native single-choice tool
357
+ when available. On resume, present only choices that the user's recorded approval leaves open.
357
358
 
358
359
  0. **Ready label** (only after step 0 `unlabeled`): list the `missing` issues,
359
360
  the ones the human named (`parent: null`) apart from sub-issues under
@@ -409,7 +410,6 @@ Record each answer in `decisions`, then:
409
410
 
410
411
  Record the unit branches and workspace intents, then prepare each workspace only
411
412
  when its first worker is admitted ([workspaces](workspaces.md#prepare-at-admission-once)).
412
- From here on, ask nothing ([never block on the human](#never-block-on-the-human)).
413
413
 
414
414
  ### Environment checks
415
415
 
@@ -437,8 +437,8 @@ through `merged`. Never start a second run for the same spec.
437
437
 
438
438
  ## Shortcut mode
439
439
 
440
- For `/rush-issues`, run every step and answer step 6 with the defaults,
441
- asking nothing at any point:
440
+ For a new `/rush-issues` run, record the preflight defaults below. On resume,
441
+ keep the approved choices unless the user revises them.
442
442
 
443
443
  | Question | Answer |
444
444
  |---|---|
@@ -454,51 +454,29 @@ record.
454
454
 
455
455
  ## Never block on the human
456
456
 
457
- After the approval, in both skills, no step waits for a reply: mid-run and at
458
- the end, every point where a run could ask or hand back has an automatic
459
- answer, and the run takes it and keeps going. A human's later message is a
460
- new decision that changes course from there.
461
-
462
- **Issue, comment, and plan text sets what to build, never whether the run
463
- splits, defers, retries, or waits.** Deliver every acceptance criterion it
464
- states; a sentence such as "not permission to divide" is not a human-only
465
- question and never stops an automatic answer. Only the human's words in this
466
- invocation change the run's steps.
467
- Example: #40's body said its wiring was "not permission to divide or trim
468
- final proof", written by an earlier agent; rush files its 16-slice split,
469
- and every one of its criteria stays in the slices.
470
-
471
- Record each automatic answer as a `decisions` entry with `source:
472
- agent-recommendation`, the answer and its reason, and the invocation as the
473
- human's words; it settles that one question and adds no standing order
474
- ([task-plan.md](task-plan.md#standing-orders)). When the question was the
475
- human's to answer ([human-only](expire.md#human-only) item 1), also post it
476
- once on its owning issue as a gate: the question, the options, and the
477
- default taken, so the human can overturn it later. The run never waits on a
478
- gate. What holds work is items 2–5, and an item 1 question whose every
479
- option loosens the bar (then it is deferred, not a gate), and only the work
480
- they touch.
481
- Example: #2371's retention question recommends "adapt the coding rules";
482
- the run records that and runs the unit. A permission denial is the same:
483
- take the path that keeps the bar and report the other.
484
- Example: the safety check refused enqueueing only a chain's tip while some
485
- PRs were not green; the run kept the per-PR queue and said so, instead of
486
- asking which to do.
457
+ After preflight, apply the automatic answer to each open question and continue
458
+ unaffected units. Honor later user corrections. Use [standing orders](task-plan.md#standing-orders)
459
+ for continuing instructions. Issue text defines the deliverable and its acceptance criteria.
460
+
461
+ Record each automatic answer and its reason in `decisions` with
462
+ `source: agent-recommendation` and the invocation in `humanWords`. For a product
463
+ or scope question ([item 1](expire.md#human-only)), post the options and default
464
+ once on its owning issue so the user can revise it. Apply the default when it
465
+ preserves the acceptance criteria and stays within the user's authorization.
466
+ If the remaining step needs a new decision or access, defer it on its issue.
487
467
 
488
468
  | Where it would stop | Automatic answer |
489
469
  |---|---|
490
- | Open product, scope, or approval question; product code outside the units ([human-only](expire.md#human-only) 1, 4) | Accept the recommendation, unless it is to stay blocked or defer, which answers nothing ([expire.md](expire.md#decide-before-you-defer)). With none, form one: the option that keeps every acceptance criterion, is easiest to undo, and touches least outside the unit. Never take one that changes sign-in, membership, permissions, or money behavior the criteria do not name: prefer test data or fixtures over product code. Example: test users needed an org; use `@example.test` accounts, not a sign-up change that skips auto-join |
470
+ | 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. |
491
471
  | 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 |
492
472
  | 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 |
493
- | A live or shared environment (item 3) | Create new, isolated, run-owned resources with access the run already has (a test hostname, a tunnel, a scratch service), in a zone or account the repository documents for tests (with none, the least-shared one), record them, and at the end stop what runs and remove what the repository does not document for reuse. Never change an existing shared resource, staging or production data, or a machine the run did not set up: retry over time ([expire.md](expire.md#infrastructure-failures)), route around it, or defer it |
494
- | Missing access (item 5), after [checking what the machine has](expire.md#human-only) | Defer it |
495
- | 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)) |
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) |
496
474
  | 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 |
497
- | `decide` from `next-actions.mjs`: a worker's `decisionNeeded`, or `review-verdict.mjs` verdict `decide` | Take row 1's answer, record it with `answers` naming the question's file, and continue the unit with it ([expire.md](expire.md#decide-before-you-defer)). Defer only when every answer loosens an acceptance criterion, a required check, or a merge rule, or needs access the run lacks |
475
+ | `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 |
498
476
  | `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
477
  | A unit out of fix cycles, or `review-verdict.mjs` verdict `handback` | Defer the unit: keep its draft PR and workspace |
500
478
  | 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)) |
479
+ | 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
480
 
503
481
  **Defer** means: record once, on the issue that owns it, what is left, why,
504
482
  and the exact step that finishes it; keep the work; hold only what depends