Skip to content

feat(runtime): retain CLI Bridge runs across restart - #15

Merged
drewstone merged 1 commit into
mainfrom
feat/interactive-runtime
Aug 11, 2026
Merged

feat(runtime): retain CLI Bridge runs across restart#15
drewstone merged 1 commit into
mainfrom
feat/interactive-runtime

Conversation

@drewstone

Copy link
Copy Markdown
Contributor

Outcome

Braid now keeps CLI Bridge provider jobs and sessions alive across detach, process restart, reconnect, reconcile, cancellation, and follow-up turns.

The TUI and JSONL interface show the exact AgentProfile, runner, model route, connection, environment, provider session, token usage, model calls, and measurement completeness.

Direct product proof

A clean install of the exact packed @tangle-network/braid@0.1.0 candidate drove Pi 0.83.0 with tangle-router/glm-5.2 through CLI Bridge.

  • Turn 1 stored a hidden nonce.
  • Turn 2 recalled it without receiving it again.
  • Braid then exited and restarted.
  • Reconnect preserved completed state.
  • Turn 3 completed on the same provider session.
  • Final tarball SHA-256: 3f0343a6337feb7da794e9195706f8aefc119068e2c35113d9df8b3293fa84c9.
  • Evidence: /tmp/braid-live-core-final.json from node scripts/live-core/run.mjs.

Checks

  • pnpm check: 633 tests; 631 passed; 2 intentional skips; 0 failed.
  • Live Bridge adversarial matrix passed.
  • 100,000-event storage and forced-crash checks passed.
  • Detach-at-persistence race regression passed.

Product recording

Braid using an AgentProfile through agent-runtime, Local CLI Bridge, Pi, and GLM-5.2

@drewstone
drewstone merged commit 650b0e4 into main Aug 11, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant