@hunter-harness/workflow-harness 0.2.56 → 0.2.57

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 (114) hide show
  1. package/harness/bundles/general/claude-code/.harness-build.json +1 -1
  2. package/harness/bundles/general/claude-code/harness-archive/SKILL.md +1 -1
  3. package/harness/bundles/general/claude-code/harness-codebase-map/SKILL.md +1 -1
  4. package/harness/bundles/general/claude-code/harness-knowledge-ingest/SKILL.md +1 -1
  5. package/harness/bundles/general/claude-code/harness-knowledge-query/SKILL.md +1 -1
  6. package/harness/bundles/general/claude-code/harness-plan/SKILL.md +1 -1
  7. package/harness/bundles/general/claude-code/harness-review/SKILL.md +1 -1
  8. package/harness/bundles/general/claude-code/harness-run/SKILL.md +1 -1
  9. package/harness/bundles/general/claude-code/harness-submit/SKILL.md +1 -1
  10. package/harness/bundles/general/claude-code/harness-sync/SKILL.md +1 -1
  11. package/harness/bundles/general/claude-code/harness-test/SKILL.md +1 -1
  12. package/harness/bundles/general/claude-code/scripts/harness_events_sync.py +15 -14
  13. package/harness/bundles/general/codebuddy/.harness-build.json +1 -1
  14. package/harness/bundles/general/codebuddy/harness-archive/SKILL.md +1 -1
  15. package/harness/bundles/general/codebuddy/harness-codebase-map/SKILL.md +1 -1
  16. package/harness/bundles/general/codebuddy/harness-knowledge-ingest/SKILL.md +1 -1
  17. package/harness/bundles/general/codebuddy/harness-knowledge-query/SKILL.md +1 -1
  18. package/harness/bundles/general/codebuddy/harness-plan/SKILL.md +1 -1
  19. package/harness/bundles/general/codebuddy/harness-review/SKILL.md +1 -1
  20. package/harness/bundles/general/codebuddy/harness-run/SKILL.md +1 -1
  21. package/harness/bundles/general/codebuddy/harness-submit/SKILL.md +1 -1
  22. package/harness/bundles/general/codebuddy/harness-sync/SKILL.md +1 -1
  23. package/harness/bundles/general/codebuddy/harness-test/SKILL.md +1 -1
  24. package/harness/bundles/general/codebuddy/scripts/harness_events_sync.py +15 -14
  25. package/harness/bundles/general/codex/.harness-build.json +1 -1
  26. package/harness/bundles/general/codex/harness-archive/SKILL.md +1 -1
  27. package/harness/bundles/general/codex/harness-codebase-map/SKILL.md +1 -1
  28. package/harness/bundles/general/codex/harness-knowledge-ingest/SKILL.md +1 -1
  29. package/harness/bundles/general/codex/harness-knowledge-query/SKILL.md +1 -1
  30. package/harness/bundles/general/codex/harness-plan/SKILL.md +1 -1
  31. package/harness/bundles/general/codex/harness-review/SKILL.md +1 -1
  32. package/harness/bundles/general/codex/harness-run/SKILL.md +1 -1
  33. package/harness/bundles/general/codex/harness-submit/SKILL.md +1 -1
  34. package/harness/bundles/general/codex/harness-sync/SKILL.md +1 -1
  35. package/harness/bundles/general/codex/harness-test/SKILL.md +1 -1
  36. package/harness/bundles/general/codex/scripts/harness_events_sync.py +15 -14
  37. package/harness/bundles/general/cursor/.harness-build.json +1 -1
  38. package/harness/bundles/general/cursor/harness-archive/SKILL.md +1 -1
  39. package/harness/bundles/general/cursor/harness-codebase-map/SKILL.md +1 -1
  40. package/harness/bundles/general/cursor/harness-knowledge-ingest/SKILL.md +1 -1
  41. package/harness/bundles/general/cursor/harness-knowledge-query/SKILL.md +1 -1
  42. package/harness/bundles/general/cursor/harness-plan/SKILL.md +1 -1
  43. package/harness/bundles/general/cursor/harness-review/SKILL.md +1 -1
  44. package/harness/bundles/general/cursor/harness-run/SKILL.md +1 -1
  45. package/harness/bundles/general/cursor/harness-submit/SKILL.md +1 -1
  46. package/harness/bundles/general/cursor/harness-sync/SKILL.md +1 -1
  47. package/harness/bundles/general/cursor/harness-test/SKILL.md +1 -1
  48. package/harness/bundles/general/cursor/scripts/harness_events_sync.py +15 -14
  49. package/harness/bundles/java/claude-code/.harness-build.json +1 -1
  50. package/harness/bundles/java/claude-code/harness-apidoc/SKILL.md +1 -1
  51. package/harness/bundles/java/claude-code/harness-archive/SKILL.md +1 -1
  52. package/harness/bundles/java/claude-code/harness-codebase-map/SKILL.md +1 -1
  53. package/harness/bundles/java/claude-code/harness-knowledge-ingest/SKILL.md +1 -1
  54. package/harness/bundles/java/claude-code/harness-knowledge-query/SKILL.md +1 -1
  55. package/harness/bundles/java/claude-code/harness-package/SKILL.md +1 -1
  56. package/harness/bundles/java/claude-code/harness-plan/SKILL.md +1 -1
  57. package/harness/bundles/java/claude-code/harness-review/SKILL.md +1 -1
  58. package/harness/bundles/java/claude-code/harness-run/SKILL.md +1 -1
  59. package/harness/bundles/java/claude-code/harness-submit/SKILL.md +1 -1
  60. package/harness/bundles/java/claude-code/harness-sync/SKILL.md +1 -1
  61. package/harness/bundles/java/claude-code/harness-test/SKILL.md +1 -1
  62. package/harness/bundles/java/claude-code/scripts/harness_events_sync.py +15 -14
  63. package/harness/bundles/java/codebuddy/.harness-build.json +1 -1
  64. package/harness/bundles/java/codebuddy/harness-apidoc/SKILL.md +1 -1
  65. package/harness/bundles/java/codebuddy/harness-archive/SKILL.md +1 -1
  66. package/harness/bundles/java/codebuddy/harness-codebase-map/SKILL.md +1 -1
  67. package/harness/bundles/java/codebuddy/harness-knowledge-ingest/SKILL.md +1 -1
  68. package/harness/bundles/java/codebuddy/harness-knowledge-query/SKILL.md +1 -1
  69. package/harness/bundles/java/codebuddy/harness-package/SKILL.md +1 -1
  70. package/harness/bundles/java/codebuddy/harness-plan/SKILL.md +1 -1
  71. package/harness/bundles/java/codebuddy/harness-review/SKILL.md +1 -1
  72. package/harness/bundles/java/codebuddy/harness-run/SKILL.md +1 -1
  73. package/harness/bundles/java/codebuddy/harness-submit/SKILL.md +1 -1
  74. package/harness/bundles/java/codebuddy/harness-sync/SKILL.md +1 -1
  75. package/harness/bundles/java/codebuddy/harness-test/SKILL.md +1 -1
  76. package/harness/bundles/java/codebuddy/scripts/harness_events_sync.py +15 -14
  77. package/harness/bundles/java/codex/.harness-build.json +1 -1
  78. package/harness/bundles/java/codex/harness-apidoc/SKILL.md +1 -1
  79. package/harness/bundles/java/codex/harness-archive/SKILL.md +1 -1
  80. package/harness/bundles/java/codex/harness-codebase-map/SKILL.md +1 -1
  81. package/harness/bundles/java/codex/harness-knowledge-ingest/SKILL.md +1 -1
  82. package/harness/bundles/java/codex/harness-knowledge-query/SKILL.md +1 -1
  83. package/harness/bundles/java/codex/harness-package/SKILL.md +1 -1
  84. package/harness/bundles/java/codex/harness-plan/SKILL.md +1 -1
  85. package/harness/bundles/java/codex/harness-review/SKILL.md +1 -1
  86. package/harness/bundles/java/codex/harness-run/SKILL.md +1 -1
  87. package/harness/bundles/java/codex/harness-submit/SKILL.md +1 -1
  88. package/harness/bundles/java/codex/harness-sync/SKILL.md +1 -1
  89. package/harness/bundles/java/codex/harness-test/SKILL.md +1 -1
  90. package/harness/bundles/java/codex/scripts/harness_events_sync.py +15 -14
  91. package/harness/bundles/java/cursor/.harness-build.json +1 -1
  92. package/harness/bundles/java/cursor/harness-apidoc/SKILL.md +1 -1
  93. package/harness/bundles/java/cursor/harness-archive/SKILL.md +1 -1
  94. package/harness/bundles/java/cursor/harness-codebase-map/SKILL.md +1 -1
  95. package/harness/bundles/java/cursor/harness-knowledge-ingest/SKILL.md +1 -1
  96. package/harness/bundles/java/cursor/harness-knowledge-query/SKILL.md +1 -1
  97. package/harness/bundles/java/cursor/harness-package/SKILL.md +1 -1
  98. package/harness/bundles/java/cursor/harness-plan/SKILL.md +1 -1
  99. package/harness/bundles/java/cursor/harness-review/SKILL.md +1 -1
  100. package/harness/bundles/java/cursor/harness-run/SKILL.md +1 -1
  101. package/harness/bundles/java/cursor/harness-submit/SKILL.md +1 -1
  102. package/harness/bundles/java/cursor/harness-sync/SKILL.md +1 -1
  103. package/harness/bundles/java/cursor/harness-test/SKILL.md +1 -1
  104. package/harness/bundles/java/cursor/scripts/harness_events_sync.py +15 -14
  105. package/harness/manifests/general/claude-code.json +14 -14
  106. package/harness/manifests/general/codebuddy.json +14 -14
  107. package/harness/manifests/general/codex.json +14 -14
  108. package/harness/manifests/general/cursor.json +14 -14
  109. package/harness/manifests/java/claude-code.json +16 -16
  110. package/harness/manifests/java/codebuddy.json +16 -16
  111. package/harness/manifests/java/codex.json +16 -16
  112. package/harness/manifests/java/cursor.json +16 -16
  113. package/hunter-workflow-family.json +5 -5
  114. package/package.json +1 -1
@@ -2,5 +2,5 @@
2
2
  "schemaVersion": 1,
3
3
  "overlay": "none",
4
4
  "agent": "claude-code",
5
- "coreHash": "da2c4ac217b8c723"
5
+ "coreHash": "f0b570d8225bf454"
6
6
  }
@@ -21,7 +21,7 @@ disallowed-tools:
21
21
  - Bash(awk *)
22
22
  - Bash(curl *)
23
23
  ---
24
- <!-- generated by harness_deploy.py; core=da2c4ac217b8c723; overlay=none; agent=claude-code; do not edit -->
24
+ <!-- generated by harness_deploy.py; core=f0b570d8225bf454; overlay=none; agent=claude-code; do not edit -->
25
25
  # harness-archive — 变更归档
26
26
 
27
27
  ## Purpose
@@ -20,7 +20,7 @@ disallowed-tools:
20
20
  - Bash(awk *)
21
21
  - Bash(curl *)
22
22
  ---
23
- <!-- generated by harness_deploy.py; core=da2c4ac217b8c723; overlay=none; agent=claude-code; do not edit -->
23
+ <!-- generated by harness_deploy.py; core=f0b570d8225bf454; overlay=none; agent=claude-code; do not edit -->
24
24
  # harness-codebase-map — 代码库地图
