@windyroad/architect 0.23.1 → 0.23.2-preview.1242
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.
|
@@ -14,7 +14,11 @@ function riskDir(sessionId) {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
function statePath(input, target) {
|
|
17
|
-
return join(riskDir(input.session_id), `codex-architect-${Buffer.from(target).toString("base64url")}`);
|
|
17
|
+
return join(riskDir(input.session_id), `codex-architect-${Buffer.from(normalizeTarget(target)).toString("base64url")}`);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
function normalizeTarget(target) {
|
|
21
|
+
return target.startsWith("/root/") ? target.slice(6) : target;
|
|
18
22
|
}
|
|
19
23
|
|
|
20
24
|
function remember(input) {
|
|
@@ -62,6 +62,9 @@ check_architect_gate() {
|
|
|
62
62
|
fi
|
|
63
63
|
|
|
64
64
|
ARCHITECT_GATE_REASON="No architect review marker found for this session. Delegate to wr-architect:agent via the Agent tool (subagent_type: 'wr-architect:agent') so the architect can review and create the marker. After an ISSUES FOUND verdict, obtain the upgraded PASS from a fresh wr-architect:agent spawn: resuming the prior agent does not fire the completion hook and therefore cannot write the marker. If you already hold a genuine PASS, assert the marker manually: touch /tmp/architect-reviewed-\$SID && rm -f /tmp/architect-reviewed-\$SID.hash (SID = newest architect-plan-reviewed-* / architect-announced-* basename)."
|
|
65
|
+
if [ -n "${CODEX_THREAD_ID:-}" ]; then
|
|
66
|
+
ARCHITECT_GATE_REASON="No architect review marker found for this session. After a genuine PASS from a completed wr-architect:agent task, call interrupt_agent once with that completed task's exact target, then retry the edit. If still blocked, run a fresh review and report the gate diagnostic. Do not create or edit review markers manually."
|
|
67
|
+
fi
|
|
65
68
|
return 1 # No marker, deny
|
|
66
69
|
}
|
|
67
70
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@windyroad/architect",
|
|
3
|
-
"version": "0.23.
|
|
3
|
+
"version": "0.23.2-preview.1242",
|
|
4
4
|
"description": "Architecture decision enforcement for AI coding agents",
|
|
5
5
|
"bin": {
|
|
6
6
|
"windyroad-architect": "./bin/install.mjs"
|
|
@@ -37,7 +37,6 @@
|
|
|
37
37
|
"!agents/eval/",
|
|
38
38
|
"!agents/test/",
|
|
39
39
|
"!hooks/test/",
|
|
40
|
-
"!scripts/check-published-internal-ids.sh",
|
|
41
40
|
"!scripts/sync-codex-skills.mjs",
|
|
42
41
|
"!scripts/test/",
|
|
43
42
|
"!skills/*/test/"
|