@1aboveio/skills 1.0.41 → 1.0.43
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 +145 -143
- package/package.json +6 -5
- package/skills/app-dev/airflow/SKILL.md +1 -1
- package/skills/app-dev/android-development/SKILL.md +7 -7
- package/skills/app-dev/android-development/references/android-conventions.md +4 -3
- package/skills/app-dev/android-development/references/diagnosis.md +6 -3
- package/skills/app-dev/android-development/references/feature-work.md +3 -8
- package/skills/app-dev/android-development/references/runner-local-https.md +109 -0
- 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/interaction-design/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 +5 -3
- package/skills/cicd/github-actions/references/debugging.md +5 -0
- package/skills/cicd/github-actions/references/post-deploy-and-publishing.md +32 -1
- package/skills/cicd/github-flow/SKILL.md +13 -5
- 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 +13 -2
- package/skills/engineering/acceptance-design/pi/plan-review.mjs +100 -0
- package/skills/engineering/better-review/SKILL.md +1 -1
- package/skills/engineering/e2e-test/SKILL.md +1 -1
- package/skills/engineering/engineering/SKILL.md +1 -1
- 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 +7 -4
- package/skills/engineering/resolve-issues/references/ci.md +9 -7
- package/skills/engineering/resolve-issues/references/principles.md +6 -4
- package/skills/engineering/resolve-release/SKILL.md +1 -1
- package/skills/engineering/rush-issues/SKILL.md +1 -1
- 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,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: image-gen
|
|
3
3
|
description: Generate an image from a text prompt with OpenAI gpt-image-2 or Google Nano Banana (Gemini), saved to an image file. Use whenever the user asks to generate, create, make, draw, paint, render, or design an image, picture, illustration, photo, artwork, logo, icon, avatar, banner, hero image, thumbnail, poster, wallpaper, sticker, or concept art — including phrasings like "an image of X", "a picture of X", "show me what X would look like", or a request for a visual for a slide, blog post, README, or social post. Also triggers on Chinese phrasings such as 生成图片, 画一张图, 做一张海报, 设计一个 logo. NOT for charts or data visualizations (dataviz), flowcharts or architecture diagrams (flowchart-svg), or editing an existing image file.
|
|
4
|
-
release-version: 0.50.
|
|
4
|
+
release-version: 0.50.24
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# Image Generation
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: mermaid
|
|
3
3
|
description: Create and edit Mermaid diagrams for architecture, API flows, database schemas, workflows, and data models.
|
|
4
4
|
user-invocable: true
|
|
5
|
-
release-version: 0.50.
|
|
5
|
+
release-version: 0.50.24
|
|
6
6
|
---
|
|
7
7
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
8
8
|
# Mermaid Diagram Creation
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: wechat-article-writer
|
|
3
3
|
description: "Write WeChat 公众号 articles in Chinese content styles — 踩坑型 (pitfall-story), 实操型 (how-to), 对比型 (comparison), 观察型 (industry insight) — in the account's house style from the nearest WRITING.md. Use for drafting from scratch, rewriting a draft, adapting source material into a publishable article, or picking the right style. NOT for business or technical documents (write-doc)."
|
|
4
|
-
release-version: 0.50.
|
|
4
|
+
release-version: 0.50.24
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# WeChat Article Writer (公众号写作)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: wechat-publisher
|
|
3
3
|
description: "Publish articles to a WeChat Official Account (公众号) via API: push Markdown to the draft box (or auto-publish with --publish), convert Markdown to WeChat HTML, upload images to the media library. Requires AppID + AppSecret + whitelisted server IP on a 认证订阅号/服务号. Consumes wechat-article-writer's Markdown."
|
|
4
|
-
release-version: 0.50.
|
|
4
|
+
release-version: 0.50.24
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# WeChat Publisher (公众号发布)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: wechat-search
|
|
3
3
|
description: "Search WeChat 公众号 articles via Sogou Weixin, or read/summarize an article from a mp.weixin.qq.com URL (读/分析/总结) — suggest proactively when such a URL appears. Use for Chinese WeChat content, industry reports, competitor or trending topics. Requires Chrome Browser Relay. NOT general web search (web_search)."
|
|
4
|
-
release-version: 0.50.
|
|
4
|
+
release-version: 0.50.24
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# WeChat Article Search & Reader (搜狗微信搜索)
|
|
@@ -9,7 +9,7 @@ metadata:
|
|
|
9
9
|
type: secret
|
|
10
10
|
required: true
|
|
11
11
|
description: API key for direct xAI or the explicitly configured Responses gateway
|
|
12
|
-
release-version: 0.50.
|
|
12
|
+
release-version: 0.50.24
|
|
13
13
|
---
|
|
14
14
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
15
15
|
# xAI Search (X/Twitter + Web)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: distill-writing
|
|
3
3
|
description: "Learn a house writing style from approved sample documents, or save an explicitly stated project document preference, into WRITING.md and writing/templates/. Use for sample-based style learning, house-style setup or refresh, and requests such as 'remember this for future PRDs' or 'make this our report default', including handoffs from write-doc, write-report or plain-language. Preserve manual edits and separate document types. NOT for drafting a document (write-doc) or analytical report (write-report) or saving chat-only preferences (plain-language)."
|
|
4
|
-
release-version: 0.50.
|
|
4
|
+
release-version: 0.50.24
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# Distill a writing style
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: doc-to-md
|
|
3
3
|
description: "Convert documents (PDF, DOCX, PPTX, XLSX, images) to Markdown so agents can read them. Use as the preprocessing step whenever binary files need to enter agent context — contract review, compliance audit, document analysis, evidence review."
|
|
4
|
-
release-version: 0.50.
|
|
4
|
+
release-version: 0.50.24
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# doc-to-md
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: editorial-review
|
|
3
3
|
description: "Review a document or generated report for what it says (does the reader get the answer, is the argument sound, is anything unsupported, obvious or repeated), then fix the content. Use to review, tighten or clarify a doc or report, and as the review step of write-doc, write-report and domain report skills. NOT for Chinese wording (polish-cn) or code review (better-review)."
|
|
4
|
-
release-version: 0.50.
|
|
4
|
+
release-version: 0.50.24
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# Editorial review
|
|
@@ -3,7 +3,7 @@ name: house-style
|
|
|
3
3
|
description: "Shared reference the writing skills read by path: WRITING.md lookup and precedence, template choice, gap markers, template shape, the bundled templates, and the default English and Chinese style guides. Never select or invoke it as a task."
|
|
4
4
|
disable-model-invocation: true
|
|
5
5
|
user-invocable: false
|
|
6
|
-
release-version: 0.50.
|
|
6
|
+
release-version: 0.50.24
|
|
7
7
|
---
|
|
8
8
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
9
9
|
# House style
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: plain-language
|
|
3
3
|
description: "Session mode: every reply and status line in plain language — lead with the point, everyday words, full sentences, no filler — in English or Chinese, until turned off. Enable by default when the project has an applicable WRITING.md, even without a slash command. Use for /plain-language, 'talk plainly', '说人话', and explicit requests to remember project reply preferences; an actual /plain-language invocation automatically configures the current directory's WRITING.md and loading pointers; init remains an alias. Save reply rules only under Agent replies; route document preferences to distill-writing. Natural-language toggles and off remain session-only. Turn off with '/plain-language off' or 'normal mode'. NOT for writing a document (write-doc) or analytical report (write-report) or reviewing one (editorial-review)."
|
|
4
|
-
release-version: 0.50.
|
|
4
|
+
release-version: 0.50.24
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# Plain language
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: polish-cn
|
|
3
3
|
description: "Polish the Chinese wording of a finished document or report, with a script proving every number, date, identifier, link and protected term is unchanged; prefers a Chinese model and records which ran. Use for '中文润色' or as a report skill's last step. NOT for cutting or restructuring content (editorial-review) or translating (write-doc or write-report)."
|
|
4
|
-
release-version: 0.50.
|
|
4
|
+
release-version: 0.50.24
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# Polish Chinese
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: reg-parser
|
|
3
3
|
version: 1.1.0
|
|
4
4
|
description: "Parse regulatory/scheme documents into structured outputs: convert a regulation (AML, VARS, PCI-DSS, KYC, GDPR) into an audit-ready compliance checklist, or trace contract clauses to a mandate source. Suggest proactively when a regulation PDF accompanies a contract review or compliance task. NOT general summarization (doc-to-md), writing a gap-analysis report (write-report), or writing a policy from the checklist (write-doc)."
|
|
5
|
-
release-version: 0.50.
|
|
5
|
+
release-version: 0.50.24
|
|
6
6
|
---
|
|
7
7
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
8
8
|
# reg-parser
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: terminology
|
|
3
3
|
description: "Build and keep a project's TERMINOLOGY.md: the preferred term per concept in English, 简体 and 繁體, and the terms to avoid. Use to set it up from the project's documents, when the user settles or corrects a term, or when another writing skill needs the format. NOT for writing documents (write-doc) or analytical reports (write-report) or the code domain model (domain-modeling)."
|
|
4
|
-
release-version: 0.50.
|
|
4
|
+
release-version: 0.50.24
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# Terminology
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: write-doc
|
|
3
3
|
description: "Write or edit documents that define or propose something: BRD, PRD, technical spec, integration guide, proposal, policy or risk procedure; English, Chinese or bilingual. Use automatically for drafting or revising these documents. Markdown by default; export when requested. NOT for analytical reports or writing up findings (write-report), ordinary chat replies (plain-language), learning style or saving preferences alone (distill-writing), performing an audit (compliance-audit), or WeChat articles (wechat-article-writer)."
|
|
4
|
-
release-version: 0.50.
|
|
4
|
+
release-version: 0.50.24
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# Write a document
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: write-report
|
|
3
3
|
description: "Write or edit analytical reports from data, research, analysis or findings: payment, fraud, operational, performance, research, gap-analysis, audit, external assessment, management and Visa VARS reports. Use whenever asked to report results, write up findings, or turn analysis into a report, even without naming this skill. English, Chinese or bilingual; Markdown by default, export when requested. NOT for defining requirements, policies or proposals (write-doc), performing the underlying domain analysis or audit, chat-only answers (plain-language), or learning house style (distill-writing)."
|
|
4
|
-
release-version: 0.50.
|
|
4
|
+
release-version: 0.50.24
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# Write an analytical report
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: acceptance-design
|
|
3
|
-
release-version: 0.50.
|
|
4
|
-
description: Design or audit
|
|
3
|
+
release-version: 0.50.24
|
|
4
|
+
description: Design or audit acceptance criteria for issues and delivery goals. Use when a proposed prerequisite or request for user input could change what delivery depends on, when replaying an issue or wave, or when choosing what to test, rerun or record.
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# Acceptance design
|
|
@@ -14,6 +14,17 @@ Before using the existing checklist, reconstruct the journey from the requiremen
|
|
|
14
14
|
|
|
15
15
|
Use the part needed for the current task. When writing an issue, return criteria; when designing tests, return actions and observations; when accepting a change, report the result. These are not three new checkpoints.
|
|
16
16
|
|
|
17
|
+
When setting a Goal, take its completion criteria from the request and agreed
|
|
18
|
+
constraints. Before adding a prerequisite or reopening completed work, ask whether
|
|
19
|
+
another authorized path would still meet them. Keep a scope change proposed until
|
|
20
|
+
the user approves it. At completion, compare the available evidence with those criteria.
|
|
21
|
+
|
|
22
|
+
Before waiting for the user, check what you can resolve with existing evidence,
|
|
23
|
+
access or delegated judgment. If progress requires the user's decision, permission
|
|
24
|
+
or information, ask for that specific input. Use the available structured question tool
|
|
25
|
+
for a blocking question. If the Pi extension returns a reminder, apply
|
|
26
|
+
the judgment before retrying or choosing another path.
|
|
27
|
+
|
|
17
28
|
## Criteria: individually necessary, jointly sufficient
|
|
18
29
|
|
|
19
30
|
For an existing set of standards, use `/acceptance-design audit <issue, wave, or criteria>` or an equivalent natural-language request. Audit the criteria, not the implementation status. Read the source requirements and applicable ADRs before judging the checklist; for a historical replay distinguish original requirements from later approved corrections. If a source is missing, name what cannot be judged.
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { QUESTION_ADAPTER_PRIORITY } from '../../harness-runtime/index.mjs';
|
|
2
|
+
|
|
3
|
+
// Pi does not persist nested tool results as separate messages. Keep the reminder
|
|
4
|
+
// on the session branch so direct calls, codemode and resumed sessions share it.
|
|
5
|
+
const reviewEntry = 'acceptance-design:tool-review';
|
|
6
|
+
const reviewTools = new Set(['update_todo', 'update_goal', ...QUESTION_ADAPTER_PRIORITY]);
|
|
7
|
+
const questions = {
|
|
8
|
+
ask: 'Can you continue with existing evidence, access or delegated judgment? Ask only for the fact, decision or permission the user must supply.',
|
|
9
|
+
plan: 'Could another authorized path satisfy the agreed outcome and constraints? Keep optional prerequisites optional. Adopt new scope only with approval.',
|
|
10
|
+
goal: 'Do the objective, completion criteria and boundaries follow from the request and agreed corrections?',
|
|
11
|
+
complete: 'Does the available evidence establish the agreed outcome? Reuse sufficient evidence.',
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
function lastRecord(branch, type, kinds) {
|
|
15
|
+
return branch.findLast(entry => entry.type === 'custom' && entry.customType === type &&
|
|
16
|
+
(!kinds || kinds.includes(entry.data?.kind)))?.data;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
function hasOpenTask(branch) {
|
|
20
|
+
const plan = lastRecord(branch, 'pi-better-plan', ['set', 'clear'])?.plan;
|
|
21
|
+
if (Array.isArray(plan?.steps) && plan.steps.some(step => step.status !== 'completed')) return true;
|
|
22
|
+
if (lastRecord(branch, 'pi-better-workflow-plan', ['set', 'clear'])?.kind === 'set') return true;
|
|
23
|
+
const goal = lastRecord(branch, 'pi-better-goal', ['set', 'usage', 'clear']);
|
|
24
|
+
if (goal?.goal?.status === 'active' || goal?.status === 'active') return true;
|
|
25
|
+
const outcome = lastRecord(branch, 'pi-better-harness:outcome')?.outcome;
|
|
26
|
+
return outcome?.status === 'active';
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
function changedTodo(todo, branch) {
|
|
30
|
+
const lastPlan = branch.findLast(entry => entry.type === 'custom' &&
|
|
31
|
+
['pi-better-plan', 'pi-better-workflow-plan'].includes(entry.customType) &&
|
|
32
|
+
['set', 'clear'].includes(entry.data?.kind));
|
|
33
|
+
// A newer workflow binding or handoff supersedes any older ordinary Todo.
|
|
34
|
+
if (lastPlan?.customType === 'pi-better-workflow-plan') return todo.length > 0;
|
|
35
|
+
const previous = lastPlan?.data.plan?.steps;
|
|
36
|
+
if (!Array.isArray(previous)) return false;
|
|
37
|
+
if (todo.length !== previous.length) return true;
|
|
38
|
+
return todo.some((step, index) => {
|
|
39
|
+
const old = previous[index];
|
|
40
|
+
return step.step.trim() !== old.step || (step.id !== undefined && step.id !== old.id) ||
|
|
41
|
+
JSON.stringify([...(step.dependsOn ?? [])].sort()) !== JSON.stringify([...(old.dependsOn ?? [])].sort()) ||
|
|
42
|
+
(old.status === 'completed' && step.status !== 'completed') ||
|
|
43
|
+
(step.status === 'blocked' && old.status !== 'blocked') ||
|
|
44
|
+
(step.status === 'pending' && old.status === 'in_progress');
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
function changedWorkflow(workflow) {
|
|
49
|
+
if (!workflow?.event) return false; // Binding the existing plan is read-only.
|
|
50
|
+
if (workflow.decision) return true;
|
|
51
|
+
return (workflow.changes ?? []).some(({ add, set }) =>
|
|
52
|
+
add || set?.status === 'blocked' || set?.humanNeed ||
|
|
53
|
+
['title', 'dependsOn', 'standingOrders', 'criteria', 'acceptanceCriteria'].some(key => Object.hasOwn(set ?? {}, key)));
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
function reviewTopics(toolName, input, branch) {
|
|
57
|
+
if (QUESTION_ADAPTER_PRIORITY.includes(toolName)) return hasOpenTask(branch) ? ['ask'] : [];
|
|
58
|
+
if (toolName === 'update_goal') return input.status === 'complete' ? ['complete'] : [];
|
|
59
|
+
|
|
60
|
+
const topics = [];
|
|
61
|
+
const goal = input.goal ?? input.outcome; // Older Pi sessions use outcome.
|
|
62
|
+
if (typeof goal?.objective === 'string') {
|
|
63
|
+
const previous = input.newTask ? undefined : lastRecord(branch, 'pi-better-harness:outcome')?.outcome;
|
|
64
|
+
if (goal.objective.trim() !== previous?.objective ||
|
|
65
|
+
['doneWhen', 'boundaries'].some(key => goal[key] !== undefined &&
|
|
66
|
+
JSON.stringify(goal[key]) !== JSON.stringify(previous?.[key] ?? []))) topics.push('goal');
|
|
67
|
+
if (goal.status === 'complete' && previous?.status !== 'complete') topics.push('complete');
|
|
68
|
+
}
|
|
69
|
+
if (changedWorkflow(input.workflow) || (!input.newTask && input.todo && changedTodo(input.todo, branch))) topics.push('plan');
|
|
70
|
+
return topics;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export default function registerPlanReview(pi) {
|
|
74
|
+
pi.on('tool_call', ({ toolName, input, toolCallId, parentToolCallId }, ctx) => {
|
|
75
|
+
if (!reviewTools.has(toolName)) return;
|
|
76
|
+
if (!pi.getCommands().some(command => command.source === 'skill' && command.name === 'skill:acceptance-design')) return;
|
|
77
|
+
|
|
78
|
+
const branch = ctx.sessionManager.getBranch();
|
|
79
|
+
const topics = reviewTopics(toolName, input, branch);
|
|
80
|
+
const last = branch.findLast(entry =>
|
|
81
|
+
entry.message?.role === 'user' || (entry.message?.role === 'assistant' && entry.message.stopReason === 'stop') ||
|
|
82
|
+
(entry.type === 'custom' && entry.customType === reviewEntry && entry.data?.toolName === toolName));
|
|
83
|
+
const pending = last?.data?.topics ? last.data : undefined;
|
|
84
|
+
if (!topics.length && !pending) return;
|
|
85
|
+
|
|
86
|
+
// Sibling calls from the same assistant message have not seen the reminder.
|
|
87
|
+
const turn = branch.findLast(entry => entry.message?.role === 'assistant')?.id ?? parentToolCallId ?? toolCallId;
|
|
88
|
+
if (!topics.length || (pending && pending.turn !== turn && topics.every(topic => pending.topics.includes(topic)))) {
|
|
89
|
+
if (pending) pi.appendEntry(reviewEntry, { toolName });
|
|
90
|
+
return;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
if (!pending || pending.turn !== turn || !topics.every(topic => pending.topics.includes(topic))) {
|
|
94
|
+
pi.appendEntry(reviewEntry, { toolName, turn, topics });
|
|
95
|
+
}
|
|
96
|
+
const reason = 'Apply acceptance-design. ' + topics.map(topic => questions[topic]).join(' ') +
|
|
97
|
+
' Read the skill if needed, then revise or retry.';
|
|
98
|
+
return { block: true, reason };
|
|
99
|
+
});
|
|
100
|
+
}
|
|
@@ -4,7 +4,7 @@ description: "Slash/explicit-only (/better-review). Single-agent adversarial rev
|
|
|
4
4
|
disable-model-invocation: true
|
|
5
5
|
dependencies:
|
|
6
6
|
- engineering-runtime
|
|
7
|
-
release-version: 0.50.
|
|
7
|
+
release-version: 0.50.24
|
|
8
8
|
---
|
|
9
9
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
10
10
|
# Better Review
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: e2e-test
|
|
3
3
|
description: "Playwright end-to-end guidance for affected browser journeys, render health and presentation checks, with route manifests and sweeps for broader audits. Use when browser routes or user flows ship or change, or a Playwright test flakes. NOT for non-browser tests, defining what to test (ensure-coverage), the curated ALIVE/DEAD golden-path gate (golden-path), or CI workflow YAML (github-actions)."
|
|
4
|
-
release-version: 0.50.
|
|
4
|
+
release-version: 0.50.24
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# E2E Testing Standard
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: engineering
|
|
3
3
|
description: "Engineering conventions: feature-delivery priorities, focused verification and review, operational boundaries, and tracker routing. Standalone /engineering offers Global, Project, or Session setup and targeted resets for configured scopes; /engineering init keeps explicit project setup. Use before recommending architecture, service registration, or deployment topology, including advice-only requests; when setting up AGENTS.md or CONTRIBUTING.md, saving or resetting engineering defaults, or before creating an engineering issue, spec, epic, ticket, or sub-issue on GitHub or Linear. Reads existing policy without writing during ordinary work. NOT the issue-to-PR workflow (resolve-issues), release execution (resolve-release), Git delivery (github-flow), or CI setup (github-actions)."
|
|
4
|
-
release-version: 0.50.
|
|
4
|
+
release-version: 0.50.24
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# Engineering
|
|
@@ -3,7 +3,7 @@ name: engineering-runtime
|
|
|
3
3
|
description: Internal support package for shared Engineering Workflow executable behavior. Never select or invoke this package 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.24
|
|
7
7
|
---
|
|
8
8
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
9
9
|
# Engineering Runtime
|
|
@@ -372,7 +372,7 @@
|
|
|
372
372
|
"repository": "1aboveio/ai",
|
|
373
373
|
"revision": "main"
|
|
374
374
|
},
|
|
375
|
-
"contentDigest": "
|
|
375
|
+
"contentDigest": "be69a076b04928b8112730bc0fe10d77aee786d3521d5b0437f0fd981518ba31",
|
|
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": "9f104689450f7da07b6c07eecccc115e05bfb5f2b539e17668d164dab65b32d9",
|
|
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": "d50b2befd9e2d5a027cfdd5bbee1d3a0b76fae3819f6ef8c04d423d87cc05153",
|
|
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": "9ddc84d5a38c7fbab83f5e036cf752d17086666c9503a7461e5f95750c262e23",
|
|
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": "8e78e02c26ba26b7cf799fe14d81a1e3d418eb05e9c41f2b0b54681af1eb47f0",
|
|
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": "6214d4e845ef9d368b7a95be310484bd736bfcd370fd7bffd93d10d5383e3e44",
|
|
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": "c70c9d5aab13411c708d54a9783b15146f9a61c6559b7ae1c779d83c2774279f",
|
|
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": "65e1ac608f163046f0b1fd0b14a5d57349f5d663584ba74e8889de0a5739e608",
|
|
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": "11bb717fcec27f23d4d91915165df0abcdacf7e527b7208925fc013b98d9a058",
|
|
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": "a8b8cb7f8b4e60628f186aa5ecf3e9e27b8fdee4d1bf1d6a1e5486586d8e0ca6",
|
|
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": "0bb4c9a9030d13e5b757f025a3d5ad91c9260abd478f05146df9c1d6102a080d",
|
|
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": "80f91f6b5de8be39e2ff9ff315d2ea446db47a4ac02b14be10d49cbe86a4f51f",
|
|
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": "89314fe131ef217a0f6609462b8ecabc92848cd48799feb996e2bbb1d3f287b2",
|
|
532
532
|
"digestExcludes": [
|
|
533
533
|
"coherence/workflow.json"
|
|
534
534
|
]
|
|
535
535
|
}
|
|
536
536
|
],
|
|
537
|
-
"releaseIdentity": "
|
|
537
|
+
"releaseIdentity": "f8a2e8a5b857f97ea8713f3e09c3dcabb836d40e4cbaf9637f18ab7321e3134f",
|
|
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.24
|
|
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.24
|
|
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.24
|
|
7
7
|
---
|
|
8
8
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
9
9
|
# Harness Runtime
|
|
@@ -9,7 +9,7 @@ dependencies:
|
|
|
9
9
|
- better-review
|
|
10
10
|
- golden-path
|
|
11
11
|
- harness-runtime
|
|
12
|
-
release-version: 0.50.
|
|
12
|
+
release-version: 0.50.24
|
|
13
13
|
---
|
|
14
14
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
15
15
|
# Resolve issues
|
|
@@ -54,9 +54,7 @@ Read the procedure for the current stage.
|
|
|
54
54
|
([preflight.md](references/preflight.md#file-a-split)). On expiry, take the failure kind's response and continue. Mark a unit stopped by its
|
|
55
55
|
own failure or a human-only decision `blocked` with a [`blockedReason`](references/expire.md#reason-codes)
|
|
56
56
|
([live-capacity scheduler](references/implementation.md#live-capacity): `next-actions.mjs` reopens any other block), keep its workspace, ship the rest, and settle what is left
|
|
57
|
-
([Done](#done)).
|
|
58
|
-
apply the [scope and approach principles](references/principles.md#scope-and-approach).
|
|
59
|
-
Link only the units that still need it under the
|
|
57
|
+
([Done](#done)). Link an infrastructure or external blocker only to the units that need it under the
|
|
60
58
|
[blocker procedure](references/expire.md#infrastructure-failures). A unit that only waits on another unit is not
|
|
61
59
|
started (`pending`), never `blocked`; what stays blocked ends deferred on its owning issue, never done.
|
|
62
60
|
- **Your role.** [Coordinate first](references/principles.md#coordination). Between notices you may do bounded work
|
|
@@ -177,6 +175,11 @@ A landed unit's workspace and resources are cleaned then, alongside independent
|
|
|
177
175
|
|
|
178
176
|
## Task plan and board
|
|
179
177
|
|
|
178
|
+
Before saving or acting on a change that introduces a prerequisite, reopens completed
|
|
179
|
+
work or makes progress wait on the user, apply the necessity check in
|
|
180
|
+
`acceptance-design` and [choose a viable path](references/principles.md#scope-and-approach).
|
|
181
|
+
This applies on resume as well.
|
|
182
|
+
|
|
180
183
|
Keep run state in the task plan. Only the coordinator updates it
|
|
181
184
|
([task-plan.md](references/task-plan.md)). When `update_todo` is advertised, capture
|
|
182
185
|
the known outcome before substantive work and bind or reload the saved plan with
|
|
@@ -23,13 +23,15 @@ PR CI; it cannot be required to pass before the queue candidate exists.
|
|
|
23
23
|
PR branch need no approval. Green means every required check ran and passed
|
|
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
|
-
2.
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
26
|
+
2. For a failed build or test, give the worker the failed step, retained evidence
|
|
27
|
+
and matching local command when available (for a journey, `proof.suite.local`
|
|
28
|
+
with the failing case). Start on the failing revision. If the step passes
|
|
29
|
+
unchanged, report any relevant difference and the next observation needed.
|
|
30
|
+
Use the authorized lane for CI-only inputs. Fix on the same branch. Repeat the
|
|
31
|
+
local reproduction when available and report its before-and-after results.
|
|
32
|
+
Run the other checks assigned locally by the [proof procedure](implementation.md#proof),
|
|
33
|
+
push the permitted branch and return with CI pending. Route infrastructure failures through
|
|
34
|
+
[infrastructure handling](expire.md#infrastructure-failures).
|
|
33
35
|
3. Bind the review verdict and required CI to the new HEAD. After a passing review, [carry](review.md#carry-after-a-pass) it:
|
|
34
36
|
no reviewer, CI on it is the proof. Otherwise run the tier the scope
|
|
35
37
|
script picks ([review.md](review.md#tier-then-verdict)). A provider rerun keeps the
|
|
@@ -42,10 +42,12 @@
|
|
|
42
42
|
|
|
43
43
|
## Verification
|
|
44
44
|
|
|
45
|
-
8. **Reuse valid evidence and be precise about what it establishes.** When
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
its
|
|
45
|
+
8. **Reuse valid evidence and be precise about what it establishes.** When the
|
|
46
|
+
client or environment changes, carry forward the agreed user action and
|
|
47
|
+
expected result. If the handoff omits either, recover it from the current
|
|
48
|
+
requirement or its acceptance case. When evidence is hard to obtain, reassess
|
|
49
|
+
how to verify the criterion. If a gap remains, state what is still unverified
|
|
50
|
+
and what would resolve it. Qualify each candidate at its assigned [CI stage](ci.md).
|
|
49
51
|
|
|
50
52
|
9. **Fix the cause of a failed required check.** Follow the worker's
|
|
51
53
|
[proof procedure](implementation.md#proof). Repair infrastructure when required
|
|
@@ -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.24
|
|
8
8
|
---
|
|
9
9
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
10
10
|
# Resolve release
|
|
@@ -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.24
|
|
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.24
|
|
6
6
|
---
|
|
7
7
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
8
8
|
# Compliance Audit
|