@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,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,4 @@
1
+ interface:
2
+ display_name: "Hyv Inspect Hidden Text"
3
+ short_description: "Inspect hidden text controls with a non-mutating policy report."
4
+ default_prompt: "Use $hyv-inspect-hidden-text to inspect hidden text controls with a non-mutating policy report."
@@ -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,4 @@
1
+ interface:
2
+ display_name: "Hyv Learning"
3
+ short_description: "Inspect or explicitly mutate text-free local learning state for a profile."
4
+ default_prompt: "Use $hyv-learning to inspect or explicitly mutate text-free local learning state for a profile."
@@ -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.
@@ -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.