25
25
 
26
26
  ## Purpose
@@ -8,7 +8,7 @@ disallowed-tools:
8
8
  - Bash(git *)
9
9
  - Bash(curl *)
10
10
  ---
11
- <!-- generated by harness_deploy.py; core=da2c4ac217b8c723; overlay=none; agent=claude-code; do not edit -->
11
+ <!-- generated by harness_deploy.py; core=f0b570d8225bf454; overlay=none; agent=claude-code; do not edit -->
12
12
  # harness-knowledge-ingest
13
13
 
14
14
  知识 ingest 完全由 Hunter Platform 负责。归档完成时,客户端生成一个确定性 ZIP;
@@ -8,7 +8,7 @@ disallowed-tools:
8
8
  - Bash(git *)
9
9
  - Bash(curl *)
10
10
  ---
11
- <!-- generated by harness_deploy.py; core=da2c4ac217b8c723; overlay=none; agent=claude-code; do not edit -->
11
+ <!-- generated by harness_deploy.py; core=f0b570d8225bf454; overlay=none; agent=claude-code; do not edit -->
12
12
  # harness-knowledge-query
13
13
 
14
14
  项目知识以 Hunter Platform 的服务端索引为唯一真源。客户端只提交查询并消费结果:
@@ -21,7 +21,7 @@ disallowed-tools:
21
21
  - Bash(awk *)
22
22
  - Bash(curl *)
23
23
  ---
24
- <!-- generated by harness_deploy.py; core=da2c4ac217b8c723; overlay=none; agent=claude-code; do not edit -->
24
+ <!-- generated by harness_deploy.py; core=f0b570d8225bf454; overlay=none; agent=claude-code; do not edit -->
25
25
  # harness-plan — 需求规划
26
26
 
27
27
  ## Purpose
@@ -22,7 +22,7 @@ disallowed-tools:
22
22
  - Bash(curl *)
23
23
  - Bash(codegraph *)
24
24
  ---
25
- <!-- generated by harness_deploy.py; core=da2c4ac217b8c723; overlay=none; agent=claude-code; do not edit -->
25
+ <!-- generated by harness_deploy.py; core=f0b570d8225bf454; overlay=none; agent=claude-code; do not edit -->
26
26
  # harness-review — 代码审查
27
27
 
28
28
  ## Purpose
@@ -22,7 +22,7 @@ disallowed-tools:
22
22
  - Bash(curl *)
23
23
  - Bash(codegraph *)
24
24
  ---
25
- <!-- generated by harness_deploy.py; core=da2c4ac217b8c723; overlay=none; agent=claude-code; do not edit -->
25
+ <!-- generated by harness_deploy.py; core=f0b570d8225bf454; overlay=none; agent=claude-code; do not edit -->
26
26
  # harness-run — 需求编码
27
27
 
28
28
  ## Purpose
@@ -21,7 +21,7 @@ disallowed-tools:
21
21
  - Bash(awk *)
22
22
  - Bash(curl *)
23
23
  ---
24
- <!-- generated by harness_deploy.py; core=da2c4ac217b8c723; overlay=none; agent=claude-code; do not edit -->
24
+ <!-- generated by harness_deploy.py; core=f0b570d8225bf454; overlay=none; agent=claude-code; do not edit -->
25
25
  # harness-submit — 最终提交(含 worktree 合并)
26
26
 
27
27
  ## Purpose
@@ -19,7 +19,7 @@ disallowed-tools:
19
19
  - Bash(awk *)
20
20
  - Bash(curl *)
21
21
  ---
22
- <!-- generated by harness_deploy.py; core=da2c4ac217b8c723; overlay=none; agent=claude-code; do not edit -->
22
+ <!-- generated by harness_deploy.py; core=f0b570d8225bf454; overlay=none; agent=claude-code; do not edit -->
23
23
  # harness-sync
24
24
 
25
25
  ## Purpose
@@ -23,7 +23,7 @@ disallowed-tools:
23
23
  - Bash(node *)
24
24
  - Bash(codegraph *)
25
25
  ---
26
- <!-- generated by harness_deploy.py; core=da2c4ac217b8c723; overlay=none; agent=claude-code; do not edit -->
26
+ <!-- generated by harness_deploy.py; core=f0b570d8225bf454; overlay=none; agent=claude-code; do not edit -->
27
27
  # harness-test — 测试执行
28
28
 
29
29
  ## Purpose
@@ -804,25 +804,26 @@ class _CrossProcessLock:
804
804
  def _windowless_python_executable(
805
805
  executable: str, base_executable: str | None
806
806
  ) -> str:
