hunter-harness 0.1.0 → 0.1.1

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 (69) hide show
  1. package/dist/bin.js +127 -106
  2. package/package.json +2 -2
  3. package/resources/harness/general/.harness-build.json +1 -1
  4. package/resources/harness/general/harness-archive/SKILL.md +215 -215
  5. package/resources/harness/general/harness-codebase-map/SKILL.md +112 -112
  6. package/resources/harness/general/harness-codebase-map/templates/map-summary.md +3 -3
  7. package/resources/harness/general/harness-knowledge-ingest/SKILL.md +246 -246
  8. package/resources/harness/general/harness-knowledge-query/SKILL.md +164 -164
  9. package/resources/harness/general/harness-plan/SKILL.md +127 -127
  10. package/resources/harness/general/harness-review/SKILL.md +156 -156
  11. package/resources/harness/general/harness-run/SKILL.md +132 -132
  12. package/resources/harness/general/harness-submit/SKILL.md +159 -159
  13. package/resources/harness/general/harness-sync/SKILL.md +82 -82
  14. package/resources/harness/general/harness-test/SKILL.md +180 -180
  15. package/resources/harness/general/scripts/harness_deploy.py +580 -580
  16. package/resources/harness/java/.harness-build.json +1 -1
  17. package/resources/harness/java/harness-apidoc/SKILL.md +86 -86
  18. package/resources/harness/java/harness-archive/SKILL.md +215 -215
  19. package/resources/harness/java/harness-codebase-map/SKILL.md +112 -112
  20. package/resources/harness/java/harness-codebase-map/templates/map-summary.md +3 -3
  21. package/resources/harness/java/harness-knowledge-ingest/SKILL.md +246 -246
  22. package/resources/harness/java/harness-knowledge-query/SKILL.md +164 -164
  23. package/resources/harness/java/harness-package/SKILL.md +87 -87
  24. package/resources/harness/java/harness-plan/SKILL.md +127 -127
  25. package/resources/harness/java/harness-review/SKILL.md +156 -156
  26. package/resources/harness/java/harness-run/SKILL.md +148 -148
  27. package/resources/harness/java/harness-submit/SKILL.md +166 -166
  28. package/resources/harness/java/harness-sync/SKILL.md +82 -82
  29. package/resources/harness/java/harness-test/SKILL.md +192 -192
  30. package/resources/harness/java/scripts/harness_deploy.py +580 -580
  31. package/resources/harness/manifests/general.json +13 -33
  32. package/resources/harness/manifests/java.json +15 -35
  33. package/resources/bootstrap-ir/manifest.json +0 -19
  34. package/resources/bootstrap-ir/skills/harness-apidoc.yaml +0 -24
  35. package/resources/bootstrap-ir/skills/harness-archive.yaml +0 -24
  36. package/resources/bootstrap-ir/skills/harness-codebase-map.yaml +0 -24
  37. package/resources/bootstrap-ir/skills/harness-knowledge-ingest.yaml +0 -24
  38. package/resources/bootstrap-ir/skills/harness-package.yaml +0 -24
  39. package/resources/bootstrap-ir/skills/harness-plan.yaml +0 -24
  40. package/resources/bootstrap-ir/skills/harness-review.yaml +0 -24
  41. package/resources/bootstrap-ir/skills/harness-run.yaml +0 -24
  42. package/resources/bootstrap-ir/skills/harness-skill-optimizer.yaml +0 -28
  43. package/resources/bootstrap-ir/skills/harness-submit.yaml +0 -24
  44. package/resources/bootstrap-ir/skills/harness-sync.yaml +0 -24
  45. package/resources/bootstrap-ir/skills/harness-test.yaml +0 -24
  46. package/resources/bootstrap-ir/templates/claude-code-skill.md +0 -12
  47. package/resources/harness/general/harness-knowledge-ingest/tests/fixtures/mcp-eval-project/.harness/archive/2026-01-10-ledger-reconciliation/reports/final/summary-data.json +0 -43
  48. package/resources/harness/general/harness-knowledge-ingest/tests/fixtures/mcp-eval-project/.harness/archive/2026-02-14-ledger-snapshot-followup/reports/final/summary-data.json +0 -38
  49. package/resources/harness/general/harness-knowledge-ingest/tests/fixtures/mcp-eval-project/.harness/archive/2026-03-05-webhook-contract/reports/final/summary-data.json +0 -36
  50. package/resources/harness/general/harness-knowledge-ingest/tests/fixtures/mcp-eval-project/.harness/project.yaml +0 -1
  51. package/resources/harness/general/harness-knowledge-ingest/tests/test_harness_knowledge.py +0 -1792
  52. package/resources/harness/java/harness-knowledge-ingest/tests/fixtures/mcp-eval-project/.harness/archive/2026-01-10-ledger-reconciliation/reports/final/summary-data.json +0 -43
  53. package/resources/harness/java/harness-knowledge-ingest/tests/fixtures/mcp-eval-project/.harness/archive/2026-02-14-ledger-snapshot-followup/reports/final/summary-data.json +0 -38
  54. package/resources/harness/java/harness-knowledge-ingest/tests/fixtures/mcp-eval-project/.harness/archive/2026-03-05-webhook-contract/reports/final/summary-data.json +0 -36
  55. package/resources/harness/java/harness-knowledge-ingest/tests/fixtures/mcp-eval-project/.harness/project.yaml +0 -1
  56. package/resources/harness/java/harness-knowledge-ingest/tests/test_harness_knowledge.py +0 -1792
  57. package/resources/manifest.json +0 -19
  58. package/resources/skills/harness-apidoc/SKILL.md +0 -50
  59. package/resources/skills/harness-archive/SKILL.md +0 -48
  60. package/resources/skills/harness-codebase-map/SKILL.md +0 -53
  61. package/resources/skills/harness-knowledge-ingest/SKILL.md +0 -48
  62. package/resources/skills/harness-package/SKILL.md +0 -48
  63. package/resources/skills/harness-plan/SKILL.md +0 -51
  64. package/resources/skills/harness-review/SKILL.md +0 -50
  65. package/resources/skills/harness-run/SKILL.md +0 -48
  66. package/resources/skills/harness-skill-optimizer/SKILL.md +0 -54
  67. package/resources/skills/harness-submit/SKILL.md +0 -47
  68. package/resources/skills/harness-sync/SKILL.md +0 -48
  69. package/resources/skills/harness-test/SKILL.md +0 -50
