@hunter-harness/workflow-harness 0.2.55 → 0.2.56
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.
- package/harness/bundles/general/claude-code/.harness-build.json +1 -1
- package/harness/bundles/general/claude-code/README.md +3 -3
- package/harness/bundles/general/claude-code/contracts/workflow-policy.json +1 -1
- package/harness/bundles/general/claude-code/harness-archive/SKILL.md +21 -33
- package/harness/bundles/general/claude-code/harness-archive/checklist.md +6 -10
- package/harness/bundles/general/claude-code/harness-codebase-map/SKILL.md +1 -1
- package/harness/bundles/general/claude-code/harness-knowledge-ingest/SKILL.md +1 -1
- package/harness/bundles/general/claude-code/harness-knowledge-query/SKILL.md +1 -1
- package/harness/bundles/general/claude-code/harness-plan/SKILL.md +7 -3
- package/harness/bundles/general/claude-code/harness-review/SKILL.md +6 -4
- package/harness/bundles/general/claude-code/harness-run/SKILL.md +7 -5
- package/harness/bundles/general/claude-code/harness-run/checklist.md +1 -1
- package/harness/bundles/general/claude-code/harness-run/reference.md +2 -2
- package/harness/bundles/general/claude-code/harness-submit/SKILL.md +6 -6
- package/harness/bundles/general/claude-code/harness-submit/checklist.md +1 -1
- package/harness/bundles/general/claude-code/harness-sync/SKILL.md +1 -1
- package/harness/bundles/general/claude-code/harness-test/SKILL.md +6 -6
- package/harness/bundles/general/claude-code/harness-test/checklist.md +1 -1
- package/harness/bundles/general/claude-code/harness-test/reference.md +2 -2
- package/harness/bundles/general/claude-code/protocols/ledger-protocol.md +3 -3
- package/harness/bundles/general/claude-code/scripts/harness_archive.py +276 -67
- package/harness/bundles/general/claude-code/scripts/harness_context.py +165 -41
- package/harness/bundles/general/claude-code/scripts/harness_events.py +46 -4
- package/harness/bundles/general/claude-code/scripts/harness_events_sync.py +108 -3
- package/harness/bundles/general/claude-code/scripts/harness_fixback.py +189 -1
- package/harness/bundles/general/claude-code/scripts/harness_gate.py +188 -2
- package/harness/bundles/general/claude-code/scripts/harness_ledger.py +193 -11
- package/harness/bundles/general/claude-code/scripts/harness_plan_finalize.py +80 -0
- package/harness/bundles/general/codebuddy/.harness-build.json +1 -1
- package/harness/bundles/general/codebuddy/README.md +3 -3
- package/harness/bundles/general/codebuddy/contracts/workflow-policy.json +1 -1
- package/harness/bundles/general/codebuddy/harness-archive/SKILL.md +21 -33
- package/harness/bundles/general/codebuddy/harness-archive/checklist.md +6 -10
- package/harness/bundles/general/codebuddy/harness-codebase-map/SKILL.md +1 -1
- package/harness/bundles/general/codebuddy/harness-knowledge-ingest/SKILL.md +1 -1
- package/harness/bundles/general/codebuddy/harness-knowledge-query/SKILL.md +1 -1
- package/harness/bundles/general/codebuddy/harness-plan/SKILL.md +7 -3
- package/harness/bundles/general/codebuddy/harness-review/SKILL.md +6 -4
- package/harness/bundles/general/codebuddy/harness-run/SKILL.md +7 -5
- package/harness/bundles/general/codebuddy/harness-run/checklist.md +1 -1
- package/harness/bundles/general/codebuddy/harness-run/reference.md +2 -2
- package/harness/bundles/general/codebuddy/harness-submit/SKILL.md +6 -6
- package/harness/bundles/general/codebuddy/harness-submit/checklist.md +1 -1
- package/harness/bundles/general/codebuddy/harness-sync/SKILL.md +1 -1
- package/harness/bundles/general/codebuddy/harness-test/SKILL.md +6 -6
- package/harness/bundles/general/codebuddy/harness-test/checklist.md +1 -1
- package/harness/bundles/general/codebuddy/harness-test/reference.md +2 -2
- package/harness/bundles/general/codebuddy/protocols/ledger-protocol.md +3 -3
- package/harness/bundles/general/codebuddy/scripts/harness_archive.py +276 -67
- package/harness/bundles/general/codebuddy/scripts/harness_context.py +165 -41
- package/harness/bundles/general/codebuddy/scripts/harness_events.py +46 -4
- package/harness/bundles/general/codebuddy/scripts/harness_events_sync.py +108 -3
- package/harness/bundles/general/codebuddy/scripts/harness_fixback.py +189 -1
- package/harness/bundles/general/codebuddy/scripts/harness_gate.py +188 -2
- package/harness/bundles/general/codebuddy/scripts/harness_ledger.py +193 -11
- package/harness/bundles/general/codebuddy/scripts/harness_plan_finalize.py +80 -0
- package/harness/bundles/general/codex/.harness-build.json +1 -1
- package/harness/bundles/general/codex/README.md +3 -3
- package/harness/bundles/general/codex/contracts/workflow-policy.json +1 -1
- package/harness/bundles/general/codex/harness-archive/SKILL.md +21 -33
- package/harness/bundles/general/codex/harness-archive/checklist.md +6 -10
- package/harness/bundles/general/codex/harness-codebase-map/SKILL.md +1 -1
- package/harness/bundles/general/codex/harness-knowledge-ingest/SKILL.md +1 -1
- package/harness/bundles/general/codex/harness-knowledge-query/SKILL.md +1 -1
- package/harness/bundles/general/codex/harness-plan/SKILL.md +7 -3
- package/harness/bundles/general/codex/harness-review/SKILL.md +4 -4
- package/harness/bundles/general/codex/harness-run/SKILL.md +7 -5
- package/harness/bundles/general/codex/harness-run/checklist.md +1 -1
- package/harness/bundles/general/codex/harness-run/reference.md +2 -2
- package/harness/bundles/general/codex/harness-submit/SKILL.md +6 -6
- package/harness/bundles/general/codex/harness-submit/checklist.md +1 -1
- package/harness/bundles/general/codex/harness-sync/SKILL.md +1 -1
- package/harness/bundles/general/codex/harness-test/SKILL.md +6 -6
- package/harness/bundles/general/codex/harness-test/checklist.md +1 -1
- package/harness/bundles/general/codex/harness-test/reference.md +2 -2
- package/harness/bundles/general/codex/protocols/ledger-protocol.md +3 -3
- package/harness/bundles/general/codex/scripts/harness_archive.py +276 -67
- package/harness/bundles/general/codex/scripts/harness_context.py +165 -41
- package/harness/bundles/general/codex/scripts/harness_events.py +46 -4
- package/harness/bundles/general/codex/scripts/harness_events_sync.py +108 -3
- package/harness/bundles/general/codex/scripts/harness_fixback.py +189 -1
- package/harness/bundles/general/codex/scripts/harness_gate.py +188 -2
- package/harness/bundles/general/codex/scripts/harness_ledger.py +193 -11
- package/harness/bundles/general/codex/scripts/harness_plan_finalize.py +80 -0
- package/harness/bundles/general/cursor/.harness-build.json +1 -1
- package/harness/bundles/general/cursor/README.md +3 -3
- package/harness/bundles/general/cursor/contracts/workflow-policy.json +1 -1
- package/harness/bundles/general/cursor/harness-archive/SKILL.md +21 -33
- package/harness/bundles/general/cursor/harness-archive/checklist.md +6 -10
- package/harness/bundles/general/cursor/harness-codebase-map/SKILL.md +1 -1
- package/harness/bundles/general/cursor/harness-knowledge-ingest/SKILL.md +1 -1
- package/harness/bundles/general/cursor/harness-knowledge-query/SKILL.md +1 -1
- package/harness/bundles/general/cursor/harness-plan/SKILL.md +7 -3
- package/harness/bundles/general/cursor/harness-review/SKILL.md +4 -4
- package/harness/bundles/general/cursor/harness-run/SKILL.md +7 -5
- package/harness/bundles/general/cursor/harness-run/checklist.md +1 -1
- package/harness/bundles/general/cursor/harness-run/reference.md +2 -2
- package/harness/bundles/general/cursor/harness-submit/SKILL.md +6 -6
- package/harness/bundles/general/cursor/harness-submit/checklist.md +1 -1
- package/harness/bundles/general/cursor/harness-sync/SKILL.md +1 -1
- package/harness/bundles/general/cursor/harness-test/SKILL.md +6 -6
- package/harness/bundles/general/cursor/harness-test/checklist.md +1 -1
- package/harness/bundles/general/cursor/harness-test/reference.md +2 -2
- package/harness/bundles/general/cursor/protocols/ledger-protocol.md +3 -3
- package/harness/bundles/general/cursor/scripts/harness_archive.py +276 -67
- package/harness/bundles/general/cursor/scripts/harness_context.py +165 -41
- package/harness/bundles/general/cursor/scripts/harness_events.py +46 -4
- package/harness/bundles/general/cursor/scripts/harness_events_sync.py +108 -3
- package/harness/bundles/general/cursor/scripts/harness_fixback.py +189 -1
- package/harness/bundles/general/cursor/scripts/harness_gate.py +188 -2
- package/harness/bundles/general/cursor/scripts/harness_ledger.py +193 -11
- package/harness/bundles/general/cursor/scripts/harness_plan_finalize.py +80 -0
- package/harness/bundles/java/claude-code/.harness-build.json +1 -1
- package/harness/bundles/java/claude-code/README.md +3 -3
- package/harness/bundles/java/claude-code/contracts/workflow-policy.json +1 -1
- package/harness/bundles/java/claude-code/harness-apidoc/SKILL.md +1 -1
- package/harness/bundles/java/claude-code/harness-archive/SKILL.md +21 -33
- package/harness/bundles/java/claude-code/harness-archive/checklist.md +6 -10
- package/harness/bundles/java/claude-code/harness-codebase-map/SKILL.md +1 -1
- package/harness/bundles/java/claude-code/harness-knowledge-ingest/SKILL.md +1 -1
- package/harness/bundles/java/claude-code/harness-knowledge-query/SKILL.md +1 -1
- package/harness/bundles/java/claude-code/harness-package/SKILL.md +1 -1
- package/harness/bundles/java/claude-code/harness-package/checklist.md +1 -1
- package/harness/bundles/java/claude-code/harness-plan/SKILL.md +7 -3
- package/harness/bundles/java/claude-code/harness-review/SKILL.md +6 -4
- package/harness/bundles/java/claude-code/harness-run/SKILL.md +7 -5
- package/harness/bundles/java/claude-code/harness-run/checklist.md +1 -1
- package/harness/bundles/java/claude-code/harness-run/reference.md +2 -2
- package/harness/bundles/java/claude-code/harness-submit/SKILL.md +6 -6
- package/harness/bundles/java/claude-code/harness-submit/checklist.md +1 -1
- package/harness/bundles/java/claude-code/harness-sync/SKILL.md +1 -1
- package/harness/bundles/java/claude-code/harness-test/SKILL.md +6 -6
- package/harness/bundles/java/claude-code/harness-test/checklist.md +1 -1
- package/harness/bundles/java/claude-code/harness-test/reference.md +1 -1
- package/harness/bundles/java/claude-code/protocols/ledger-protocol.md +3 -3
- package/harness/bundles/java/claude-code/scripts/harness_archive.py +276 -67
- package/harness/bundles/java/claude-code/scripts/harness_context.py +165 -41
- package/harness/bundles/java/claude-code/scripts/harness_events.py +46 -4
- package/harness/bundles/java/claude-code/scripts/harness_events_sync.py +108 -3
- package/harness/bundles/java/claude-code/scripts/harness_fixback.py +189 -1
- package/harness/bundles/java/claude-code/scripts/harness_gate.py +188 -2
- package/harness/bundles/java/claude-code/scripts/harness_ledger.py +193 -11
- package/harness/bundles/java/claude-code/scripts/harness_plan_finalize.py +80 -0
- package/harness/bundles/java/codebuddy/.harness-build.json +1 -1
- package/harness/bundles/java/codebuddy/README.md +3 -3
- package/harness/bundles/java/codebuddy/contracts/workflow-policy.json +1 -1
- package/harness/bundles/java/codebuddy/harness-apidoc/SKILL.md +1 -1
- package/harness/bundles/java/codebuddy/harness-archive/SKILL.md +21 -33
- package/harness/bundles/java/codebuddy/harness-archive/checklist.md +6 -10
- package/harness/bundles/java/codebuddy/harness-codebase-map/SKILL.md +1 -1
- package/harness/bundles/java/codebuddy/harness-knowledge-ingest/SKILL.md +1 -1
- package/harness/bundles/java/codebuddy/harness-knowledge-query/SKILL.md +1 -1
- package/harness/bundles/java/codebuddy/harness-package/SKILL.md +1 -1
- package/harness/bundles/java/codebuddy/harness-package/checklist.md +1 -1
- package/harness/bundles/java/codebuddy/harness-plan/SKILL.md +7 -3
- package/harness/bundles/java/codebuddy/harness-review/SKILL.md +6 -4
- package/harness/bundles/java/codebuddy/harness-run/SKILL.md +7 -5
- package/harness/bundles/java/codebuddy/harness-run/checklist.md +1 -1
- package/harness/bundles/java/codebuddy/harness-run/reference.md +2 -2
- package/harness/bundles/java/codebuddy/harness-submit/SKILL.md +6 -6
- package/harness/bundles/java/codebuddy/harness-submit/checklist.md +1 -1
- package/harness/bundles/java/codebuddy/harness-sync/SKILL.md +1 -1
- package/harness/bundles/java/codebuddy/harness-test/SKILL.md +6 -6
- package/harness/bundles/java/codebuddy/harness-test/checklist.md +1 -1
- package/harness/bundles/java/codebuddy/harness-test/reference.md +1 -1
- package/harness/bundles/java/codebuddy/protocols/ledger-protocol.md +3 -3
- package/harness/bundles/java/codebuddy/scripts/harness_archive.py +276 -67
- package/harness/bundles/java/codebuddy/scripts/harness_context.py +165 -41
- package/harness/bundles/java/codebuddy/scripts/harness_events.py +46 -4
- package/harness/bundles/java/codebuddy/scripts/harness_events_sync.py +108 -3
- package/harness/bundles/java/codebuddy/scripts/harness_fixback.py +189 -1
- package/harness/bundles/java/codebuddy/scripts/harness_gate.py +188 -2
- package/harness/bundles/java/codebuddy/scripts/harness_ledger.py +193 -11
- package/harness/bundles/java/codebuddy/scripts/harness_plan_finalize.py +80 -0
- package/harness/bundles/java/codex/.harness-build.json +1 -1
- package/harness/bundles/java/codex/README.md +3 -3
- package/harness/bundles/java/codex/contracts/workflow-policy.json +1 -1
- package/harness/bundles/java/codex/harness-apidoc/SKILL.md +1 -1
- package/harness/bundles/java/codex/harness-archive/SKILL.md +21 -33
- package/harness/bundles/java/codex/harness-archive/checklist.md +6 -10
- package/harness/bundles/java/codex/harness-codebase-map/SKILL.md +1 -1
- package/harness/bundles/java/codex/harness-knowledge-ingest/SKILL.md +1 -1
- package/harness/bundles/java/codex/harness-knowledge-query/SKILL.md +1 -1
- package/harness/bundles/java/codex/harness-package/SKILL.md +1 -1
- package/harness/bundles/java/codex/harness-package/checklist.md +1 -1
- package/harness/bundles/java/codex/harness-plan/SKILL.md +7 -3
- package/harness/bundles/java/codex/harness-review/SKILL.md +4 -4
- package/harness/bundles/java/codex/harness-run/SKILL.md +7 -5
- package/harness/bundles/java/codex/harness-run/checklist.md +1 -1
- package/harness/bundles/java/codex/harness-run/reference.md +2 -2
- package/harness/bundles/java/codex/harness-submit/SKILL.md +6 -6
- package/harness/bundles/java/codex/harness-submit/checklist.md +1 -1
- package/harness/bundles/java/codex/harness-sync/SKILL.md +1 -1
- package/harness/bundles/java/codex/harness-test/SKILL.md +6 -6
- package/harness/bundles/java/codex/harness-test/checklist.md +1 -1
- package/harness/bundles/java/codex/harness-test/reference.md +1 -1
- package/harness/bundles/java/codex/protocols/ledger-protocol.md +3 -3
- package/harness/bundles/java/codex/scripts/harness_archive.py +276 -67
- package/harness/bundles/java/codex/scripts/harness_context.py +165 -41
- package/harness/bundles/java/codex/scripts/harness_events.py +46 -4
- package/harness/bundles/java/codex/scripts/harness_events_sync.py +108 -3
- package/harness/bundles/java/codex/scripts/harness_fixback.py +189 -1
- package/harness/bundles/java/codex/scripts/harness_gate.py +188 -2
- package/harness/bundles/java/codex/scripts/harness_ledger.py +193 -11
- package/harness/bundles/java/codex/scripts/harness_plan_finalize.py +80 -0
- package/harness/bundles/java/cursor/.harness-build.json +1 -1
- package/harness/bundles/java/cursor/README.md +3 -3
- package/harness/bundles/java/cursor/contracts/workflow-policy.json +1 -1
- package/harness/bundles/java/cursor/harness-apidoc/SKILL.md +1 -1
- package/harness/bundles/java/cursor/harness-archive/SKILL.md +21 -33
- package/harness/bundles/java/cursor/harness-archive/checklist.md +6 -10
- package/harness/bundles/java/cursor/harness-codebase-map/SKILL.md +1 -1
- package/harness/bundles/java/cursor/harness-knowledge-ingest/SKILL.md +1 -1
- package/harness/bundles/java/cursor/harness-knowledge-query/SKILL.md +1 -1
- package/harness/bundles/java/cursor/harness-package/SKILL.md +1 -1
- package/harness/bundles/java/cursor/harness-package/checklist.md +1 -1
- package/harness/bundles/java/cursor/harness-plan/SKILL.md +7 -3
- package/harness/bundles/java/cursor/harness-review/SKILL.md +4 -4
- package/harness/bundles/java/cursor/harness-run/SKILL.md +7 -5
- package/harness/bundles/java/cursor/harness-run/checklist.md +1 -1
- package/harness/bundles/java/cursor/harness-run/reference.md +2 -2
- package/harness/bundles/java/cursor/harness-submit/SKILL.md +6 -6
- package/harness/bundles/java/cursor/harness-submit/checklist.md +1 -1
- package/harness/bundles/java/cursor/harness-sync/SKILL.md +1 -1
- package/harness/bundles/java/cursor/harness-test/SKILL.md +6 -6
- package/harness/bundles/java/cursor/harness-test/checklist.md +1 -1
- package/harness/bundles/java/cursor/harness-test/reference.md +1 -1
- package/harness/bundles/java/cursor/protocols/ledger-protocol.md +3 -3
- package/harness/bundles/java/cursor/scripts/harness_archive.py +276 -67
- package/harness/bundles/java/cursor/scripts/harness_context.py +165 -41
- package/harness/bundles/java/cursor/scripts/harness_events.py +46 -4
- package/harness/bundles/java/cursor/scripts/harness_events_sync.py +108 -3
- package/harness/bundles/java/cursor/scripts/harness_fixback.py +189 -1
- package/harness/bundles/java/cursor/scripts/harness_gate.py +188 -2
- package/harness/bundles/java/cursor/scripts/harness_ledger.py +193 -11
- package/harness/bundles/java/cursor/scripts/harness_plan_finalize.py +80 -0
- package/harness/manifests/general/claude-code.json +30 -30
- package/harness/manifests/general/codebuddy.json +30 -30
- package/harness/manifests/general/codex.json +30 -30
- package/harness/manifests/general/cursor.json +30 -30
- package/harness/manifests/java/claude-code.json +33 -33
- package/harness/manifests/java/codebuddy.json +33 -33
- package/harness/manifests/java/codex.json +33 -33
- package/harness/manifests/java/cursor.json +33 -33
- package/hunter-workflow-family.json +5 -5
- package/package.json +1 -1
|
@@ -145,7 +145,91 @@ def _hash_text(value: str) -> str:
|
|
|
145
145
|
|
|
146
146
|
def command_set_hash(command: str) -> str:
|
|
147
147
|
"""Stable identity for the exact command set represented by one target."""
|
|
148
|
-
return _hash_text(
|
|
148
|
+
return _hash_text(canonical_command(command))
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
def canonical_command(command: str) -> str:
|
|
152
|
+
"""Normalize supported launch wrappers without mixing runner notes into identity."""
|
|
153
|
+
value = re.sub(r"\s+", " ", str(command).strip())
|
|
154
|
+
value = re.sub(r"\s*\(safe runner\)\s*$", "", value, flags=re.I)
|
|
155
|
+
value = re.sub(r"^npx(?:\s+--no-install)?\s+", "", value, flags=re.I)
|
|
156
|
+
return value.strip()
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
def default_environment_hash(project_root: Path | None = None) -> str:
|
|
160
|
+
payload = {
|
|
161
|
+
"osName": os.name,
|
|
162
|
+
"platform": sys.platform,
|
|
163
|
+
"pythonImplementation": sys.implementation.name,
|
|
164
|
+
"projectFilesystem": "windows" if os.name == "nt" else "posix",
|
|
165
|
+
}
|
|
166
|
+
return _hash_text(json.dumps(payload, sort_keys=True, separators=(",", ":")))
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
def default_toolchain_hash(project_root: Path | None = None) -> str:
|
|
170
|
+
root = Path(project_root).resolve() if project_root is not None else None
|
|
171
|
+
manifests: list[dict[str, str]] = []
|
|
172
|
+
if root is not None:
|
|
173
|
+
for name in (
|
|
174
|
+
"package.json", "pyproject.toml", "pom.xml", "build.gradle",
|
|
175
|
+
"build.gradle.kts", "go.mod", "Cargo.toml",
|
|
176
|
+
):
|
|
177
|
+
path = root / name
|
|
178
|
+
if path.is_file():
|
|
179
|
+
manifests.append({
|
|
180
|
+
"name": name,
|
|
181
|
+
"sha256": hashlib.sha256(path.read_bytes()).hexdigest(),
|
|
182
|
+
})
|
|
183
|
+
payload = {
|
|
184
|
+
"python": sys.version.split()[0],
|
|
185
|
+
"implementation": sys.implementation.name,
|
|
186
|
+
"manifests": manifests,
|
|
187
|
+
}
|
|
188
|
+
return _hash_text(json.dumps(payload, sort_keys=True, separators=(",", ":")))
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
def frozen_ownership_check(change_dir: Path) -> dict[str, Any]:
|
|
192
|
+
"""Reject evidence writes after a Run capsule's ownership scope changed."""
|
|
193
|
+
try:
|
|
194
|
+
state_root = Path(
|
|
195
|
+
harness_paths.resolve_state_dir_for_contract(change_dir)
|
|
196
|
+
).resolve()
|
|
197
|
+
contract = harness_paths.load_change_contract(change_dir)
|
|
198
|
+
except (OSError, ValueError, json.JSONDecodeError):
|
|
199
|
+
return {"ok": True, "code": "OWNERSHIP_FREEZE_NOT_APPLICABLE"}
|
|
200
|
+
capsule_root = state_root / "runtime" / "phase-context"
|
|
201
|
+
if not capsule_root.is_dir():
|
|
202
|
+
return {"ok": True, "code": "OWNERSHIP_FREEZE_NOT_APPLICABLE"}
|
|
203
|
+
capsules: list[dict[str, Any]] = []
|
|
204
|
+
for path in capsule_root.glob("run-*.json"):
|
|
205
|
+
try:
|
|
206
|
+
item = json.loads(path.read_text(encoding="utf-8-sig"))
|
|
207
|
+
except (OSError, json.JSONDecodeError):
|
|
208
|
+
continue
|
|
209
|
+
if (
|
|
210
|
+
isinstance(item, dict)
|
|
211
|
+
and item.get("phase") == "run"
|
|
212
|
+
and not item.get("closedAt")
|
|
213
|
+
and _nonempty_str(item.get("ownershipHash"))
|
|
214
|
+
):
|
|
215
|
+
capsules.append(item)
|
|
216
|
+
if not capsules:
|
|
217
|
+
return {"ok": True, "code": "OWNERSHIP_FREEZE_NOT_APPLICABLE"}
|
|
218
|
+
capsule = sorted(capsules, key=lambda item: str(item.get("createdAt") or ""))[-1]
|
|
219
|
+
current = ownership_hash(contract)
|
|
220
|
+
if capsule.get("ownershipHash") != current:
|
|
221
|
+
return {
|
|
222
|
+
"ok": False,
|
|
223
|
+
"code": "OWNERSHIP_CHANGED_BEFORE_VERIFICATION",
|
|
224
|
+
"message": (
|
|
225
|
+
"产品范围在 Run 启动后发生变化;请先通过受控范围更新重启 Run,"
|
|
226
|
+
"系统将只失效受影响的验证。"
|
|
227
|
+
),
|
|
228
|
+
"storedOwnershipHash": capsule.get("ownershipHash"),
|
|
229
|
+
"currentOwnershipHash": current,
|
|
230
|
+
"runId": capsule.get("runId"),
|
|
231
|
+
}
|
|
232
|
+
return {"ok": True, "code": "OWNERSHIP_FROZEN"}
|
|
149
233
|
|
|
150
234
|
|
|
151
235
|
def product_tree_hash(project_root: Path | None) -> str | None:
|
|
@@ -284,6 +368,10 @@ def parse_files_manifest(raw: str | None) -> list[str]:
|
|
|
284
368
|
]
|
|
285
369
|
|
|
286
370
|
|
|
371
|
+
class ProjectRootRequiredError(ValueError):
|
|
372
|
+
"""Raised when relative verification inputs have no stable project basis."""
|
|
373
|
+
|
|
374
|
+
|
|
287
375
|
def resolve_input_files(
|
|
288
376
|
files: list[str], project_root: Path | None
|
|
289
377
|
) -> list[str]:
|
|
@@ -313,7 +401,15 @@ def input_files_from_args(args: argparse.Namespace) -> tuple[list[str], Path | N
|
|
|
313
401
|
manifest = parse_files_manifest(getattr(args, "files_from", None))
|
|
314
402
|
if files and manifest:
|
|
315
403
|
raise ValueError("use only one of --files and --files-from")
|
|
316
|
-
|
|
404
|
+
selected = files or manifest
|
|
405
|
+
if project_root is None and any(
|
|
406
|
+
not Path(raw).expanduser().is_absolute() for raw in selected
|
|
407
|
+
):
|
|
408
|
+
raise ProjectRootRequiredError(
|
|
409
|
+
"relative verification inputs require --project so their identity "
|
|
410
|
+
"does not depend on the caller's current directory"
|
|
411
|
+
)
|
|
412
|
+
return resolve_input_files(selected, project_root), project_root
|
|
317
413
|
|
|
318
414
|
|
|
319
415
|
def sha256_file(path: Path) -> str:
|
|
@@ -1674,8 +1770,8 @@ def decide_can_reuse(
|
|
|
1674
1770
|
)
|
|
1675
1771
|
and (
|
|
1676
1772
|
not _nonempty_str(requested_command)
|
|
1677
|
-
or str(candidate.get("command") or "")
|
|
1678
|
-
== str(requested_command)
|
|
1773
|
+
or canonical_command(str(candidate.get("command") or ""))
|
|
1774
|
+
== canonical_command(str(requested_command))
|
|
1679
1775
|
)
|
|
1680
1776
|
]
|
|
1681
1777
|
entry = (
|
|
@@ -1823,7 +1919,7 @@ def decide_can_reuse(
|
|
|
1823
1919
|
}
|
|
1824
1920
|
|
|
1825
1921
|
if requested_command is not None and str(requested_command).strip():
|
|
1826
|
-
if str(command)
|
|
1922
|
+
if canonical_command(str(command)) != canonical_command(str(requested_command)):
|
|
1827
1923
|
return {
|
|
1828
1924
|
"ok": True,
|
|
1829
1925
|
"reuse": False,
|
|
@@ -2053,10 +2149,29 @@ def cmd_can_reuse(args: argparse.Namespace) -> int:
|
|
|
2053
2149
|
verbose = bool(getattr(args, "verbose", False))
|
|
2054
2150
|
verification = args.verification
|
|
2055
2151
|
change_dir = resolve_path(args.change_dir)
|
|
2152
|
+
ownership_check = frozen_ownership_check(change_dir)
|
|
2153
|
+
if not ownership_check.get("ok"):
|
|
2154
|
+
return emit_error(
|
|
2155
|
+
str(ownership_check.get("message")),
|
|
2156
|
+
as_json=as_json,
|
|
2157
|
+
error_code=str(ownership_check.get("code")),
|
|
2158
|
+
extra={
|
|
2159
|
+
key: value
|
|
2160
|
+
for key, value in ownership_check.items()
|
|
2161
|
+
if key not in {"ok", "code", "message"}
|
|
2162
|
+
},
|
|
2163
|
+
)
|
|
2056
2164
|
try:
|
|
2057
2165
|
files, project_root = input_files_from_args(args)
|
|
2166
|
+
except ProjectRootRequiredError as exc:
|
|
2167
|
+
return emit_error(
|
|
2168
|
+
str(exc),
|
|
2169
|
+
as_json=as_json,
|
|
2170
|
+
error_code="PROJECT_ROOT_REQUIRED",
|
|
2171
|
+
)
|
|
2058
2172
|
except (OSError, ValueError) as exc:
|
|
2059
2173
|
return emit_error(f"can-reuse failed: {exc}", as_json=as_json)
|
|
2174
|
+
explicit_files = list(files)
|
|
2060
2175
|
target = resolve_verification_target(verification, project_root)
|
|
2061
2176
|
if target is None:
|
|
2062
2177
|
return emit_error(
|
|
@@ -2085,7 +2200,22 @@ def cmd_can_reuse(args: argparse.Namespace) -> int:
|
|
|
2085
2200
|
compact_fn=_compact_can_reuse_payload,
|
|
2086
2201
|
)
|
|
2087
2202
|
return 0
|
|
2088
|
-
|
|
2203
|
+
profile_files = resolve_input_files(resolved_files, project_root)
|
|
2204
|
+
if explicit_files:
|
|
2205
|
+
_explicit_hash, explicit_names = compute_inputs_hash(
|
|
2206
|
+
explicit_files, project_root=project_root
|
|
2207
|
+
)
|
|
2208
|
+
_profile_hash, profile_names = compute_inputs_hash(
|
|
2209
|
+
profile_files, project_root=project_root
|
|
2210
|
+
)
|
|
2211
|
+
if explicit_names != profile_names:
|
|
2212
|
+
return emit_error(
|
|
2213
|
+
"PROFILE_INPUT_FILES_CONFLICT: --files does not match the "
|
|
2214
|
+
"declared build-profile input set",
|
|
2215
|
+
as_json=as_json,
|
|
2216
|
+
error_code="PROFILE_INPUT_FILES_CONFLICT",
|
|
2217
|
+
)
|
|
2218
|
+
files = profile_files
|
|
2089
2219
|
if not files:
|
|
2090
2220
|
return emit_error(
|
|
2091
2221
|
"can-reuse requires --files or a non-empty --profile-input file set",
|
|
@@ -2097,10 +2227,20 @@ def cmd_can_reuse(args: argparse.Namespace) -> int:
|
|
|
2097
2227
|
verification=verification,
|
|
2098
2228
|
files=files,
|
|
2099
2229
|
requested_scope=getattr(args, "scope", None),
|
|
2100
|
-
requested_command=
|
|
2101
|
-
|
|
2230
|
+
requested_command=(
|
|
2231
|
+
canonical_command(str(getattr(args, "command", "")))
|
|
2232
|
+
if _nonempty_str(getattr(args, "command", None))
|
|
2233
|
+
else None
|
|
2234
|
+
),
|
|
2235
|
+
requested_toolchain_hash=(
|
|
2236
|
+
getattr(args, "toolchain_hash", None)
|
|
2237
|
+
or default_toolchain_hash(project_root)
|
|
2238
|
+
),
|
|
2102
2239
|
requested_profile_hash=getattr(args, "profile_hash", None),
|
|
2103
|
-
requested_environment_hash=
|
|
2240
|
+
requested_environment_hash=(
|
|
2241
|
+
getattr(args, "environment_hash", None)
|
|
2242
|
+
or default_environment_hash(project_root)
|
|
2243
|
+
),
|
|
2104
2244
|
requested_db_schema_hash=getattr(args, "db_schema_hash", None),
|
|
2105
2245
|
requested_product_tree_hash=(
|
|
2106
2246
|
getattr(args, "product_tree_hash", None) or product_tree_hash(project_root)
|
|
@@ -2137,6 +2277,18 @@ def cmd_record(args: argparse.Namespace) -> int:
|
|
|
2137
2277
|
as_json = bool(args.json)
|
|
2138
2278
|
verbose = bool(getattr(args, "verbose", False))
|
|
2139
2279
|
change_dir = resolve_path(args.change_dir)
|
|
2280
|
+
ownership_check = frozen_ownership_check(change_dir)
|
|
2281
|
+
if not ownership_check.get("ok"):
|
|
2282
|
+
return emit_error(
|
|
2283
|
+
str(ownership_check.get("message")),
|
|
2284
|
+
as_json=as_json,
|
|
2285
|
+
error_code=str(ownership_check.get("code")),
|
|
2286
|
+
extra={
|
|
2287
|
+
key: value
|
|
2288
|
+
for key, value in ownership_check.items()
|
|
2289
|
+
if key not in {"ok", "code", "message"}
|
|
2290
|
+
},
|
|
2291
|
+
)
|
|
2140
2292
|
verification = args.verification
|
|
2141
2293
|
contract_v2 = _contract_is_v2(change_dir)
|
|
2142
2294
|
migration_receipt: dict[str, Any] | None = None
|
|
@@ -2144,6 +2296,7 @@ def cmd_record(args: argparse.Namespace) -> int:
|
|
|
2144
2296
|
files, project_root = input_files_from_args(args)
|
|
2145
2297
|
except (OSError, ValueError) as exc:
|
|
2146
2298
|
return emit_error(f"record failed: {exc}", as_json=as_json)
|
|
2299
|
+
explicit_files = list(files)
|
|
2147
2300
|
target = resolve_verification_target(verification, project_root)
|
|
2148
2301
|
if target is None:
|
|
2149
2302
|
return emit_error(
|
|
@@ -2160,7 +2313,22 @@ def cmd_record(args: argparse.Namespace) -> int:
|
|
|
2160
2313
|
resolved_files, err = expand_profile_input_files(project_root, profile_input)
|
|
2161
2314
|
if err:
|
|
2162
2315
|
return emit_error(f"record failed: {err}", as_json=as_json)
|
|
2163
|
-
|
|
2316
|
+
profile_files = resolve_input_files(resolved_files, project_root)
|
|
2317
|
+
if explicit_files:
|
|
2318
|
+
_explicit_hash, explicit_names = compute_inputs_hash(
|
|
2319
|
+
explicit_files, project_root=project_root
|
|
2320
|
+
)
|
|
2321
|
+
_profile_hash, profile_names = compute_inputs_hash(
|
|
2322
|
+
profile_files, project_root=project_root
|
|
2323
|
+
)
|
|
2324
|
+
if explicit_names != profile_names:
|
|
2325
|
+
return emit_error(
|
|
2326
|
+
"PROFILE_INPUT_FILES_CONFLICT: --files does not match the "
|
|
2327
|
+
"declared build-profile input set",
|
|
2328
|
+
as_json=as_json,
|
|
2329
|
+
error_code="PROFILE_INPUT_FILES_CONFLICT",
|
|
2330
|
+
)
|
|
2331
|
+
files = profile_files
|
|
2164
2332
|
if not files:
|
|
2165
2333
|
return emit_error(
|
|
2166
2334
|
"record requires --files or a non-empty --profile-input file set",
|
|
@@ -2226,7 +2394,12 @@ def cmd_record(args: argparse.Namespace) -> int:
|
|
|
2226
2394
|
entry.update(
|
|
2227
2395
|
{
|
|
2228
2396
|
"status": status,
|
|
2229
|
-
"command": args.command,
|
|
2397
|
+
"command": canonical_command(args.command),
|
|
2398
|
+
"runnerCommand": (
|
|
2399
|
+
str(getattr(args, "runner_command", None)).strip()
|
|
2400
|
+
if _nonempty_str(getattr(args, "runner_command", None))
|
|
2401
|
+
else str(args.command).strip()
|
|
2402
|
+
),
|
|
2230
2403
|
"evidence": args.evidence,
|
|
2231
2404
|
"exitCode": args.exit_code,
|
|
2232
2405
|
"durationMs": args.duration_ms,
|
|
@@ -2306,6 +2479,10 @@ def cmd_record(args: argparse.Namespace) -> int:
|
|
|
2306
2479
|
("dbSchemaHash", "db_schema_hash"),
|
|
2307
2480
|
):
|
|
2308
2481
|
val = getattr(args, attr, None)
|
|
2482
|
+
if field == "toolchainHash" and not _nonempty_str(val):
|
|
2483
|
+
val = default_toolchain_hash(project_root)
|
|
2484
|
+
elif field == "environmentHash" and not _nonempty_str(val):
|
|
2485
|
+
val = default_environment_hash(project_root)
|
|
2309
2486
|
if _nonempty_str(val):
|
|
2310
2487
|
entry[field] = str(val).strip()
|
|
2311
2488
|
entry["commandSetHash"] = command_set_hash(args.command)
|
|
@@ -2658,6 +2835,11 @@ def build_parser() -> argparse.ArgumentParser:
|
|
|
2658
2835
|
p_record.add_argument("--verification", required=True)
|
|
2659
2836
|
p_record.add_argument("--status", required=True)
|
|
2660
2837
|
p_record.add_argument("--command", required=True)
|
|
2838
|
+
p_record.add_argument(
|
|
2839
|
+
"--runner-command",
|
|
2840
|
+
default=None,
|
|
2841
|
+
help="actual launcher command; stored as execution metadata, not target identity",
|
|
2842
|
+
)
|
|
2661
2843
|
p_record.add_argument("--exit-code", type=int, required=True)
|
|
2662
2844
|
p_record.add_argument("--duration-ms", type=int, required=True)
|
|
2663
2845
|
p_record_files = p_record.add_mutually_exclusive_group()
|
|
@@ -30,6 +30,18 @@ if hasattr(sys.stderr, "reconfigure"):
|
|
|
30
30
|
|
|
31
31
|
SCHEMA_VERSION = 1
|
|
32
32
|
_LINK = re.compile(r"\[[^\]]+\]\(([^)]+)\)")
|
|
33
|
+
_BACKTICK = re.compile(r"`([^`\r\n]+)`")
|
|
34
|
+
_CODE_PATH_SUFFIXES = {
|
|
35
|
+
".c", ".cc", ".cpp", ".cs", ".css", ".go", ".h", ".hpp", ".html",
|
|
36
|
+
".java", ".js", ".jsx", ".kt", ".kts", ".mjs", ".php", ".py", ".rb",
|
|
37
|
+
".rs", ".scss", ".sh", ".svelte", ".swift", ".ts", ".tsx", ".vue",
|
|
38
|
+
}
|
|
39
|
+
_BUILD_FILE_NAMES = {
|
|
40
|
+
"build.gradle", "build.gradle.kts", "cargo.toml", "composer.json", "go.mod",
|
|
41
|
+
"gradle.properties", "package-lock.json", "package.json", "pnpm-lock.yaml",
|
|
42
|
+
"pom.xml", "pyproject.toml", "requirements.txt", "settings.gradle",
|
|
43
|
+
"settings.gradle.kts", "tsconfig.json", "yarn.lock",
|
|
44
|
+
}
|
|
33
45
|
|
|
34
46
|
# C8: valid ownerPhase values (lifecycle phases that can own tasks).
|
|
35
47
|
VALID_OWNER_PHASES = {"plan", "run", "test", "review", "submit"}
|
|
@@ -615,6 +627,71 @@ def validate_staging(staging: Path, change_name: str) -> dict[str, Any]:
|
|
|
615
627
|
}
|
|
616
628
|
|
|
617
629
|
|
|
630
|
+
def validate_product_ownership(change_dir: Path, staging: Path) -> dict[str, Any]:
|
|
631
|
+
"""Ensure Plan declares stable prefix ownership for explicit code/test/build paths."""
|
|
632
|
+
context_path = change_dir / "meta" / "change-context.json"
|
|
633
|
+
if not context_path.is_file():
|
|
634
|
+
return {"ok": True, "code": "PLAN_PRODUCT_PATHS_LEGACY_UNDECLARED"}
|
|
635
|
+
try:
|
|
636
|
+
context = json.loads(context_path.read_text(encoding="utf-8-sig"))
|
|
637
|
+
except (OSError, json.JSONDecodeError) as exc:
|
|
638
|
+
return _result_error("PLAN_CHANGE_CONTEXT_INVALID", str(exc))
|
|
639
|
+
ownership = context.get("ownership") if isinstance(context, dict) else None
|
|
640
|
+
raw_paths = ownership.get("productPaths") if isinstance(ownership, dict) else None
|
|
641
|
+
product_paths = [
|
|
642
|
+
str(item).strip().replace("\\", "/").removeprefix("./")
|
|
643
|
+
for item in raw_paths or []
|
|
644
|
+
if isinstance(item, str) and item.strip()
|
|
645
|
+
]
|
|
646
|
+
unsupported = sorted(path for path in product_paths if any(char in path for char in "*?[]"))
|
|
647
|
+
if unsupported:
|
|
648
|
+
result = _result_error(
|
|
649
|
+
"PLAN_PRODUCT_PATHS_GLOB_UNSUPPORTED",
|
|
650
|
+
"productPaths 只接受精确文件或目录前缀,不支持通配:" + ", ".join(unsupported),
|
|
651
|
+
)
|
|
652
|
+
result["unsupportedPaths"] = unsupported
|
|
653
|
+
return result
|
|
654
|
+
|
|
655
|
+
planned_paths: set[str] = set()
|
|
656
|
+
for document in sorted(staging.rglob("*.md")):
|
|
657
|
+
text = document.read_text(encoding="utf-8-sig")
|
|
658
|
+
for raw in _BACKTICK.findall(text):
|
|
659
|
+
candidate = raw.strip().strip("'\"").replace("\\", "/")
|
|
660
|
+
if not candidate or " " in candidate or "://" in candidate or "<" in candidate:
|
|
661
|
+
continue
|
|
662
|
+
candidate = re.sub(r":\d+(?::\d+)?$", "", candidate)
|
|
663
|
+
candidate = candidate.removeprefix("./").strip("/.,;,;")
|
|
664
|
+
if not candidate or candidate.startswith("../") or candidate.startswith(".harness/"):
|
|
665
|
+
continue
|
|
666
|
+
pure = PurePosixPath(candidate)
|
|
667
|
+
if pure.name.lower() in _BUILD_FILE_NAMES or pure.suffix.lower() in _CODE_PATH_SUFFIXES:
|
|
668
|
+
planned_paths.add(candidate)
|
|
669
|
+
|
|
670
|
+
def covered(path: str) -> bool:
|
|
671
|
+
return any(
|
|
672
|
+
path == owned.rstrip("/")
|
|
673
|
+
or path.startswith(owned.rstrip("/") + "/")
|
|
674
|
+
for owned in product_paths
|
|
675
|
+
if owned.rstrip("/")
|
|
676
|
+
)
|
|
677
|
+
|
|
678
|
+
missing = sorted(path for path in planned_paths if not covered(path))
|
|
679
|
+
if missing:
|
|
680
|
+
result = _result_error(
|
|
681
|
+
"PLAN_PRODUCT_PATHS_INCOMPLETE",
|
|
682
|
+
"productPaths 未覆盖计划明确引用的产品文件:" + ", ".join(missing),
|
|
683
|
+
)
|
|
684
|
+
result["missingPaths"] = missing
|
|
685
|
+
result["recoveryAction"] = "在 Plan 阶段补充精确文件或目录前缀后重新 finalize。"
|
|
686
|
+
return result
|
|
687
|
+
return {
|
|
688
|
+
"ok": True,
|
|
689
|
+
"code": "PLAN_PRODUCT_PATHS_COMPLETE",
|
|
690
|
+
"plannedPaths": sorted(planned_paths),
|
|
691
|
+
"productPaths": product_paths,
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
|
|
618
695
|
def _terminal_exists(change_dir: Path, run_id: str, attempt: int) -> bool:
|
|
619
696
|
try:
|
|
620
697
|
events = harness_events.load_events(harness_events.events_path(change_dir))
|
|
@@ -1125,6 +1202,9 @@ def finalize_plan(
|
|
|
1125
1202
|
validation = validate_staging(staging, change_name)
|
|
1126
1203
|
if not validation["ok"]:
|
|
1127
1204
|
return validation
|
|
1205
|
+
ownership_validation = validate_product_ownership(change_dir, staging)
|
|
1206
|
+
if not ownership_validation["ok"]:
|
|
1207
|
+
return ownership_validation
|
|
1128
1208
|
start_validation = _validate_plan_start(change_dir, run_id, attempt)
|
|
1129
1209
|
if not start_validation["ok"]:
|
|
1130
1210
|
return start_validation
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
"schema_version": 2,
|
|
3
3
|
"profile": "general",
|
|
4
4
|
"adapter": "claude-code",
|
|
5
|
-
"bundle_version": "0.2.
|
|
5
|
+
"bundle_version": "0.2.45",
|
|
6
6
|
"requires": {
|
|
7
|
-
"minimumCliVersion": "0.2.
|
|
7
|
+
"minimumCliVersion": "0.2.62",
|
|
8
8
|
"capabilities": [
|
|
9
9
|
"sync@2",
|
|
10
10
|
"rules-sync@1",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"files": [
|
|
24
24
|
{
|
|
25
25
|
"path": ".harness-build.json",
|
|
26
|
-
"sha256": "
|
|
26
|
+
"sha256": "d4202746c08d340f62a509ec914a772dc81a6c0e37a256270faeada9b9e30cfd"
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
29
|
"path": "agents/harness-evaluator.md",
|
|
@@ -79,11 +79,11 @@
|
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
81
|
"path": "contracts/workflow-policy.json",
|
|
82
|
-
"sha256": "
|
|
82
|
+
"sha256": "3da83c2d769d536cb8bf356f1a03f0ad08eb19ff385ac36960bf53b5083b4f32"
|
|
83
83
|
},
|
|
84
84
|
{
|
|
85
85
|
"path": "harness-archive/checklist.md",
|
|
86
|
-
"sha256": "
|
|
86
|
+
"sha256": "05d320f6558fd1cd75f75ffc05574c20c2d5737393068cab76185860c9056b9e"
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
89
|
"path": "harness-archive/reference.md",
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
97
|
"path": "harness-archive/SKILL.md",
|
|
98
|
-
"sha256": "
|
|
98
|
+
"sha256": "3f9ba00fcd9a1b0466fe16d8e15930b0ab31003a88a02054f13461d06ee9f54f"
|
|
99
99
|
},
|
|
100
100
|
{
|
|
101
101
|
"path": "harness-archive/templates/render-summary.mjs",
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
},
|
|
116
116
|
{
|
|
117
117
|
"path": "harness-codebase-map/SKILL.md",
|
|
118
|
-
"sha256": "
|
|
118
|
+
"sha256": "add80cabe2627c1afff9b75d21a407c11700b601b11009050d7ef2666d4cbdd7"
|
|
119
119
|
},
|
|
120
120
|
{
|
|
121
121
|
"path": "harness-codebase-map/templates/ARCHITECTURE.md",
|
|
@@ -155,11 +155,11 @@
|
|
|
155
155
|
},
|
|
156
156
|
{
|
|
157
157
|
"path": "harness-knowledge-ingest/SKILL.md",
|
|
158
|
-
"sha256": "
|
|
158
|
+
"sha256": "3bd26e5b434b53d0d4737d5bc4bcb8d5a0aa8338b32149596adf50e795224941"
|
|
159
159
|
},
|
|
160
160
|
{
|
|
161
161
|
"path": "harness-knowledge-query/SKILL.md",
|
|
162
|
-
"sha256": "
|
|
162
|
+
"sha256": "01ca1cc97d22664785a7dacd4da5fc70063ecef3deffa59029b254ed304c8e5c"
|
|
163
163
|
},
|
|
164
164
|
{
|
|
165
165
|
"path": "harness-plan/checklist.md",
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
},
|
|
176
176
|
{
|
|
177
177
|
"path": "harness-plan/SKILL.md",
|
|
178
|
-
"sha256": "
|
|
178
|
+
"sha256": "f9bd2015eebdf9d8c997687bfa9c445e24eedd7f6a1edffdd643e77550491e4a"
|
|
179
179
|
},
|
|
180
180
|
{
|
|
181
181
|
"path": "harness-review/checklist.md",
|
|
@@ -191,11 +191,11 @@
|
|
|
191
191
|
},
|
|
192
192
|
{
|
|
193
193
|
"path": "harness-review/SKILL.md",
|
|
194
|
-
"sha256": "
|
|
194
|
+
"sha256": "507f3ab550f39243c6eb62d9efdfe9202a67bc3c6108081b70093d10b6f96cae"
|
|
195
195
|
},
|
|
196
196
|
{
|
|
197
197
|
"path": "harness-run/checklist.md",
|
|
198
|
-
"sha256": "
|
|
198
|
+
"sha256": "ccbad9ef784da2fbe4c1f1483ab1b02dc995eed6aa1d1750cc0df012b8235bbe"
|
|
199
199
|
},
|
|
200
200
|
{
|
|
201
201
|
"path": "harness-run/protocols.md",
|
|
@@ -203,15 +203,15 @@
|
|
|
203
203
|
},
|
|
204
204
|
{
|
|
205
205
|
"path": "harness-run/reference.md",
|
|
206
|
-
"sha256": "
|
|
206
|
+
"sha256": "db97a547190bc364f20fff5ff363b78f5cc9732bc93d57900b163c2cf8a73655"
|
|
207
207
|
},
|
|
208
208
|
{
|
|
209
209
|
"path": "harness-run/SKILL.md",
|
|
210
|
-
"sha256": "
|
|
210
|
+
"sha256": "977e35bb9604aea9072b5ca865c155e323df276a5dc3b1b22667e6aa854d814d"
|
|
211
211
|
},
|
|
212
212
|
{
|
|
213
213
|
"path": "harness-submit/checklist.md",
|
|
214
|
-
"sha256": "
|
|
214
|
+
"sha256": "63aded0d06b986c28a54783ec5b5dca55a8b20d7966029a517bc35c5b3cf11a3"
|
|
215
215
|
},
|
|
216
216
|
{
|
|
217
217
|
"path": "harness-submit/reference.md",
|
|
@@ -219,7 +219,7 @@
|
|
|
219
219
|
},
|
|
220
220
|
{
|
|
221
221
|
"path": "harness-submit/SKILL.md",
|
|
222
|
-
"sha256": "
|
|
222
|
+
"sha256": "d74e4f8278865d35f64d58677f79c7586fee2ba403f6883b88ea9f0e946e21b1"
|
|
223
223
|
},
|
|
224
224
|
{
|
|
225
225
|
"path": "harness-sync/reference.md",
|
|
@@ -227,11 +227,11 @@
|
|
|
227
227
|
},
|
|
228
228
|
{
|
|
229
229
|
"path": "harness-sync/SKILL.md",
|
|
230
|
-
"sha256": "
|
|
230
|
+
"sha256": "ccb87a94cb82ed6e40518c982cb270e8d37bf43a0e3a33df970fb262d20992d6"
|
|
231
231
|
},
|
|
232
232
|
{
|
|
233
233
|
"path": "harness-test/checklist.md",
|
|
234
|
-
"sha256": "
|
|
234
|
+
"sha256": "c68bb5e198522f27ac3c6ac53953d428e340898737b5c135de718a178e511e31"
|
|
235
235
|
},
|
|
236
236
|
{
|
|
237
237
|
"path": "harness-test/pitfalls-java.md",
|
|
@@ -243,7 +243,7 @@
|
|
|
243
243
|
},
|
|
244
244
|
{
|
|
245
245
|
"path": "harness-test/reference.md",
|
|
246
|
-
"sha256": "
|
|
246
|
+
"sha256": "1bddf90be29efc1640a8d14801f7a5e1ef24ebb8f0bd2b33a76e6c42ddeb5483"
|
|
247
247
|
},
|
|
248
248
|
{
|
|
249
249
|
"path": "harness-test/scripts/runtime-helpers.mjs",
|
|
@@ -251,7 +251,7 @@
|
|
|
251
251
|
},
|
|
252
252
|
{
|
|
253
253
|
"path": "harness-test/SKILL.md",
|
|
254
|
-
"sha256": "
|
|
254
|
+
"sha256": "4d9c77840bdf2b805c1c8786a25d5e0c5dbc3006f32edc46a0f21be0c5c22fd9"
|
|
255
255
|
},
|
|
256
256
|
{
|
|
257
257
|
"path": "protocols/archive-report-protocol.md",
|
|
@@ -275,7 +275,7 @@
|
|
|
275
275
|
},
|
|
276
276
|
{
|
|
277
277
|
"path": "protocols/ledger-protocol.md",
|
|
278
|
-
"sha256": "
|
|
278
|
+
"sha256": "bae14e9cb7422bf9e29551929af258948653ddc44624cc28efadefc5d189d358"
|
|
279
279
|
},
|
|
280
280
|
{
|
|
281
281
|
"path": "protocols/memory-closeout-protocol.md",
|
|
@@ -315,7 +315,7 @@
|
|
|
315
315
|
},
|
|
316
316
|
{
|
|
317
317
|
"path": "README.md",
|
|
318
|
-
"sha256": "
|
|
318
|
+
"sha256": "fe2b4a245c7820f3f21886580c17455a95d8411844fcc4e3932d7de0ad491b10"
|
|
319
319
|
},
|
|
320
320
|
{
|
|
321
321
|
"path": "scripts/harness_apidoc.py",
|
|
@@ -323,7 +323,7 @@
|
|
|
323
323
|
},
|
|
324
324
|
{
|
|
325
325
|
"path": "scripts/harness_archive.py",
|
|
326
|
-
"sha256": "
|
|
326
|
+
"sha256": "6ca1f096e69a61b356368c9c8e56859564087ac25b5fedc2edf71c289386d35c"
|
|
327
327
|
},
|
|
328
328
|
{
|
|
329
329
|
"path": "scripts/harness_change.py",
|
|
@@ -335,7 +335,7 @@
|
|
|
335
335
|
},
|
|
336
336
|
{
|
|
337
337
|
"path": "scripts/harness_context.py",
|
|
338
|
-
"sha256": "
|
|
338
|
+
"sha256": "da936a9a2c033b2b84adea124a3990e382cfd24ccc1036b87a5dc48b0c7de82a"
|
|
339
339
|
},
|
|
340
340
|
{
|
|
341
341
|
"path": "scripts/harness_deploy.py",
|
|
@@ -351,11 +351,11 @@
|
|
|
351
351
|
},
|
|
352
352
|
{
|
|
353
353
|
"path": "scripts/harness_events_sync.py",
|
|
354
|
-
"sha256": "
|
|
354
|
+
"sha256": "4f3883f72c656e634b9999ec62272406263474ad3915caf66779d4dbba369f13"
|
|
355
355
|
},
|
|
356
356
|
{
|
|
357
357
|
"path": "scripts/harness_events.py",
|
|
358
|
-
"sha256": "
|
|
358
|
+
"sha256": "e7cbbe346ea9b208d4228219d78857840f862f829e5173ba17f61fb50b3c4794"
|
|
359
359
|
},
|
|
360
360
|
{
|
|
361
361
|
"path": "scripts/harness_execution_contracts.py",
|
|
@@ -363,11 +363,11 @@
|
|
|
363
363
|
},
|
|
364
364
|
{
|
|
365
365
|
"path": "scripts/harness_fixback.py",
|
|
366
|
-
"sha256": "
|
|
366
|
+
"sha256": "68928ccb60b9a3bea112bf277303a90303ea80f024c569a5444eeebe2064aad2"
|
|
367
367
|
},
|
|
368
368
|
{
|
|
369
369
|
"path": "scripts/harness_gate.py",
|
|
370
|
-
"sha256": "
|
|
370
|
+
"sha256": "aaf672fd00aa7bdb85454762cfa9e5297a0c19ae16bf90beea1fcb80a5f842a1"
|
|
371
371
|
},
|
|
372
372
|
{
|
|
373
373
|
"path": "scripts/harness_headless.py",
|
|
@@ -379,7 +379,7 @@
|
|
|
379
379
|
},
|
|
380
380
|
{
|
|
381
381
|
"path": "scripts/harness_ledger.py",
|
|
382
|
-
"sha256": "
|
|
382
|
+
"sha256": "a51f072959e383b18319fd879f55a8a20d6e44495002da4a3a735b4d66e72f27"
|
|
383
383
|
},
|
|
384
384
|
{
|
|
385
385
|
"path": "scripts/harness_migration_head.py",
|
|
@@ -403,7 +403,7 @@
|
|
|
403
403
|
},
|
|
404
404
|
{
|
|
405
405
|
"path": "scripts/harness_plan_finalize.py",
|
|
406
|
-
"sha256": "
|
|
406
|
+
"sha256": "a71a1c7779946e51907bff724c4f6adf37d7be64bcf2a2a0039f0db9b771a09f"
|
|
407
407
|
},
|
|
408
408
|
{
|
|
409
409
|
"path": "scripts/harness_preflight.py",
|