persona-harness 0.11.0 → 0.12.0
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/CHANGELOG.md +14 -0
- package/README.md +7 -5
- package/dist/cli/cli-usage.js +2 -2
- package/dist/cli/cli-usage.js.map +1 -1
- package/dist/cli/host-plugin-command.js +1 -1
- package/dist/cli/host-plugin-command.js.map +1 -1
- package/dist/cli/host-plugin-distribution.d.ts +2 -1
- package/dist/cli/host-plugin-distribution.js +34 -5
- package/dist/cli/host-plugin-distribution.js.map +1 -1
- package/docs/current/persona-shared-skills-core.md +5 -4
- package/docs/current/portable-host-adapters.md +12 -3
- package/docs/current/release/consumer-authority-current-acceptance.json +1 -1
- package/docs/current/release/v0.12.0-release-notes.md +44 -0
- package/package.json +1 -1
- package/packages/host-plugins/antigravity/plugin.json +5 -0
- package/packages/host-plugins/antigravity/skills/ast-grep/SKILL.md +22 -0
- package/packages/host-plugins/antigravity/skills/debug/SKILL.md +22 -0
- package/packages/host-plugins/antigravity/skills/deep-interview/SKILL.md +32 -0
- package/packages/host-plugins/antigravity/skills/frontend/SKILL.md +22 -0
- package/packages/host-plugins/antigravity/skills/git/SKILL.md +22 -0
- package/packages/host-plugins/antigravity/skills/grill-me/SKILL.md +38 -0
- package/packages/host-plugins/antigravity/skills/implementation/SKILL.md +23 -0
- package/packages/host-plugins/antigravity/skills/lsp-setup/SKILL.md +22 -0
- package/packages/host-plugins/antigravity/skills/philosophy-refinement/SKILL.md +41 -0
- package/packages/host-plugins/antigravity/skills/plan/SKILL.md +24 -0
- package/packages/host-plugins/antigravity/skills/programming/SKILL.md +28 -0
- package/packages/host-plugins/antigravity/skills/ralplan/SKILL.md +23 -0
- package/packages/host-plugins/antigravity/skills/refactor/SKILL.md +22 -0
- package/packages/host-plugins/antigravity/skills/review/SKILL.md +22 -0
- package/packages/host-plugins/antigravity/skills/tdd/SKILL.md +23 -0
- package/packages/host-plugins/antigravity/skills/technical-intake/SKILL.md +24 -0
- package/packages/host-plugins/antigravity/skills/visual-qa/SKILL.md +22 -0
- package/packages/host-plugins/claude/.claude-plugin/plugin.json +1 -1
- package/packages/host-plugins/claude/skills/ast-grep/SKILL.md +1 -1
- package/packages/host-plugins/claude/skills/debug/SKILL.md +1 -1
- package/packages/host-plugins/claude/skills/deep-interview/SKILL.md +1 -1
- package/packages/host-plugins/claude/skills/frontend/SKILL.md +1 -1
- package/packages/host-plugins/claude/skills/git/SKILL.md +1 -1
- package/packages/host-plugins/claude/skills/grill-me/SKILL.md +1 -1
- package/packages/host-plugins/claude/skills/implementation/SKILL.md +1 -1
- package/packages/host-plugins/claude/skills/lsp-setup/SKILL.md +1 -1
- package/packages/host-plugins/claude/skills/philosophy-refinement/SKILL.md +1 -1
- package/packages/host-plugins/claude/skills/plan/SKILL.md +1 -1
- package/packages/host-plugins/claude/skills/programming/SKILL.md +1 -1
- package/packages/host-plugins/claude/skills/ralplan/SKILL.md +1 -1
- package/packages/host-plugins/claude/skills/refactor/SKILL.md +1 -1
- package/packages/host-plugins/claude/skills/review/SKILL.md +1 -1
- package/packages/host-plugins/claude/skills/tdd/SKILL.md +1 -1
- package/packages/host-plugins/claude/skills/technical-intake/SKILL.md +1 -1
- package/packages/host-plugins/claude/skills/visual-qa/SKILL.md +1 -1
- package/packages/host-plugins/codex/plugins/persona-harness/.codex-plugin/plugin.json +1 -1
- package/packages/host-plugins/codex/plugins/persona-harness/skills/ast-grep/SKILL.md +1 -1
- package/packages/host-plugins/codex/plugins/persona-harness/skills/debug/SKILL.md +1 -1
- package/packages/host-plugins/codex/plugins/persona-harness/skills/deep-interview/SKILL.md +1 -1
- package/packages/host-plugins/codex/plugins/persona-harness/skills/frontend/SKILL.md +1 -1
- package/packages/host-plugins/codex/plugins/persona-harness/skills/git/SKILL.md +1 -1
- package/packages/host-plugins/codex/plugins/persona-harness/skills/grill-me/SKILL.md +1 -1
- package/packages/host-plugins/codex/plugins/persona-harness/skills/implementation/SKILL.md +1 -1
- package/packages/host-plugins/codex/plugins/persona-harness/skills/lsp-setup/SKILL.md +1 -1
- package/packages/host-plugins/codex/plugins/persona-harness/skills/philosophy-refinement/SKILL.md +1 -1
- package/packages/host-plugins/codex/plugins/persona-harness/skills/plan/SKILL.md +1 -1
- package/packages/host-plugins/codex/plugins/persona-harness/skills/programming/SKILL.md +1 -1
- package/packages/host-plugins/codex/plugins/persona-harness/skills/ralplan/SKILL.md +1 -1
- package/packages/host-plugins/codex/plugins/persona-harness/skills/refactor/SKILL.md +1 -1
- package/packages/host-plugins/codex/plugins/persona-harness/skills/review/SKILL.md +1 -1
- package/packages/host-plugins/codex/plugins/persona-harness/skills/tdd/SKILL.md +1 -1
- package/packages/host-plugins/codex/plugins/persona-harness/skills/technical-intake/SKILL.md +1 -1
- package/packages/host-plugins/codex/plugins/persona-harness/skills/visual-qa/SKILL.md +1 -1
- package/packages/shared-skills/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,20 @@ preparation alone does not establish stable support or channel state.
|
|
|
8
8
|
|
|
9
9
|
## Unreleased
|
|
10
10
|
|
|
11
|
+
## [0.12.0] - 2026-09-03
|
|
12
|
+
|
|
13
|
+
- Ship the canonical shared-skill catalog as a package-contained Antigravity
|
|
14
|
+
plugin artifact alongside the existing Codex and Claude Code artifacts.
|
|
15
|
+
`ph plugin path antigravity` verifies the package-owned tree before returning
|
|
16
|
+
its path.
|
|
17
|
+
- Keep Antigravity installation explicit. Persona Harness does not run
|
|
18
|
+
`agy plugin install`, alter workspace/global plugin state, or claim a live
|
|
19
|
+
Antigravity session selected a skill.
|
|
20
|
+
- Bind Antigravity plugin skills to the same generated `.agents` adapter bytes
|
|
21
|
+
used for Antigravity project-local discovery, and reject missing, duplicate,
|
|
22
|
+
stale, modified, malformed, or symlinked package artifacts before printing a
|
|
23
|
+
host path.
|
|
24
|
+
|
|
11
25
|
## [0.11.0] - 2026-09-02
|
|
12
26
|
|
|
13
27
|
- Ship the canonical shared-skill catalog as package-contained plugin artifacts
|
package/README.md
CHANGED
|
@@ -436,11 +436,13 @@ discovery so an OpenCode project receives one native candidate rather than
|
|
|
436
436
|
duplicates. For the full ownership, upgrade, and non-claim boundary, read the
|
|
437
437
|
[portable host adapter guide](docs/current/portable-host-adapters.md).
|
|
438
438
|
|
|
439
|
-
The npm package also ships verified, versioned Codex and Claude
|
|
440
|
-
directories. `npx ph plugin path
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
439
|
+
The npm package also ships verified, versioned Antigravity, Codex, and Claude
|
|
440
|
+
Code plugin directories. `npx ph plugin path antigravity` prints the
|
|
441
|
+
package-local Antigravity plugin root, `npx ph plugin path codex` prints the
|
|
442
|
+
Codex marketplace root, and `npx ph plugin path claude` prints the Claude
|
|
443
|
+
plugin root. Those commands are read-only; installing, adding a marketplace,
|
|
444
|
+
or loading a plugin remains an explicit host command. See the [portable host
|
|
445
|
+
adapter guide](docs/current/portable-host-adapters.md#install-packaged-host-plugins)
|
|
444
446
|
for the exact commands and the boundary between static readiness and live host
|
|
445
447
|
selection.
|
|
446
448
|
|
package/dist/cli/cli-usage.js
CHANGED
|
@@ -13,7 +13,7 @@ function englishUsage(invocationName) {
|
|
|
13
13
|
" go <goal> | --stdin Host-neutral single entry from a concrete goal to the current ticket and implementation rail.",
|
|
14
14
|
" doctor Diagnose local OpenCode and Persona Harness installation state.",
|
|
15
15
|
" update Control opt-in project-local automatic Persona Harness updates.",
|
|
16
|
-
" plugin path <host> Print a verified Codex
|
|
16
|
+
" plugin path <host> Print a verified Antigravity, Codex, or Claude plugin path.",
|
|
17
17
|
" observe <path> Report Java/Spring observer findings for a file or directory.",
|
|
18
18
|
" context Inspect the experimental default-off Context track.",
|
|
19
19
|
" authority Inspect or enroll bounded external consumer authority.",
|
|
@@ -53,7 +53,7 @@ function koreanUsage(invocationName) {
|
|
|
53
53
|
" go <goal> | --stdin 구체적인 목표를 현재 ticket과 구현 rail로 연결하는 단일 진입점입니다.",
|
|
54
54
|
" doctor 로컬 OpenCode 및 Persona Harness 설치 상태를 진단합니다.",
|
|
55
55
|
" update 프로젝트별 자동 Persona Harness 업데이트를 제어합니다.",
|
|
56
|
-
" plugin path <host> 검증된 Codex
|
|
56
|
+
" plugin path <host> 검증된 Antigravity, Codex 또는 Claude 플러그인 경로를 출력합니다.",
|
|
57
57
|
" observe <path> 파일 또는 디렉터리의 Java/Spring observer 관측 결과를 보고합니다.",
|
|
58
58
|
" context 실험적 기본 비활성 Context 트랙을 확인합니다.",
|
|
59
59
|
" authority 제한된 외부 consumer authority 상태를 확인하거나 등록합니다.",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli-usage.js","sourceRoot":"","sources":["../../src/cli/cli-usage.ts"],"names":[],"mappings":"AAEA,SAAS,YAAY,CAAC,cAAsB;IAC1C,OAAO;QACL,UAAU,cAAc,sBAAsB;QAC9C,EAAE;QACF,iBAAiB;QACjB,qEAAqE;QACrE,gFAAgF;QAChF,EAAE;QACF,kBAAkB;QAClB,4EAA4E;QAC5E,2FAA2F;QAC3F,iGAAiG;QACjG,+HAA+H;QAC/H,gGAAgG;QAChG,gGAAgG;QAChG,
|
|
1
|
+
{"version":3,"file":"cli-usage.js","sourceRoot":"","sources":["../../src/cli/cli-usage.ts"],"names":[],"mappings":"AAEA,SAAS,YAAY,CAAC,cAAsB;IAC1C,OAAO;QACL,UAAU,cAAc,sBAAsB;QAC9C,EAAE;QACF,iBAAiB;QACjB,qEAAqE;QACrE,gFAAgF;QAChF,EAAE;QACF,kBAAkB;QAClB,4EAA4E;QAC5E,2FAA2F;QAC3F,iGAAiG;QACjG,+HAA+H;QAC/H,gGAAgG;QAChG,gGAAgG;QAChG,4FAA4F;QAC5F,8FAA8F;QAC9F,oFAAoF;QACpF,uFAAuF;QACvF,4GAA4G;QAC5G,uFAAuF;QACvF,EAAE;QACF,WAAW;QACX,KAAK,cAAc,UAAU;QAC7B,KAAK,cAAc,YAAY;QAC/B,KAAK,cAAc,OAAO;QAC1B,KA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AClF,OAAO,MAAM,KAAK,IAAI,CAAC,CAAC,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,cAAc,CAAC,CAAA;AACrF,CAAC"}
|
|
@@ -2,7 +2,7 @@ import process from "node:process";
|
|
|
2
2
|
import { HOST_PLUGIN_HOSTS, HostPluginDistributionError, hostPluginDistributionPath, } from "./host-plugin-distribution.js";
|
|
3
3
|
function hostPluginUsage(invocationName) {
|
|
4
4
|
return [
|
|
5
|
-
`Usage: ${invocationName} plugin path <codex|claude>`,
|
|
5
|
+
`Usage: ${invocationName} plugin path <antigravity|codex|claude>`,
|
|
6
6
|
"",
|
|
7
7
|
"Print a verified, read-only installed plugin path. This command never registers a marketplace or edits host configuration.",
|
|
8
8
|
].join("\n");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"host-plugin-command.js","sourceRoot":"","sources":["../../src/cli/host-plugin-command.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,cAAc,CAAA;AAGlC,OAAO,EACL,iBAAiB,EACjB,2BAA2B,EAC3B,0BAA0B,GAE3B,MAAM,+BAA+B,CAAA;AAMtC,SAAS,eAAe,CAAC,cAAsB;IAC7C,OAAO;QACL,UAAU,cAAc,
|
|
1
|
+
{"version":3,"file":"host-plugin-command.js","sourceRoot":"","sources":["../../src/cli/host-plugin-command.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,cAAc,CAAA;AAGlC,OAAO,EACL,iBAAiB,EACjB,2BAA2B,EAC3B,0BAA0B,GAE3B,MAAM,+BAA+B,CAAA;AAMtC,SAAS,eAAe,CAAC,cAAsB;IAC7C,OAAO;QACL,UAAU,cAAc,yCAAyC;QACjE,EAAE;QACF,4HAA4H;KAC7H,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;AACd,CAAC;AAED,SAAS,SAAS,CAAC,KAAyB;IAC1C,OAAO,iBAAiB,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE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AA;QAC7D,CAAC;QACD,MAAM,KAAK,CAAA;IACb,CAAC;AACH,CAAC"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
export declare const HOST_PLUGIN_HOSTS: readonly ["codex", "claude"];
|
|
1
|
+
export declare const HOST_PLUGIN_HOSTS: readonly ["antigravity", "codex", "claude"];
|
|
2
2
|
export type HostPluginHost = typeof HOST_PLUGIN_HOSTS[number];
|
|
3
3
|
export type HostPluginDistributionTarget = {
|
|
4
4
|
readonly nextBytes: Buffer;
|
|
5
5
|
readonly relativePath: string;
|
|
6
6
|
};
|
|
7
7
|
export type HostPluginDistributionPaths = {
|
|
8
|
+
readonly antigravityPluginRoot: string;
|
|
8
9
|
readonly claudePluginRoot: string;
|
|
9
10
|
readonly codexMarketplaceRoot: string;
|
|
10
11
|
};
|
|
@@ -5,8 +5,13 @@ import { listPersonaSharedSkillsFromPackageRoot } from "../runtime/persona-share
|
|
|
5
5
|
const PACKAGE_NAME = "persona-harness";
|
|
6
6
|
const HOST_PLUGIN_ROOT = "packages/host-plugins";
|
|
7
7
|
const REPOSITORY_URL = "https://github.com/jyt6640/persona-harness";
|
|
8
|
-
export const HOST_PLUGIN_HOSTS = ["codex", "claude"];
|
|
8
|
+
export const HOST_PLUGIN_HOSTS = ["antigravity", "codex", "claude"];
|
|
9
9
|
const HOST_PLUGIN_LAYOUTS = [
|
|
10
|
+
{
|
|
11
|
+
host: "antigravity",
|
|
12
|
+
sourceLayout: "agents",
|
|
13
|
+
skillRoot: "packages/host-plugins/antigravity/skills",
|
|
14
|
+
},
|
|
10
15
|
{
|
|
11
16
|
host: "codex",
|
|
12
17
|
sourceLayout: "agents",
|
|
@@ -154,6 +159,13 @@ function codexMarketplaceManifest() {
|
|
|
154
159
|
],
|
|
155
160
|
});
|
|
156
161
|
}
|
|
162
|
+
function antigravityPluginManifest() {
|
|
163
|
+
return serializeJson({
|
|
164
|
+
$schema: "https://antigravity.google/schemas/v1/plugin.json",
|
|
165
|
+
name: PACKAGE_NAME,
|
|
166
|
+
description: "Portable Persona Harness shared skills for Antigravity.",
|
|
167
|
+
});
|
|
168
|
+
}
|
|
157
169
|
function claudePluginManifest(identity) {
|
|
158
170
|
return serializeJson({
|
|
159
171
|
$schema: "https://json.schemastore.org/claude-code-plugin-manifest.json",
|
|
@@ -171,9 +183,14 @@ function claudePluginManifest(identity) {
|
|
|
171
183
|
});
|
|
172
184
|
}
|
|
173
185
|
function pluginManifestPath(host) {
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
186
|
+
switch (host) {
|
|
187
|
+
case "antigravity":
|
|
188
|
+
return "packages/host-plugins/antigravity/plugin.json";
|
|
189
|
+
case "codex":
|
|
190
|
+
return "packages/host-plugins/codex/plugins/persona-harness/.codex-plugin/plugin.json";
|
|
191
|
+
case "claude":
|
|
192
|
+
return "packages/host-plugins/claude/.claude-plugin/plugin.json";
|
|
193
|
+
}
|
|
177
194
|
}
|
|
178
195
|
function pluginSkillPath(layout, skill) {
|
|
179
196
|
return `${layout.skillRoot}/${skill.id}/SKILL.md`;
|
|
@@ -193,6 +210,10 @@ export function buildHostPluginDistributionTargets(packageRoot) {
|
|
|
193
210
|
throw new HostPluginDistributionError("host-plugin-distribution-catalog");
|
|
194
211
|
}
|
|
195
212
|
const targets = [
|
|
213
|
+
{
|
|
214
|
+
relativePath: pluginManifestPath("antigravity"),
|
|
215
|
+
nextBytes: antigravityPluginManifest(),
|
|
216
|
+
},
|
|
196
217
|
{
|
|
197
218
|
relativePath: "packages/host-plugins/codex/.agents/plugins/marketplace.json",
|
|
198
219
|
nextBytes: codexMarketplaceManifest(),
|
|
@@ -268,6 +289,7 @@ function assertExactArtifactTree(root, targets) {
|
|
|
268
289
|
}
|
|
269
290
|
function distributionPaths(root) {
|
|
270
291
|
return {
|
|
292
|
+
antigravityPluginRoot: packagePath(root, "packages/host-plugins/antigravity"),
|
|
271
293
|
claudePluginRoot: packagePath(root, "packages/host-plugins/claude"),
|
|
272
294
|
codexMarketplaceRoot: packagePath(root, "packages/host-plugins/codex"),
|
|
273
295
|
};
|
|
@@ -279,7 +301,14 @@ export function verifyHostPluginDistribution(packageRoot) {
|
|
|
279
301
|
}
|
|
280
302
|
export function hostPluginDistributionPath(packageRoot, host) {
|
|
281
303
|
const paths = verifyHostPluginDistribution(packageRoot);
|
|
282
|
-
|
|
304
|
+
switch (host) {
|
|
305
|
+
case "antigravity":
|
|
306
|
+
return paths.antigravityPluginRoot;
|
|
307
|
+
case "codex":
|
|
308
|
+
return paths.codexMarketplaceRoot;
|
|
309
|
+
case "claude":
|
|
310
|
+
return paths.claudePluginRoot;
|
|
311
|
+
}
|
|
283
312
|
}
|
|
284
313
|
export function writeHostPluginDistribution(packageRoot, options = {}) {
|
|
285
314
|
const root = packageRootPath(packageRoot);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"host-plugin-distribution.js","sourceRoot":"","sources":["../../src/cli/host-plugin-distribution.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,SAAS,EACT,SAAS,EACT,WAAW,EACX,YAAY,EACZ,MAAM,EACN,aAAa,GAEd,MAAM,SAAS,CAAA;AAChB,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAA;AAEjE,OAAO,EACL,kBAAkB,EAClB,4BAA4B,GAC7B,MAAM,8BAA8B,CAAA;AACrC,OAAO,EAAE,sCAAsC,EAA2B,MAAM,4CAA4C,CAAA;AAE5H,MAAM,YAAY,GAAG,iBAAiB,CAAA;AACtC,MAAM,gBAAgB,GAAG,uBAAuB,CAAA;AAChD,MAAM,cAAc,GAAG,4CAA4C,CAAA;AAEnE,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,OAAO,EAAE,QAAQ,CAAU,CAAA;AA6B7D,MAAM,mBAAmB,GAAG;IAC1B;QACE,IAAI,EAAE,OAAO;QACb,YAAY,EAAE,QAAQ;QACtB,SAAS,EAAE,4DA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AAK,EAAE,CAAC,CAAA;IACxD,CAAC;IACD,OAAO,4BAA4B,CAAC,IAAI,CAAC,CAAA;AAC3C,CAAC"}
|
|
@@ -232,10 +232,11 @@ default-on OpenCode advisory route and never enables that broader context path.
|
|
|
232
232
|
## Package Boundary
|
|
233
233
|
|
|
234
234
|
The root tarball includes the catalog, each cataloged `SKILL.md`, the generated
|
|
235
|
-
Codex marketplace/plugin tree,
|
|
236
|
-
package-internal shared-skills README. The only packaged language
|
|
237
|
-
the Java reference directory. Legacy OMO orchestration material and
|
|
238
|
-
`skills/workflow/**` payloads are nonoperative and excluded from the
|
|
235
|
+
Antigravity plugin tree, Codex marketplace/plugin tree, Claude Code plugin
|
|
236
|
+
tree, and the package-internal shared-skills README. The only packaged language
|
|
237
|
+
overlay is the Java reference directory. Legacy OMO orchestration material and
|
|
238
|
+
legacy `skills/workflow/**` payloads are nonoperative and excluded from the
|
|
239
|
+
tarball.
|
|
239
240
|
The package-files policy test and the packed-install contract verify this
|
|
240
241
|
surface without falling back to repository source files.
|
|
241
242
|
|
|
@@ -47,9 +47,10 @@ the existing `npx ph init` command. It still does not imply `bootstrap`,
|
|
|
47
47
|
|
|
48
48
|
## Install Packaged Host Plugins
|
|
49
49
|
|
|
50
|
-
The npm package also includes immutable, versioned plugin artifacts for
|
|
51
|
-
and Claude Code. This is useful when a user wants the
|
|
52
|
-
host plugin rather than as project-local adapters
|
|
50
|
+
The npm package also includes immutable, versioned plugin artifacts for
|
|
51
|
+
Antigravity, Codex, and Claude Code. This is useful when a user wants the
|
|
52
|
+
canonical catalog as a host plugin rather than as project-local adapters
|
|
53
|
+
produced by `ph init`.
|
|
53
54
|
|
|
54
55
|
`ph plugin path` is read-only: it verifies the installed artifact tree against
|
|
55
56
|
the catalog before printing a path. It never adds a marketplace, enables a
|
|
@@ -63,6 +64,14 @@ codex plugin marketplace add "$(npx ph plugin path codex)"
|
|
|
63
64
|
codex plugin add persona-harness@persona-harness
|
|
64
65
|
```
|
|
65
66
|
|
|
67
|
+
For Antigravity, explicitly install the verified local plugin directory through
|
|
68
|
+
its normal CLI. This stages host-owned state, so Persona Harness only prints the
|
|
69
|
+
path and never runs the command itself:
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
agy plugin install "$(npx ph plugin path antigravity)"
|
|
73
|
+
```
|
|
74
|
+
|
|
66
75
|
For Claude Code, validate the same packaged directory locally, then load it for
|
|
67
76
|
the session using Claude Code's supported plugin-directory flag:
|
|
68
77
|
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# v0.12.0 Release Notes
|
|
2
|
+
|
|
3
|
+
## Portable Antigravity Plugin
|
|
4
|
+
|
|
5
|
+
Persona Harness now ships the canonical shared-skill catalog as a versioned,
|
|
6
|
+
package-contained Antigravity plugin artifact. Locate the verified installed
|
|
7
|
+
plugin root with:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npx ph plugin path antigravity
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
The command validates the package-owned `plugin.json` and every catalog skill
|
|
14
|
+
before it prints a path. Missing, duplicate, stale, modified, malformed, or
|
|
15
|
+
symlinked artifacts fail closed.
|
|
16
|
+
|
|
17
|
+
## Explicit Host Ownership
|
|
18
|
+
|
|
19
|
+
Installing an Antigravity plugin creates host-owned state, so Persona Harness
|
|
20
|
+
does not run the installation command or alter configuration by inference. The
|
|
21
|
+
user can explicitly install the verified directory through the host CLI:
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
agy plugin install "$(npx ph plugin path antigravity)"
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Static package validation does not claim that an Antigravity session installed,
|
|
28
|
+
selected, loaded, or followed a skill. Those are separate host-governed
|
|
29
|
+
observations.
|
|
30
|
+
|
|
31
|
+
## Compatibility
|
|
32
|
+
|
|
33
|
+
- The package uses the official Antigravity `plugin.json` schema with the
|
|
34
|
+
documented `name` and `description` metadata only.
|
|
35
|
+
- Plugin skill bodies are byte-bound to the existing `.agents` adapter layout
|
|
36
|
+
used by Antigravity project-local discovery.
|
|
37
|
+
- Codex, Claude Code, and OpenCode behavior is unchanged.
|
|
38
|
+
|
|
39
|
+
## Verification
|
|
40
|
+
|
|
41
|
+
The source and package checks cover manifest identity, canonical skill byte
|
|
42
|
+
binding, installed package discovery, `ph plugin path antigravity`, and
|
|
43
|
+
missing/duplicate/stale/modified/malformed/symlink rejection. Registry and
|
|
44
|
+
provenance readback remain part of the governed release workflow.
|
package/package.json
CHANGED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ph-ast-grep
|
|
3
|
+
description: "(PH) Use only when the user explicitly requests AST-aware search or rewrite and the tool is available."
|
|
4
|
+
license: "Apache-2.0"
|
|
5
|
+
compatibility: "Codex and Antigravity"
|
|
6
|
+
metadata:
|
|
7
|
+
persona-harness/canonical-skill: ast-grep
|
|
8
|
+
persona-harness/display-name: "(PH) AST-Grep Overlay"
|
|
9
|
+
persona-harness/adapter-layout: agents
|
|
10
|
+
persona-harness/adapter-version: 0.12.0
|
|
11
|
+
opencode/autoinvoke: "false"
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# (PH) AST-Grep Overlay
|
|
15
|
+
|
|
16
|
+
This adapter exposes the canonical Persona Harness skill to this host only. Discovery alone does not authorize workflow, shell, network, GitHub, authority, evidence, or external actions.
|
|
17
|
+
|
|
18
|
+
# AST-Grep Overlay
|
|
19
|
+
|
|
20
|
+
Use only when `ast-grep` is available and explicitly requested. Keep structural
|
|
21
|
+
queries scoped, inspect matches before rewriting, and validate the changed
|
|
22
|
+
behavior. Do not claim the tool exists on an unsupported host.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ph-debug
|
|
3
|
+
description: "(PH) Use for a reproducible failure or unexpected behavior; reproduce, isolate, and verify the cause."
|
|
4
|
+
license: "Apache-2.0"
|
|
5
|
+
compatibility: "Codex and Antigravity"
|
|
6
|
+
metadata:
|
|
7
|
+
persona-harness/canonical-skill: debug
|
|
8
|
+
persona-harness/display-name: "(PH) Debug"
|
|
9
|
+
persona-harness/adapter-layout: agents
|
|
10
|
+
persona-harness/adapter-version: 0.12.0
|
|
11
|
+
opencode/autoinvoke: "false"
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# (PH) Debug
|
|
15
|
+
|
|
16
|
+
This adapter exposes the canonical Persona Harness skill to this host only. Discovery alone does not authorize workflow, shell, network, GitHub, authority, evidence, or external actions.
|
|
17
|
+
|
|
18
|
+
# Debug
|
|
19
|
+
|
|
20
|
+
Reproduce the observed failure, form bounded hypotheses, and fix only the
|
|
21
|
+
confirmed cause. Add a focused regression where appropriate and avoid turning
|
|
22
|
+
an investigation into automatic workflow progression or a broad refactor.
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ph-deep-interview
|
|
3
|
+
description: "(PH) Use only for an ambiguous product request; ask one plain-language question before proposing a brief."
|
|
4
|
+
license: "Apache-2.0"
|
|
5
|
+
compatibility: "Codex and Antigravity"
|
|
6
|
+
metadata:
|
|
7
|
+
persona-harness/canonical-skill: deep-interview
|
|
8
|
+
persona-harness/display-name: "(PH) Product Deep Interview"
|
|
9
|
+
persona-harness/adapter-layout: agents
|
|
10
|
+
persona-harness/adapter-version: 0.12.0
|
|
11
|
+
opencode/autoinvoke: "false"
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# (PH) Product Deep Interview
|
|
15
|
+
|
|
16
|
+
This adapter exposes the canonical Persona Harness skill to this host only. Discovery alone does not authorize workflow, shell, network, GitHub, authority, evidence, or external actions.
|
|
17
|
+
|
|
18
|
+
# Product Deep Interview
|
|
19
|
+
|
|
20
|
+
Use only for product discovery before technical intake. Ask one question at a
|
|
21
|
+
time about the user, problem, outcome, journey, MVP, non-goals, success signal,
|
|
22
|
+
and product constraints. Give one short recommendation with a tradeoff.
|
|
23
|
+
|
|
24
|
+
Free text, `recommend`, `defer`, and `stop` are valid responses. Do not create
|
|
25
|
+
files, plans, tickets, branches, issues, agents, project state, or workflow
|
|
26
|
+
state. When decisions are sufficiently resolved, show a compact approval brief
|
|
27
|
+
and wait for explicit approval. Approval hands off to `technical-intake`; it
|
|
28
|
+
does not run it.
|
|
29
|
+
|
|
30
|
+
For a brownfield change, inspect relevant existing code first and ask only for
|
|
31
|
+
product intent the code cannot answer. That read is still advisory and does
|
|
32
|
+
not authorize a workflow transition.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ph-frontend
|
|
3
|
+
description: "(PH) Use only for an explicitly requested scoped UI change with existing design constraints."
|
|
4
|
+
license: "Apache-2.0"
|
|
5
|
+
compatibility: "Codex and Antigravity"
|
|
6
|
+
metadata:
|
|
7
|
+
persona-harness/canonical-skill: frontend
|
|
8
|
+
persona-harness/display-name: "(PH) Frontend Overlay"
|
|
9
|
+
persona-harness/adapter-layout: agents
|
|
10
|
+
persona-harness/adapter-version: 0.12.0
|
|
11
|
+
opencode/autoinvoke: "false"
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# (PH) Frontend Overlay
|
|
15
|
+
|
|
16
|
+
This adapter exposes the canonical Persona Harness skill to this host only. Discovery alone does not authorize workflow, shell, network, GitHub, authority, evidence, or external actions.
|
|
17
|
+
|
|
18
|
+
# Frontend Overlay
|
|
19
|
+
|
|
20
|
+
Optional, explicit UI guidance. Read the existing design system and implement
|
|
21
|
+
the requested interaction with accessible, responsive behavior. It is not
|
|
22
|
+
auto-selected and makes no claim that a host can render or visually verify UI.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ph-git
|
|
3
|
+
description: "(PH) Use only for an explicit Git operation with scoped status, diff, and transport discipline."
|
|
4
|
+
license: "Apache-2.0"
|
|
5
|
+
compatibility: "Codex and Antigravity"
|
|
6
|
+
metadata:
|
|
7
|
+
persona-harness/canonical-skill: git
|
|
8
|
+
persona-harness/display-name: "(PH) Git Hygiene"
|
|
9
|
+
persona-harness/adapter-layout: agents
|
|
10
|
+
persona-harness/adapter-version: 0.12.0
|
|
11
|
+
opencode/autoinvoke: "false"
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# (PH) Git Hygiene
|
|
15
|
+
|
|
16
|
+
This adapter exposes the canonical Persona Harness skill to this host only. Discovery alone does not authorize workflow, shell, network, GitHub, authority, evidence, or external actions.
|
|
17
|
+
|
|
18
|
+
# Git Hygiene
|
|
19
|
+
|
|
20
|
+
Inspect the relevant diff and status, stage only intended files, and perform
|
|
21
|
+
transport only when the user explicitly requests it. Never create branches,
|
|
22
|
+
commits, tags, releases, or pushes as a side effect of another skill.
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ph-grill-me
|
|
3
|
+
description: "(PH) Pressure-test a concrete decision, design, or plan only when the user asks to examine assumptions, alternatives, risks, or trade-offs."
|
|
4
|
+
license: "Apache-2.0"
|
|
5
|
+
compatibility: "Codex and Antigravity"
|
|
6
|
+
metadata:
|
|
7
|
+
persona-harness/canonical-skill: grill-me
|
|
8
|
+
persona-harness/display-name: "(PH) Decision Grill"
|
|
9
|
+
persona-harness/adapter-layout: agents
|
|
10
|
+
persona-harness/adapter-version: 0.12.0
|
|
11
|
+
opencode/autoinvoke: "false"
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# (PH) Decision Grill
|
|
15
|
+
|
|
16
|
+
This adapter exposes the canonical Persona Harness skill to this host only. Discovery alone does not authorize workflow, shell, network, GitHub, authority, evidence, or external actions.
|
|
17
|
+
|
|
18
|
+
# Decision Grill
|
|
19
|
+
|
|
20
|
+
Use this for a concrete decision, design, or plan when the user asks to
|
|
21
|
+
pressure-test its assumptions, alternatives, risks, trade-offs, or failure
|
|
22
|
+
modes. A host may select it automatically only when both the concrete subject
|
|
23
|
+
and the pressure-test signal are present. Otherwise wait for an explicit
|
|
24
|
+
`/persona grill-me` request or use the more specific existing route.
|
|
25
|
+
|
|
26
|
+
Inspect relevant code or documents before asking for facts they can establish.
|
|
27
|
+
Identify the most consequential assumption, ask one question at a time, then
|
|
28
|
+
give a short recommendation and its trade-off. Challenge vague claims with a
|
|
29
|
+
specific counterexample or failure mode. Finish with the unresolved decision,
|
|
30
|
+
the evidence that would change the recommendation, and the user's chosen next
|
|
31
|
+
step.
|
|
32
|
+
|
|
33
|
+
Use `deep-interview` for an ambiguous product outcome, `ralplan` for an
|
|
34
|
+
explicit adversarial review of an approved high-risk delivery plan, and
|
|
35
|
+
`review`, `debug`, or `programming` for their respective code requests.
|
|
36
|
+
|
|
37
|
+
Do not create files, plans, tickets, branches, issues, agents, project state,
|
|
38
|
+
or workflow state. This skill does not approve or advance a later procedure.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ph-implementation
|
|
3
|
+
description: "(PH) Use after an approved, tested delivery boundary to implement it with focused verification."
|
|
4
|
+
license: "Apache-2.0"
|
|
5
|
+
compatibility: "Codex and Antigravity"
|
|
6
|
+
metadata:
|
|
7
|
+
persona-harness/canonical-skill: implementation
|
|
8
|
+
persona-harness/display-name: "(PH) Scoped Implementation"
|
|
9
|
+
persona-harness/adapter-layout: agents
|
|
10
|
+
persona-harness/adapter-version: 0.12.0
|
|
11
|
+
opencode/autoinvoke: "false"
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# (PH) Scoped Implementation
|
|
15
|
+
|
|
16
|
+
This adapter exposes the canonical Persona Harness skill to this host only. Discovery alone does not authorize workflow, shell, network, GitHub, authority, evidence, or external actions.
|
|
17
|
+
|
|
18
|
+
# Scoped Implementation
|
|
19
|
+
|
|
20
|
+
Implement only the approved behavior and preserve existing project conventions.
|
|
21
|
+
Verify the focused contract, name remaining uncertainty, and hand off explicitly
|
|
22
|
+
to `review`. Do not infer workflow authority, create agents, or claim completion
|
|
23
|
+
from this procedure.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ph-lsp-setup
|
|
3
|
+
description: "(PH) Use only when the user explicitly requests language-server setup or diagnostics."
|
|
4
|
+
license: "Apache-2.0"
|
|
5
|
+
compatibility: "Codex and Antigravity"
|
|
6
|
+
metadata:
|
|
7
|
+
persona-harness/canonical-skill: lsp-setup
|
|
8
|
+
persona-harness/display-name: "(PH) LSP Setup Overlay"
|
|
9
|
+
persona-harness/adapter-layout: agents
|
|
10
|
+
persona-harness/adapter-version: 0.12.0
|
|
11
|
+
opencode/autoinvoke: "false"
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# (PH) LSP Setup Overlay
|
|
15
|
+
|
|
16
|
+
This adapter exposes the canonical Persona Harness skill to this host only. Discovery alone does not authorize workflow, shell, network, GitHub, authority, evidence, or external actions.
|
|
17
|
+
|
|
18
|
+
# LSP Setup Overlay
|
|
19
|
+
|
|
20
|
+
Use only on explicit request. Configure or inspect a language server within the
|
|
21
|
+
existing project toolchain, report available diagnostics, and do not invent a
|
|
22
|
+
host/editor capability that is unavailable.
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ph-philosophy-refinement
|
|
3
|
+
description: "(PH) Use only when the user explicitly asks to change, review, or persist reusable development philosophy."
|
|
4
|
+
license: "Apache-2.0"
|
|
5
|
+
compatibility: "Codex and Antigravity"
|
|
6
|
+
metadata:
|
|
7
|
+
persona-harness/canonical-skill: philosophy-refinement
|
|
8
|
+
persona-harness/display-name: "(PH) Socratic Philosophy Refinement"
|
|
9
|
+
persona-harness/adapter-layout: agents
|
|
10
|
+
persona-harness/adapter-version: 0.12.0
|
|
11
|
+
opencode/autoinvoke: "false"
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# (PH) Socratic Philosophy Refinement
|
|
15
|
+
|
|
16
|
+
This adapter exposes the canonical Persona Harness skill to this host only. Discovery alone does not authorize workflow, shell, network, GitHub, authority, evidence, or external actions.
|
|
17
|
+
|
|
18
|
+
# Socratic Philosophy Refinement
|
|
19
|
+
|
|
20
|
+
Start only when the user explicitly asks to change, review, or persist a
|
|
21
|
+
reusable philosophy. Ordinary chat, code inspection, a direct code-change
|
|
22
|
+
request, design criticism, and implicit preference signals do not start this
|
|
23
|
+
skill.
|
|
24
|
+
|
|
25
|
+
Ask one question at a time, in this order: the current reason, why the
|
|
26
|
+
alternative is preferred, intended scope, a concrete counterexample or side
|
|
27
|
+
effect, and the trade-offs. Give a short recommendation after each answer and
|
|
28
|
+
keep unresolved answers pending. Do not infer missing rationale, scope, or
|
|
29
|
+
exceptions.
|
|
30
|
+
|
|
31
|
+
Classify a complete explicit outcome as an implementation mistake, a
|
|
32
|
+
project/task decision, or a personal philosophy candidate. Only a complete
|
|
33
|
+
candidate may be handed to `ph philosophy refine --stdin` as the structured
|
|
34
|
+
`personalization-refinement.v1` input. The CLI reuses the append-only profile
|
|
35
|
+
store: a non-conflicting candidate may activate, while an overlap remains
|
|
36
|
+
pending for explicit retain, exception, supersede, or pending resolution.
|
|
37
|
+
|
|
38
|
+
Do not write files, profile state, workflow state, plans, issues, branches, or
|
|
39
|
+
agents during the conversation. Never persist raw prompts, responses, code,
|
|
40
|
+
credentials, or absolute paths. This procedure is host-neutral and does not
|
|
41
|
+
require OpenCode or a model action.
|