@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.
- package/.codex-plugin/plugin.json +1 -1
- package/.codex-plugin/resources.json +143 -143
- 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 +16 -63
- package/skills/engineering/resolve-issues/references/ci.md +3 -4
- package/skills/engineering/resolve-issues/references/done.md +17 -6
- package/skills/engineering/resolve-issues/references/expire.md +18 -69
- package/skills/engineering/resolve-issues/references/implementation.md +5 -9
- package/skills/engineering/resolve-issues/references/preflight.md +21 -43
- package/skills/engineering/resolve-issues/references/principles.md +18 -46
- package/skills/engineering/resolve-issues/references/task-plan.md +13 -16
- package/skills/engineering/resolve-issues/scripts/next-actions.mjs +42 -12
- 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
|
@@ -1,54 +1,26 @@
|
|
|
1
1
|
# Delivery principles
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
for a supported requirement, a concrete dependency, or a demonstrated defect.
|
|
14
|
-
Preserve necessary security, financial correctness, tenancy, data integrity, and
|
|
15
|
-
cleanup. Do not turn a feature into a coverage, CI, observability, framework,
|
|
16
|
-
or repository-cleanup project. A problem outside the unit goes to the
|
|
17
|
-
[dropbox](dropbox.md); do not fix it merely because you found it.
|
|
18
|
-
A choice (spec meaning, design, approach) is no failure: answer it, never retry
|
|
19
|
-
it ([expire.md](expire.md#decide-before-you-defer)).
|
|
20
|
-
3. **Add a check only for a concrete doubt that could change delivery.**
|
|
21
|
-
Example: "the fix changed refund rounding; if `refund.test.ts` fails, the
|
|
22
|
-
code must change", so run it. "More coverage would be reassuring": skip.
|
|
23
|
-
4. **Reuse a passing result until what it tested changes.**
|
|
24
|
-
Example: a commit that only rewords its message keeps every result. A
|
|
25
|
-
fix to `refund.ts` reruns the refund tests, not the whole plan.
|
|
26
|
-
5. **Push early; CI is the full test.**
|
|
27
|
-
Example: push each fix to the draft PR once its focused tests pass,
|
|
28
|
-
without asking first and without running the full suite locally.
|
|
29
|
-
6. **Carry a HEAD pushed after a passing review; give every other new HEAD the tier `better-review`'s scope script picks.**
|
|
30
|
-
Example: a CI fix or a merge of main after a pass: `--carry`, no
|
|
31
|
-
reviewer. A P0/P1 fix: delta; one that rewrote most of the PR: full.
|
|
3
|
+
1. Deliver the requested behavior against the agreed acceptance criteria and required checks.
|
|
4
|
+
2. Limit supporting work to a requirement, concrete dependency or demonstrated defect.
|
|
5
|
+
Route unrelated findings to the [dropbox](dropbox.md). Resolve design choices under
|
|
6
|
+
[Decide before you defer](expire.md#decide-before-you-defer).
|
|
7
|
+
3. Add a check when its result could change the delivery decision.
|
|
8
|
+
4. Reuse evidence while its inputs remain valid. Qualify each candidate at its assigned
|
|
9
|
+
[CI stage](ci.md).
|
|
10
|
+
5. Push the draft after focused tests pass. CI runs the full required suite.
|
|
11
|
+
6. For a new HEAD after a passing review, use [review carry](review.md#carry-after-a-pass).
|
|
12
|
+
Otherwise use the review scope script's tier.
|
|
32
13
|
7. **Coordinate first.** On every completion notice, read fresh capacity and run `scripts/next-actions.mjs --run <run>`
|
|
33
14
|
with the [live capacity arguments](implementation.md#live-capacity); do everything it prints
|
|
34
15
|
before resuming your own work. The harness owns [worker monitoring](expire.md#waits);
|
|
35
16
|
do not start a duplicate heartbeat.
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
start both, then return to the debug. On a new invocation, call it first with `--resume`.
|
|
39
|
-
Only it decides the run is done: end a turn only when it prints nothing due, only `wait`, or `finish`.
|
|
17
|
+
Use `--resume` on a new invocation. Follow the scheduler's `wait`, `handoff`
|
|
18
|
+
and `finish` outcomes under [Done](done.md#close-the-run).
|
|
40
19
|
8. **Run as much at once as the plan and live host capacity allow.** Start every `fill-slot` before your own work;
|
|
41
20
|
never hold a ready unit back; link a unit only to what its change needs.
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
wherever you could ask or wait, record it, and keep going; a later message changes course from there.
|
|
49
|
-
11. **Fix the cause of what actually blocks delivery.** Diagnose a failed agreed check or
|
|
50
|
-
a concrete defect introduced by the change; fix the cause, not a blind retry, longer
|
|
51
|
-
timeout, skip, or guessed CI fix. Reproduce a failed journey with `proof.suite.local`
|
|
52
|
-
first. Infrastructure repair follows [expire.md](expire.md#infrastructure-failures)
|
|
53
|
-
only when the required acceptance needs it; unrelated debt stays in the dropbox.
|
|
54
|
-
Defer a necessary fix only for the documented [human-only](expire.md#human-only) causes.
|
|
21
|
+
9. Record a remaining obligation once on its owning issue and link it from the handback.
|
|
22
|
+
10. **Keep unaffected units moving.** After preflight, use the
|
|
23
|
+
[automatic answers](preflight.md#never-block-on-the-human) for open questions.
|
|
24
|
+
11. **Fix the cause of a failed agreed check.** Follow the worker's
|
|
25
|
+
[proof procedure](implementation.md#proof). Repair infrastructure when required
|
|
26
|
+
for acceptance. Route unrelated debt to the dropbox.
|
|
@@ -36,8 +36,8 @@ worker and stage transition.
|
|
|
36
36
|
warehouse behavior or its data contract.
|
|
37
37
|
6. Record the invocation's standing instructions as `standingOrders`. Carry in
|
|
38
38
|
earlier `standingOrders` unchanged and earlier decisions as history; a plan
|
|
39
|
-
from before `standingOrders`
|
|
40
|
-
|
|
39
|
+
from before `standingOrders` recovers only instructions the user gave for continuing
|
|
40
|
+
use. Keep one-time decisions in their original scope.
|
|
41
41
|
7. Fetch the spec and issues into the run directory; create the findings
|
|
42
42
|
path and plan file with its initial `planRevision`. For a GitHub spec,
|
|
43
43
|
run `next-actions.mjs --run <run> --sync` with the
|
|
@@ -93,6 +93,7 @@ Fleet `status`: `pending`, `in-flight`, `succeeded`, `failed`,
|
|
|
93
93
|
| `worker`, `workerSince`, `clock` | Slot identifier of any worker running for the unit (implementer, reviewer, fix), `null` when none; when that worker started (ISO time, for [stuck-worker checks](expire.md#waits)); attempt and cumulative wall time |
|
|
94
94
|
| `workerKind` | `implement`, `fix`, or `review`, set with `worker`; the [live-capacity scheduler](implementation.md#live-capacity) (`next-actions.mjs`) prints `worker-kind` for any other kind or none. An infrastructure diagnosis or a test-first worker is a `fix` worker. The explorer is the `explore` fleet row's worker, never a unit's; a merge-queue watcher is not a worker |
|
|
95
95
|
| `implementationOwner` | Saved implementation conversation: `{sessionId, runId?, cwd?, kind?}`. `sessionId` is the native session to continue and is what `subagent_spawn({session_id})` takes; `runId` is that session's latest attempt, never a `session_id`. `kind` is `implement` (default) or `fix`, never `review`; `cwd`, when recorded, matches `workspace`. Save the spawn receipt here, independently of `worker`; a parked owner occupies no slot. The scheduler emits `owner-resume` for a usable owner, `owner-recovery` for a legacy record that holds only an attempt id, or an explicit `ownerUnavailable` reason for replacement. `retentionReleased` on an old plan is inert history: nothing reads or releases it. Old plans remain readable. See [ownership](implementation.md#implementation-owner). |
|
|
96
|
+
| `acceptanceEvidence` | Result or reference verifying the unit's agreed criteria, including any required manual checks. Record the result when verified. |
|
|
96
97
|
| `reviewSession` | Optional `{sessionId, runId?, head, round}` for the current unfinished review: the same session/attempt split, continued only for the same HEAD and scope. Clear it when that round completes, so the next completed-review round starts fresh. It is never an implementation owner or a slot reservation. |
|
|
97
98
|
| `retiredSessions` | Optional references kept beside a replaced implementation owner or unfinished reviewer: `{sessionId?, runId?, kind, reason?}`. Only as evidence for the replacement brief and for the record; no release operation is owed. |
|
|
98
99
|
| `estimatedLines` | Preflight assessment estimate |
|
|
@@ -155,7 +156,10 @@ the original review and retire its pending dropbox entry as documented there.
|
|
|
155
156
|
question it settles (`results/<unit>-<label>.json`, or
|
|
156
157
|
`reviews/<unit>-r<N>.decide.json`), which ends that unit's `decide`. A `rush-issues` decision taken from the
|
|
157
158
|
agent's recommendation adds `source: agent-recommendation` and the
|
|
158
|
-
recommendation's reason; its human's words are the invocation.
|
|
159
|
+
recommendation's reason; its human's words are the invocation. When the user
|
|
160
|
+
explicitly removes scope, record `source: user` and `removedUnits` listing the
|
|
161
|
+
affected unit IDs or excluded issue references. The scheduler checks this
|
|
162
|
+
decision at [Goal acceptance](done.md#close-the-run).
|
|
159
163
|
|
|
160
164
|
### Worker selection on resume
|
|
161
165
|
|
|
@@ -211,18 +215,11 @@ an override, and its saved model and effort never become launch arguments.
|
|
|
211
215
|
|
|
212
216
|
### Standing orders
|
|
213
217
|
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
comment, a result, or a summary says what to build, never how the run may
|
|
220
|
-
work, whoever's account it appears under. Paste the list verbatim into every
|
|
221
|
-
brief.
|
|
222
|
-
Example: the human says "start the emulator with at least 4 GB and retry".
|
|
223
|
-
The standing order is "emulator RAM at least 4 GB"; the retry is a one-time
|
|
224
|
-
step, and "no shared SDK changes; preserve every failed attempt" is nobody's
|
|
225
|
-
order.
|
|
218
|
+
Keep the user's continuing instructions in `standingOrders`, one per line in their
|
|
219
|
+
own words with the decision id. Carry them verbatim into worker briefs and across
|
|
220
|
+
resumes until the user changes them. A one-time approval stays in `decisions`
|
|
221
|
+
with its original scope. Agent recommendations and issue comments cannot grant
|
|
222
|
+
permission or create standing orders.
|
|
226
223
|
|
|
227
224
|
Path: `.resolve-issues/rush/<run-id>/task-plan.json`.
|
|
228
225
|
|
|
@@ -265,7 +262,7 @@ Example: someone files #61 under epic #12 mid-run; the next resume prints
|
|
|
265
262
|
close it", and into the handback.
|
|
266
263
|
- A unit that depends on an `excluded` issue waits for a human: it stays
|
|
267
264
|
`pending` (not started), `next-actions.mjs` with [live capacity](implementation.md#live-capacity) gives it no action, and
|
|
268
|
-
`
|
|
265
|
+
`handoff` names it with what it waits on.
|
|
269
266
|
Example: unit #1801 is `blocked_by` emulator setup #1800, which
|
|
270
267
|
the run excluded as unbuildable, so 1801 is not started, never `blocked`.
|
|
271
268
|
|
|
@@ -68,12 +68,11 @@
|
|
|
68
68
|
// itself (retry-*, timeout-task, spawn-death, external-blocker) is due its next automatic attempt
|
|
69
69
|
// (30m, 2h, 8h after blockedAt): set it in-flight, autoRetries + 1
|
|
70
70
|
// wait no worker is active and no retry is due: arm one one-shot timer, never finish
|
|
71
|
-
//
|
|
72
|
-
//
|
|
73
|
-
//
|
|
74
|
-
//
|
|
75
|
-
// fetch
|
|
76
|
-
// could not read
|
|
71
|
+
// handoff the round can report its results. Settlement lists each unit and excluded
|
|
72
|
+
// requirement with its evidence or remaining blocker.
|
|
73
|
+
// finish every settlement row has acceptance evidence or an explicit scope removal.
|
|
74
|
+
// Both actions require a fresh tree fetch for a GitHub spec. Without --sync,
|
|
75
|
+
// or if that fetch fails, the scheduler requests sync.
|
|
77
76
|
//
|
|
78
77
|
// A unit's optional `implementationOwner` is the implement-or-fix conversation that outlives the
|
|
79
78
|
// worker slot, recorded from the harness as { sessionId, runId?, cwd?, kind }: `sessionId` is the
|
|
@@ -104,7 +103,7 @@
|
|
|
104
103
|
// modes, a one-line rules reminder for that mode).
|
|
105
104
|
//
|
|
106
105
|
// Only this script decides that the run is finished. End a turn only when it prints nothing
|
|
107
|
-
// due, or `finish`. Each due action records when it was first printed (<run>/next-actions-seen.json;
|
|
106
|
+
// due, `handoff`, or `finish`. Each due action records when it was first printed (<run>/next-actions-seen.json;
|
|
108
107
|
// --peek reads without recording), and a repeat says how long it has gone undone.
|
|
109
108
|
//
|
|
110
109
|
// `blocked` means a unit itself is stopped, and its `blockedReason` says why, from
|
|
@@ -112,7 +111,7 @@
|
|
|
112
111
|
// decision, a review handback, or (not in rush runs) a size hold. Any other block is reopened. A unit that only waits on another unit is
|
|
113
112
|
// not started: it stays `pending`, never `blocked`. A pending
|
|
114
113
|
// unit behind a parent that will not finish this run (blocked, cancelled, or `excluded`) gets no
|
|
115
|
-
// action and counts as settled, so `
|
|
114
|
+
// action and counts as settled, so `handoff` names it as not started and what it waits on.
|
|
116
115
|
//
|
|
117
116
|
// Actions that need a worker (start-fix, start-review, resume, fill-slot) are limited to the
|
|
118
117
|
// free slots. A unit starts when its `dependsOn` parents' code is done, in every delivery mode;
|
|
@@ -153,7 +152,7 @@ export const WORKER_ACTION_KINDS = Object.freeze({ 'fill-slot': 'implement', res
|
|
|
153
152
|
export const IMPLEMENTATION_OWNER_KINDS = Object.freeze(['implement', 'fix'])
|
|
154
153
|
export const SKILL_PATH = join(dirname(dirname(fileURLToPath(import.meta.url))), 'SKILL.md')
|
|
155
154
|
// Printed after every text call, and by rehydrate.mjs after a compaction.
|
|
156
|
-
export const RULES = 'Per unit, run only implement, fix, and review workers, recorded as workerKind: no planning, architecture, product, or setup workers. You own preflight findings; use an optional explorer on the fleet explore row only for concrete planning unknowns (exploration.md). You coordinate: never edit product code. In full mode take every step from next-actions.mjs; in every mode the
|
|
155
|
+
export const RULES = 'Per unit, run only implement, fix, and review workers, recorded as workerKind: no planning, architecture, product, or setup workers. You own preflight findings; use an optional explorer on the fleet explore row only for concrete planning unknowns (exploration.md). You coordinate: never edit product code. In full mode take every step from next-actions.mjs; in every mode report remaining work on handoff and complete the Goal only on verified finish. A HEAD after a passing review is carried; any other new HEAD takes the tier rereview-scope.mjs picks, never yours. Decide before you defer: a question a worker or review raises is answered and recorded, then the unit continues; retrying or deferring never answers it. Never block on the human: take the automatic answer and keep going. Fix the root cause, never only its symptom. Before each scheduling pass, refresh subagent_settings and pass its snapshot with --capacity-json; do not reuse a run-start budget or subtract workflow workers again.'
|
|
157
156
|
export const DEFAULT_QUIET_MINUTES = 45
|
|
158
157
|
// The reasons a unit may stay blocked (expire.md#reason-codes). Waiting on another unit, an
|
|
159
158
|
// infrastructure or external blocker (a tree issue the unit waits on), and a size hold in a rush
|
|
@@ -236,6 +235,33 @@ export function workspaceCleanupSettled(unit) {
|
|
|
236
235
|
(result.state === 'complete' || (result.state === 'retained' && typeof result.reason === 'string' && result.reason.trim().length > 0))
|
|
237
236
|
}
|
|
238
237
|
|
|
238
|
+
// Evidence for the user's objective, including requirements parked outside the unit roster.
|
|
239
|
+
function goalSettlement(plan, units, waitsOn) {
|
|
240
|
+
const decisions = Array.isArray(plan.decisions) ? plan.decisions : []
|
|
241
|
+
const text = (value) => typeof value === 'string' && value.trim()
|
|
242
|
+
function disposition(row, unit, excluded) {
|
|
243
|
+
const receipt = text(row.acceptanceEvidence)
|
|
244
|
+
if (receipt && (row.status === 'succeeded' || excluded)) return { unit, status: 'delivered', evidence: receipt }
|
|
245
|
+
if (excluded || row.status === 'cancelled') {
|
|
246
|
+
const decision = decisions.find((d) => d.source === 'user' && Array.isArray(d.removedUnits) && d.removedUnits.includes(unit)
|
|
247
|
+
&& text(d.id) && text(d.humanWords) && text(d.changes) && !decisions.some((later) => later.supersedes === d.id))
|
|
248
|
+
if (decision) {
|
|
249
|
+
return { unit, status: 'removed', evidence: decision.id + ': ' + decision.humanWords }
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
const dependency = !excluded && waitsOn(row)
|
|
253
|
+
if (dependency) return { unit, status: 'blocked', evidence: 'waiting for ' + dependency }
|
|
254
|
+
if (row.status === 'blocked') return { unit, status: 'blocked', evidence: text(row.humanNeed) || text(row.note) || row.blockedReason }
|
|
255
|
+
if (excluded) return { unit, status: 'unverified', evidence: text(row.reason) || 'check this excluded requirement' }
|
|
256
|
+
return { unit, status: 'unverified', evidence: row.status === 'cancelled'
|
|
257
|
+
? 'cancellation has no current user scope-removal decision' : 'record the outstanding acceptance result or its blocker' }
|
|
258
|
+
}
|
|
259
|
+
return [
|
|
260
|
+
...units.map((row) => disposition(row, String(row.id), false)),
|
|
261
|
+
...(plan.excluded ?? []).map((row) => disposition(row, String(row.issue ?? row.id), true)),
|
|
262
|
+
]
|
|
263
|
+
}
|
|
264
|
+
|
|
239
265
|
// Pure decision from the plan and each unit's newest review round.
|
|
240
266
|
// `capacity`: a fresh Harness snapshot, or an explicitly reconciled total workflow budget.
|
|
241
267
|
// Snapshot availableSlots is already net of all running and reserved workers.
|
|
@@ -777,7 +803,10 @@ export function nextActions(plan, reviews = {}, capacity, { resume = false, now,
|
|
|
777
803
|
detail: `unit ${next.id} is blocked (${next.blockedReason}); its next automatic attempt is at ${wakeAt}: arm one one-shot background retry timer (sleep ${delaySeconds}, completion callback enabled); cancel any obsolete retry timer and do not finish` })
|
|
778
804
|
} else {
|
|
779
805
|
const retained = units.filter((u) => managed(u) && u.lifecycle?.cleanup?.state === 'retained').map((u) => `${u.id}: ${u.lifecycle.cleanup.reason}`)
|
|
780
|
-
|
|
806
|
+
const settlement = goalSettlement(plan, units, waitsOn)
|
|
807
|
+
const open = settlement.filter((row) => row.status === 'blocked' || row.status === 'unverified')
|
|
808
|
+
const action = open.length ? 'handoff' : 'finish'
|
|
809
|
+
due.push({ action, unit: null, settlement, detail: `write the handoff${open.length ? '; Goal remains active: ' + open.map((row) => row.unit + ': ' + row.evidence).join('; ') : '; acceptance verified'}${parked.length ? `; not started: ${parked.join(', ')}` : ''}${built.length ? `; built, PR not opened: ${built.join(', ')}` : ''}${openWaiting.length ? `; PR open, cannot land: ${openWaiting.join(', ')}` : ''}${retained.length ? `; retained environments (not cleaned): ${retained.join('; ')}` : ''}` })
|
|
781
810
|
}
|
|
782
811
|
}
|
|
783
812
|
// How long each due action has gone undone, from when it was first printed.
|
|
@@ -951,7 +980,7 @@ if (isMainModule(import.meta.url)) {
|
|
|
951
980
|
const guardNames = [...new Set(result.due.filter((a) => /^guards: (?!none)/m.test(view) && ['recover-workspace', 'prepare-workspace', 'cleanup-workspace', 'decide', 'review-verdict', 'unblock', 'worker-kind', 'split', 'sync', 'add-unit', 'drop-unit', 'set-deps', 'move-link', 'blocked-outside'].includes(a.action)).map((a) => a.action))]
|
|
952
981
|
process.stdout.write(`${mode === 'off' ? `${view.split('\n')[0].replace(/: .*$/, '')}${guardNames.length ? ` (clear first: ${guardNames.join(', ')})` : ''}` : view}\n`)
|
|
953
982
|
process.stdout.write(`${budgetLine(result.capacity)}\n`)
|
|
954
|
-
process.stdout.write(rulesLine(`${mode === 'off' ? 'Scheduler mode off: plan every step yourself from the plan and results.' : 'Scheduler mode narrow: clear the guards, then choose each unit\'s next step yourself.'} The run ends only when this prints "run done".`))
|
|
983
|
+
process.stdout.write(rulesLine(`${mode === 'off' ? 'Scheduler mode off: plan every step yourself from the plan and results.' : 'Scheduler mode narrow: clear the guards, then choose each unit\'s next step yourself.'} The run ends only when this prints "run done". At "run handoff", report remaining Goal requirements.`))
|
|
955
984
|
} else {
|
|
956
985
|
for (const a of result.due) process.stdout.write(`${a.action.padEnd(15)}${a.detail}\n`)
|
|
957
986
|
for (const a of result.waiting) process.stdout.write(`${'waiting-slot'.padEnd(15)}${a.detail}\n`)
|
|
@@ -975,7 +1004,8 @@ export function narrowView(plan, result) {
|
|
|
975
1004
|
const wait = result.due.find((a) => a.action === 'wait')
|
|
976
1005
|
const held = [...units.values()].filter((u) => u.status === 'blocked' && u.blockedReason === 'human-decision').map((u) => `${u.id} (item ${u.humanItem ?? '?'}: ${u.humanNeed ?? 'unstated'})`)
|
|
977
1006
|
const done = result.due.some((a) => a.action === 'finish')
|
|
978
|
-
const
|
|
1007
|
+
const handoff = result.due.find((a) => a.action === 'handoff')
|
|
1008
|
+
const state = done ? 'done: write the handoff' : handoff ? 'handoff: ' + handoff.detail : guards.length ? 'not done: clear the guards first' : work.length ? 'not done: units have work' : wait ? `not done: waiting (${wait.detail})` : 'not done: workers are running'
|
|
979
1009
|
return [`run ${state}`, `units with work: ${work.join(', ') || 'none'} (choose each unit's next step yourself)`,
|
|
980
1010
|
`guards: ${guards.length ? guards.join(' | ') : 'none'}`, `held on the human: ${held.join(', ') || 'none'}`].join('\n')
|
|
981
1011
|
}
|
|
@@ -4,7 +4,7 @@ description: "Slash/explicit-only (/resolve-release). Full GitHub Flow release f
|
|
|
4
4
|
disable-model-invocation: true
|
|
5
5
|
metadata:
|
|
6
6
|
workflow-role: coordinator
|
|
7
|
-
release-version: 0.50.
|
|
7
|
+
release-version: 0.50.19
|
|
8
8
|
---
|
|
9
9
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
10
10
|
# Resolve release
|
|
@@ -1,63 +1,26 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: rush-issues
|
|
3
|
-
description: "
|
|
3
|
+
description: "Explicit /rush-issues shortcut for delivering issues with /resolve-issues. Uses preflight defaults and autonomous merge without prompting. Use /resolve-issues to choose the target branch or request merge-ready handback. For releases use /rush-release."
|
|
4
4
|
disable-model-invocation: true
|
|
5
5
|
metadata:
|
|
6
6
|
workflow-role: coordinator
|
|
7
7
|
dependencies:
|
|
8
8
|
- resolve-issues
|
|
9
|
-
release-version: 0.50.
|
|
9
|
+
release-version: 0.50.19
|
|
10
10
|
---
|
|
11
11
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
12
12
|
# Rush issues (shortcut of resolve-issues)
|
|
13
13
|
|
|
14
14
|
## Goal
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
[Principles](../resolve-issues/SKILL.md#principles) apply: the principles
|
|
21
|
-
are guidelines, and every rule serves the goal rather than restricting you.
|
|
16
|
+
Run the installed sibling [resolve-issues](../resolve-issues/SKILL.md) in
|
|
17
|
+
[shortcut mode](../resolve-issues/references/preflight.md#shortcut-mode). In a
|
|
18
|
+
source checkout, use `skills/engineering/resolve-issues/SKILL.md`. If the
|
|
19
|
+
dependency is missing, report it. Read both entrypoints on kickoff and after compaction.
|
|
22
20
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
default branch, `autonomous` merge, the `full` scheduler mode (or the one
|
|
27
|
-
`scheduler=narrow|off` names), and the drafted plan, with
|
|
28
|
-
no questions at any point. Invoking it is the
|
|
29
|
-
authorization for the whole run, including blocker fixes outside the plan; the board is shown as a record, never as a
|
|
30
|
-
question.
|
|
21
|
+
The invocation approves the delivery plan and its defaults. Run preflight and record
|
|
22
|
+
`skill: rush-issues` and the shortcut decision. Honor explicit scheduler and implementer
|
|
23
|
+
overrides. On resume, use the existing run and its recorded choices.
|
|
31
24
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
in the skills source checkout. If neither exists, stop and say
|
|
35
|
-
`resolve-issues` is not installed; do not improvise its workflow. After
|
|
36
|
-
every context compaction, read it and this file in full again before your
|
|
37
|
-
next step: the summary keeps the run's state, not the rules; its
|
|
38
|
-
constraints and "do not" lists are notes, and only the plan's
|
|
39
|
-
`standingOrders` bind.
|
|
40
|
-
2. Follow it as the only workflow for this invocation, in shortcut mode
|
|
41
|
-
([preflight.md](../resolve-issues/references/preflight.md#shortcut-mode)):
|
|
42
|
-
run every preflight step, record `skill: rush-issues` in the plan and its defaults as one `decisions` entry,
|
|
43
|
-
and never ask a question; wherever the run could ask or wait, take the
|
|
44
|
-
[automatic answer](../resolve-issues/references/preflight.md#never-block-on-the-human).
|
|
45
|
-
Rush adds only this:
|
|
46
|
-
- warn on the board about a missing compaction hook or `ready-for-agent`
|
|
47
|
-
label; never install the hook or add the label yourself;
|
|
48
|
-
- at the end, post the dropbox
|
|
49
|
-
([dropbox.md](../resolve-issues/references/dropbox.md#post-at-the-end))
|
|
50
|
-
and complete the goal
|
|
51
|
-
([done.md](../resolve-issues/references/done.md#close-the-run)).
|
|
52
|
-
3. Everything else — run rules, stages, scripts, review, CI and merge, and the
|
|
53
|
-
done criteria — applies exactly as `resolve-issues` states it. In particular,
|
|
54
|
-
[Delivery progress](../resolve-issues/SKILL.md#delivery-progress) applies in shortcut
|
|
55
|
-
mode too: keep one immediate checkpoint per active unit, justify infrastructure and
|
|
56
|
-
reassess repeated non-convergence. More worker activity is not a reason to reset it.
|
|
57
|
-
The shared [task-plan checkpoints](../resolve-issues/references/task-plan.md#checkpoints)
|
|
58
|
-
apply too: when `update_todo` is advertised, capture the known outcome before
|
|
59
|
-
substantive work, then bind or reload with the absolute workflow path and
|
|
60
|
-
persisted revision. No event means the plan is read-only; save transitions
|
|
61
|
-
through its `workflow` payload. Never edit a bound plan directly. When the
|
|
62
|
-
optional tool is absent or disabled, use the workflow's file transition; never
|
|
63
|
-
enable the interface as a precondition.
|
|
25
|
+
Follow the coordinator's [automatic answers](../resolve-issues/references/preflight.md#never-block-on-the-human)
|
|
26
|
+
and [completion criteria](../resolve-issues/references/done.md#close-the-run).
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: test-quality
|
|
3
3
|
description: "Seven principles for tests that catch real bugs, and an audit that reports weak, redundant, and not-coverage tests without fixing them. Use when writing, changing, or reviewing tests, or when asked whether tests are useful, redundant, over-mocked, flaky, only assert static text, or test config files, or asked to make a slow test suite faster without losing coverage, or when the user asks to write the testing conventions into a repo's CONTRIBUTING.md. NOT defining what a spec must prove (ensure-coverage) or authoring browser tests (e2e-test)."
|
|
4
|
-
release-version: 0.50.
|
|
4
|
+
release-version: 0.50.19
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# Test Quality
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: compliance-audit
|
|
3
3
|
version: 2.9.0
|
|
4
4
|
description: "Audit operations against financial-compliance checklists (AML/KYC, VARS, PCI-DSS, TPA oversight, onboarding, transaction monitoring). Produces tracker.md (with a tracker.xlsx export) and phase-trail.md with layered validation; cites evidence by original filename. Input: reg-parser or the built-in VARS checklist"
|
|
5
|
-
release-version: 0.50.
|
|
5
|
+
release-version: 0.50.19
|
|
6
6
|
---
|
|
7
7
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
8
8
|
# Compliance Audit
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: contract-compare
|
|
3
3
|
description: "Compare two or more contracts side-by-side for structured diff, gap analysis, and benchmarking. Use when: comparing contracts or agreements, contract diff, compare terms, vendor-vs-vendor, compare our template vs theirs, compliance gap between contracts. NOT for single-contract risk review — use contract-review for that."
|
|
4
|
-
release-version: 0.50.
|
|
4
|
+
release-version: 0.50.19
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# Contract Compare
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: contract-review
|
|
3
3
|
description: "Review contracts for legal, commercial, and compliance risks via convert → chunk review → merge → validate (+ optional mandate preprocessing). Use for reviewing, auditing, or checking any contract, agreement, NDA, MSA, or SLA; input a file path (PDF/DOCX/TXT) or pasted text."
|
|
4
|
-
release-version: 0.50.
|
|
4
|
+
release-version: 0.50.19
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# Contract Review
|
|
@@ -3,7 +3,7 @@ name: doc-authenticity
|
|
|
3
3
|
version: 0.4.1
|
|
4
4
|
description: "Screen PDF documents and raster images for fabrication, tampering, Photoshop or other image-editor use, and content validity. Detects file type, runs format-specific authenticity forensics, classifies bank statements, conversation logs, invoices, agreements, and other documents, then applies type-specific validity checks. Produces separate authenticity (NO_EVIDENCE_OF_MODIFICATION / SUSPICIOUS / LIKELY_MODIFIED / INCONCLUSIVE) and validity (VALID / INVALID / INCONCLUSIVE) verdicts. Use whenever a user asks whether a document, screenshot, scan, statement, invoice, contract, chat log, receipt, or payment evidence is genuine, original, edited, Photoshopped, manipulated, fake, or valid."
|
|
5
5
|
disable-model-invocation: true
|
|
6
|
-
release-version: 0.50.
|
|
6
|
+
release-version: 0.50.19
|
|
7
7
|
---
|
|
8
8
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
9
9
|
# Document and Image Authenticity
|
|
@@ -12,7 +12,7 @@ description: >
|
|
|
12
12
|
impact, and a business report. Use for fraud, scam, mule, account-takeover,
|
|
13
13
|
chargeback, dispute, transfer, collection, or payout risk analysis even when the
|
|
14
14
|
user does not name this skill.
|
|
15
|
-
release-version: 0.50.
|
|
15
|
+
release-version: 0.50.19
|
|
16
16
|
---
|
|
17
17
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
18
18
|
# Fraud Detection
|
|
@@ -14,7 +14,7 @@ description: >
|
|
|
14
14
|
transactions" — even if they do not say payment-analysis. Do NOT use for
|
|
15
15
|
fraud rule discovery (fraud-detection) or TLD / MCC-miscoding
|
|
16
16
|
clusters (tld-detection).
|
|
17
|
-
release-version: 0.50.
|
|
17
|
+
release-version: 0.50.19
|
|
18
18
|
---
|
|
19
19
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
20
20
|
# Payment Analysis
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: portfolio-payment-analysis
|
|
3
3
|
description: Analyze Helipay/Worldpay submerchants from authorization, settlement, dispute and DART-340 exports; compare merchants and produce an offline interactive Chinese merchant report. Use for aggregator merchant comparisons, merchant authorization performance, issuer drilldown, merchant fraud/dispute histories and VAMP extract estimates. Portfolio-wide overviews belong to payment-analysis; fraud rule discovery belongs to fraud-detection.
|
|
4
|
-
release-version: 0.50.
|
|
4
|
+
release-version: 0.50.19
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# Portfolio payment analysis
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: rfi-writing
|
|
3
3
|
description: Draft, shorten, or independently review a payment company's Request for Information (RFI) reply to a card scheme, acquirer, or regulator. Use for RFI responses, scheme case packs, short narratives supported by case files, Sumsub/KYC, Elliptic/KYT or correspondence, and requests to combine screenshots into a submission PDF.
|
|
4
|
-
release-version: 0.50.
|
|
4
|
+
release-version: 0.50.19
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# RFI writing
|
|
@@ -8,7 +8,7 @@ description: >
|
|
|
8
8
|
links, an entity chain, and a watchlist for the operator's next domains.
|
|
9
9
|
Not transaction data (tld-detection) or fraud rules (fraud-detection).
|
|
10
10
|
disable-model-invocation: true
|
|
11
|
-
release-version: 0.50.
|
|
11
|
+
release-version: 0.50.19
|
|
12
12
|
---
|
|
13
13
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
14
14
|
# Similar Domain
|
|
@@ -6,7 +6,7 @@ description: >
|
|
|
6
6
|
patterns, with USD and BIN-country currency views, group profiles and priorities.
|
|
7
7
|
Not payment-analysis, fraud-detection, or website research.
|
|
8
8
|
disable-model-invocation: true
|
|
9
|
-
release-version: 0.50.
|
|
9
|
+
release-version: 0.50.19
|
|
10
10
|
---
|
|
11
11
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
12
12
|
# TLD detection
|