@holdyourvoice/hyv 3.3.4 → 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.
Files changed (98) hide show
  1. package/Readme.md +85 -365
  2. package/dist/agents/catalog.js +118 -0
  3. package/dist/agents/catalog.test.js +60 -0
  4. package/dist/agents/emit.js +42 -0
  5. package/dist/agents/emit.test.js +64 -0
  6. package/dist/agents/index.js +4 -0
  7. package/dist/agents/load.js +184 -0
  8. package/dist/agents/load.test.js +149 -0
  9. package/dist/agents/types.js +18 -0
  10. package/dist/approval-capability.js +1 -4
  11. package/dist/approval-context.js +1 -1
  12. package/dist/cli.js +111 -2
  13. package/dist/cli.test.js +76 -0
  14. package/dist/copy-spec.js +1 -6
  15. package/dist/editorial-packs.js +1 -3
  16. package/dist/hidden-text.js +2 -12
  17. package/dist/internal.js +30 -0
  18. package/dist/judgment-task.js +1 -13
  19. package/dist/lifecycle-adapter.js +2 -1
  20. package/dist/mcp-tools.js +2 -1
  21. package/dist/pipeline.js +4 -12
  22. package/dist/profile.js +1 -3
  23. package/dist/rebuild-task.js +1 -16
  24. package/dist/rebuild-task.test.js +1 -1
  25. package/dist/release-audit.test.js +5 -1
  26. package/dist/rewrite-task.js +1 -5
  27. package/dist/semantic-review.js +1 -2
  28. package/dist/version.js +1 -1
  29. package/package.json +3 -3
  30. package/skills/hyv-analyze/SKILL.md +24 -0
  31. package/skills/hyv-analyze/agent.json +49 -0
  32. package/skills/hyv-analyze/agents/openai.yaml +4 -0
  33. package/skills/hyv-apply-hidden-text-policy/SKILL.md +24 -0
  34. package/skills/hyv-apply-hidden-text-policy/agent.json +49 -0
  35. package/skills/hyv-apply-hidden-text-policy/agents/openai.yaml +4 -0
  36. package/skills/hyv-apply-rebuild/SKILL.md +24 -0
  37. package/skills/hyv-apply-rebuild/agent.json +49 -0
  38. package/skills/hyv-apply-rebuild/agents/openai.yaml +4 -0
  39. package/skills/hyv-apply-rewrite/SKILL.md +24 -0
  40. package/skills/hyv-apply-rewrite/agent.json +48 -0
  41. package/skills/hyv-apply-rewrite/agents/openai.yaml +4 -0
  42. package/skills/hyv-batch-analyze/SKILL.md +24 -0
  43. package/skills/hyv-batch-analyze/agent.json +45 -0
  44. package/skills/hyv-batch-analyze/agents/openai.yaml +4 -0
  45. package/skills/hyv-fact-lint/SKILL.md +24 -0
  46. package/skills/hyv-fact-lint/agent.json +50 -0
  47. package/skills/hyv-fact-lint/agents/openai.yaml +4 -0
  48. package/skills/hyv-final-check/SKILL.md +24 -0
  49. package/skills/hyv-final-check/agent.json +43 -0
  50. package/skills/hyv-final-check/agents/openai.yaml +4 -0
  51. package/skills/hyv-hygiene/SKILL.md +24 -0
  52. package/skills/hyv-hygiene/agent.json +50 -0
  53. package/skills/hyv-hygiene/agents/openai.yaml +4 -0
  54. package/skills/hyv-inspect-hidden-text/SKILL.md +24 -0
  55. package/skills/hyv-inspect-hidden-text/agent.json +48 -0
  56. package/skills/hyv-inspect-hidden-text/agents/openai.yaml +4 -0
  57. package/skills/hyv-learning/SKILL.md +24 -0
  58. package/skills/hyv-learning/agent.json +48 -0
  59. package/skills/hyv-learning/agents/openai.yaml +4 -0
  60. package/skills/hyv-lifecycle/SKILL.md +24 -0
  61. package/skills/hyv-lifecycle/agent.json +48 -0
  62. package/skills/hyv-lifecycle/agents/openai.yaml +4 -0
  63. package/skills/hyv-logic-lint/SKILL.md +24 -0
  64. package/skills/hyv-logic-lint/agent.json +47 -0
  65. package/skills/hyv-logic-lint/agents/openai.yaml +4 -0
  66. package/skills/hyv-mcp/SKILL.md +24 -0
  67. package/skills/hyv-mcp/agent.json +43 -0
  68. package/skills/hyv-mcp/agents/openai.yaml +4 -0
  69. package/skills/hyv-patterns/SKILL.md +24 -0
  70. package/skills/hyv-patterns/agent.json +43 -0
  71. package/skills/hyv-patterns/agents/openai.yaml +4 -0
  72. package/skills/hyv-prepare-judgment/SKILL.md +24 -0
  73. package/skills/hyv-prepare-judgment/agent.json +52 -0
  74. package/skills/hyv-prepare-judgment/agents/openai.yaml +4 -0
  75. package/skills/hyv-prepare-rebuild/SKILL.md +24 -0
  76. package/skills/hyv-prepare-rebuild/agent.json +54 -0
  77. package/skills/hyv-prepare-rebuild/agents/openai.yaml +4 -0
  78. package/skills/hyv-prepare-rewrite/SKILL.md +24 -0
  79. package/skills/hyv-prepare-rewrite/agent.json +51 -0
  80. package/skills/hyv-prepare-rewrite/agents/openai.yaml +4 -0
  81. package/skills/hyv-profile/SKILL.md +24 -0
  82. package/skills/hyv-profile/agent.json +50 -0
  83. package/skills/hyv-profile/agents/openai.yaml +4 -0
  84. package/skills/hyv-rebuild-writer-request/SKILL.md +24 -0
  85. package/skills/hyv-rebuild-writer-request/agent.json +47 -0
  86. package/skills/hyv-rebuild-writer-request/agents/openai.yaml +4 -0
  87. package/skills/hyv-reduce-judgment/SKILL.md +24 -0
  88. package/skills/hyv-reduce-judgment/agent.json +45 -0
  89. package/skills/hyv-reduce-judgment/agents/openai.yaml +4 -0
  90. package/skills/hyv-rewrite-prompt/SKILL.md +24 -0
  91. package/skills/hyv-rewrite-prompt/agent.json +48 -0
  92. package/skills/hyv-rewrite-prompt/agents/openai.yaml +4 -0
  93. package/skills/hyv-verify/SKILL.md +24 -0
  94. package/skills/hyv-verify/agent.json +49 -0
  95. package/skills/hyv-verify/agents/openai.yaml +4 -0
  96. package/skills/hyv-verify-spec/SKILL.md +24 -0
  97. package/skills/hyv-verify-spec/agent.json +50 -0
  98. package/skills/hyv-verify-spec/agents/openai.yaml +4 -0
