@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.
Files changed (84) hide show
  1. package/Readme.md +12 -1
  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/cli.js +110 -1
  11. package/dist/cli.test.js +76 -0
  12. package/dist/rebuild-task.test.js +1 -1
  13. package/dist/release-audit.test.js +5 -1
  14. package/dist/version.js +1 -1
  15. package/package.json +3 -3
  16. package/skills/hyv-analyze/SKILL.md +24 -0
  17. package/skills/hyv-analyze/agent.json +49 -0
  18. package/skills/hyv-analyze/agents/openai.yaml +4 -0
  19. package/skills/hyv-apply-hidden-text-policy/SKILL.md +24 -0
  20. package/skills/hyv-apply-hidden-text-policy/agent.json +49 -0
  21. package/skills/hyv-apply-hidden-text-policy/agents/openai.yaml +4 -0
  22. package/skills/hyv-apply-rebuild/SKILL.md +24 -0
  23. package/skills/hyv-apply-rebuild/agent.json +49 -0
  24. package/skills/hyv-apply-rebuild/agents/openai.yaml +4 -0
  25. package/skills/hyv-apply-rewrite/SKILL.md +24 -0
  26. package/skills/hyv-apply-rewrite/agent.json +48 -0
  27. package/skills/hyv-apply-rewrite/agents/openai.yaml +4 -0
  28. package/skills/hyv-batch-analyze/SKILL.md +24 -0
  29. package/skills/hyv-batch-analyze/agent.json +45 -0
  30. package/skills/hyv-batch-analyze/agents/openai.yaml +4 -0
  31. package/skills/hyv-fact-lint/SKILL.md +24 -0
  32. package/skills/hyv-fact-lint/agent.json +50 -0
  33. package/skills/hyv-fact-lint/agents/openai.yaml +4 -0
  34. package/skills/hyv-final-check/SKILL.md +24 -0
  35. package/skills/hyv-final-check/agent.json +43 -0
  36. package/skills/hyv-final-check/agents/openai.yaml +4 -0
  37. package/skills/hyv-hygiene/SKILL.md +24 -0
  38. package/skills/hyv-hygiene/agent.json +50 -0
  39. package/skills/hyv-hygiene/agents/openai.yaml +4 -0
  40. package/skills/hyv-inspect-hidden-text/SKILL.md +24 -0
  41. package/skills/hyv-inspect-hidden-text/agent.json +48 -0
  42. package/skills/hyv-inspect-hidden-text/agents/openai.yaml +4 -0
  43. package/skills/hyv-learning/SKILL.md +24 -0
  44. package/skills/hyv-learning/agent.json +48 -0
  45. package/skills/hyv-learning/agents/openai.yaml +4 -0
  46. package/skills/hyv-lifecycle/SKILL.md +24 -0
  47. package/skills/hyv-lifecycle/agent.json +48 -0
  48. package/skills/hyv-lifecycle/agents/openai.yaml +4 -0
  49. package/skills/hyv-logic-lint/SKILL.md +24 -0
  50. package/skills/hyv-logic-lint/agent.json +47 -0
  51. package/skills/hyv-logic-lint/agents/openai.yaml +4 -0
  52. package/skills/hyv-mcp/SKILL.md +24 -0
  53. package/skills/hyv-mcp/agent.json +43 -0
  54. package/skills/hyv-mcp/agents/openai.yaml +4 -0
  55. package/skills/hyv-patterns/SKILL.md +24 -0
  56. package/skills/hyv-patterns/agent.json +43 -0
  57. package/skills/hyv-patterns/agents/openai.yaml +4 -0
  58. package/skills/hyv-prepare-judgment/SKILL.md +24 -0
  59. package/skills/hyv-prepare-judgment/agent.json +52 -0
  60. package/skills/hyv-prepare-judgment/agents/openai.yaml +4 -0
  61. package/skills/hyv-prepare-rebuild/SKILL.md +24 -0
  62. package/skills/hyv-prepare-rebuild/agent.json +54 -0
  63. package/skills/hyv-prepare-rebuild/agents/openai.yaml +4 -0
  64. package/skills/hyv-prepare-rewrite/SKILL.md +24 -0
  65. package/skills/hyv-prepare-rewrite/agent.json +51 -0
  66. package/skills/hyv-prepare-rewrite/agents/openai.yaml +4 -0
  67. package/skills/hyv-profile/SKILL.md +24 -0
  68. package/skills/hyv-profile/agent.json +50 -0
  69. package/skills/hyv-profile/agents/openai.yaml +4 -0
  70. package/skills/hyv-rebuild-writer-request/SKILL.md +24 -0
  71. package/skills/hyv-rebuild-writer-request/agent.json +47 -0
  72. package/skills/hyv-rebuild-writer-request/agents/openai.yaml +4 -0
  73. package/skills/hyv-reduce-judgment/SKILL.md +24 -0
  74. package/skills/hyv-reduce-judgment/agent.json +45 -0
  75. package/skills/hyv-reduce-judgment/agents/openai.yaml +4 -0
  76. package/skills/hyv-rewrite-prompt/SKILL.md +24 -0
  77. package/skills/hyv-rewrite-prompt/agent.json +48 -0
  78. package/skills/hyv-rewrite-prompt/agents/openai.yaml +4 -0
  79. package/skills/hyv-verify/SKILL.md +24 -0
  80. package/skills/hyv-verify/agent.json +49 -0
  81. package/skills/hyv-verify/agents/openai.yaml +4 -0
  82. package/skills/hyv-verify-spec/SKILL.md +24 -0
  83. package/skills/hyv-verify-spec/agent.json +50 -0
  84. package/skills/hyv-verify-spec/agents/openai.yaml +4 -0
