session-orchestrator 5.6.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.
Files changed (42) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/.codex-plugin/plugin.json +1 -1
  4. package/.cursor-plugin/plugin.json +1 -1
  5. package/CHANGELOG.md +26 -0
  6. package/README.md +7 -8
  7. package/docs/USER-GUIDE.md +1 -1
  8. package/docs/rule-authoring.md +10 -0
  9. package/docs/session-config-reference.md +1 -1
  10. package/docs/session-config-template.md +1 -1
  11. package/hooks/hooks-codex.json +1 -1
  12. package/hooks/hooks.json +1 -1
  13. package/hooks/wave-scope-commit-guard.mjs +41 -10
  14. package/package.json +1 -1
  15. package/scripts/backfill-abandoned-sessions.mjs +5 -7
  16. package/scripts/backfill-learnings-from-vault.mjs +17 -6
  17. package/scripts/lib/dispatcher/rank.mjs +5 -1
  18. package/scripts/lib/events.mjs +62 -49
  19. package/scripts/lib/io.mjs +9 -4
  20. package/scripts/lib/learnings/candidates.mjs +7 -16
  21. package/scripts/lib/memory-proposals/store.mjs +9 -2
  22. package/scripts/lib/reconcile/rule-expiry-sweep.mjs +52 -0
  23. package/scripts/lib/session-close-backfill.mjs +18 -0
  24. package/scripts/lib/validate/check-test-value-bans.mjs +9 -0
  25. package/scripts/lib/vault-mirror/process.mjs +388 -56
  26. package/scripts/lib/vault-mirror/prune.mjs +413 -0
  27. package/scripts/lib/vault-mirror/render-sessions.mjs +13 -5
  28. package/scripts/lib/vault-mirror/retention.mjs +388 -0
  29. package/scripts/lib/vault-status/board-writer.mjs +6 -6
  30. package/scripts/lib/wave-transcript-tail.mjs +11 -2
  31. package/scripts/print-applicable-rules.mjs +1 -25
  32. package/scripts/release.mjs +4 -0
  33. package/scripts/vault-mirror-prune.mjs +145 -0
  34. package/scripts/vault-mirror.mjs +77 -12
  35. package/skills/claude-md-drift-check/checker.mjs +6 -16
  36. package/skills/vault-mirror/SKILL.md +27 -2
  37. package/skills/wave-executor/references/wave-loop-scope-manifest.md +2 -0
  38. package/hooks/agent-teams-h3-test.sh +0 -362
  39. package/scripts/spikes/h3-agent-teams/preflight.sh +0 -53
  40. package/scripts/spikes/h3-agent-teams/run-h3.sh +0 -112
  41. package/scripts/spikes/h3-agent-teams/setup.sh +0 -137
  42. 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