@@ -0,0 +1,49 @@
1
+ {
2
+ "schema_version": "1.0.0",
3
+ "id": "hyv-analyze",
4
+ "title": "hyv-analyze",
5
+ "description": "Run separate VoiceDNA and AI Editor checks plus a non-scoring Unicode hygiene inspection against a draft.",
6
+ "instruction_file": "SKILL.md",
7
+ "role": "Analyzer",
8
+ "workflow_phase": "analyze",
9
+ "input": {
10
+ "required": [
11
+ "draft path",
12
+ "profile path"
13
+ ],
14
+ "optional": [
15
+ "writing-brief.json"
16
+ ]
17
+ },
18
+ "output": {
19
+ "required": [
20
+ "combined analysis 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-rewrite-prompt",
47
+ "hyv-prepare-rewrite"
48
+ ]
49
+ }
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: "Hyv Analyze"
3
+ short_description: "Run separate VoiceDNA and AI Editor checks plus a non-scoring Unicode hygiene inspection against a draft."
4
+ default_prompt: "Use $hyv-analyze to run separate voicedna and ai editor checks plus a non-scoring unicode hygiene inspection against a draft."
@@ -0,0 +1,24 @@
1
+ ---
2
+ name: hyv-apply-hidden-text-policy
3
+ description: Apply only explicitly approved minimal hidden-text removals and return hashes, exact changes, and remaining findings.
4
+ ---
5
+
6
+ # hyv-apply-hidden-text-policy
7
+
8
+ Apply only explicitly approved minimal hidden-text removals and return hashes, exact changes, and remaining review findings. The output must differ from the input path. This never invents removals beyond the approved policy.
9
+
10
+ ## Usage
11
+
12
+ ```text
13
+ hyv apply-hidden-text-policy draft.md policy.json output.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 apply-hidden-text-policy` directly to execute the operation. Follow-on agents: hyv-final-check.
@@ -0,0 +1,49 @@
1
+ {
2
+ "schema_version": "1.0.0",
3
+ "id": "hyv-apply-hidden-text-policy",
4
+ "title": "hyv-apply-hidden-text-policy",
5
+ "description": "Apply only explicitly approved minimal hidden-text removals and return hashes, exact changes, and remaining findings.",
6
+ "instruction_file": "SKILL.md",
7
+ "role": "Hidden-text editor",
8
+ "workflow_phase": "edit",
9
+ "input": {
10
+ "required": [
11
+ "draft path",
12
+ "policy path",
13
+ "output path"
14
+ ],
15
+ "optional": []
16
+ },
17
+ "output": {
18
+ "required": [
19
+ "written output.md",
20
+ "change 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
+ "write_repository"
31
+ ],
32
+ "stop_conditions": [
33
+ "Stop when required input is missing, when the command cannot run without changing existing behavior, or when a claimed capability is unavailable."
34
+ ],
35
+ "tool_free_mode": {
36
+ "available": true,
37
+ "behavior": "Provide the decision, artifact template, and exact unavailable capability; never claim a tool action occurred.",
38
+ "unavailable_statuses": [
39
+ "NOT_AVAILABLE",
40
+ "NOT_CONFIGURED",
41
+ "NOT_RUN",
42
+ "STALE",
43
+ "ERROR"
44
+ ]
45
+ },
46
+ "handoff_to": [
47
+ "hyv-final-check"
48
+ ]
49
+ }
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: "Hyv Apply Hidden Text Policy"
3
+ short_description: "Apply only explicitly approved minimal hidden-text removals and return hashes, exact changes, and remaining findings."
4
+ default_prompt: "Use $hyv-apply-hidden-text-policy to apply only explicitly approved minimal hidden-text removals and return hashes, exact changes, and remaining findings."
@@ -0,0 +1,24 @@
1
+ ---
2
+ name: hyv-apply-rebuild
3
+ description: Validate and evaluate a whole-document rebuild response against a prepared authorized rebuild task.
4
+ ---
5
+
6
+ # hyv-apply-rebuild
7
+
8
+ Validate and evaluate a whole-document rebuild response against a prepared authorized rebuild task. Capability input requires host-guaranteed sensitive-input redaction. It never calls a provider.
9
+
10
+ ## Usage
11
+
12
+ ```text
13
+ hyv apply-rebuild task.json response.json profile.json (--capability-stdin|--capability-file 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 apply-rebuild` directly to execute the operation. Follow-on agents: hyv-verify, hyv-lifecycle.
@@ -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,4 @@
1
+ interface:
2
+ display_name: "Hyv Batch Analyze"
3
+ short_description: "Inspect two to one hundred drafts for repeated opening and closing sentences."
4
+ default_prompt: "Use $hyv-batch-analyze to inspect two to one hundred drafts for repeated opening and closing sentences."
@@ -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,4 @@
1
+ interface:
2
+ display_name: "Hyv Fact Lint"
3
+ short_description: "Lint factual claims in a draft against named sources."
4
+ default_prompt: "Use $hyv-fact-lint to lint factual claims in a draft against named sources."
@@ -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,4 @@
1
+ interface:
2
+ display_name: "Hyv Final Check"
3
+ short_description: "Gate exact user-facing text from any model, tool, or interface."
4
+ default_prompt: "Use $hyv-final-check to gate exact user-facing text from any model, tool, or interface."
@@ -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.