807
- """Return a Windows interpreter that cannot allocate a console window.
808
-
809
- Virtual-environment ``python.exe`` files may be forwarding launchers. Even
810
- when the first process is created with ``CREATE_NO_WINDOW``, such a launcher
811
- can start the real console interpreter and make Windows Terminal flash. A
812
- sibling ``pythonw.exe`` preserves the windowless subsystem across that hop.
807
+ """Return the real Windows interpreter, bypassing venv forwarding launchers.
808
+
809
+ Virtual-environment ``python.exe`` and ``pythonw.exe`` files may both be
810
+ forwarding launchers. The forwarding hop can start the real console
811
+ interpreter without preserving ``CREATE_NO_WINDOW`` and make Windows
812
+ Terminal appear. Prefer the base runtime directly; its ``pythonw.exe`` is
813
+ ideal, while its console executable remains windowless under our explicit
814
+ process creation flags.
813
815
  """
814
816
  executable_path = Path(executable)
815
- candidates = [executable_path.with_name("pythonw.exe")]
816
817
  if base_executable:
817
818
  base_path = Path(base_executable)
818
819
  base_windowless = base_path.with_name("pythonw.exe")
819
- if base_windowless not in candidates:
820
- candidates.append(base_windowless)
821
- for candidate in candidates:
822
- if candidate.is_file():
823
- return str(candidate)
824
- if base_executable and Path(base_executable).is_file():
825
- return str(Path(base_executable))
820
+ if base_windowless.is_file():
821
+ return str(base_windowless)
822
+ if base_path.is_file():
823
+ return str(base_path)
824
+ windowless = executable_path.with_name("pythonw.exe")
825
+ if windowless.is_file():
826
+ return str(windowless)
826
827
  return str(executable_path)
827
828
 
828
829
 
@@ -2,5 +2,5 @@
2
2
  "schemaVersion": 1,
3
3
  "overlay": "none",
4
4
  "agent": "codebuddy",
5
- "coreHash": "da2c4ac217b8c723"
5
+ "coreHash": "f0b570d8225bf454"
6
6
  }
@@ -3,7 +3,7 @@ name: harness-archive
3
3
  description: 归档所有变更产出(计划/测试报告/审查/SQL/API文档)到 .harness/archive/,含归档元数据。仅当用户显式调用
4
4
  /harness-archive 时使用;不得被其他阶段 skill 自动接续触发。
5
5
  ---
6
- <!-- generated by harness_deploy.py; core=da2c4ac217b8c723; overlay=none; agent=codebuddy; do not edit -->
6
+ <!-- generated by harness_deploy.py; core=f0b570d8225bf454; overlay=none; agent=codebuddy; do not edit -->
7
7
  # harness-archive — 变更归档
8
8
 
9
9
  ## Purpose
@@ -3,7 +3,7 @@ name: harness-codebase-map
3
3
  description: 分析现有代码库并生成 .harness/codebase/map/
4
4
  下的结构化代码库地图。用于陌生项目理解、重大改造前梳理、harness-sync 提示 map 过期后的人工刷新。
5
5
  ---
6
- <!-- generated by harness_deploy.py; core=da2c4ac217b8c723; overlay=none; agent=codebuddy; do not edit -->
6
+ <!-- generated by harness_deploy.py; core=f0b570d8225bf454; overlay=none; agent=codebuddy; do not edit -->
7
7
  # harness-codebase-map — 代码库地图
8
8
 
9
9
  ## Purpose
@@ -2,7 +2,7 @@
2
2
  name: harness-knowledge-ingest
3
3
  description: 确认归档 ZIP 已上传并由 Hunter Platform 在服务端解包、校验和入库。客户端不再构建或维护本地知识索引。
4
4
  ---
5
- <!-- generated by harness_deploy.py; core=da2c4ac217b8c723; overlay=none; agent=codebuddy; do not edit -->
5
+ <!-- generated by harness_deploy.py; core=f0b570d8225bf454; overlay=none; agent=codebuddy; do not edit -->
6
6
  # harness-knowledge-ingest
7
7
 
8
8
  知识 ingest 完全由 Hunter Platform 负责。归档完成时,客户端生成一个确定性 ZIP;
@@ -2,7 +2,7 @@
2
2
  name: harness-knowledge-query
3
3
  description: 在规划、实现或排查前,通过 hunter-harness CLI 查询远端项目知识库。远端不可用时直接报告不可用,不建立本地索引或离线回退。
4
4
  ---
5
- <!-- generated by harness_deploy.py; core=da2c4ac217b8c723; overlay=none; agent=codebuddy; do not edit -->
5
+ <!-- generated by harness_deploy.py; core=f0b570d8225bf454; overlay=none; agent=codebuddy; do not edit -->
6
6
  # harness-knowledge-query
7
7
 
8
8
  项目知识以 Hunter Platform 的服务端索引为唯一真源。客户端只提交查询并消费结果:
@@ -3,7 +3,7 @@ name: harness-plan
3
3
  description: 将需求转化为设计文档+实施计划+完整测试场景表,必须在编码前完成。仅当用户显式调用 /harness-plan 或明确要求进入
4
4
  Harness 规划阶段时使用;不得因用户描述需求就自动触发。
5
5
  ---
6
- <!-- generated by harness_deploy.py; core=da2c4ac217b8c723; overlay=none; agent=codebuddy; do not edit -->
6
+ <!-- generated by harness_deploy.py; core=f0b570d8225bf454; overlay=none; agent=codebuddy; do not edit -->
7
7
  # harness-plan — 需求规划
8
8
 
9
9
  ## Purpose
@@ -4,7 +4,7 @@ description: 6维度代码审查(架构/安全/规范/兼容/测试/性能)
4
4
  .harness/context-index.json)和测试场景表,在隔离上下文运行。仅当用户显式调用 /harness-review 时使用;不得在
5
5
  test 结束后自动接续执行。
6
6
  ---
7
- <!-- generated by harness_deploy.py; core=da2c4ac217b8c723; overlay=none; agent=codebuddy; do not edit -->
7
+ <!-- generated by harness_deploy.py; core=f0b570d8225bf454; overlay=none; agent=codebuddy; do not edit -->
8
8
  # harness-review — 代码审查
9
9
 
10
10
  ## Purpose
@@ -3,7 +3,7 @@ name: harness-run
3
3
  description: 按变更簇执行 TDD 编码循环(RED→GREEN→REFACTOR→编译验证),逐变更簇实现计划中的任务。仅当用户显式调用
4
4
  /harness-run 时使用;不得因用户提到编码/实现就自动触发,也不得被其他阶段 skill 自动接续。
5
5
  ---
6
- <!-- generated by harness_deploy.py; core=da2c4ac217b8c723; overlay=none; agent=codebuddy; do not edit -->
6
+ <!-- generated by harness_deploy.py; core=f0b570d8225bf454; overlay=none; agent=codebuddy; do not edit -->
7
7
  # harness-run — 需求编码
8
8
 
9
9
  ## Purpose
@@ -3,7 +3,7 @@ name: harness-submit
3
3
  description: 最终提交封装:验证→中文 commit→提交/推送;worktree 模式含 --no-ff 合并回主分支。仅当用户显式调用
4
4
  /harness-submit(或 /harness-merge 重入合并段)时使用;用户口头说'提交/commit/push'时必须先确认,不得自动触发。
5
5
  ---
6
- <!-- generated by harness_deploy.py; core=da2c4ac217b8c723; overlay=none; agent=codebuddy; do not edit -->
6
+ <!-- generated by harness_deploy.py; core=f0b570d8225bf454; overlay=none; agent=codebuddy; do not edit -->
7
7
  # harness-submit — 最终提交(含 worktree 合并)
8
8
 
9
9
  ## Purpose
@@ -4,7 +4,7 @@ description: Use when the user asks to synchronize, refresh, or validate Harness
4
4
  metadata, adapters, remote knowledge ownership, instruction entrypoints,
5
5
  config origins, or CodeGraph status.
6
6
  ---
7
- <!-- generated by harness_deploy.py; core=da2c4ac217b8c723; overlay=none; agent=codebuddy; do not edit -->
7
+ <!-- generated by harness_deploy.py; core=f0b570d8225bf454; overlay=none; agent=codebuddy; do not edit -->
8
8
  # harness-sync
9
9
 
10
10
  ## Purpose
@@ -3,7 +3,7 @@ name: harness-test
3
3
  description: 测试执行:读取场景表,执行单元测试+API接口测试+数据兼容验证,输出测试报告。仅当用户显式调用 /harness-test
4
4
  时使用;不得在 run 结束后自动接续执行。
5
5
  ---
6
- <!-- generated by harness_deploy.py; core=da2c4ac217b8c723; overlay=none; agent=codebuddy; do not edit -->
6
+ <!-- generated by harness_deploy.py; core=f0b570d8225bf454; overlay=none; agent=codebuddy; do not edit -->
7
7
  # harness-test — 测试执行
8
8
 
9
9
  ## Purpose
@@ -804,25 +804,26 @@ class _CrossProcessLock:
804
804
  def _windowless_python_executable(
805
805
  executable: str, base_executable: str | None
806
806
  ) -> str:
807
- """Return a Windows interpreter that cannot allocate a console window.
808
-
809
- Virtual-environment ``python.exe`` files may be forwarding launchers. Even
810
- when the first process is created with ``CREATE_NO_WINDOW``, such a launcher
811
- can start the real console interpreter and make Windows Terminal flash. A
812
- sibling ``pythonw.exe`` preserves the windowless subsystem across that hop.
807
+ """Return the real Windows interpreter, bypassing venv forwarding launchers.
808
+
809
+ Virtual-environment ``python.exe`` and ``pythonw.exe`` files may both be
810
+ forwarding launchers. The forwarding hop can start the real console
811
+ interpreter without preserving ``CREATE_NO_WINDOW`` and make Windows
812
+ Terminal appear. Prefer the base runtime directly; its ``pythonw.exe`` is
813
+ ideal, while its console executable remains windowless under our explicit
814
+ process creation flags.
813
815
  """
