harnessed 3.6.1 → 3.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.mjs +68 -71
- package/dist/cli.mjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/workflows/task/deliver/workflow.yaml +2 -0
- package/workflows/task/test/workflow.yaml +3 -0
- package/workflows/verify/multispec/workflow.yaml +4 -0
package/dist/index.mjs
CHANGED
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../package.json","../src/index.ts"],"names":[],"mappings":";AAAA,IAAA,eAAA,GAAA;AAAA,EAEE,OAAA,EAAW,OA+Fb,CAAA;;;AC5FO,IAAM,UAAU,eAAA,CAAI","file":"index.mjs","sourcesContent":["{\n \"name\": \"harnessed\",\n \"version\": \"3.
|
|
1
|
+
{"version":3,"sources":["../package.json","../src/index.ts"],"names":[],"mappings":";AAAA,IAAA,eAAA,GAAA;AAAA,EAEE,OAAA,EAAW,OA+Fb,CAAA;;;AC5FO,IAAM,UAAU,eAAA,CAAI","file":"index.mjs","sourcesContent":["{\n \"name\": \"harnessed\",\n \"version\": \"3.8.0\",\n \"description\": \"AI coding harness package manager + composition orchestrator\",\n \"type\": \"module\",\n \"license\": \"Apache-2.0\",\n \"author\": \"easyinplay\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/easyinplay/harnessed.git\"\n },\n \"homepage\": \"https://github.com/easyinplay/harnessed#readme\",\n \"bugs\": \"https://github.com/easyinplay/harnessed/issues\",\n \"keywords\": [\n \"claude-code\",\n \"ai-harness\",\n \"package-manager\",\n \"composition\",\n \"skill-pack\",\n \"mcp\",\n \"orchestrator\"\n ],\n \"engines\": {\n \"node\": \">=22.0.0\"\n },\n \"packageManager\": \"pnpm@10.12.0\",\n \"bin\": {\n \"harnessed\": \"./dist/cli.mjs\"\n },\n \"main\": \"./dist/index.mjs\",\n \"types\": \"./dist/index.d.ts\",\n \"exports\": {\n \".\": {\n \"types\": \"./dist/index.d.ts\",\n \"import\": \"./dist/index.mjs\",\n \"default\": \"./dist/index.mjs\"\n },\n \"./schemas\": {\n \"types\": \"./dist/schemas/index.d.ts\",\n \"import\": \"./dist/schemas/index.mjs\"\n },\n \"./package.json\": \"./package.json\"\n },\n \"files\": [\n \"dist\",\n \"manifests\",\n \"workflows\",\n \"routing\",\n \"config-templates\",\n \"schemas\",\n \"README.md\",\n \"LICENSE\",\n \"NOTICE\",\n \"THIRD-PARTY-NOTICES.md\"\n ],\n \"scripts\": {\n \"dev\": \"tsup --watch\",\n \"build\": \"tsc --noEmit && tsup\",\n \"build:schema\": \"node ./scripts/build-schema.mjs\",\n \"validate:schema\": \"node ./scripts/validate-schema.mjs\",\n \"typecheck\": \"tsc --noEmit\",\n \"test\": \"vitest run --passWithNoTests\",\n \"test:watch\": \"vitest\",\n \"test:coverage\": \"vitest run --coverage --passWithNoTests\",\n \"bench\": \"vitest bench --run\",\n \"lint\": \"biome check .\",\n \"lint:fix\": \"biome check --write .\",\n \"format\": \"biome format --write .\"\n },\n \"dependencies\": {\n \"@anthropic-ai/claude-agent-sdk\": \"0.3.142\",\n \"@clack/prompts\": \"^0.10.1\",\n \"@sinclair/typebox\": \"^0.34.49\",\n \"ajv\": \"^8.20.0\",\n \"ajv-errors\": \"^3.0.0\",\n \"ajv-formats\": \"^3.0.1\",\n \"commander\": \"^13.0.0\",\n \"diff\": \"^9.0.0\",\n \"expr-eval\": \"^2.0.2\",\n \"picocolors\": \"^1.1.1\",\n \"proper-lockfile\": \"^4.1.2\",\n \"yaml\": \"^2.9.0\"\n },\n \"devDependencies\": {\n \"@biomejs/biome\": \"^2.0.0\",\n \"@types/node\": \"^22.10.0\",\n \"@types/proper-lockfile\": \"^4.1.4\",\n \"@vitest/coverage-v8\": \"^4.0.0\",\n \"tsup\": \"^8.3.0\",\n \"typescript\": \"^5.6.0\",\n \"vitest\": \"^4.0.0\"\n },\n \"pnpm\": {\n \"onlyBuiltDependencies\": [\n \"esbuild\"\n ]\n }\n}\n","// Main library entry — re-exports public APIs.\n// phase 1.1 batch 1: skeleton only; schema validator wired in batch 2 (T3+).\n\nimport pkg from '../package.json' with { type: 'json' }\n\nexport const VERSION = pkg.version\n"]}
|
package/package.json
CHANGED
|
@@ -68,6 +68,8 @@ phases:
|
|
|
68
68
|
action: emit_warning_and_halt
|
|
69
69
|
message: 'ralph-loop max-iterations exceeded for task-deliver. Sub-task likely incomplete — explicit halt per R20.10 (NOT silent abort).'
|
|
70
70
|
exit_code: 1
|
|
71
|
+
# v3.8.0 P1 — ralph-loop COMPLETE + Agent Teams escalation phase, full 3-RULES inject.
|
|
72
|
+
injects_rules: [escalation, transparent-skip, agent-teams-prevention]
|
|
71
73
|
|
|
72
74
|
- id: 02-progress-mark
|
|
73
75
|
name: progress-mark (planning-with-files /plan — mark subtask complete in progress.md)
|
|
@@ -41,3 +41,6 @@ phases:
|
|
|
41
41
|
- if: 'test_fail == true'
|
|
42
42
|
tool: diagnose
|
|
43
43
|
max_iterations: '{{ defaults.ralph_max_iterations.task-test.01-test }}'
|
|
44
|
+
# v3.8.0 P1 — TDD core-logic phase, opts into full 3-RULES inject (escalation
|
|
45
|
+
# may fire when test failures trigger /diagnose handoff or subagent context overflow).
|
|
46
|
+
injects_rules: [escalation, transparent-skip, agent-teams-prevention]
|
|
@@ -46,6 +46,8 @@ phases:
|
|
|
46
46
|
- if: 'phase.is_major_release == false and phase.is_large_refactor == false'
|
|
47
47
|
action: skip
|
|
48
48
|
max_iterations: 1
|
|
49
|
+
# v3.8.0 P1 — Pattern C team create is THE archetypical Agent Teams phase; full 3-RULES inject.
|
|
50
|
+
injects_rules: [escalation, transparent-skip, agent-teams-prevention]
|
|
49
51
|
|
|
50
52
|
- id: 02-team-cleanup
|
|
51
53
|
name: Agent Team cleanup (shutdown_request + TeamDelete 防呆清单)
|
|
@@ -53,3 +55,5 @@ phases:
|
|
|
53
55
|
capability: '{{ capabilities.agent-teams-shutdown.cmd }}'
|
|
54
56
|
model: haiku
|
|
55
57
|
max_iterations: 1
|
|
58
|
+
# v3.8.0 P1 — cleanup phase also operates within Agent Teams context; full 3-RULES inject.
|
|
59
|
+
injects_rules: [escalation, transparent-skip, agent-teams-prevention]
|