session-orchestrator 5.5.0 → 5.7.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/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/.cursor-plugin/plugin.json +1 -1
- package/CHANGELOG.md +46 -0
- package/README.md +27 -13
- package/docs/USER-GUIDE.md +1 -1
- package/docs/rule-authoring.md +10 -0
- package/docs/scope-collision-guard.md +5 -3
- package/docs/session-config-reference.md +1 -1
- package/docs/session-config-template.md +1 -1
- package/hooks/hooks-codex.json +1 -1
- package/hooks/hooks.json +1 -1
- package/hooks/on-stop.mjs +8 -2
- package/hooks/post-bash-write-verify.mjs +121 -7
- package/hooks/post-tool-batch-wave-signal.mjs +11 -4
- package/hooks/pre-bash-memory-propose-audit.mjs +13 -8
- package/hooks/pre-task-scope-disjoint.mjs +20 -35
- package/hooks/wave-scope-commit-guard.mjs +117 -20
- package/package.json +8 -3
- package/scripts/backfill-abandoned-sessions.mjs +5 -7
- package/scripts/backfill-learnings-from-vault.mjs +17 -6
- package/scripts/lib/dispatcher/rank.mjs +5 -1
- package/scripts/lib/events.mjs +62 -49
- package/scripts/lib/io.mjs +9 -4
- package/scripts/lib/learnings/candidates.mjs +7 -16
- package/scripts/lib/memory-proposals/store.mjs +9 -2
- package/scripts/lib/reconcile/rule-expiry-sweep.mjs +52 -0
- package/scripts/lib/scope-gate.mjs +8 -1
- package/scripts/lib/session-close-backfill.mjs +104 -13
- package/scripts/lib/validate/check-test-value-bans.mjs +9 -0
- package/scripts/lib/vault-mirror/process.mjs +388 -56
- package/scripts/lib/vault-mirror/prune.mjs +413 -0
- package/scripts/lib/vault-mirror/render-sessions.mjs +13 -5
- package/scripts/lib/vault-mirror/retention.mjs +388 -0
- package/scripts/lib/vault-status/board-writer.mjs +6 -6
- package/scripts/lib/wave-transcript-tail.mjs +11 -2
- package/scripts/print-applicable-rules.mjs +1 -25
- package/scripts/release.mjs +4 -0
- package/scripts/validate-wave-scope.mjs +39 -4
- package/scripts/vault-mirror-prune.mjs +145 -0
- package/scripts/vault-mirror.mjs +77 -12
- package/skills/_shared/parallel-aware-auq.md +1 -1
- package/skills/claude-md-drift-check/checker.mjs +6 -16
- package/skills/vault-mirror/SKILL.md +27 -2
- package/skills/wave-executor/references/wave-loop-scope-manifest.md +3 -1
- package/hooks/agent-teams-h3-test.sh +0 -362
- package/scripts/spikes/h3-agent-teams/preflight.sh +0 -53
- package/scripts/spikes/h3-agent-teams/run-h3.sh +0 -112
- package/scripts/spikes/h3-agent-teams/setup.sh +0 -137
- package/scripts/spikes/h3-agent-teams/toggle.sh +0 -38
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
# toggle.sh pass|fail — rewrite the fixture's src/h3.ts to the PASS or FAIL state.
|
|
3
|
-
#
|
|
4
|
-
# pass → export const x: number = 42; (typecheck exits 0)
|
|
5
|
-
# fail → export const x: number = "FAIL_MARKER"; (typecheck exits 2)
|
|
6
|
-
#
|
|
7
|
-
# Spawns NO claude session. Used by preflight.sh and by the operator between
|
|
8
|
-
# runs (run 1 = pass; runs 2-3 = fail before launching the team).
|
|
9
|
-
set -euo pipefail
|
|
10
|
-
|
|
11
|
-
FIXTURE="/tmp/h3-agent-teams-test"
|
|
12
|
-
TARGET="${FIXTURE}/src/h3.ts"
|
|
13
|
-
|
|
14
|
-
usage() {
|
|
15
|
-
echo "usage: $0 pass|fail" >&2
|
|
16
|
-
exit 1
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
[ "$#" -eq 1 ] || usage
|
|
20
|
-
|
|
21
|
-
if [ ! -d "${FIXTURE}" ]; then
|
|
22
|
-
echo "[toggle] fixture missing at ${FIXTURE} — run ./setup.sh first" >&2
|
|
23
|
-
exit 1
|
|
24
|
-
fi
|
|
25
|
-
|
|
26
|
-
case "$1" in
|
|
27
|
-
pass)
|
|
28
|
-
printf 'export const x: number = 42;\n' > "${TARGET}"
|
|
29
|
-
echo "[toggle] src/h3.ts → PASS state (export const x: number = 42;)"
|
|
30
|
-
;;
|
|
31
|
-
fail)
|
|
32
|
-
printf 'export const x: number = "FAIL_MARKER";\n' > "${TARGET}"
|
|
33
|
-
echo "[toggle] src/h3.ts → FAIL state (export const x: number = \"FAIL_MARKER\";)"
|
|
34
|
-
;;
|
|
35
|
-
*)
|
|
36
|
-
usage
|
|
37
|
-
;;
|
|
38
|
-
esac
|