814
816
  executable_path = Path(executable)
815
- candidates = [executable_path.with_name("pythonw.exe")]
816
817
  if base_executable:
817
818
  base_path = Path(base_executable)
818
819
  base_windowless = base_path.with_name("pythonw.exe")
819
- if base_windowless not in candidates:
820
- candidates.append(base_windowless)
821
- for candidate in candidates:
822
- if candidate.is_file():
823
- return str(candidate)
824
- if base_executable and Path(base_executable).is_file():
825
- return str(Path(base_executable))
820
+ if base_windowless.is_file():
821
+ return str(base_windowless)
822
+ if base_path.is_file():
823
+ return str(base_path)
824
+ windowless = executable_path.with_name("pythonw.exe")
825
+ if windowless.is_file():
826
+ return str(windowless)
826
827
  return str(executable_path)
827
828
 
828
829
 
@@ -2,5 +2,5 @@
2
2
  "schemaVersion": 1,
3
3
  "overlay": "none",
4
4
  "agent": "codex",
5
- "coreHash": "27dbbca4ee5ddbbf"
5
+ "coreHash": "4d19b76e8f2f2695"
6
6
  }
@@ -3,7 +3,7 @@ name: harness-archive
3
3
  description: 归档所有变更产出(计划/测试报告/审查/SQL/API文档)到 .harness/archive/,含归档元数据。仅当用户显式调用
4
4
  /harness-archive 时使用;不得被其他阶段 skill 自动接续触发。
5
5
  ---
6
- <!-- generated by harness_deploy.py; core=27dbbca4ee5ddbbf; overlay=none; agent=codex; do not edit -->
6
+ <!-- generated by harness_deploy.py; core=4d19b76e8f2f2695; overlay=none; agent=codex; do not edit -->
7
7
  # harness-archive — 变更归档
8
8
 
9
9
  ## Purpose
@@ -3,7 +3,7 @@ name: harness-codebase-map
3
3
  description: 分析现有代码库并生成 .harness/codebase/map/
4
4
  下的结构化代码库地图。用于陌生项目理解、重大改造前梳理、harness-sync 提示 map 过期后的人工刷新。
5
5
  ---