@@ -0,0 +1,48 @@
1
+ {
2
+ "schema_version": "1.0.0",
3
+ "id": "hyv-lifecycle",
4
+ "title": "hyv-lifecycle",
5
+ "description": "Advance and inspect the rewrite lifecycle: prepare-semantic, submit-verdict, inspect, validate-final-approval, finalize.",
6
+ "instruction_file": "SKILL.md",
7
+ "role": "Lifecycle manager",
8
+ "workflow_phase": "review",
9
+ "input": {
10
+ "required": [
11
+ "a lifecycle subcommand and its arguments"
12
+ ],
13
+ "optional": [
14
+ "capability stdin or file where required"
15
+ ]
16
+ },
17
+ "output": {
18
+ "required": [
19
+ "lifecycle artifact or decision result"
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
+ "write_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-learning"
47
+ ]
48
+ }
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: "Hyv Lifecycle"
3
+ short_description: "Advance and inspect the rewrite lifecycle: prepare-semantic, submit-verdict, inspect, validate-final-approval, finalize."
4
+ default_prompt: "Use $hyv-lifecycle to advance and inspect the rewrite lifecycle: prepare-semantic, submit-verdict, inspect, validate-final-approval, finalize."
@@ -0,0 +1,24 @@
1
+ ---
2
+ name: hyv-logic-lint
3
+ description: Run the deterministic document-coherence gate for topic drift, unanchored inference, and internal contradictions.
4
+ ---
5
+
6
+ # hyv-logic-lint
7
+
8
+ Run the deterministic document-coherence gate. It detects configured topic drift, unanchored inference, and direct internal contradictions; it does not verify facts or approve publication.
9
+
10
+ ## Usage
11
+
12
+ ```text
13
+ hyv logic-lint <draft|-> [writing-brief.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 logic-lint` directly to execute the operation. Follow-on agents: hyv-verify.
@@ -0,0 +1,47 @@
1
+ {
2
+ "schema_version": "1.0.0",
3
+ "id": "hyv-logic-lint",
4
+ "title": "hyv-logic-lint",
5
+ "description": "Run the deterministic document-coherence gate for topic drift, unanchored inference, and internal contradictions.",
6
+ "instruction_file": "SKILL.md",
7
+ "role": "Logic linter",
8
+ "workflow_phase": "verify",
9
+ "input": {
10
+ "required": [
11
+ "draft path"
12
+ ],
13
+ "optional": [
14
+ "writing-brief.json"
15
+ ]
16
+ },
17
+ "output": {
18
+ "required": [
19
+ "logic lint 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
+ ]
47
+ }
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: "Hyv Logic Lint"
3
+ short_description: "Run the deterministic document-coherence gate for topic drift, unanchored inference, and internal contradictions."
4
+ default_prompt: "Use $hyv-logic-lint to run the deterministic document-coherence gate for topic drift, unanchored inference, and internal contradictions."
@@ -0,0 +1,24 @@
1
+ ---
2
+ name: hyv-mcp
3
+ description: Start the local Hold Your Voice MCP server.
4
+ ---
5
+
6
+ # hyv-mcp
7
+
8
+ Start the local Hold Your Voice MCP server over stdio. The server registers the writing tools for MCP-capable hosts. It sends no drafts, samples, profiles, or telemetry to any service.
9
+
10
+ ## Usage
11
+
12
+ ```text
13
+ hyv mcp
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 mcp` directly to execute the operation.
@@ -0,0 +1,43 @@
1
+ {
2
+ "schema_version": "1.0.0",
3
+ "id": "hyv-mcp",
4
+ "title": "hyv-mcp",
5
+ "description": "Start the local Hold Your Voice MCP server.",
6
+ "instruction_file": "SKILL.md",
7
+ "role": "MCP server",
8
+ "workflow_phase": "run",
9
+ "input": {
10
+ "required": [
11
+ "no arguments (run hyv mcp)"
12
+ ],
13
+ "optional": []
14
+ },
15
+ "output": {
16
+ "required": [
17
+ "running MCP server on stdio"
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 Mcp"
3
+ short_description: "Start the local Hold Your Voice MCP server."
4
+ default_prompt: "Use $hyv-mcp to start the local hold your voice mcp server."
@@ -0,0 +1,24 @@
1
+ ---
2
+ name: hyv-patterns
3
+ description: List the exact AI Editor rules that run.
4
+ ---
5
+
6
+ # hyv-patterns
7
+
8
+ List the exact AI Editor rules that run in this package: the ruleset version and the deterministic catalog with reconstructable regular-expression source, flags, and sentence or physical-line scope.
9
+
10
+ ## Usage
11
+
12
+ ```text
13
+ hyv patterns
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 patterns` directly to execute the operation.
@@ -0,0 +1,43 @@
1
+ {
2
+ "schema_version": "1.0.0",
3
+ "id": "hyv-patterns",
4
+ "title": "hyv-patterns",
5
+ "description": "List the exact AI Editor rules that run.",
6
+ "instruction_file": "SKILL.md",
7
+ "role": "Pattern catalog",
8
+ "workflow_phase": "analyze",
9
+ "input": {
10
+ "required": [
11
+ "no arguments (run hyv patterns)"
12
+ ],
13
+ "optional": []
14
+ },
15
+ "output": {
16
+ "required": [
17
+ "ruleset version and exact deterministic catalog"
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 Patterns"
3
+ short_description: "List the exact AI Editor rules that run."
4
+ default_prompt: "Use $hyv-patterns to list the exact ai editor rules that run."
@@ -0,0 +1,24 @@
1
+ ---
2
+ name: hyv-prepare-judgment
3
+ description: Prepare a versioned pre-edit or post-candidate judgment task.
4
+ ---
5
+
6
+ # hyv-prepare-judgment
7
+
8
+ Prepare a versioned pre-edit or post-candidate judgment task. It does not call a model. The post-candidate stage requires a candidate path.
9
+
10
+ ## Usage
11
+
12
+ ```text
13
+ hyv prepare-judgment pre-edit|post-candidate kind draft.md profile.json task.json [candidate.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 prepare-judgment` directly to execute the operation. Follow-on agents: hyv-reduce-judgment.
@@ -0,0 +1,52 @@
1
+ {
2
+ "schema_version": "1.0.0",
3
+ "id": "hyv-prepare-judgment",
4
+ "title": "hyv-prepare-judgment",
5
+ "description": "Prepare a versioned pre-edit or post-candidate judgment task.",
6
+ "instruction_file": "SKILL.md",
7
+ "role": "Judgment preparer",
8
+ "workflow_phase": "plan",
9
+ "input": {
10
+ "required": [
11
+ "stage (pre-edit|post-candidate)",
12
+ "kind",
13
+ "draft path",
14
+ "profile path",
15
+ "task output path"
16
+ ],
17
+ "optional": [
18
+ "candidate.md"
19
+ ]
20
+ },
21
+ "output": {
22
+ "required": [
23
+ "written judgment task.json"
24
+ ],
25
+ "optional": []
26
+ },
27
+ "evidence_requirements": [
28
+ "Report only the deterministic result the command returns; never invent a model or provider call that did not occur."
29
+ ],
30
+ "permissions": [
31
+ "execute_commands",
32
+ "read_repository",
33
+ "write_repository"
34
+ ],
35
+ "stop_conditions": [
36
+ "Stop when required input is missing, when the command cannot run without changing existing behavior, or when a claimed capability is unavailable."
37
+ ],
38
+ "tool_free_mode": {
39
+ "available": true,
40
+ "behavior": "Provide the decision, artifact template, and exact unavailable capability; never claim a tool action occurred.",
41
+ "unavailable_statuses": [
42
+ "NOT_AVAILABLE",
43
+ "NOT_CONFIGURED",
44
+ "NOT_RUN",
45
+ "STALE",
46
+ "ERROR"
47
+ ]
48
+ },
49
+ "handoff_to": [
50
+ "hyv-reduce-judgment"
51
+ ]
52
+ }
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: "Hyv Prepare Judgment"
3
+ short_description: "Prepare a versioned pre-edit or post-candidate judgment task."
4
+ default_prompt: "Use $hyv-prepare-judgment to prepare a versioned pre-edit or post-candidate judgment task."
@@ -0,0 +1,24 @@
1
+ ---
2
+ name: hyv-prepare-rebuild
3
+ description: Prepare a rebuild task only after an upstream REBUILD recommendation, a CopySpec, and a signed rebuild-authorization capability.
4
+ ---
5
+
6
+ # hyv-prepare-rebuild
7
+
8
+ Prepare a rebuild task only after an upstream REBUILD recommendation, a CopySpec, and a signed rebuild-authorization capability. Capability input requires host-guaranteed sensitive-input redaction. Callers cannot self-select rebuild.
9
+
10
+ ## Usage
11
+
12
+ ```text
13
+ hyv prepare-rebuild draft.md profile.json reduction.json copy-spec.json task.json [writing-brief.json] [--recomposition-policy policy.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 prepare-rebuild` directly to execute the operation. Follow-on agents: hyv-apply-rebuild.
@@ -0,0 +1,54 @@
1
+ {
2
+ "schema_version": "1.0.0",
3
+ "id": "hyv-prepare-rebuild",
4
+ "title": "hyv-prepare-rebuild",
5
+ "description": "Prepare a rebuild task only after an upstream REBUILD recommendation, a CopySpec, and a signed rebuild-authorization capability.",
6
+ "instruction_file": "SKILL.md",
7
+ "role": "Rebuild preparer",
8
+ "workflow_phase": "plan",
9
+ "input": {
10
+ "required": [
11
+ "draft path",
12
+ "profile path",
13
+ "reduction.json",
14
+ "copy-spec.json",
15
+ "task output path"
16
+ ],
17
+ "optional": [
18
+ "writing-brief.json",
19
+ "--recomposition-policy policy.json",
20
+ "capability stdin or file"
21
+ ]
22
+ },
23
+ "output": {
24
+ "required": [
25
+ "written rebuild task.json"
26
+ ],
27
+ "optional": []
28
+ },
29
+ "evidence_requirements": [
30
+ "Report only the deterministic result the command returns; never invent a model or provider call that did not occur."
31
+ ],
32
+ "permissions": [
33
+ "execute_commands",
34
+ "read_repository",
35
+ "write_repository"
36
+ ],
37
+ "stop_conditions": [
38
+ "Stop when required input is missing, when the command cannot run without changing existing behavior, or when a claimed capability is unavailable."
39
+ ],
40
+ "tool_free_mode": {
41
+ "available": true,
42
+ "behavior": "Provide the decision, artifact template, and exact unavailable capability; never claim a tool action occurred.",
43
+ "unavailable_statuses": [
44
+ "NOT_AVAILABLE",
45
+ "NOT_CONFIGURED",
46
+ "NOT_RUN",
47
+ "STALE",
48
+ "ERROR"
49
+ ]
50
+ },
51
+ "handoff_to": [
52
+ "hyv-apply-rebuild"
53
+ ]
54
+ }
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: "Hyv Prepare Rebuild"
3
+ short_description: "Prepare a rebuild task only after an upstream REBUILD recommendation, a CopySpec, and a signed rebuild-authorization capability."
4
+ default_prompt: "Use $hyv-prepare-rebuild to prepare a rebuild task only after an upstream rebuild recommendation, a copyspec, and a signed rebuild-authorization capability."
@@ -0,0 +1,24 @@
1
+ ---
2
+ name: hyv-prepare-rewrite
3
+ description: Prepare a local, versioned, fingerprint-bound rewrite task.
4
+ ---
5
+
6
+ # hyv-prepare-rewrite
7
+
8
+ Prepare a local, versioned rewrite task written to the named output path. The caller may forward it to a provider; doing so shares the draft and must be an explicit choice. This command never calls a provider itself.
9
+
10
+ ## Usage
11
+
12
+ ```text
13
+ hyv prepare-rewrite draft.md profile.json task.json [copy-spec.json] [writing-brief.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 prepare-rewrite` directly to execute the operation. Follow-on agents: hyv-apply-rewrite.
@@ -0,0 +1,51 @@
1
+ {
2
+ "schema_version": "1.0.0",
3
+ "id": "hyv-prepare-rewrite",
4
+ "title": "hyv-prepare-rewrite",
5
+ "description": "Prepare a local, versioned, fingerprint-bound rewrite task.",
6
+ "instruction_file": "SKILL.md",
7
+ "role": "Task preparer",
8
+ "workflow_phase": "plan",
9
+ "input": {
10
+ "required": [
11
+ "draft path",
12
+ "profile path",
13
+ "task output path"
14
+ ],
15
+ "optional": [
16
+ "copy-spec.json",
17
+ "writing-brief.json"
18
+ ]
19
+ },
20
+ "output": {
21
+ "required": [
22
+ "written task.json"
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
+ "write_repository"
33
+ ],
34
+ "stop_conditions": [
35
+ "Stop when required input is missing, when the command cannot run without changing existing behavior, or when a claimed capability is unavailable."
36
+ ],
37
+ "tool_free_mode": {
38
+ "available": true,
39
+ "behavior": "Provide the decision, artifact template, and exact unavailable capability; never claim a tool action occurred.",
40
+ "unavailable_statuses": [
41
+ "NOT_AVAILABLE",
42
+ "NOT_CONFIGURED",
43
+ "NOT_RUN",
44
+ "STALE",
45
+ "ERROR"
46
+ ]
47
+ },
48
+ "handoff_to": [
49
+ "hyv-apply-rewrite"
50
+ ]
51
+ }
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: "Hyv Prepare Rewrite"
3
+ short_description: "Prepare a local, versioned, fingerprint-bound rewrite task."
4
+ default_prompt: "Use $hyv-prepare-rewrite to prepare a local, versioned, fingerprint-bound rewrite task."
@@ -0,0 +1,24 @@
1
+ ---
2
+ name: hyv-profile
3
+ description: Build a portable VoiceDNA profile from at least two writing samples.
4
+ ---
5
+
6
+ # hyv-profile
7
+
8
+ Build a portable VoiceDNA profile from at least two writing samples. Samples stay in memory and are not saved into the profile; only measured voice features are written. The output path must be supplied first, followed by two or more sample paths. Use --avoid=phrase to add phrases that must never appear in later output.
9
+
10
+ ## Usage
11
+
12
+ ```text
13
+ hyv profile profile.json sample-a.md sample-b.md [sample-c.md] [--avoid=phrase]
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 profile` directly to execute the operation. Follow-on agents: hyv-analyze, hyv-rewrite-prompt.
@@ -0,0 +1,50 @@
1
+ {
2
+ "schema_version": "1.0.0",
3
+ "id": "hyv-profile",
4
+ "title": "hyv-profile",
5
+ "description": "Build a portable VoiceDNA profile from at least two writing samples.",
6
+ "instruction_file": "SKILL.md",
7
+ "role": "Profile builder",
8
+ "workflow_phase": "analyze",
9
+ "input": {
10
+ "required": [
11
+ "profile output path",
12
+ "two or more sample paths"
13
+ ],
14
+ "optional": [
15
+ "--avoid=phrase avoid-list entries"
16
+ ]
17
+ },
18
+ "output": {
19
+ "required": [
20
+ "written profile.json"
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-analyze",
48
+ "hyv-rewrite-prompt"
49
+ ]
50
+ }
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: "Hyv Profile"
3
+ short_description: "Build a portable VoiceDNA profile from at least two writing samples."
4
+ default_prompt: "Use $hyv-profile to build a portable voicedna profile from at least two writing samples."
@@ -0,0 +1,24 @@
1
+ ---
2
+ name: hyv-rebuild-writer-request
3
+ description: Create the writer-only payload for a prepared rebuild task.
4
+ ---
5
+
6
+ # hyv-rebuild-writer-request
7
+
8
+ Create the writer-only payload for a prepared rebuild. It excludes the source draft, capability, profile body, and validation evidence.
9
+
10
+ ## Usage
11
+
12
+ ```text
13
+ hyv rebuild-writer-request task.json writer-request.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 rebuild-writer-request` directly to execute the operation. Follow-on agents: hyv-apply-rebuild.