@@ -1,19 +0,0 @@
1
- {
2
- "schema_version": 1,
3
- "registry_version": "bootstrap-2026.06.20",
4
- "compiler_version": "1.0.0",
5
- "skills": [
6
- "harness-sync",
7
- "harness-plan",
8
- "harness-run",
9
- "harness-test",
10
- "harness-review",
11
- "harness-submit",
12
- "harness-archive",
13
- "harness-knowledge-ingest",
14
- "harness-skill-optimizer",
15
- "harness-codebase-map",
16
- "harness-apidoc",
17
- "harness-package"
18
- ]
19
- }
@@ -1,50 +0,0 @@
1
- ---
2
- name: harness-apidoc
3
- description: Analyze API changes and produce evidence-based documentation impact updates.
4
- kind: workflow
5
- triggers:
6
- - update API documentation
7
- - inspect API compatibility
8
- inputs:
9
- - change_ref
10
- - api_contract
11
- outputs:
12
- - api_impact_report
13
- - documentation_updates
14
- forbidden_actions:
15
- - invent_api_behavior
16
- - hide_breaking_changes
17
- - publish_without_review
18
- required_context:
19
- - AGENTS.md
20
- - .harness/context-index.json
21
- - .harness/knowledge/api
22
- version: "1.0.0"
23
- ---
24
-
25
- # harness-apidoc
26
-
27
- Analyze API changes and produce evidence-based documentation impact updates.
28
-
29
- ## Triggers
30
-
31
- - update API documentation
32
- - inspect API compatibility
33
-
34
- ## Required context
35
-
36
- - AGENTS.md
37
- - .harness/context-index.json
38
- - .harness/knowledge/api
39
-
40
- ## Instructions
41
-
42
- - Compare implementation and declared API contracts.
43
- - Classify compatibility and documentation impact.
44
- - Update only evidence-supported documentation.
45
-
46
- ## Forbidden actions
47
-
48
- - invent_api_behavior
49
- - hide_breaking_changes
50
- - publish_without_review
@@ -1,48 +0,0 @@
1
- ---
2
- name: harness-archive
3
- description: Archive completed change evidence and extract unpromoted candidate Knowledge.
4
- kind: workflow
5
- triggers:
6
- - archive completed change
7
- - extract reusable knowledge
8
- inputs:
9
- - change_documents
10
- - verification_evidence
11
- outputs:
12
- - archive_summary
13
- - candidate_knowledge
14
- forbidden_actions:
15
- - auto_promote_candidate_knowledge
16
- - discard_evidence
17
- - expose_sensitive_data
18
- required_context:
19
- - AGENTS.md
20
- - .harness/context-index.json
21
- version: "1.0.0"
22
- ---
23
-
24
- # harness-archive
25
-
26
- Archive completed change evidence and extract unpromoted candidate Knowledge.
27
-
28
- ## Triggers
29
-
30
- - archive completed change
31
- - extract reusable knowledge
32
-
33
- ## Required context
34
-
35
- - AGENTS.md
36
- - .harness/context-index.json
37
-
38
- ## Instructions
39
-
40
- - Preserve the final summary and execution evidence.
41
- - Extract reusable facts into the candidate area with source references.
42
- - Never promote candidates to active Knowledge automatically.
43
-
44
- ## Forbidden actions
45
-
46
- - auto_promote_candidate_knowledge
47
- - discard_evidence
48
- - expose_sensitive_data
@@ -1,53 +0,0 @@
1
- ---
2
- name: harness-codebase-map
3
- description: Generate seven evidence-based codebase-map documents under the Harness workspace.
4
- kind: workflow
5
- triggers:
6
- - map the codebase
7
- - refresh codebase map
8
- inputs:
9
- - project_root
10
- - optional_paths
11
- outputs:
12
- - stack_map
13
- - integration_map
14
- - architecture_map
15
- - structure_map
16
- - convention_map
17
- - testing_map
18
- - concern_map
19
- forbidden_actions:
20
- - copy_source_code_wholesale
21
- - manage_codegraph
22
- - automatic_execution_from_sync
23
- required_context:
24
- - AGENTS.md
25
- - .harness/context-index.json
26
- version: "1.0.0"
27
- ---
28
-
29
- # harness-codebase-map
30
-
31
- Generate seven evidence-based codebase-map documents under the Harness workspace.
32
-
33
- ## Triggers
34
-
35
- - map the codebase
36
- - refresh codebase map
37
-
38
- ## Required context
39
-
40
- - AGENTS.md
41
- - .harness/context-index.json
42
-
43
- ## Instructions
44
-
45
- - Analyze the requested scope using isolated mapper focuses.
46
- - Write STACK, INTEGRATIONS, ARCHITECTURE, STRUCTURE, CONVENTIONS, TESTING, and CONCERNS.
47
- - Record evidence, scan scope, time, and source revision without embedding source files.
48
-
49
- ## Forbidden actions
50
-
51
- - copy_source_code_wholesale
52
- - manage_codegraph
53
- - automatic_execution_from_sync
@@ -1,48 +0,0 @@
1
- ---
2
- name: harness-knowledge-ingest
3
- description: Validate, deduplicate, index, and propose project Knowledge without bypassing review.
4
- kind: governance
5
- triggers:
6
- - ingest knowledge
7
- - rebuild knowledge index
8
- inputs:
9
- - knowledge_entries
10
- - candidate_entries
11
- outputs:
12
- - knowledge_index
13
- - validation_report
14
- forbidden_actions:
15
- - auto_promote_candidate_knowledge
16
- - include_project_local_by_default
17
- - erase_conflicts
18
- required_context:
19
- - AGENTS.md
20
- - .harness/knowledge/index.json
21
- version: "1.0.0"
22
- ---
23
-
24
- # harness-knowledge-ingest
25
-
26
- Validate, deduplicate, index, and propose project Knowledge without bypassing review.
27
-
28
- ## Triggers
29
-
30
- - ingest knowledge
31
- - rebuild knowledge index
32
-
33
- ## Required context
34
-
35
- - AGENTS.md
36
- - .harness/knowledge/index.json
37
-
38
- ## Instructions
39
-
40
- - Validate frontmatter and lifecycle relationships.
41
- - Detect duplicate IDs, duplicate content, and conflicting active facts.
42
- - Keep project-local entries excluded unless explicitly selected.
43
-
44
- ## Forbidden actions
45
-
46
- - auto_promote_candidate_knowledge
47
- - include_project_local_by_default
48
- - erase_conflicts
@@ -1,48 +0,0 @@
1
- ---
2
- name: harness-package
3
- description: Validate and prepare a reproducible project package without publishing it.
4
- kind: workflow
5
- triggers:
6
- - prepare package
7
- - validate package output
8
- inputs:
9
- - project_root
10
- - build_configuration
11
- outputs:
12
- - package_report
13
- - package_artifacts
14
- forbidden_actions:
15
- - publish_artifact
16
- - expose_secrets
17
- - claim_unverified_build
18
- required_context:
19
- - AGENTS.md
20
- - .harness/context-index.json
21
- version: "1.0.0"
22
- ---
23
-
24
- # harness-package
25
-
26
- Validate and prepare a reproducible project package without publishing it.
27
-
28
- ## Triggers
29
-
30
- - prepare package
31
- - validate package output
32
-
33
- ## Required context
34
-
35
- - AGENTS.md
36
- - .harness/context-index.json
37
-
38
- ## Instructions
39
-
40
- - Validate the configured build and its required tests.
41
- - Record exact artifact hashes and build evidence.
42
- - Do not publish or upload package artifacts.
43
-
44
- ## Forbidden actions
45
-
46
- - publish_artifact
47
- - expose_secrets
48
- - claim_unverified_build
@@ -1,51 +0,0 @@
1
- ---
2
- name: harness-plan
3
- description: Produce evidence-based designs, implementation plans, impact analysis, and test scenarios.
4
- kind: workflow
5
- triggers:
6
- - plan a change
7
- - design an implementation
8
- inputs:
9
- - requirements
10
- - context_index
11
- outputs:
12
- - design
13
- - implementation_plan
14
- - test_scenarios
15
- forbidden_actions:
16
- - invent_evidence
17
- - expose_sensitive_data
18
- - automatic_source_control_write
19
- required_context:
20
- - AGENTS.md
21
- - .harness/context-index.json
22
- - .harness/knowledge/index.json
23
- version: "1.0.0"
24
- ---
25
-
26
- # harness-plan
27
-
28
- Produce evidence-based designs, implementation plans, impact analysis, and test scenarios.
29
-
30
- ## Triggers
31
-
32
- - plan a change
33
- - design an implementation
34
-
35
- ## Required context
36
-
37
- - AGENTS.md
38
- - .harness/context-index.json
39
- - .harness/knowledge/index.json
40
-
41
- ## Instructions
42
-
43
- - Inspect relevant Knowledge and codebase-map evidence before proposing changes.
44
- - Separate assumptions from verified facts.
45
- - Define exact files, tests, risks, and rollback points.
46
-
47
- ## Forbidden actions
48
-
49
- - invent_evidence
50
- - expose_sensitive_data
51
- - automatic_source_control_write
@@ -1,50 +0,0 @@
1
- ---
2
- name: harness-review
3
- description: Review changes across correctness, security, compatibility, tests, maintainability, and evidence.
4
- kind: governance
5
- triggers:
6
- - review a change
7
- - inspect implementation quality
8
- inputs:
9
- - change_ref
10
- - context_index
11
- outputs:
12
- - review_report
13
- - evidence_summary
14
- forbidden_actions:
15
- - invent_findings
16
- - claim_unverified_success
17
- - mutate_reviewed_code_without_request
18
- required_context:
19
- - AGENTS.md
20
- - .harness/context-index.json
21
- - .harness/knowledge/index.json
22
- version: "1.0.0"
23
- ---
24
-
25
- # harness-review
26
-
27
- Review changes across correctness, security, compatibility, tests, maintainability, and evidence.
28
-
29
- ## Triggers
30
-
31
- - review a change
32
- - inspect implementation quality
33
-
34
- ## Required context
35
-
36
- - AGENTS.md
37
- - .harness/context-index.json
38
- - .harness/knowledge/index.json
39
-
40
- ## Instructions
41
-
42
- - Inspect the actual diff and relevant project evidence.
43
- - Rank actionable findings by impact and cite precise locations.
44
- - Distinguish verified defects from risks and questions.
45
-
46
- ## Forbidden actions
47
-
48
- - invent_findings
49
- - claim_unverified_success
50
- - mutate_reviewed_code_without_request
@@ -1,48 +0,0 @@
1
- ---
2
- name: harness-run
3
- description: Execute an approved implementation plan with test-first evidence and an execution log.
4
- kind: workflow
5
- triggers:
6
- - implement the plan
7
- - run approved tasks
8
- inputs:
9
- - implementation_plan
10
- - test_scenarios
11
- outputs:
12
- - implementation_changes
13
- - execution_log
14
- forbidden_actions:
15
- - skip_red_green_verification
16
- - claim_unverified_success
17
- - automatic_source_control_write
18
- required_context:
19
- - AGENTS.md
20
- - .harness/context-index.json
21
- version: "1.0.0"
22
- ---
23
-
24
- # harness-run
25
-
26
- Execute an approved implementation plan with test-first evidence and an execution log.
27
-
28
- ## Triggers
29
-
30
- - implement the plan
31
- - run approved tasks
32
-
33
- ## Required context
34
-
35
- - AGENTS.md
36
- - .harness/context-index.json
37
-
38
- ## Instructions
39
-
40
- - Execute one bounded task at a time.
41
- - Record real command output and distinguish it from static inspection.
42
- - Stop on unsafe or unexplained failures.
43
-
44
- ## Forbidden actions
45
-
46
- - skip_red_green_verification
47
- - claim_unverified_success
48
- - automatic_source_control_write
@@ -1,54 +0,0 @@
1
- ---
2
- name: harness-skill-optimizer
3
- description: Create, optimize, and migrate platform-neutral Skill IR with adapter-safe outputs.
4
- kind: migration
5
- triggers:
6
- - create a skill
7
- - optimize a skill
8
- - migrate an agent skill
9
- inputs:
10
- - skill_source
11
- - target_profiles
12
- - target_adapters
13
- outputs:
14
- - skill_ir
15
- - validation_report
16
- - adapter_preview
17
- forbidden_actions:
18
- - publish_canonical_skill
19
- - automatic_proposal_push
20
- - broaden_capabilities
21
- - automatic_source_control_write
22
- required_context:
23
- - AGENTS.md
24
- - .harness/context-index.json
25
- version: "1.0.0"
26
- ---
27
-
28
- # harness-skill-optimizer
29
-
30
- Create, optimize, and migrate platform-neutral Skill IR with adapter-safe outputs.
31
-
32
- ## Triggers
33
-
34
- - create a skill
35
- - optimize a skill
36
- - migrate an agent skill
37
-
38
- ## Required context
39
-
40
- - AGENTS.md
41
- - .harness/context-index.json
42
-
43
- ## Instructions
44
-
45
- - Convert source workflows and constraints into canonical Skill IR.
46
- - Validate triggers, inputs, outputs, forbidden actions, and required context.
47
- - Generate previews but never publish or push automatically.
48
-
49
- ## Forbidden actions
50
-
51
- - publish_canonical_skill
52
- - automatic_proposal_push
53
- - broaden_capabilities
54
- - automatic_source_control_write
@@ -1,47 +0,0 @@
1
- ---
2
- name: harness-submit
3
- description: Prepare a submission summary, suggested message, and verification checklist without changing source control.
4
- kind: workflow
5
- triggers:
6
- - prepare submission
7
- - summarize completed change
8
- inputs:
9
- - change_ref
10
- - verification_evidence
11
- outputs:
12
- - submission_summary
13
- - suggested_message
14
- - submission_checklist
15
- forbidden_actions:
16
- - source_control_write_without_explicit_confirmation
17
- - publish_without_review
18
- required_context:
19
- - AGENTS.md
20
- - .harness/context-index.json
21
- version: "1.0.0"
22
- ---
23
-
24
- # harness-submit
25
-
26
- Prepare a submission summary, suggested message, and verification checklist without changing source control.
27
-
28
- ## Triggers
29
-
30
- - prepare submission
31
- - summarize completed change
32
-
33
- ## Required context
34
-
35
- - AGENTS.md
36
- - .harness/context-index.json
37
-
38
- ## Instructions
39
-
40
- - Summarize verified changes and remaining risks.
41
- - Produce a suggested message and final checklist only.
42
- - Require explicit user confirmation before any source-control mutation.
43
-
44
- ## Forbidden actions
45
-
46
- - source_control_write_without_explicit_confirmation
47
- - publish_without_review
@@ -1,48 +0,0 @@
1
- ---
2
- name: harness-sync
3
- description: Check Harness context, Knowledge indexes, managed blocks, rules, and codebase-map freshness.
4
- kind: workflow
5
- triggers:
6
- - sync harness context
7
- - check project context
8
- inputs:
9
- - project_root
10
- - context_index
11
- outputs:
12
- - sync_report
13
- - refresh_recommendations
14
- forbidden_actions:
15
- - automatic_codebase_map_execution
16
- - manage_codegraph
17
- - install_external_tools
18
- required_context:
19
- - AGENTS.md
20
- - .harness/context-index.json
21
- version: "1.0.0"
22
- ---
23
-
24
- # harness-sync
25
-
26
- Check Harness context, Knowledge indexes, managed blocks, rules, and codebase-map freshness.
27
-
28
- ## Triggers
29
-
30
- - sync harness context
31
- - check project context
32
-
33
- ## Required context
34
-
35
- - AGENTS.md
36
- - .harness/context-index.json
37
-
38
- ## Instructions
39
-
40
- - Validate managed blocks and local Harness structure.
41
- - Rebuild deterministic indexes when their sources changed.
42
- - Recommend codebase-map refresh when stale, but wait for explicit user confirmation.
43
-
44
- ## Forbidden actions
45
-
46
- - automatic_codebase_map_execution
47
- - manage_codegraph
48
- - install_external_tools
@@ -1,50 +0,0 @@
1
- ---
2
- name: harness-test
3
- description: Validate changes with real tests, explicit degradation reporting, and reproducible evidence.
4
- kind: workflow
5
- triggers:
6
- - test the change
7
- - validate behavior
8
- inputs:
9
- - test_scenarios
10
- - change_ref
11
- outputs:
12
- - test_report
13
- - evidence_summary
14
- forbidden_actions:
15
- - claim_unrun_tests_pass
16
- - hide_test_failures
17
- - confuse_static_checks_with_tests
18
- required_context:
19
- - AGENTS.md
20
- - .harness/context-index.json
21
- - .harness/knowledge/pitfalls
22
- version: "1.0.0"
23
- ---
24
-
25
- # harness-test
26
-
27
- Validate changes with real tests, explicit degradation reporting, and reproducible evidence.
28
-
29
- ## Triggers
30
-
31
- - test the change
32
- - validate behavior
33
-
34
- ## Required context
35
-
36
- - AGENTS.md
37
- - .harness/context-index.json
38
- - .harness/knowledge/pitfalls
39
-
40
- ## Instructions
41
-
42
- - Derive test cases from requirements and changed behavior.
43
- - Run the narrow test first, then the complete relevant suite.
44
- - Report skipped infrastructure and degraded validation explicitly.
45
-
46
- ## Forbidden actions
47
-
48
- - claim_unrun_tests_pass
49
- - hide_test_failures
50
- - confuse_static_checks_with_tests