trantor 0.18.46 → 0.18.47

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trantor",
3
- "version": "0.18.46",
3
+ "version": "0.18.47",
4
4
  "description": "Trantor — the hub-world for AI agent crews: live message bus, presence, project Kanban/flow board + crew orchestration for independent AI coding agents (Claude, Codex, Gemini, Kimi, DeepSeek)",
5
5
  "mcpServers": {
6
6
  "relay": {
package/bin/cli.mjs CHANGED
@@ -30,6 +30,7 @@ switch (cmd) {
30
30
  case "open": runCrew(); break;
31
31
  case "herdr": spawn(process.execPath, [join(ROOT, "bin/herdr-agent.mjs"), ...args], { stdio: "inherit", cwd: process.cwd() }).on("exit", c => process.exit(c ?? 0)); break;
32
32
  case "autonomy": spawn(process.execPath, [join(ROOT, "bin/autonomy.mjs"), ...args], { stdio: "inherit", cwd: process.cwd() }).on("exit", c => process.exit(c ?? 0)); break;
33
+ case "agent-settings": run("bin/agent-settings.mjs"); break;
33
34
  case "adopt": spawn(process.execPath, [join(ROOT, "bin/adopt.mjs"), ...args], { stdio: "inherit", cwd: process.cwd() }).on("exit", c => process.exit(c ?? 0)); break;
34
35
  case "integrate": spawn(process.execPath, [join(ROOT, "bin/integrate.mjs"), ...args], { stdio: "inherit", cwd: process.cwd() }).on("exit", c => process.exit(c ?? 0)); break;
35
36
  case "down": runCrew(); break;
@@ -1,8 +1,9 @@
1
1
  #!/bin/bash
2
2
  # #6446 (BUILD-DOCTRINE.md rule 2, "red blocks merge"): branch protection gates PR merges, but
3
3
  # the orchestrator's merges are LOCAL pushes to main, which a required check cannot gate. This
4
- # pre-push hook runs the fast subset (slop-gate + test.mjs) and refuses the push on red. The full
5
- # suite still runs in CI on every push. Deliberate bypass: git push --no-verify.
4
+ # pre-push hook runs the fast subset (slop-gate + the hermetic sessionstart drill) and refuses
5
+ # the push on red. The full suite is `npm test` → test/run.mjs (#6447) and runs in CI on every
6
+ # push. Deliberate bypass: git push --no-verify.
6
7
  set -u
7
8
  ROOT="$(git rev-parse --show-toplevel)" || exit 1
8
9
  cd "$ROOT" || exit 1
@@ -21,7 +22,7 @@ while read -r _ local_ref _ _; do
21
22
  echo "trantor pre-push: slop-gate RED — push refused. Fix it, or bypass with --no-verify (CI still gates the PR)." >&2
22
23
  exit 1
23
24
  fi
24
- if ! node test.mjs; then
25
+ if ! node test/hooks/test.mjs; then
25
26
  echo "trantor pre-push: test.mjs RED — push refused. Fix it, or bypass with --no-verify (CI still gates the PR)." >&2
26
27
  exit 1
27
28
  fi
@@ -69,6 +69,9 @@ try {
69
69
  const trimmed = prompt.replace(/\s+/g, " ").trim();
70
70
  // skip empties, tiny continuations, and pure acks — they're not a new focus
71
71
  if (!trimmed || trimmed.length < 12 || ACK.test(trimmed)) { emitAndExit(); }
72
+ // The Accounts ask drill launches a real Claude session, so its scripted prompt traverses this
73
+ // hook just like operator work. It is harness traffic, though, and must never become a focus card.
74
+ if (/\bTRANTOR ASK DRILL\b/.test(trimmed)) { emitAndExit(); }
72
75
  // HARNESS-INJECTED prompts are not a human's focus. Task notifications, hook system-reminders and
73
76
  // protocol frames arrive through the same UserPromptSubmit channel, and carding one titled a board
74
77
  // card "<task-notification> <task-id>bavlqfmzq</task-id>…" — pure noise a human cannot read.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trantor",
3
- "version": "0.18.46",
3
+ "version": "0.18.47",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "trantor": "bin/cli.mjs"
@@ -11,7 +11,7 @@
11
11
  "zod": "^4.4.3"
12
12
  },
13
13
  "scripts": {
14
- "test": "node bin/slop-gate.mjs --surface desktop/src && node test.mjs && node test-scenarios.mjs && node test-failure.mjs && node test-redelivery.mjs && node test-crew-completion.mjs && node test-contracts.mjs && node test-autonomy.mjs && node test-integrate.mjs && node test-handoff.mjs && node test-handoff-summarizer.mjs && node test-baton-turn-boundary.mjs && node test-agents.mjs && node test-update.mjs && node test-handoff-guard.mjs && node test-enroll.mjs && node test-baton-latest.mjs && node test-balances.mjs && node test-usage-live.mjs && node test-subagent-cost.mjs && node test-inbox.mjs && node test-cursor-rewind.mjs && node test-inflight.mjs && node test-notify.mjs && node test-focus.mjs && node test-cardlog.mjs && node test-checklist.mjs && node test-relay-note.mjs && node test-reaper.mjs && node test-events.mjs && node test-proposals.mjs && node test-scrub.mjs && node test-store-delta.mjs && node test-persist-safety.mjs && node test-message-re.mjs && node test-claims.mjs && node test-adopt.mjs && node test-summarize.mjs && node test-identity-core.mjs && node test-identity.mjs && node test-identity-instances.mjs && node test-duty.mjs && node test-duty-dark.mjs && node test-duty-seat.mjs && node test-discovery.mjs && node test-doctor.mjs && node test-crew-env.mjs && node test-desktop-transport.mjs && node test-crew-worktree.mjs && node test-crew-redact.mjs && node test-crew-classify.mjs && bash test-crew-herdr.sh && npm --prefix desktop run test --silent && node test-splitbrain.mjs && node test-overseer.mjs && node test-overseer-lib.mjs && node test-overseer-warn.mjs && node test-provider-keys.mjs && node test-provider-cli.mjs && node test-crew-model-defaults.mjs && node test-inbox-delivery.mjs && node test-identity-drift.mjs && node test-inbox-staleness.mjs && node test-seats.mjs && node test-seat-identity.mjs && node test-hub-routing.mjs && node test-hook-routing.mjs && node test-relay-wait.mjs && node test-dsh-seat.mjs && node test-kimi-bridge.mjs && node test-kimi-events.mjs && python3 engine/test-routing.py && node test-new.mjs && node test-prd-review.mjs && node test-reconcile.mjs && node test-resources.mjs && node test-patrol.mjs && node test-bridge.mjs && bash test-crew.sh"
14
+ "test": "node test/run.mjs"
15
15
  },
16
16
  "description": "The hub-world for AI agent crews — orchestrate Claude Code, Codex, GLM, Kimi, DeepSeek & any OpenRouter model as live crews with a plan-aware Advisor, a Kanban/flow command center, a testing gate, and an economics brain (Scrooge).",
17
17
  "files": [