@holdyourvoice/hyv 3.3.5 → 3.4.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/Readme.md +12 -1
- package/dist/agents/catalog.js +118 -0
- package/dist/agents/catalog.test.js +60 -0
- package/dist/agents/emit.js +42 -0
- package/dist/agents/emit.test.js +64 -0
- package/dist/agents/index.js +4 -0
- package/dist/agents/load.js +184 -0
- package/dist/agents/load.test.js +149 -0
- package/dist/agents/types.js +18 -0
- package/dist/cli.js +110 -1
- package/dist/cli.test.js +76 -0
- package/dist/rebuild-task.test.js +1 -1
- package/dist/release-audit.test.js +5 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/hyv-analyze/SKILL.md +24 -0
- package/skills/hyv-analyze/agent.json +49 -0
- package/skills/hyv-analyze/agents/openai.yaml +4 -0
- package/skills/hyv-apply-hidden-text-policy/SKILL.md +24 -0
- package/skills/hyv-apply-hidden-text-policy/agent.json +49 -0
- package/skills/hyv-apply-hidden-text-policy/agents/openai.yaml +4 -0
- package/skills/hyv-apply-rebuild/SKILL.md +24 -0
- package/skills/hyv-apply-rebuild/agent.json +49 -0
- package/skills/hyv-apply-rebuild/agents/openai.yaml +4 -0
- package/skills/hyv-apply-rewrite/SKILL.md +24 -0
- package/skills/hyv-apply-rewrite/agent.json +48 -0
- package/skills/hyv-apply-rewrite/agents/openai.yaml +4 -0
- package/skills/hyv-batch-analyze/SKILL.md +24 -0
- package/skills/hyv-batch-analyze/agent.json +45 -0
- package/skills/hyv-batch-analyze/agents/openai.yaml +4 -0
- package/skills/hyv-fact-lint/SKILL.md +24 -0
- package/skills/hyv-fact-lint/agent.json +50 -0
- package/skills/hyv-fact-lint/agents/openai.yaml +4 -0
- package/skills/hyv-final-check/SKILL.md +24 -0
- package/skills/hyv-final-check/agent.json +43 -0
- package/skills/hyv-final-check/agents/openai.yaml +4 -0
- package/skills/hyv-hygiene/SKILL.md +24 -0
- package/skills/hyv-hygiene/agent.json +50 -0
- package/skills/hyv-hygiene/agents/openai.yaml +4 -0
- package/skills/hyv-inspect-hidden-text/SKILL.md +24 -0
- package/skills/hyv-inspect-hidden-text/agent.json +48 -0
- package/skills/hyv-inspect-hidden-text/agents/openai.yaml +4 -0
- package/skills/hyv-learning/SKILL.md +24 -0
- package/skills/hyv-learning/agent.json +48 -0
- package/skills/hyv-learning/agents/openai.yaml +4 -0
- package/skills/hyv-lifecycle/SKILL.md +24 -0
- package/skills/hyv-lifecycle/agent.json +48 -0
- package/skills/hyv-lifecycle/agents/openai.yaml +4 -0
- package/skills/hyv-logic-lint/SKILL.md +24 -0
- package/skills/hyv-logic-lint/agent.json +47 -0
- package/skills/hyv-logic-lint/agents/openai.yaml +4 -0
- package/skills/hyv-mcp/SKILL.md +24 -0
- package/skills/hyv-mcp/agent.json +43 -0
- package/skills/hyv-mcp/agents/openai.yaml +4 -0
- package/skills/hyv-patterns/SKILL.md +24 -0
- package/skills/hyv-patterns/agent.json +43 -0
- package/skills/hyv-patterns/agents/openai.yaml +4 -0
- package/skills/hyv-prepare-judgment/SKILL.md +24 -0
- package/skills/hyv-prepare-judgment/agent.json +52 -0
- package/skills/hyv-prepare-judgment/agents/openai.yaml +4 -0
- package/skills/hyv-prepare-rebuild/SKILL.md +24 -0
- package/skills/hyv-prepare-rebuild/agent.json +54 -0
- package/skills/hyv-prepare-rebuild/agents/openai.yaml +4 -0
- package/skills/hyv-prepare-rewrite/SKILL.md +24 -0
- package/skills/hyv-prepare-rewrite/agent.json +51 -0
- package/skills/hyv-prepare-rewrite/agents/openai.yaml +4 -0
- package/skills/hyv-profile/SKILL.md +24 -0
- package/skills/hyv-profile/agent.json +50 -0
- package/skills/hyv-profile/agents/openai.yaml +4 -0
- package/skills/hyv-rebuild-writer-request/SKILL.md +24 -0
- package/skills/hyv-rebuild-writer-request/agent.json +47 -0
- package/skills/hyv-rebuild-writer-request/agents/openai.yaml +4 -0
- package/skills/hyv-reduce-judgment/SKILL.md +24 -0
- package/skills/hyv-reduce-judgment/agent.json +45 -0
- package/skills/hyv-reduce-judgment/agents/openai.yaml +4 -0
- package/skills/hyv-rewrite-prompt/SKILL.md +24 -0
- package/skills/hyv-rewrite-prompt/agent.json +48 -0
- package/skills/hyv-rewrite-prompt/agents/openai.yaml +4 -0
- package/skills/hyv-verify/SKILL.md +24 -0
- package/skills/hyv-verify/agent.json +49 -0
- package/skills/hyv-verify/agents/openai.yaml +4 -0
- package/skills/hyv-verify-spec/SKILL.md +24 -0
- package/skills/hyv-verify-spec/agent.json +50 -0
- package/skills/hyv-verify-spec/agents/openai.yaml +4 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": "1.0.0",
|
|
3
|
+
"id": "hyv-apply-rebuild",
|
|
4
|
+
"title": "hyv-apply-rebuild",
|
|
5
|
+
"description": "Validate and evaluate a whole-document rebuild response against a prepared authorized rebuild task.",
|
|
6
|
+
"instruction_file": "SKILL.md",
|
|
7
|
+
"role": "Rebuild applier",
|
|
8
|
+
"workflow_phase": "edit",
|
|
9
|
+
"input": {
|
|
10
|
+
"required": [
|
|
11
|
+
"task.json",
|
|
12
|
+
"response.json",
|
|
13
|
+
"profile.json",
|
|
14
|
+
"capability stdin or file"
|
|
15
|
+
],
|
|
16
|
+
"optional": []
|
|
17
|
+
},
|
|
18
|
+
"output": {
|
|
19
|
+
"required": [
|
|
20
|
+
"applied rebuild candidate and gate report"
|
|
21
|
+
],
|
|
22
|
+
"optional": []
|
|
23
|
+
},
|
|
24
|
+
"evidence_requirements": [
|
|
25
|
+
"Report only the deterministic result the command returns; never invent a model or provider call that did not occur."
|
|
26
|
+
],
|
|
27
|
+
"permissions": [
|
|
28
|
+
"execute_commands",
|
|
29
|
+
"read_repository"
|
|
30
|
+
],
|
|
31
|
+
"stop_conditions": [
|
|
32
|
+
"Stop when required input is missing, when the command cannot run without changing existing behavior, or when a claimed capability is unavailable."
|
|
33
|
+
],
|
|
34
|
+
"tool_free_mode": {
|
|
35
|
+
"available": true,
|
|
36
|
+
"behavior": "Provide the decision, artifact template, and exact unavailable capability; never claim a tool action occurred.",
|
|
37
|
+
"unavailable_statuses": [
|
|
38
|
+
"NOT_AVAILABLE",
|
|
39
|
+
"NOT_CONFIGURED",
|
|
40
|
+
"NOT_RUN",
|
|
41
|
+
"STALE",
|
|
42
|
+
"ERROR"
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
"handoff_to": [
|
|
46
|
+
"hyv-verify",
|
|
47
|
+
"hyv-lifecycle"
|
|
48
|
+
]
|
|
49
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
interface:
|
|
2
|
+
display_name: "Hyv Apply Rebuild"
|
|
3
|
+
short_description: "Validate and evaluate a whole-document rebuild response against a prepared authorized rebuild task."
|
|
4
|
+
default_prompt: "Use $hyv-apply-rebuild to validate and evaluate a whole-document rebuild response against a prepared authorized rebuild task."
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: hyv-apply-rewrite
|
|
3
|
+
description: Validate and apply a model response to a prepared rewrite task, then run local gates.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# hyv-apply-rewrite
|
|
7
|
+
|
|
8
|
+
Validate and apply a model response to a prepared task, then run the local gates. It never calls a provider or stores source or candidate text. Exits 2 unless the result is accepted.
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
```text
|
|
13
|
+
hyv apply-rewrite task.json response.json profile.json
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Behavior
|
|
17
|
+
|
|
18
|
+
- Deterministic and local-first: this command never calls a provider and never sends drafts, samples, profiles, or telemetry to a service.
|
|
19
|
+
- Commands that write use an explicit output path. Confirm that path before running the command.
|
|
20
|
+
- This agent describes how to invoke the command and what it returns. It does not change command behavior or exit codes.
|
|
21
|
+
|
|
22
|
+
## Handoff
|
|
23
|
+
|
|
24
|
+
Run `hyv apply-rewrite` directly to execute the operation. Follow-on agents: hyv-verify, hyv-prepare-judgment.
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": "1.0.0",
|
|
3
|
+
"id": "hyv-apply-rewrite",
|
|
4
|
+
"title": "hyv-apply-rewrite",
|
|
5
|
+
"description": "Validate and apply a model response to a prepared rewrite task, then run local gates.",
|
|
6
|
+
"instruction_file": "SKILL.md",
|
|
7
|
+
"role": "Edit applier",
|
|
8
|
+
"workflow_phase": "edit",
|
|
9
|
+
"input": {
|
|
10
|
+
"required": [
|
|
11
|
+
"task.json",
|
|
12
|
+
"response.json",
|
|
13
|
+
"profile.json"
|
|
14
|
+
],
|
|
15
|
+
"optional": []
|
|
16
|
+
},
|
|
17
|
+
"output": {
|
|
18
|
+
"required": [
|
|
19
|
+
"applied candidate and gate report"
|
|
20
|
+
],
|
|
21
|
+
"optional": []
|
|
22
|
+
},
|
|
23
|
+
"evidence_requirements": [
|
|
24
|
+
"Report only the deterministic result the command returns; never invent a model or provider call that did not occur."
|
|
25
|
+
],
|
|
26
|
+
"permissions": [
|
|
27
|
+
"execute_commands",
|
|
28
|
+
"read_repository"
|
|
29
|
+
],
|
|
30
|
+
"stop_conditions": [
|
|
31
|
+
"Stop when required input is missing, when the command cannot run without changing existing behavior, or when a claimed capability is unavailable."
|
|
32
|
+
],
|
|
33
|
+
"tool_free_mode": {
|
|
34
|
+
"available": true,
|
|
35
|
+
"behavior": "Provide the decision, artifact template, and exact unavailable capability; never claim a tool action occurred.",
|
|
36
|
+
"unavailable_statuses": [
|
|
37
|
+
"NOT_AVAILABLE",
|
|
38
|
+
"NOT_CONFIGURED",
|
|
39
|
+
"NOT_RUN",
|
|
40
|
+
"STALE",
|
|
41
|
+
"ERROR"
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
"handoff_to": [
|
|
45
|
+
"hyv-verify",
|
|
46
|
+
"hyv-prepare-judgment"
|
|
47
|
+
]
|
|
48
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
interface:
|
|
2
|
+
display_name: "Hyv Apply Rewrite"
|
|
3
|
+
short_description: "Validate and apply a model response to a prepared rewrite task, then run local gates."
|
|
4
|
+
default_prompt: "Use $hyv-apply-rewrite to validate and apply a model response to a prepared rewrite task, then run local gates."
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: hyv-batch-analyze
|
|
3
|
+
description: Inspect two to one hundred drafts for repeated opening and closing sentences.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# hyv-batch-analyze
|
|
7
|
+
|
|
8
|
+
Inspect two to one hundred drafts for repeated opening and closing sentences. It returns advisory batch findings and does not store the drafts.
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
```text
|
|
13
|
+
hyv batch-analyze draft-a.md draft-b.md [draft-c.md]
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Behavior
|
|
17
|
+
|
|
18
|
+
- Deterministic and local-first: this command never calls a provider and never sends drafts, samples, profiles, or telemetry to a service.
|
|
19
|
+
- Commands that write use an explicit output path. Confirm that path before running the command.
|
|
20
|
+
- This agent describes how to invoke the command and what it returns. It does not change command behavior or exit codes.
|
|
21
|
+
|
|
22
|
+
## Handoff
|
|
23
|
+
|
|
24
|
+
Run `hyv batch-analyze` directly to execute the operation. Follow-on agents: hyv-analyze.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": "1.0.0",
|
|
3
|
+
"id": "hyv-batch-analyze",
|
|
4
|
+
"title": "hyv-batch-analyze",
|
|
5
|
+
"description": "Inspect two to one hundred drafts for repeated opening and closing sentences.",
|
|
6
|
+
"instruction_file": "SKILL.md",
|
|
7
|
+
"role": "Batch analyzer",
|
|
8
|
+
"workflow_phase": "analyze",
|
|
9
|
+
"input": {
|
|
10
|
+
"required": [
|
|
11
|
+
"two or more draft paths"
|
|
12
|
+
],
|
|
13
|
+
"optional": []
|
|
14
|
+
},
|
|
15
|
+
"output": {
|
|
16
|
+
"required": [
|
|
17
|
+
"advisory batch findings"
|
|
18
|
+
],
|
|
19
|
+
"optional": []
|
|
20
|
+
},
|
|
21
|
+
"evidence_requirements": [
|
|
22
|
+
"Report only the deterministic result the command returns; never invent a model or provider call that did not occur."
|
|
23
|
+
],
|
|
24
|
+
"permissions": [
|
|
25
|
+
"execute_commands",
|
|
26
|
+
"read_repository"
|
|
27
|
+
],
|
|
28
|
+
"stop_conditions": [
|
|
29
|
+
"Stop when required input is missing, when the command cannot run without changing existing behavior, or when a claimed capability is unavailable."
|
|
30
|
+
],
|
|
31
|
+
"tool_free_mode": {
|
|
32
|
+
"available": true,
|
|
33
|
+
"behavior": "Provide the decision, artifact template, and exact unavailable capability; never claim a tool action occurred.",
|
|
34
|
+
"unavailable_statuses": [
|
|
35
|
+
"NOT_AVAILABLE",
|
|
36
|
+
"NOT_CONFIGURED",
|
|
37
|
+
"NOT_RUN",
|
|
38
|
+
"STALE",
|
|
39
|
+
"ERROR"
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
"handoff_to": [
|
|
43
|
+
"hyv-analyze"
|
|
44
|
+
]
|
|
45
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: hyv-fact-lint
|
|
3
|
+
description: Lint factual claims in a draft against named sources.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# hyv-fact-lint
|
|
7
|
+
|
|
8
|
+
Lint factual claims in a draft against one or more named sources passed as --source=id:path. Optional --metadata provides fact metadata, --strict raises severity, and --human selects the human-readable report.
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
```text
|
|
13
|
+
hyv fact-lint <draft|-> --source=id:path [--source=id:path] [--metadata=metadata.json] [--strict] [--human]
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Behavior
|
|
17
|
+
|
|
18
|
+
- Deterministic and local-first: this command never calls a provider and never sends drafts, samples, profiles, or telemetry to a service.
|
|
19
|
+
- Commands that write use an explicit output path. Confirm that path before running the command.
|
|
20
|
+
- This agent describes how to invoke the command and what it returns. It does not change command behavior or exit codes.
|
|
21
|
+
|
|
22
|
+
## Handoff
|
|
23
|
+
|
|
24
|
+
Run `hyv fact-lint` directly to execute the operation. Follow-on agents: hyv-verify.
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": "1.0.0",
|
|
3
|
+
"id": "hyv-fact-lint",
|
|
4
|
+
"title": "hyv-fact-lint",
|
|
5
|
+
"description": "Lint factual claims in a draft against named sources.",
|
|
6
|
+
"instruction_file": "SKILL.md",
|
|
7
|
+
"role": "Fact linter",
|
|
8
|
+
"workflow_phase": "verify",
|
|
9
|
+
"input": {
|
|
10
|
+
"required": [
|
|
11
|
+
"draft path",
|
|
12
|
+
"one or more --source=id:path"
|
|
13
|
+
],
|
|
14
|
+
"optional": [
|
|
15
|
+
"--metadata=metadata.json",
|
|
16
|
+
"--strict",
|
|
17
|
+
"--human"
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
"output": {
|
|
21
|
+
"required": [
|
|
22
|
+
"fact lint report"
|
|
23
|
+
],
|
|
24
|
+
"optional": []
|
|
25
|
+
},
|
|
26
|
+
"evidence_requirements": [
|
|
27
|
+
"Report only the deterministic result the command returns; never invent a model or provider call that did not occur."
|
|
28
|
+
],
|
|
29
|
+
"permissions": [
|
|
30
|
+
"execute_commands",
|
|
31
|
+
"read_repository"
|
|
32
|
+
],
|
|
33
|
+
"stop_conditions": [
|
|
34
|
+
"Stop when required input is missing, when the command cannot run without changing existing behavior, or when a claimed capability is unavailable."
|
|
35
|
+
],
|
|
36
|
+
"tool_free_mode": {
|
|
37
|
+
"available": true,
|
|
38
|
+
"behavior": "Provide the decision, artifact template, and exact unavailable capability; never claim a tool action occurred.",
|
|
39
|
+
"unavailable_statuses": [
|
|
40
|
+
"NOT_AVAILABLE",
|
|
41
|
+
"NOT_CONFIGURED",
|
|
42
|
+
"NOT_RUN",
|
|
43
|
+
"STALE",
|
|
44
|
+
"ERROR"
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
"handoff_to": [
|
|
48
|
+
"hyv-verify"
|
|
49
|
+
]
|
|
50
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: hyv-final-check
|
|
3
|
+
description: Gate exact user-facing text from any model, tool, or interface.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# hyv-final-check
|
|
7
|
+
|
|
8
|
+
Gate exact final text from every producer. Returns output only when clean or after removing a leading byte-order mark; unresolved hidden characters withhold output. It does not require or select a VoiceDNA profile. Run it immediately before display, copy, export, posting, or returning an API response.
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
```text
|
|
13
|
+
hyv final-check <path|->
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Behavior
|
|
17
|
+
|
|
18
|
+
- Deterministic and local-first: this command never calls a provider and never sends drafts, samples, profiles, or telemetry to a service.
|
|
19
|
+
- Commands that write use an explicit output path. Confirm that path before running the command.
|
|
20
|
+
- This agent describes how to invoke the command and what it returns. It does not change command behavior or exit codes.
|
|
21
|
+
|
|
22
|
+
## Handoff
|
|
23
|
+
|
|
24
|
+
Run `hyv final-check` directly to execute the operation.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": "1.0.0",
|
|
3
|
+
"id": "hyv-final-check",
|
|
4
|
+
"title": "hyv-final-check",
|
|
5
|
+
"description": "Gate exact user-facing text from any model, tool, or interface.",
|
|
6
|
+
"instruction_file": "SKILL.md",
|
|
7
|
+
"role": "Output gate",
|
|
8
|
+
"workflow_phase": "verify",
|
|
9
|
+
"input": {
|
|
10
|
+
"required": [
|
|
11
|
+
"text path or -"
|
|
12
|
+
],
|
|
13
|
+
"optional": []
|
|
14
|
+
},
|
|
15
|
+
"output": {
|
|
16
|
+
"required": [
|
|
17
|
+
"accepted output or withheld report"
|
|
18
|
+
],
|
|
19
|
+
"optional": []
|
|
20
|
+
},
|
|
21
|
+
"evidence_requirements": [
|
|
22
|
+
"Report only the deterministic result the command returns; never invent a model or provider call that did not occur."
|
|
23
|
+
],
|
|
24
|
+
"permissions": [
|
|
25
|
+
"execute_commands",
|
|
26
|
+
"read_repository"
|
|
27
|
+
],
|
|
28
|
+
"stop_conditions": [
|
|
29
|
+
"Stop when required input is missing, when the command cannot run without changing existing behavior, or when a claimed capability is unavailable."
|
|
30
|
+
],
|
|
31
|
+
"tool_free_mode": {
|
|
32
|
+
"available": true,
|
|
33
|
+
"behavior": "Provide the decision, artifact template, and exact unavailable capability; never claim a tool action occurred.",
|
|
34
|
+
"unavailable_statuses": [
|
|
35
|
+
"NOT_AVAILABLE",
|
|
36
|
+
"NOT_CONFIGURED",
|
|
37
|
+
"NOT_RUN",
|
|
38
|
+
"STALE",
|
|
39
|
+
"ERROR"
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
"handoff_to": []
|
|
43
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: hyv-hygiene
|
|
3
|
+
description: Inspect text for zero-width characters, bidirectional controls, tag characters, and unusual spaces.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# hyv-hygiene
|
|
7
|
+
|
|
8
|
+
Inspect text for zero-width characters, bidirectional controls, Unicode tag characters, and unusual spaces without requiring a voice profile. Inspection is read-only. --fix writes a new cleaned path (never overwriting the input or an existing output), reports every changed offset, and preserves controls it is not authorized to remove.
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
```text
|
|
13
|
+
hyv hygiene draft.md [--fix] [--output=cleaned.md]
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Behavior
|
|
17
|
+
|
|
18
|
+
- Deterministic and local-first: this command never calls a provider and never sends drafts, samples, profiles, or telemetry to a service.
|
|
19
|
+
- Commands that write use an explicit output path. Confirm that path before running the command.
|
|
20
|
+
- This agent describes how to invoke the command and what it returns. It does not change command behavior or exit codes.
|
|
21
|
+
|
|
22
|
+
## Handoff
|
|
23
|
+
|
|
24
|
+
Run `hyv hygiene` directly to execute the operation. Follow-on agents: hyv-final-check.
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": "1.0.0",
|
|
3
|
+
"id": "hyv-hygiene",
|
|
4
|
+
"title": "hyv-hygiene",
|
|
5
|
+
"description": "Inspect text for zero-width characters, bidirectional controls, tag characters, and unusual spaces.",
|
|
6
|
+
"instruction_file": "SKILL.md",
|
|
7
|
+
"role": "Hygiene inspector",
|
|
8
|
+
"workflow_phase": "verify",
|
|
9
|
+
"input": {
|
|
10
|
+
"required": [
|
|
11
|
+
"draft path"
|
|
12
|
+
],
|
|
13
|
+
"optional": [
|
|
14
|
+
"--fix",
|
|
15
|
+
"--output=cleaned.md"
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
"output": {
|
|
19
|
+
"required": [
|
|
20
|
+
"hygiene report",
|
|
21
|
+
"optional cleaned file"
|
|
22
|
+
],
|
|
23
|
+
"optional": []
|
|
24
|
+
},
|
|
25
|
+
"evidence_requirements": [
|
|
26
|
+
"Report only the deterministic result the command returns; never invent a model or provider call that did not occur."
|
|
27
|
+
],
|
|
28
|
+
"permissions": [
|
|
29
|
+
"execute_commands",
|
|
30
|
+
"read_repository",
|
|
31
|
+
"write_repository"
|
|
32
|
+
],
|
|
33
|
+
"stop_conditions": [
|
|
34
|
+
"Stop when required input is missing, when the command cannot run without changing existing behavior, or when a claimed capability is unavailable."
|
|
35
|
+
],
|
|
36
|
+
"tool_free_mode": {
|
|
37
|
+
"available": true,
|
|
38
|
+
"behavior": "Provide the decision, artifact template, and exact unavailable capability; never claim a tool action occurred.",
|
|
39
|
+
"unavailable_statuses": [
|
|
40
|
+
"NOT_AVAILABLE",
|
|
41
|
+
"NOT_CONFIGURED",
|
|
42
|
+
"NOT_RUN",
|
|
43
|
+
"STALE",
|
|
44
|
+
"ERROR"
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
"handoff_to": [
|
|
48
|
+
"hyv-final-check"
|
|
49
|
+
]
|
|
50
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
interface:
|
|
2
|
+
display_name: "Hyv Hygiene"
|
|
3
|
+
short_description: "Inspect text for zero-width characters, bidirectional controls, tag characters, and unusual spaces."
|
|
4
|
+
default_prompt: "Use $hyv-hygiene to inspect text for zero-width characters, bidirectional controls, tag characters, and unusual spaces."
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: hyv-inspect-hidden-text
|
|
3
|
+
description: Inspect hidden text controls with a non-mutating policy report.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# hyv-inspect-hidden-text
|
|
7
|
+
|
|
8
|
+
Inspect hidden text controls with a non-mutating policy report. Findings are not watermark verdicts. An optional policy.json restricts which controls are reported.
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
```text
|
|
13
|
+
hyv inspect-hidden-text draft.md [policy.json]
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Behavior
|
|
17
|
+
|
|
18
|
+
- Deterministic and local-first: this command never calls a provider and never sends drafts, samples, profiles, or telemetry to a service.
|
|
19
|
+
- Commands that write use an explicit output path. Confirm that path before running the command.
|
|
20
|
+
- This agent describes how to invoke the command and what it returns. It does not change command behavior or exit codes.
|
|
21
|
+
|
|
22
|
+
## Handoff
|
|
23
|
+
|
|
24
|
+
Run `hyv inspect-hidden-text` directly to execute the operation. Follow-on agents: hyv-apply-hidden-text-policy, hyv-final-check.
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": "1.0.0",
|
|
3
|
+
"id": "hyv-inspect-hidden-text",
|
|
4
|
+
"title": "hyv-inspect-hidden-text",
|
|
5
|
+
"description": "Inspect hidden text controls with a non-mutating policy report.",
|
|
6
|
+
"instruction_file": "SKILL.md",
|
|
7
|
+
"role": "Hidden-text inspector",
|
|
8
|
+
"workflow_phase": "verify",
|
|
9
|
+
"input": {
|
|
10
|
+
"required": [
|
|
11
|
+
"draft path"
|
|
12
|
+
],
|
|
13
|
+
"optional": [
|
|
14
|
+
"policy.json"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
"output": {
|
|
18
|
+
"required": [
|
|
19
|
+
"hidden-text inspection report"
|
|
20
|
+
],
|
|
21
|
+
"optional": []
|
|
22
|
+
},
|
|
23
|
+
"evidence_requirements": [
|
|
24
|
+
"Report only the deterministic result the command returns; never invent a model or provider call that did not occur."
|
|
25
|
+
],
|
|
26
|
+
"permissions": [
|
|
27
|
+
"execute_commands",
|
|
28
|
+
"read_repository"
|
|
29
|
+
],
|
|
30
|
+
"stop_conditions": [
|
|
31
|
+
"Stop when required input is missing, when the command cannot run without changing existing behavior, or when a claimed capability is unavailable."
|
|
32
|
+
],
|
|
33
|
+
"tool_free_mode": {
|
|
34
|
+
"available": true,
|
|
35
|
+
"behavior": "Provide the decision, artifact template, and exact unavailable capability; never claim a tool action occurred.",
|
|
36
|
+
"unavailable_statuses": [
|
|
37
|
+
"NOT_AVAILABLE",
|
|
38
|
+
"NOT_CONFIGURED",
|
|
39
|
+
"NOT_RUN",
|
|
40
|
+
"STALE",
|
|
41
|
+
"ERROR"
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
"handoff_to": [
|
|
45
|
+
"hyv-apply-hidden-text-policy",
|
|
46
|
+
"hyv-final-check"
|
|
47
|
+
]
|
|
48
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: hyv-learning
|
|
3
|
+
description: Inspect or explicitly mutate text-free local learning state for a profile.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# hyv-learning
|
|
7
|
+
|
|
8
|
+
Inspect or explicitly mutate text-free local learning for a profile. show composes active preferences; inspect returns bounded event metadata; add/record write an explicit instruction with authority and provenance; ratify and supersede require Profile v3 plus an event id; migrate moves v2 history into v3; clear removes the identity state. Accepted-candidate learning requires a separately approved lifecycle transition.
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
```text
|
|
13
|
+
hyv learning <show|inspect|add|record|record-approved|ratify|supersede|migrate|clear> profile.json [value] [options]
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Behavior
|
|
17
|
+
|
|
18
|
+
- Deterministic and local-first: this command never calls a provider and never sends drafts, samples, profiles, or telemetry to a service.
|
|
19
|
+
- Commands that write use an explicit output path. Confirm that path before running the command.
|
|
20
|
+
- This agent describes how to invoke the command and what it returns. It does not change command behavior or exit codes.
|
|
21
|
+
|
|
22
|
+
## Handoff
|
|
23
|
+
|
|
24
|
+
Run `hyv learning` directly to execute the operation.
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": "1.0.0",
|
|
3
|
+
"id": "hyv-learning",
|
|
4
|
+
"title": "hyv-learning",
|
|
5
|
+
"description": "Inspect or explicitly mutate text-free local learning state for a profile.",
|
|
6
|
+
"instruction_file": "SKILL.md",
|
|
7
|
+
"role": "Learning manager",
|
|
8
|
+
"workflow_phase": "learn",
|
|
9
|
+
"input": {
|
|
10
|
+
"required": [
|
|
11
|
+
"an action and profile path, or record-approved lifecycle inputs"
|
|
12
|
+
],
|
|
13
|
+
"optional": [
|
|
14
|
+
"instruction, event id, or source/target as needed",
|
|
15
|
+
"--mutation-id, --authority, --provenance, --weight, --compatibility",
|
|
16
|
+
"capability stdin or file for record-approved"
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
"output": {
|
|
20
|
+
"required": [
|
|
21
|
+
"learning mutation receipt or composition"
|
|
22
|
+
],
|
|
23
|
+
"optional": []
|
|
24
|
+
},
|
|
25
|
+
"evidence_requirements": [
|
|
26
|
+
"Report only the deterministic result the command returns; never invent a model or provider call that did not occur."
|
|
27
|
+
],
|
|
28
|
+
"permissions": [
|
|
29
|
+
"execute_commands",
|
|
30
|
+
"read_repository",
|
|
31
|
+
"write_repository"
|
|
32
|
+
],
|
|
33
|
+
"stop_conditions": [
|
|
34
|
+
"Stop when required input is missing, when the command cannot run without changing existing behavior, or when a claimed capability is unavailable."
|
|
35
|
+
],
|
|
36
|
+
"tool_free_mode": {
|
|
37
|
+
"available": true,
|
|
38
|
+
"behavior": "Provide the decision, artifact template, and exact unavailable capability; never claim a tool action occurred.",
|
|
39
|
+
"unavailable_statuses": [
|
|
40
|
+
"NOT_AVAILABLE",
|
|
41
|
+
"NOT_CONFIGURED",
|
|
42
|
+
"NOT_RUN",
|
|
43
|
+
"STALE",
|
|
44
|
+
"ERROR"
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
"handoff_to": []
|
|
48
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: hyv-lifecycle
|
|
3
|
+
description: Advance and inspect the rewrite lifecycle: prepare-semantic, submit-verdict, inspect, validate-final-approval, finalize.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# hyv-lifecycle
|
|
7
|
+
|
|
8
|
+
Advance and inspect the rewrite lifecycle. prepare-semantic builds an initial immutable artifact; submit-verdict records one verdict; inspect reads an artifact without exposing source or candidate hashes; validate-final-approval checks a capability against the trust context; finalize records an approved or rejected decision. Artifacts are immutable and exact replay is idempotent.
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
```text
|
|
13
|
+
hyv lifecycle <prepare-semantic|submit-verdict|inspect|validate-final-approval|finalize> ...
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Behavior
|
|
17
|
+
|
|
18
|
+
- Deterministic and local-first: this command never calls a provider and never sends drafts, samples, profiles, or telemetry to a service.
|
|
19
|
+
- Commands that write use an explicit output path. Confirm that path before running the command.
|
|
20
|
+
- This agent describes how to invoke the command and what it returns. It does not change command behavior or exit codes.
|
|
21
|
+
|
|
22
|
+
## Handoff
|
|
23
|
+
|
|
24
|
+
Run `hyv lifecycle` directly to execute the operation. Follow-on agents: hyv-learning.
|