6
- <!-- generated by harness_deploy.py; core=27dbbca4ee5ddbbf; overlay=none; agent=codex; do not edit -->
6
+ <!-- generated by harness_deploy.py; core=4d19b76e8f2f2695; overlay=none; agent=codex; do not edit -->
7
7
  # harness-codebase-map — 代码库地图
8
8
 
9
9
  ## Purpose
@@ -2,7 +2,7 @@
2
2
  name: harness-knowledge-ingest
3
3
  description: 确认归档 ZIP 已上传并由 Hunter Platform 在服务端解包、校验和入库。客户端不再构建或维护本地知识索引。
4
4
  ---
5
- <!-- generated by harness_deploy.py; core=27dbbca4ee5ddbbf; overlay=none; agent=codex; do not edit -->
5
+ <!-- generated by harness_deploy.py; core=4d19b76e8f2f2695; overlay=none; agent=codex; do not edit -->
6
6
  # harness-knowledge-ingest
7
7
 
8
8
  知识 ingest 完全由 Hunter Platform 负责。归档完成时,客户端生成一个确定性 ZIP;
@@ -2,7 +2,7 @@
2
2
  name: harness-knowledge-query
3
3
  description: 在规划、实现或排查前,通过 hunter-harness CLI 查询远端项目知识库。远端不可用时直接报告不可用,不建立本地索引或离线回退。
4
4
  ---
5
- <!-- generated by harness_deploy.py; core=27dbbca4ee5ddbbf; overlay=none; agent=codex; do not edit -->
5
+ <!-- generated by harness_deploy.py; core=4d19b76e8f2f2695; overlay=none; agent=codex; do not edit -->
6
6
  # harness-knowledge-query
7
7
 
8
8
  项目知识以 Hunter Platform 的服务端索引为唯一真源。客户端只提交查询并消费结果:
@@ -3,7 +3,7 @@ name: harness-plan
3
3
  description: 将需求转化为设计文档+实施计划+完整测试场景表,必须在编码前完成。仅当用户显式调用 /harness-plan 或明确要求进入
4
4
  Harness 规划阶段时使用;不得因用户描述需求就自动触发。
5
5
  ---
6
- <!-- generated by harness_deploy.py; core=27dbbca4ee5ddbbf; overlay=none; agent=codex; do not edit -->
6
+ <!-- generated by harness_deploy.py; core=4d19b76e8f2f2695; overlay=none; agent=codex; do not edit -->
7
7
  # harness-plan — 需求规划
8
8
 
9
9
  ## Purpose
@@ -4,7 +4,7 @@ description: 6维度代码审查(架构/安全/规范/兼容/测试/性能)
4
4
  .harness/context-index.json)和测试场景表,在隔离上下文运行。仅当用户显式调用 /harness-review 时使用;不得在
5
5
  test 结束后自动接续执行。
6
6
  ---
7
- <!-- generated by harness_deploy.py; core=27dbbca4ee5ddbbf; overlay=none; agent=codex; do not edit -->
7
+ <!-- generated by harness_deploy.py; core=4d19b76e8f2f2695; overlay=none; agent=codex; do not edit -->
8
8
  # harness-review — 代码审查
9
9
 
10
10
  ## Purpose
@@ -3,7 +3,7 @@ name: harness-run
3
3
  description: 按变更簇执行 TDD 编码循环(RED→GREEN→REFACTOR→编译验证),逐变更簇实现计划中的任务。仅当用户显式调用
4
4
  /harness-run 时使用;不得因用户提到编码/实现就自动触发,也不得被其他阶段 skill 自动接续。
5
5
  ---
6
- <!-- generated by harness_deploy.py; core=27dbbca4ee5ddbbf; overlay=none; agent=codex; do not edit -->
6
+ <!-- generated by harness_deploy.py; core=4d19b76e8f2f2695; overlay=none; agent=codex; do not edit -->
7
7
  # harness-run — 需求编码
8
8
 
9
9
  ## Purpose
@@ -3,7 +3,7 @@ name: harness-submit
3
3
  description: 最终提交封装:验证→中文 commit→提交/推送;worktree 模式含 --no-ff 合并回主分支。仅当用户显式调用
4
4
  /harness-submit(或 /harness-merge 重入合并段)时使用;用户口头说'提交/commit/push'时必须先确认,不得自动触发。
5
5
  ---
6
- <!-- generated by harness_deploy.py; core=27dbbca4ee5ddbbf; overlay=none; agent=codex; do not edit -->
6
+ <!-- generated by harness_deploy.py; core=4d19b76e8f2f2695; overlay=none; agent=codex; do not edit -->
7
7
  # harness-submit — 最终提交(含 worktree 合并)
8
8
 
9
9
  ## Purpose
@@ -4,7 +4,7 @@ description: Use when the user asks to synchronize, refresh, or validate Harness
4
4
  metadata, adapters, remote knowledge ownership, instruction entrypoints,
5
5
  config origins, or CodeGraph status.
6
6
  ---
7
- <!-- generated by harness_deploy.py; core=27dbbca4ee5ddbbf; overlay=none; agent=codex; do not edit -->
7
+ <!-- generated by harness_deploy.py; core=4d19b76e8f2f2695; overlay=none; agent=codex; do not edit -->
8
8
  # harness-sync
9
9
 
10
10
  ## Purpose
@@ -3,7 +3,7 @@ name: harness-test
3
3
  description: 测试执行:读取场景表,执行单元测试+API接口测试+数据兼容验证,输出测试报告。仅当用户显式调用 /harness-test
4
4
  时使用;不得在 run 结束后自动接续执行。
5
5
  ---
