@1aboveio/skills 1.0.38 → 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.
- package/.codex-plugin/plugin.json +1 -1
- package/.codex-plugin/resources.json +141 -141
- package/package.json +4 -4
- package/skills/app-dev/airflow/SKILL.md +1 -1
- package/skills/app-dev/android-development/SKILL.md +1 -1
- package/skills/app-dev/app-debug/SKILL.md +1 -1
- package/skills/app-dev/better-auth/SKILL.md +1 -1
- package/skills/app-dev/data-catalog/SKILL.md +1 -1
- package/skills/app-dev/data-quality/SKILL.md +1 -1
- package/skills/app-dev/ios-foundation/SKILL.md +1 -1
- package/skills/app-dev/maestro/SKILL.md +1 -1
- package/skills/app-dev/monorepo/SKILL.md +1 -1
- package/skills/app-dev/nextjs-fullstack/SKILL.md +1 -1
- package/skills/app-dev/prisma-setup/SKILL.md +1 -1
- package/skills/app-dev/pyspark/SKILL.md +1 -1
- package/skills/app-dev/python-backend/SKILL.md +1 -1
- package/skills/app-dev/shadcn/SKILL.md +1 -1
- package/skills/app-dev/zod-v4/SKILL.md +1 -1
- package/skills/cicd/cloud-build/SKILL.md +1 -1
- package/skills/cicd/cloud-debug/SKILL.md +1 -1
- package/skills/cicd/cloud-deploy/SKILL.md +1 -1
- package/skills/cicd/docker/SKILL.md +1 -1
- package/skills/cicd/github-actions/SKILL.md +1 -1
- package/skills/cicd/github-flow/SKILL.md +1 -1
- package/skills/cicd/google-cloud/SKILL.md +1 -1
- package/skills/cicd/mergify/SKILL.md +1 -1
- package/skills/cicd/podman/SKILL.md +1 -1
- package/skills/content/article-review/SKILL.md +1 -1
- package/skills/content/article-to-image/SKILL.md +1 -1
- package/skills/content/flowchart-svg/SKILL.md +1 -1
- package/skills/content/image-gen/SKILL.md +1 -1
- package/skills/content/mermaid/SKILL.md +1 -1
- package/skills/content/wechat-article-writer/SKILL.md +1 -1
- package/skills/content/wechat-publisher/SKILL.md +1 -1
- package/skills/content/wechat-search/SKILL.md +1 -1
- package/skills/content/xai-search/SKILL.md +1 -1
- package/skills/core/distill-writing/SKILL.md +1 -1
- package/skills/core/doc-to-md/SKILL.md +1 -1
- package/skills/core/editorial-review/SKILL.md +1 -1
- package/skills/core/house-style/SKILL.md +1 -1
- package/skills/core/plain-language/SKILL.md +1 -1
- package/skills/core/polish-cn/SKILL.md +1 -1
- package/skills/core/reg-parser/SKILL.md +1 -1
- package/skills/core/terminology/SKILL.md +1 -1
- package/skills/core/write-doc/SKILL.md +1 -1
- package/skills/core/write-report/SKILL.md +1 -1
- package/skills/engineering/acceptance-design/SKILL.md +1 -1
- package/skills/engineering/better-review/SKILL.md +1 -1
- package/skills/engineering/e2e-test/SKILL.md +1 -1
- package/skills/engineering/engineering/SKILL.md +3 -2
- package/skills/engineering/engineering/references/engineering-conventions.md +16 -0
- package/skills/engineering/engineering-runtime/SKILL.md +1 -1
- package/skills/engineering/engineering-runtime/coherence/workflow.json +14 -14
- package/skills/engineering/ensure-coverage/SKILL.md +1 -1
- package/skills/engineering/golden-path/SKILL.md +1 -1
- package/skills/engineering/harness-runtime/SKILL.md +1 -1
- package/skills/engineering/resolve-issues/SKILL.md +15 -62
- package/skills/engineering/resolve-issues/references/ci.md +3 -4
- package/skills/engineering/resolve-issues/references/expire.md +17 -68
- package/skills/engineering/resolve-issues/references/implementation.md +5 -9
- package/skills/engineering/resolve-issues/references/preflight.md +20 -42
- package/skills/engineering/resolve-issues/references/principles.md +18 -46
- package/skills/engineering/resolve-issues/references/task-plan.md +7 -14
- package/skills/engineering/resolve-release/SKILL.md +1 -1
- package/skills/engineering/rush-issues/SKILL.md +11 -48
- package/skills/engineering/rush-release/SKILL.md +1 -1
- package/skills/engineering/test-quality/SKILL.md +1 -1
- package/skills/risk-compliance/compliance-audit/SKILL.md +1 -1
- package/skills/risk-compliance/contract-compare/SKILL.md +1 -1
- package/skills/risk-compliance/contract-review/SKILL.md +1 -1
- package/skills/risk-compliance/doc-authenticity/SKILL.md +1 -1
- package/skills/risk-compliance/fraud-detection/SKILL.md +1 -1
- package/skills/risk-compliance/payment-analysis/SKILL.md +1 -1
- package/skills/risk-compliance/portfolio-payment-analysis/SKILL.md +1 -1
- package/skills/risk-compliance/rfi-writing/SKILL.md +1 -1
- package/skills/risk-compliance/similar-domain/SKILL.md +1 -1
- package/skills/risk-compliance/tld-detection/SKILL.md +1 -1
|
@@ -372,7 +372,7 @@
|
|
|
372
372
|
"repository": "1aboveio/ai",
|
|
373
373
|
"revision": "main"
|
|
374
374
|
},
|
|
375
|
-
"contentDigest": "
|
|
375
|
+
"contentDigest": "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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
531
|
+
"contentDigest": "b5c2fff195967feaf288424e771b166971d68a62b53acc1a6c9a87e1f6eafed1",
|
|
532
532
|
"digestExcludes": [
|
|
533
533
|
"coherence/workflow.json"
|
|
534
534
|
]
|
|
535
535
|
}
|
|
536
536
|
],
|
|
537
|
-
"releaseIdentity": "
|
|
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.
|
|
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.
|
|
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.
|
|
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: "
|
|
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.
|
|
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
|
-
|
|
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
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
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.
|
|
46
|
-
|
|
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
|
-
- **
|
|
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.
|
|
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:**
|
|
181
|
-
|
|
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
|
|
@@ -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
|
|
28
|
-
|
|
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.
|
|
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
|
|
@@ -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
|
-
-
|
|
85
|
-
|
|
86
|
-
record
|
|
87
|
-
|
|
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
|
|
186
|
-
|
|
187
|
-
|
|
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.
|
|
192
|
-
|
|
193
|
-
|
|
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
|
|
|
@@ -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
|
-
|
|
315
|
-
|
|
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. **
|
|
325
|
-
|
|
326
|
-
|
|
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`.
|
|
345
|
-
|
|
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.
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
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)
|
|
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
|
|
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
|
|
356
|
-
|
|
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
|
|
441
|
-
|
|
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,47 +454,25 @@ record.
|
|
|
454
454
|
|
|
455
455
|
## Never block on the human
|
|
456
456
|
|
|
457
|
-
After
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
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) |
|
|
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
|
|
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` |
|
|
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` |
|