hunter-harness 0.1.0 → 0.1.2

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 (71) hide show
  1. package/dist/bin.js +1033 -219
  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/harness/migrations/0.1.1/general.json +358 -0
  34. package/resources/harness/migrations/0.1.1/java.json +398 -0
  35. package/resources/bootstrap-ir/manifest.json +0 -19
  36. package/resources/bootstrap-ir/skills/harness-apidoc.yaml +0 -24
  37. package/resources/bootstrap-ir/skills/harness-archive.yaml +0 -24
  38. package/resources/bootstrap-ir/skills/harness-codebase-map.yaml +0 -24
  39. package/resources/bootstrap-ir/skills/harness-knowledge-ingest.yaml +0 -24
  40. package/resources/bootstrap-ir/skills/harness-package.yaml +0 -24
  41. package/resources/bootstrap-ir/skills/harness-plan.yaml +0 -24
  42. package/resources/bootstrap-ir/skills/harness-review.yaml +0 -24
  43. package/resources/bootstrap-ir/skills/harness-run.yaml +0 -24
  44. package/resources/bootstrap-ir/skills/harness-skill-optimizer.yaml +0 -28
  45. package/resources/bootstrap-ir/skills/harness-submit.yaml +0 -24
  46. package/resources/bootstrap-ir/skills/harness-sync.yaml +0 -24
  47. package/resources/bootstrap-ir/skills/harness-test.yaml +0 -24
  48. package/resources/bootstrap-ir/templates/claude-code-skill.md +0 -12
  49. 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
  50. 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
  51. 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
  52. package/resources/harness/general/harness-knowledge-ingest/tests/fixtures/mcp-eval-project/.harness/project.yaml +0 -1
  53. package/resources/harness/general/harness-knowledge-ingest/tests/test_harness_knowledge.py +0 -1792
  54. 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
  55. 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
  56. 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
  57. package/resources/harness/java/harness-knowledge-ingest/tests/fixtures/mcp-eval-project/.harness/project.yaml +0 -1
  58. package/resources/harness/java/harness-knowledge-ingest/tests/test_harness_knowledge.py +0 -1792
  59. package/resources/manifest.json +0 -19
  60. package/resources/skills/harness-apidoc/SKILL.md +0 -50
  61. package/resources/skills/harness-archive/SKILL.md +0 -48
  62. package/resources/skills/harness-codebase-map/SKILL.md +0 -53
  63. package/resources/skills/harness-knowledge-ingest/SKILL.md +0 -48
  64. package/resources/skills/harness-package/SKILL.md +0 -48
  65. package/resources/skills/harness-plan/SKILL.md +0 -51
  66. package/resources/skills/harness-review/SKILL.md +0 -50
  67. package/resources/skills/harness-run/SKILL.md +0 -48
  68. package/resources/skills/harness-skill-optimizer/SKILL.md +0 -54
  69. package/resources/skills/harness-submit/SKILL.md +0 -47
  70. package/resources/skills/harness-sync/SKILL.md +0 -48
  71. package/resources/skills/harness-test/SKILL.md +0 -50
