harness-everything 0.4.3 → 0.4.4
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/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/CHANGELOG.md +6 -0
- package/ci/mechanism-2ab-openai-plugin-sync-integrity.test.js +7 -3
- package/opencode-plugin/plugin.json +1 -1
- package/package.json +1 -1
- package/plugins/harness-everything/.codex-plugin/plugin.json +1 -1
- package/plugins/harness-everything/hooks/hooks.json +34 -34
- package/plugins/harness-everything/plugin.json +1 -1
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"name": "harness-everything",
|
|
10
10
|
"source": "./",
|
|
11
11
|
"description": "Harness OS: an orchestrated agent operating system — tier routing, circuit breaker guardrails, verification gates, WAL session memory, and self-evolving workspace rules.",
|
|
12
|
-
"version": "0.4.
|
|
12
|
+
"version": "0.4.4",
|
|
13
13
|
"author": {
|
|
14
14
|
"name": "Miya Daniel"
|
|
15
15
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "harness-everything",
|
|
3
3
|
"description": "Harness OS: an orchestrated agent operating system — tier routing, circuit breaker guardrails, verification gates, WAL session memory, and self-evolving workspace rules.",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.4",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Miya Daniel"
|
|
7
7
|
},
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project are documented in this file.
|
|
4
4
|
|
|
5
|
+
## [0.4.4](https://github.com/dyphn1/Harness-everything/compare/v0.4.3...v0.4.4) (2026-09-16)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
* **codex:** use portable PLUGIN_ROOT hook placeholders ([cdad922](https://github.com/dyphn1/Harness-everything/commit/cdad922baae531b9bacbf975b6149a48bca947d5))
|
|
10
|
+
|
|
5
11
|
## [0.4.3](https://github.com/dyphn1/Harness-everything/compare/v0.4.2...v0.4.3) (2026-09-16)
|
|
6
12
|
|
|
7
13
|
### Bug Fixes
|
|
@@ -61,8 +61,12 @@ try {
|
|
|
61
61
|
for (const field of ['command', 'commandWindows']) {
|
|
62
62
|
const command = hook[field];
|
|
63
63
|
if (typeof command !== 'string') continue;
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
assert.match(command, /\$\{PLUGIN_ROOT\}/, `${field} must use the Codex portable \${PLUGIN_ROOT} placeholder`);
|
|
65
|
+
assert.doesNotMatch(command, /%PLUGIN_ROOT%/, `${field} must not depend on cmd.exe-style %PLUGIN_ROOT% expansion`);
|
|
66
|
+
assert.doesNotMatch(command, /\$PLUGIN_ROOT[\\/]/, `${field} must use the explicit \${PLUGIN_ROOT} placeholder form`);
|
|
67
|
+
const match = command.match(/\$\{PLUGIN_ROOT\}[\\/]([^"']+)/);
|
|
68
|
+
assert.ok(match, `${field} must reference a concrete file below \${PLUGIN_ROOT}`);
|
|
69
|
+
referenced.add(match[1].replace(/\\/g, '/'));
|
|
66
70
|
}
|
|
67
71
|
}
|
|
68
72
|
}
|
|
@@ -75,7 +79,7 @@ try {
|
|
|
75
79
|
assert.ok(fs.existsSync(path.join(pluginRoot, 'hooks', 'scripts', 'codex-action-gate-post.js')), 'sync must preserve the Codex PostToolUse adapter');
|
|
76
80
|
assert.ok(fs.existsSync(path.join(pluginRoot, 'hooks', 'scripts', 'codex-permission-request.js')), 'sync must preserve the Codex PermissionRequest adapter');
|
|
77
81
|
|
|
78
|
-
console.log('PASS: OpenAI/Codex plugin sync is idempotent and preserves every referenced hook runtime file.');
|
|
82
|
+
console.log('PASS: OpenAI/Codex plugin sync is idempotent, uses portable plugin placeholders, and preserves every referenced hook runtime file.');
|
|
79
83
|
} finally {
|
|
80
84
|
fs.rmSync(tempBase, { recursive: true, force: true });
|
|
81
85
|
}
|
package/package.json
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
"hooks": [
|
|
8
8
|
{
|
|
9
9
|
"type": "command",
|
|
10
|
-
"command": "node \"$PLUGIN_ROOT/hooks/session-start.js\"",
|
|
11
|
-
"commandWindows": "node \"
|
|
10
|
+
"command": "node \"${PLUGIN_ROOT}/hooks/session-start.js\"",
|
|
11
|
+
"commandWindows": "node \"${PLUGIN_ROOT}\\hooks\\session-start.js\"",
|
|
12
12
|
"timeout": 15,
|
|
13
13
|
"statusMessage": "Loading Harness cognitive policy",
|
|
14
14
|
"additionalContextLimit": 800
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"hooks": [
|
|
22
22
|
{
|
|
23
23
|
"type": "command",
|
|
24
|
-
"command": "node \"$PLUGIN_ROOT/skills/harness-everything/scripts/kernel-router.js\"",
|
|
25
|
-
"commandWindows": "node \"
|
|
24
|
+
"command": "node \"${PLUGIN_ROOT}/skills/harness-everything/scripts/kernel-router.js\"",
|
|
25
|
+
"commandWindows": "node \"${PLUGIN_ROOT}\\skills\\harness-everything\\scripts\\kernel-router.js\"",
|
|
26
26
|
"timeout": 30,
|
|
27
27
|
"statusMessage": "Routing with Harness invariants",
|
|
28
28
|
"additionalContextLimit": 2500
|
|
@@ -36,22 +36,22 @@
|
|
|
36
36
|
"hooks": [
|
|
37
37
|
{
|
|
38
38
|
"type": "command",
|
|
39
|
-
"command": "node \"$PLUGIN_ROOT/hooks/scripts/codex-action-gate-pre.js\"",
|
|
40
|
-
"commandWindows": "node \"
|
|
39
|
+
"command": "node \"${PLUGIN_ROOT}/hooks/scripts/codex-action-gate-pre.js\"",
|
|
40
|
+
"commandWindows": "node \"${PLUGIN_ROOT}\\hooks\\scripts\\codex-action-gate-pre.js\"",
|
|
41
41
|
"timeout": 15,
|
|
42
42
|
"statusMessage": "Checking Harness pre-action approval gate"
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
"type": "command",
|
|
46
|
-
"command": "node \"$PLUGIN_ROOT/hooks/scripts/rule-of-3.js\"",
|
|
47
|
-
"commandWindows": "node \"
|
|
46
|
+
"command": "node \"${PLUGIN_ROOT}/hooks/scripts/rule-of-3.js\"",
|
|
47
|
+
"commandWindows": "node \"${PLUGIN_ROOT}\\hooks\\scripts\\rule-of-3.js\"",
|
|
48
48
|
"timeout": 15,
|
|
49
49
|
"statusMessage": "Checking Harness circuit breaker"
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
52
|
"type": "command",
|
|
53
|
-
"command": "node \"$PLUGIN_ROOT/hooks/scripts/context-compact.js\"",
|
|
54
|
-
"commandWindows": "node \"
|
|
53
|
+
"command": "node \"${PLUGIN_ROOT}/hooks/scripts/context-compact.js\"",
|
|
54
|
+
"commandWindows": "node \"${PLUGIN_ROOT}\\hooks\\scripts\\context-compact.js\"",
|
|
55
55
|
"timeout": 15,
|
|
56
56
|
"statusMessage": "Checking Harness context size"
|
|
57
57
|
}
|
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
"hooks": [
|
|
63
63
|
{
|
|
64
64
|
"type": "command",
|
|
65
|
-
"command": "node \"$PLUGIN_ROOT/hooks/scripts/subagent-scope-guard.js\"",
|
|
66
|
-
"commandWindows": "node \"
|
|
65
|
+
"command": "node \"${PLUGIN_ROOT}/hooks/scripts/subagent-scope-guard.js\"",
|
|
66
|
+
"commandWindows": "node \"${PLUGIN_ROOT}\\hooks\\scripts\\subagent-scope-guard.js\"",
|
|
67
67
|
"timeout": 15,
|
|
68
68
|
"statusMessage": "Recording subagent scope baseline"
|
|
69
69
|
}
|
|
@@ -75,8 +75,8 @@
|
|
|
75
75
|
"hooks": [
|
|
76
76
|
{
|
|
77
77
|
"type": "command",
|
|
78
|
-
"command": "node \"$PLUGIN_ROOT/hooks/scripts/codex-permission-request.js\"",
|
|
79
|
-
"commandWindows": "node \"
|
|
78
|
+
"command": "node \"${PLUGIN_ROOT}/hooks/scripts/codex-permission-request.js\"",
|
|
79
|
+
"commandWindows": "node \"${PLUGIN_ROOT}\\hooks\\scripts\\codex-permission-request.js\"",
|
|
80
80
|
"timeout": 15,
|
|
81
81
|
"statusMessage": "Recording Codex native approval request"
|
|
82
82
|
}
|
|
@@ -89,22 +89,22 @@
|
|
|
89
89
|
"hooks": [
|
|
90
90
|
{
|
|
91
91
|
"type": "command",
|
|
92
|
-
"command": "node \"$PLUGIN_ROOT/hooks/scripts/codex-action-gate-post.js\"",
|
|
93
|
-
"commandWindows": "node \"
|
|
92
|
+
"command": "node \"${PLUGIN_ROOT}/hooks/scripts/codex-action-gate-post.js\"",
|
|
93
|
+
"commandWindows": "node \"${PLUGIN_ROOT}\\hooks\\scripts\\codex-action-gate-post.js\"",
|
|
94
94
|
"timeout": 15,
|
|
95
95
|
"statusMessage": "Recording Harness action-gate execution outcome"
|
|
96
96
|
},
|
|
97
97
|
{
|
|
98
98
|
"type": "command",
|
|
99
|
-
"command": "node \"$PLUGIN_ROOT/hooks/scripts/rule-of-3-tracker.js\"",
|
|
100
|
-
"commandWindows": "node \"
|
|
99
|
+
"command": "node \"${PLUGIN_ROOT}/hooks/scripts/rule-of-3-tracker.js\"",
|
|
100
|
+
"commandWindows": "node \"${PLUGIN_ROOT}\\hooks\\scripts\\rule-of-3-tracker.js\"",
|
|
101
101
|
"timeout": 15,
|
|
102
102
|
"statusMessage": "Recording Harness failure evidence"
|
|
103
103
|
},
|
|
104
104
|
{
|
|
105
105
|
"type": "command",
|
|
106
|
-
"command": "node \"$PLUGIN_ROOT/hooks/scripts/state-persist.js\"",
|
|
107
|
-
"commandWindows": "node \"
|
|
106
|
+
"command": "node \"${PLUGIN_ROOT}/hooks/scripts/state-persist.js\"",
|
|
107
|
+
"commandWindows": "node \"${PLUGIN_ROOT}\\hooks\\scripts\\state-persist.js\"",
|
|
108
108
|
"timeout": 15,
|
|
109
109
|
"statusMessage": "Saving Harness session state"
|
|
110
110
|
}
|
|
@@ -115,8 +115,8 @@
|
|
|
115
115
|
"hooks": [
|
|
116
116
|
{
|
|
117
117
|
"type": "command",
|
|
118
|
-
"command": "node \"$PLUGIN_ROOT/hooks/scripts/atomic-commit-check.js\"",
|
|
119
|
-
"commandWindows": "node \"
|
|
118
|
+
"command": "node \"${PLUGIN_ROOT}/hooks/scripts/atomic-commit-check.js\"",
|
|
119
|
+
"commandWindows": "node \"${PLUGIN_ROOT}\\hooks\\scripts\\atomic-commit-check.js\"",
|
|
120
120
|
"timeout": 15,
|
|
121
121
|
"statusMessage": "Checking atomic change boundaries"
|
|
122
122
|
}
|
|
@@ -127,8 +127,8 @@
|
|
|
127
127
|
"hooks": [
|
|
128
128
|
{
|
|
129
129
|
"type": "command",
|
|
130
|
-
"command": "node \"$PLUGIN_ROOT/hooks/scripts/contract-test.js\"",
|
|
131
|
-
"commandWindows": "node \"
|
|
130
|
+
"command": "node \"${PLUGIN_ROOT}/hooks/scripts/contract-test.js\"",
|
|
131
|
+
"commandWindows": "node \"${PLUGIN_ROOT}\\hooks\\scripts\\contract-test.js\"",
|
|
132
132
|
"timeout": 15,
|
|
133
133
|
"statusMessage": "Checking Harness stage contract"
|
|
134
134
|
}
|
|
@@ -139,8 +139,8 @@
|
|
|
139
139
|
"hooks": [
|
|
140
140
|
{
|
|
141
141
|
"type": "command",
|
|
142
|
-
"command": "node \"$PLUGIN_ROOT/hooks/scripts/subagent-scope-guard.js\"",
|
|
143
|
-
"commandWindows": "node \"
|
|
142
|
+
"command": "node \"${PLUGIN_ROOT}/hooks/scripts/subagent-scope-guard.js\"",
|
|
143
|
+
"commandWindows": "node \"${PLUGIN_ROOT}\\hooks\\scripts\\subagent-scope-guard.js\"",
|
|
144
144
|
"timeout": 15,
|
|
145
145
|
"statusMessage": "Reviewing subagent scope changes"
|
|
146
146
|
}
|
|
@@ -152,8 +152,8 @@
|
|
|
152
152
|
"hooks": [
|
|
153
153
|
{
|
|
154
154
|
"type": "command",
|
|
155
|
-
"command": "node \"$PLUGIN_ROOT/hooks/scripts/subagent-start.js\"",
|
|
156
|
-
"commandWindows": "node \"
|
|
155
|
+
"command": "node \"${PLUGIN_ROOT}/hooks/scripts/subagent-start.js\"",
|
|
156
|
+
"commandWindows": "node \"${PLUGIN_ROOT}\\hooks\\scripts\\subagent-start.js\"",
|
|
157
157
|
"timeout": 15,
|
|
158
158
|
"statusMessage": "Loading Harness subagent scope"
|
|
159
159
|
}
|
|
@@ -165,8 +165,8 @@
|
|
|
165
165
|
"hooks": [
|
|
166
166
|
{
|
|
167
167
|
"type": "command",
|
|
168
|
-
"command": "node \"$PLUGIN_ROOT/hooks/scripts/subagent-stop.js\"",
|
|
169
|
-
"commandWindows": "node \"
|
|
168
|
+
"command": "node \"${PLUGIN_ROOT}/hooks/scripts/subagent-stop.js\"",
|
|
169
|
+
"commandWindows": "node \"${PLUGIN_ROOT}\\hooks\\scripts\\subagent-stop.js\"",
|
|
170
170
|
"timeout": 15,
|
|
171
171
|
"statusMessage": "Checking subagent scope changes"
|
|
172
172
|
}
|
|
@@ -178,15 +178,15 @@
|
|
|
178
178
|
"hooks": [
|
|
179
179
|
{
|
|
180
180
|
"type": "command",
|
|
181
|
-
"command": "node \"$PLUGIN_ROOT/hooks/scripts/action-gate.js\"",
|
|
182
|
-
"commandWindows": "node \"
|
|
181
|
+
"command": "node \"${PLUGIN_ROOT}/hooks/scripts/action-gate.js\"",
|
|
182
|
+
"commandWindows": "node \"${PLUGIN_ROOT}\\hooks\\scripts\\action-gate.js\"",
|
|
183
183
|
"timeout": 15,
|
|
184
184
|
"statusMessage": "Closing unresolved Harness action approvals"
|
|
185
185
|
},
|
|
186
186
|
{
|
|
187
187
|
"type": "command",
|
|
188
|
-
"command": "node \"$PLUGIN_ROOT/hooks/scripts/stop-gate.js\"",
|
|
189
|
-
"commandWindows": "node \"
|
|
188
|
+
"command": "node \"${PLUGIN_ROOT}/hooks/scripts/stop-gate.js\"",
|
|
189
|
+
"commandWindows": "node \"${PLUGIN_ROOT}\\hooks\\scripts\\stop-gate.js\"",
|
|
190
190
|
"timeout": 15,
|
|
191
191
|
"statusMessage": "Checking Harness verification gate"
|
|
192
192
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
3
|
"name": "harness-everything",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.4",
|
|
5
5
|
"description": "Invariant-first engineering harness for routing, verification, and failure recovery while preserving agent autonomy.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Miya Daniel",
|