@1aboveio/skills 1.0.38 → 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.
- package/.codex-plugin/plugin.json +1 -1
- package/.codex-plugin/resources.json +144 -144
- 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 +26 -70
- package/skills/engineering/resolve-issues/agents/openai.yaml +1 -1
- package/skills/engineering/resolve-issues/references/ci.md +3 -4
- package/skills/engineering/resolve-issues/references/expire.md +45 -95
- package/skills/engineering/resolve-issues/references/exploration.md +4 -2
- package/skills/engineering/resolve-issues/references/implementation.md +12 -21
- package/skills/engineering/resolve-issues/references/preflight.md +31 -55
- package/skills/engineering/resolve-issues/references/principles.md +61 -52
- package/skills/engineering/resolve-issues/references/task-plan.md +11 -15
- package/skills/engineering/resolve-issues/scripts/size-check.mjs +2 -2
- 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": "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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
531
|
+
"contentDigest": "d520cb6783606ab5e27cde36f9bc33547a3203bc115dfbff20f3d196a3f57ed6",
|
|
532
532
|
"digestExcludes": [
|
|
533
533
|
"coherence/workflow.json"
|
|
534
534
|
]
|
|
535
535
|
}
|
|
536
536
|
],
|
|
537
|
-
"releaseIdentity": "
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
@@ -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.21
|
|
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
|
|---|---|
|
|
@@ -99,10 +54,12 @@ Read each procedure right before its stage; never substitute your own.
|
|
|
99
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
|
|
100
55
|
own failure or a human-only decision `blocked` with a [`blockedReason`](references/expire.md#reason-codes)
|
|
101
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
|
|
102
|
-
([Done](#done))
|
|
103
|
-
|
|
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
|
|
104
61
|
started (`pending`), never `blocked`; what stays blocked ends deferred on its owning issue, never done.
|
|
105
|
-
- **Your role.** Coordinate first
|
|
62
|
+
- **Your role.** [Coordinate first](references/principles.md#coordination). Between notices you may do bounded work
|
|
106
63
|
yourself: reproduce a failing browser or emulator journey, investigate an infrastructure failure, run a short
|
|
107
64
|
check. When a journey or case you run fails, copy its `NATIVE_FAILURE` line (or the failing step, error and
|
|
108
65
|
evidence path) into the unit's plan row; an exit code alone is not a failure record.
|
|
@@ -114,7 +71,7 @@ Read each procedure right before its stage; never substitute your own.
|
|
|
114
71
|
large output to files (read only the lines you need). Expect Pi's **Completions while busy: Steer active run**
|
|
115
72
|
(`/harness-settings`) so notices reach you while you work; when it is off, run `next-actions.mjs` with
|
|
116
73
|
[fresh capacity](references/implementation.md#live-capacity) before each new step of your own work.
|
|
117
|
-
- **
|
|
74
|
+
- **User decisions.** Record each decision, correction, and scope change in
|
|
118
75
|
`decisions` at once, and each standing instruction in `standingOrders`; re-read the standing orders on
|
|
119
76
|
resume and before any push, enqueue, data write, or deletion. Default merge mode is `autonomous`.
|
|
120
77
|
- **Proof.** Treat producer reports as claims until the reviewer or CI checks them. Tests and diagnostic probes
|
|
@@ -124,9 +81,7 @@ Read each procedure right before its stage; never substitute your own.
|
|
|
124
81
|
findings, reviews and CI artifacts as the records; produce an additional checklist or
|
|
125
82
|
evidence document only when the issue or repository requires it, deriving results from actual runs.
|
|
126
83
|
- **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.
|
|
84
|
+
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
85
|
|
|
131
86
|
## Acceptance criteria
|
|
132
87
|
|
|
@@ -177,8 +132,8 @@ efforts are run metadata, never a question.
|
|
|
177
132
|
([exploration.md](references/exploration.md#reuse-first)).
|
|
178
133
|
5. **Size check:** run `size-check.mjs` (exit 0; read `verdict`). On `hold` or `stop`, hold the listed
|
|
179
134
|
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
|
-
|
|
135
|
+
6. **Approval:** resolve the target, merge mode, scheduler mode and plan under
|
|
136
|
+
[step 6](references/preflight.md#6-approval); plan each unit's branch, workspace, base, and lifecycle
|
|
182
137
|
intent, and prepare a workspace only when its first worker is admitted
|
|
183
138
|
([workspaces.md](references/workspaces.md#prepare-at-admission-once)).
|
|
184
139
|
In shortcut mode, take the defaults: on `hold` or `stop`, file the splits (never defer
|
|
@@ -211,8 +166,8 @@ request the awaited re-review; `decide`, answer the `decide` file
|
|
|
211
166
|
### 4. CI and merge
|
|
212
167
|
|
|
213
168
|
Watch CI on every pushed HEAD; green means every required check ran and passed on that
|
|
214
|
-
HEAD (none reported is not green). Have a fix worker fix failures on the branch
|
|
215
|
-
|
|
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).
|
|
216
171
|
Enqueue through the queue's skill only when CI is green and the verdict is `pass`
|
|
217
172
|
on the same HEAD.
|
|
218
173
|
After 2 cycles without progress ([expire.md](references/expire.md)), or a harness-reported stuck worker, take the failure kind's response
|
|
@@ -222,7 +177,7 @@ A landed unit's workspace and resources are cleaned then, alongside independent
|
|
|
222
177
|
|
|
223
178
|
## Task plan and board
|
|
224
179
|
|
|
225
|
-
Keep the task plan
|
|
180
|
+
Keep run state in the task plan. Only the coordinator updates it
|
|
226
181
|
([task-plan.md](references/task-plan.md)). When `update_todo` is advertised, capture
|
|
227
182
|
the known outcome before substantive work and bind or reload the saved plan with
|
|
228
183
|
`update_todo({workflow:{path:<absolute-plan-path>,revision:<persisted-planRevision>},outcome:{objective:<objective>}})`.
|
|
@@ -241,8 +196,9 @@ record later-gate obligations. A merged PR does not close pending acceptance.
|
|
|
241
196
|
First [clean every delivered unit's environment](references/done.md#clean-before-handoff), then
|
|
242
197
|
[settle blocked units](references/done.md#settle-blocked-units). Every PR is reviewed, green on its exact HEAD, and merged (`autonomous`) or
|
|
243
198
|
handed back merge-ready (`supervised`). For a blocked unit, hand back it, its
|
|
244
|
-
dependents, and the merged units. Link
|
|
245
|
-
|
|
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:
|
|
246
202
|
behavior delivered, checks and results, the PR and its CI run, and any
|
|
247
203
|
outstanding blocker or pending obligation as an issue link, then
|
|
248
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: "
|
|
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
|
|
@@ -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
|
|
@@ -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 |
|
|
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
|
|
@@ -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,15 @@ 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
|
-
|
|
195
|
-
|
|
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).
|
|
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.
|
|
217
185
|
|
|
218
186
|
## Respond by failure kind
|
|
219
187
|
|
|
@@ -236,8 +204,8 @@ missing, or names a step without a reason.
|
|
|
236
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. |
|
|
237
205
|
| Review: `review-verdict.mjs` verdict `decide`, or a worker's `decisionNeeded` | [Decide before you defer](#decide-before-you-defer). |
|
|
238
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. |
|
|
239
|
-
| 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#
|
|
240
|
-
| A required proof the unit has no environment for yet |
|
|
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). |
|
|
241
209
|
| Dependency | Fix the edge; resume when runnable. |
|
|
242
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. |
|
|
243
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. |
|
|
@@ -258,27 +226,23 @@ the parent's code is done ([implementation.md](implementation.md)), so
|
|
|
258
226
|
dependents start while the parent still proves itself; only the unit's own
|
|
259
227
|
merge waits for its proof.
|
|
260
228
|
|
|
261
|
-
- **No working suite or environment yet
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
lines like a missing prerequisite. When two or more units need the same
|
|
268
|
-
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.
|
|
269
235
|
- **The environment fails? It is an
|
|
270
|
-
[infrastructure failure](#infrastructure-failures):**
|
|
271
|
-
investigation
|
|
272
|
-
|
|
273
|
-
blocker with its draft PR and workspace kept; every other unit keeps
|
|
274
|
-
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.
|
|
275
239
|
- **Question the proof itself when building its environment would
|
|
276
240
|
cost more than the change:** infrastructure beyond one bounded setup,
|
|
277
241
|
the environment work held by the size check, or 2 environment attempts
|
|
278
242
|
that end without progress. Decide at the first of these, never after a
|
|
279
|
-
chain of workarounds
|
|
280
|
-
|
|
281
|
-
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
|
|
282
246
|
on the issue that owns it; that issue is never reported done until the
|
|
283
247
|
proof passes. Only a human waives a check, by saying so.
|
|
284
248
|
Example: five interrupt-during-commit browser checks timed out on a slow
|
|
@@ -296,9 +260,11 @@ merge waits for its proof.
|
|
|
296
260
|
|
|
297
261
|
## Infrastructure failures
|
|
298
262
|
|
|
299
|
-
**
|
|
300
|
-
|
|
301
|
-
|
|
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
|
|
302
268
|
wait for someone else to diagnose a blocker the run can resolve.
|
|
303
269
|
|
|
304
270
|
"The same failure" means the same command failing with the same error.
|
|
@@ -311,40 +277,24 @@ 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
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
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."
|
|
336
|
-
4. **Cause not found when that limit runs out? Make one blocker issue.**
|
|
337
|
-
File it with the command, the error, what was tried, and what is still
|
|
338
|
-
unknown (nothing else: [Filed text](preflight.md#filed-text)), or link the
|
|
339
|
-
repository's open issue for it. Record it in
|
|
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.
|
|
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
|
|
340
292
|
`decisions`. Put it in the spec's tree beside the units it blocks, with
|
|
341
293
|
a `blocked_by` link on each of them, then sync
|
|
342
|
-
([preflight.md](preflight.md#
|
|
294
|
+
([preflight.md](preflight.md#link-issues-the-spec-needs)): it
|
|
343
295
|
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.
|
|
296
|
+
started (`pending`), never `blocked`. For an external outage that may clear on retry, record
|
|
297
|
+
`external-blocker` with `blockedAt` on the blocker unit.
|
|
348
298
|
5. **Hold back only the work it affects.**
|
|
349
299
|
Example: the emulator will not boot, so the Android units keep shipping
|
|
350
300
|
what they can prove, their emulator journeys wait on the blocker issue
|
|
@@ -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`:
|
|
112
|
-
|
|
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
|