@@ -1,24 +0,0 @@
1
- name: harness-submit
2
- kind: workflow
3
- description: Prepare a submission summary, suggested message, and verification checklist without changing source control.
4
- triggers: [prepare submission, summarize completed change]
5
- inputs: [change_ref, verification_evidence]
6
- outputs: [submission_summary, suggested_message, submission_checklist]
7
- forbidden_actions: [source_control_write_without_explicit_confirmation, publish_without_review]
8
- required_context: [AGENTS.md, .harness/context-index.json]
9
- profiles:
10
- general: { enabled: true }
11
- java: { enabled: true }
12
- adapters:
13
- claude-code: { enabled: true }
14
- codex: { enabled: true }
15
- cursor: { enabled: true }
16
- generic: { enabled: true }
17
- mcp: { enabled: true }
18
- version: 1.0.0
19
- instructions:
20
- - Summarize verified changes and remaining risks.
21
- - Produce a suggested message and final checklist only.
22
- - Require explicit user confirmation before any source-control mutation.
23
- allowed_capabilities: [read, search, write_submission_documents]
24
- source_provenance: user-provided validated submission workflow adapted to Hunter Harness
@@ -1,24 +0,0 @@
1
- name: harness-sync
2
- kind: workflow
3
- description: Check Harness context, Knowledge indexes, managed blocks, rules, and codebase-map freshness.
4
- triggers: [sync harness context, check project context]
5
- inputs: [project_root, context_index]
6
- outputs: [sync_report, refresh_recommendations]
7
- forbidden_actions: [automatic_codebase_map_execution, manage_codegraph, install_external_tools]
8
- required_context: [AGENTS.md, .harness/context-index.json]
9
- profiles:
10
- general: { enabled: true }
11
- java: { enabled: true }
12
- adapters:
13
- claude-code: { enabled: true }
14
- codex: { enabled: true }
15
- cursor: { enabled: true }
16
- generic: { enabled: true }
17
- mcp: { enabled: true }
18
- version: 1.0.0
19
- instructions:
20
- - Validate managed blocks and local Harness structure.
21
- - Rebuild deterministic indexes when their sources changed.
22
- - Recommend codebase-map refresh when stale, but wait for explicit user confirmation.
23
- allowed_capabilities: [read, search, write_harness_metadata]
24
- source_provenance: user-provided validated Java workflow adapted to Hunter Harness
@@ -1,24 +0,0 @@
1
- name: harness-test
2
- kind: workflow
3
- description: Validate changes with real tests, explicit degradation reporting, and reproducible evidence.
4
- triggers: [test the change, validate behavior]
5
- inputs: [test_scenarios, change_ref]
6
- outputs: [test_report, evidence_summary]
7
- forbidden_actions: [claim_unrun_tests_pass, hide_test_failures, confuse_static_checks_with_tests]
8
- required_context: [AGENTS.md, .harness/context-index.json, .harness/knowledge/pitfalls]
9
- profiles:
10
- general: { enabled: true }
11
- java: { enabled: true }
12
- adapters:
13
- claude-code: { enabled: true }
14
- codex: { enabled: true }
15
- cursor: { enabled: true }
16
- generic: { enabled: true }
17
- mcp: { enabled: true }
18
- version: 1.0.0
19
- instructions:
20
- - Derive test cases from requirements and changed behavior.
21
- - Run the narrow test first, then the complete relevant suite.
22
- - Report skipped infrastructure and degraded validation explicitly.
23
- allowed_capabilities: [read, search, run_tests, write_test_reports]
24
- source_provenance: user-provided validated test workflow and pitfalls adapted to Hunter Harness
@@ -1,12 +0,0 @@
1
- ---
2
- name: {{name}}
3
- description: {{description}}
4
- version: {{version}}
5
- adapter: claude-code
6
- source_ir_hash: {{source_ir_hash}}
7
- compiler_version: {{compiler_version}}
8
- ---
9
-
10
- # {{name}}
11
-
12
- {{body}}
@@ -1,43 +0,0 @@
1
- {
2
- "schemaVersion": "2.1",
3
- "changeName": "ledger-reconciliation",
4
- "businessGoal": "Create LedgerReconciler as the single source of truth for billing reconciliation and monthly close variance checks.",
5
- "finalStatus": "OK",
6
- "finalCommit": "1111111111111111111111111111111111111111",
7
- "baseCommit": "0000000000000000000000000000000000000000",
8
- "changedFiles": [
9
- {
10
- "path": "src/billing/ledger_reconciler.py",
11
- "summary": "Introduced LedgerReconciler for billing reconciliation matching."
12
- },
13
- {
14
- "path": "tests/test_ledger_reconciler.py",
15
- "summary": "Added unit tests for LedgerReconciler variance handling."
16
- }
17
- ],
18
- "verification": {
19
- "unitTests": {
20
- "run": 8,
21
- "failures": 0,
22
- "errors": 0,
23
- "passRate": "8/8"
24
- },
25
- "apiTests": {
26
- "status": "OK",
27
- "total": 2,
28
- "passed": 2,
29
- "failed": 0,
30
- "passRate": "2/2"
31
- }
32
- },
33
- "maintenanceNotes": [
34
- "LedgerReconciler is the only source of truth for billing reconciliation totals.",
35
- "Billing reconciliation jobs must read tenant timezone before grouping ledger rows."
36
- ],
37
- "knownRisks": [
38
- "CSV imports missing account IDs must be quarantined before reconciliation."
39
- ],
40
- "manualActions": [
41
- "Run migration 2026-01-ledger-baseline before release."
42
- ]
43
- }
@@ -1,38 +0,0 @@
1
- {
2
- "schemaVersion": "2.1",
3
- "changeName": "ledger-snapshot-followup",
4
- "businessGoal": "Move final reconciliation output to SettlementSnapshot and replace the old LedgerReconciler source-of-truth assumption.",
5
- "finalStatus": "OK",
6
- "finalCommit": "2222222222222222222222222222222222222222",
7
- "baseCommit": "1111111111111111111111111111111111111111",
8
- "changedFiles": [
9
- {
10
- "path": "src/billing/ledger_reconciler.py",
11
- "summary": "Kept LedgerReconciler as an internal calculator."
12
- },
13
- {
14
- "path": "src/billing/settlement_snapshot.py",
15
- "summary": "Introduced SettlementSnapshot as the final published reconciliation output."
16
- },
17
- {
18
- "path": "tests/test_settlement_snapshot.py",
19
- "summary": "Added snapshot publication tests."
20
- }
21
- ],
22
- "verification": {
23
- "unitTests": {
24
- "run": 11,
25
- "failures": 0,
26
- "errors": 0,
27
- "passRate": "11/11"
28
- }
29
- },
30
- "maintenanceNotes": [
31
- "SettlementSnapshot now replaces LedgerReconciler as final published reconciliation output.",
32
- "LedgerReconciler remains an internal calculator for settlement snapshot generation."
33
- ],
34
- "knownRisks": [
35
- "Historical reports generated before February 2026 may still reference LedgerReconciler labels."
36
- ],
37
- "manualActions": []
38
- }
@@ -1,36 +0,0 @@
1
- {
2
- "schemaVersion": "2.1",
3
- "changeName": "webhook-contract",
4
- "businessGoal": "Add signed webhook delivery contract for partner payout notifications.",
5
- "finalStatus": "OK",
6
- "finalCommit": "3333333333333333333333333333333333333333",
7
- "baseCommit": "2222222222222222222222222222222222222222",
8
- "changedFiles": [
9
- {
10
- "path": "src/api/webhooks.py",
11
- "summary": "Added partner payout webhook delivery endpoint."
12
- },
13
- {
14
- "path": "src/contracts/webhook_schema.py",
15
- "summary": "Defined webhook payload and signature contract."
16
- }
17
- ],
18
- "verification": {
19
- "unitTests": {
20
- "run": 5,
21
- "failures": 0,
22
- "errors": 0,
23
- "passRate": "5/5"
24
- }
25
- },
26
- "maintenanceNotes": [
27
- "Webhook signature header is X-Harness-Signature.",
28
- "Webhook retry backoff is capped at 30 minutes for partner payout notifications."
29
- ],
30
- "knownRisks": [
31
- "Partner sandbox clock skew may break signature timestamp validation."
32
- ],
33
- "manualActions": [
34
- "Share the webhook schema with partner integrators before enabling production delivery."
35
- ]
36
- }