6
- <!-- generated by harness_deploy.py; core=27dbbca4ee5ddbbf; overlay=none; agent=codex; do not edit -->
6
+ <!-- generated by harness_deploy.py; core=4d19b76e8f2f2695; overlay=none; agent=codex; do not edit -->
7
7
  # harness-test — 测试执行
8
8
 
9
9
  ## Purpose
@@ -804,25 +804,26 @@ class _CrossProcessLock:
804
804
  def _windowless_python_executable(
805
805
  executable: str, base_executable: str | None
806
806
  ) -> str:
807
- """Return a Windows interpreter that cannot allocate a console window.
808
-
809
- Virtual-environment ``python.exe`` files may be forwarding launchers. Even
810
- when the first process is created with ``CREATE_NO_WINDOW``, such a launcher
811
- can start the real console interpreter and make Windows Terminal flash. A
812
- sibling ``pythonw.exe`` preserves the windowless subsystem across that hop.
807
+ """Return the real Windows interpreter, bypassing venv forwarding launchers.
808
+
809
+ Virtual-environment ``python.exe`` and ``pythonw.exe`` files may both be
810
+ forwarding launchers. The forwarding hop can start the real console
811
+ interpreter without preserving ``CREATE_NO_WINDOW`` and make Windows
812
+ Terminal appear. Prefer the base runtime directly; its ``pythonw.exe`` is
813
+ ideal, while its console executable remains windowless under our explicit
814
+ process creation flags.
813
815
  """
814
816
  executable_path = Path(executable)
815
- candidates = [executable_path.with_name("pythonw.exe")]
816
817
  if base_executable:
817
818
  base_path = Path(base_executable)
818
819
  base_windowless = base_path.with_name("pythonw.exe")
819
- if base_windowless not in candidates:
820
- candidates.append(base_windowless)
821
- for candidate in candidates:
822
- if candidate.is_file():
823
- return str(candidate)
824
- if base_executable and Path(base_executable).is_file():
825
- return str(Path(base_executable))
820
+ if base_windowless.is_file():
821
+ return str(base_windowless)
822
+ if base_path.is_file():
823
+ return str(base_path)
824
+ windowless = executable_path.with_name("pythonw.exe")
825
+ if windowless.is_file():
826
+ return str(windowless)
826
827
  return str(executable_path)
827
828
 
828
829
 
@@ -2,5 +2,5 @@
2
2
  "schemaVersion": 1,
3
3
  "overlay": "none",
4
4
  "agent": "cursor",
5
- "coreHash": "48d9a70e20eac898"
5
+ "coreHash": "98ae1dccfc0ac4e1"
6
6
  }
@@ -3,7 +3,7 @@ name: harness-archive
3
3
  description: 归档所有变更产出(计划/测试报告/审查/SQL/API文档)到 .harness/archive/,含归档元数据。仅当用户显式调用
4
4
  /harness-archive 时使用;不得被其他阶段 skill 自动接续触发。
5
5
  ---
6
- <!-- generated by harness_deploy.py; core=48d9a70e20eac898; overlay=none; agent=cursor; do not edit -->
6
+ <!-- generated by harness_deploy.py; core=98ae1dccfc0ac4e1; overlay=none; agent=cursor; do not edit -->
7
7
  # harness-archive — 变更归档
8
8
 
9
9
  ## Purpose
@@ -3,7 +3,7 @@ name: harness-codebase-map
3
3
  description: 分析现有代码库并生成 .harness/codebase/map/
4
4
  下的结构化代码库地图。用于陌生项目理解、重大改造前梳理、harness-sync 提示 map 过期后的人工刷新。
5
5
  ---
6
- <!-- generated by harness_deploy.py; core=48d9a70e20eac898; overlay=none; agent=cursor; do not edit -->
6
+ <!-- generated by harness_deploy.py; core=98ae1dccfc0ac4e1; overlay=none; agent=cursor; do not edit -->
7
7
  # harness-codebase-map — 代码库地图
8
8
 
9
9
  ## Purpose
@@ -2,7 +2,7 @@
2
2
  name: harness-knowledge-ingest
3
3
  description: 确认归档 ZIP 已上传并由 Hunter Platform 在服务端解包、校验和入库。客户端不再构建或维护本地知识索引。
4
4
  ---
5
- <!-- generated by harness_deploy.py; core=48d9a70e20eac898; overlay=none; agent=cursor; do not edit -->
5
+ <!-- generated by harness_deploy.py; core=98ae1dccfc0ac4e1; overlay=none; agent=cursor; do not edit -->
6
6
  # harness-knowledge-ingest
7
7
 
8
8
  知识 ingest 完全由 Hunter Platform 负责。归档完成时,客户端生成一个确定性 ZIP;
@@ -2,7 +2,7 @@
2
2
  name: harness-knowledge-query
3
3
  description: 在规划、实现或排查前,通过 hunter-harness CLI 查询远端项目知识库。远端不可用时直接报告不可用,不建立本地索引或离线回退。
4
4
  ---
5
- <!-- generated by harness_deploy.py; core=48d9a70e20eac898; overlay=none; agent=cursor; do not edit -->
5
+ <!-- generated by harness_deploy.py; core=98ae1dccfc0ac4e1; overlay=none; agent=cursor; do not edit -->
6
6
  # harness-knowledge-query
7
7
 
8
8
  项目知识以 Hunter Platform 的服务端索引为唯一真源。客户端只提交查询并消费结果:
@@ -3,7 +3,7 @@ name: harness-plan
3
3
  description: 将需求转化为设计文档+实施计划+完整测试场景表,必须在编码前完成。仅当用户显式调用 /harness-plan 或明确要求进入
4
4
  Harness 规划阶段时使用;不得因用户描述需求就自动触发。
5
5
  ---
6
- <!-- generated by harness_deploy.py; core=48d9a70e20eac898; overlay=none; agent=cursor; do not edit -->
6
+ <!-- generated by harness_deploy.py; core=98ae1dccfc0ac4e1; overlay=none; agent=cursor; do not edit -->
7
7
  # harness-plan — 需求规划
8
8
 
9
9
  ## Purpose
@@ -4,7 +4,7 @@ description: 6维度代码审查(架构/安全/规范/兼容/测试/性能)
4
4
  .harness/context-index.json)和测试场景表,在隔离上下文运行。仅当用户显式调用 /harness-review 时使用;不得在
5
5
  test 结束后自动接续执行。
6
6
  ---
7
- <!-- generated by harness_deploy.py; core=48d9a70e20eac898; overlay=none; agent=cursor; do not edit -->
7
+ <!-- generated by harness_deploy.py; core=98ae1dccfc0ac4e1; overlay=none; agent=cursor; do not edit -->
8
8
  # harness-review — 代码审查
9
9
 
10
10
  ## Purpose
@@ -3,7 +3,7 @@ name: harness-run
3
3
  description: 按变更簇执行 TDD 编码循环(RED→GREEN→REFACTOR→编译验证),逐变更簇实现计划中的任务。仅当用户显式调用
4
4
  /harness-run 时使用;不得因用户提到编码/实现就自动触发,也不得被其他阶段 skill 自动接续。
5
5
  ---
6
- <!-- generated by harness_deploy.py; core=48d9a70e20eac898; overlay=none; agent=cursor; do not edit -->
6
+ <!-- generated by harness_deploy.py; core=98ae1dccfc0ac4e1; overlay=none; agent=cursor; do not edit -->
7
7
  # harness-run — 需求编码
8
8
 
9
9
  ## Purpose
@@ -3,7 +3,7 @@ name: harness-submit
3
3
  description: 最终提交封装:验证→中文 commit→提交/推送;worktree 模式含 --no-ff 合并回主分支。仅当用户显式调用
4
4
  /harness-submit(或 /harness-merge 重入合并段)时使用;用户口头说'提交/commit/push'时必须先确认,不得自动触发。
5
5
  ---
6
- <!-- generated by harness_deploy.py; core=48d9a70e20eac898; overlay=none; agent=cursor; do not edit -->
6
+ <!-- generated by harness_deploy.py; core=98ae1dccfc0ac4e1; overlay=none; agent=cursor; do not edit -->
7
7
  # harness-submit — 最终提交(含 worktree 合并)
8
8
 
9
9
  ## Purpose
@@ -4,7 +4,7 @@ description: Use when the user asks to synchronize, refresh, or validate Harness
4
4
  metadata, adapters, remote knowledge ownership, instruction entrypoints,
5
5
  config origins, or CodeGraph status.
6
6
  ---
7
- <!-- generated by harness_deploy.py; core=48d9a70e20eac898; overlay=none; agent=cursor; do not edit -->
7
+ <!-- generated by harness_deploy.py; core=98ae1dccfc0ac4e1; overlay=none; agent=cursor; do not edit -->
8
8
  # harness-sync
9
9
 
10
10
  ## Purpose
@@ -3,7 +3,7 @@ name: harness-test
3
3
  description: 测试执行:读取场景表,执行单元测试+API接口测试+数据兼容验证,输出测试报告。仅当用户显式调用 /harness-test
4
4
  时使用;不得在 run 结束后自动接续执行。
5
5
  ---
6
- <!-- generated by harness_deploy.py; core=48d9a70e20eac898; overlay=none; agent=cursor; do not edit -->
6
+ <!-- generated by harness_deploy.py; core=98ae1dccfc0ac4e1; overlay=none; agent=cursor; do not edit -->
7
7
  # harness-test — 测试执行
8
8
 
9
9
  ## Purpose
@@ -804,25 +804,26 @@ class _CrossProcessLock:
804
804
  def _windowless_python_executable(
805
805
  executable: str, base_executable: str | None
806
806
  ) -> str:
807
- """Return a Windows interpreter that cannot allocate a console window.
808
-
809
- Virtual-environment ``python.exe`` files may be forwarding launchers. Even
810
- when the first process is created with ``CREATE_NO_WINDOW``, such a launcher
811
- can start the real console interpreter and make Windows Terminal flash. A
812
- sibling ``pythonw.exe`` preserves the windowless subsystem across that hop.
807
+ """Return the real Windows interpreter, bypassing venv forwarding launchers.
808
+
809
+ Virtual-environment ``python.exe`` and ``pythonw.exe`` files may both be
810
+ forwarding launchers. The forwarding hop can start the real console
811
+ interpreter without preserving ``CREATE_NO_WINDOW`` and make Windows
812
+ Terminal appear. Prefer the base runtime directly; its ``pythonw.exe`` is
813
+ ideal, while its console executable remains windowless under our explicit
814
+ process creation flags.
813
815
  """
814
816
  executable_path = Path(executable)
815
- candidates = [executable_path.with_name("pythonw.exe")]
816
817
  if base_executable:
817
818
  base_path = Path(base_executable)
818
819
  base_windowless = base_path.with_name("pythonw.exe")
819
- if base_windowless not in candidates:
820
- candidates.append(base_windowless)
821
- for candidate in candidates:
822
- if candidate.is_file():
823
- return str(candidate)
824
- if base_executable and Path(base_executable).is_file():
825
- return str(Path(base_executable))
820
+ if base_windowless.is_file():
821
+ return str(base_windowless)
822
+ if base_path.is_file():
823
+ return str(base_path)
824
+ windowless = executable_path.with_name("pythonw.exe")
825
+ if windowless.is_file():
826
+ return str(windowless)
826
827
  return str(executable_path)
827
828
 
828
829