bondulance is your personal local coding assistant that avoids having a stronk.
  • Rust 80.6%
  • JavaScript 16.2%
  • CSS 2.4%
  • HTML 0.8%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Johannes Schriewer 7cc4818f51 Merge refactor/P015-split-long-files: split every long Rust file into modules
P015: no Rust file in the workspace is above 750 lines any more (the
largest is 750, exactly at the cap). 16 source files got their inline unit
tests moved into child files, 12 long modules were cut into children of a
same-named directory with the parent re-exporting every previously
reachable item, and 16 integration-test binaries moved their tests into
#[path]-mounted topic submodules while keeping their flat root file and
their target name.

Behaviour is unchanged: 1317 workspace tests pass (one documented
live-host flake), clippy and fmt are clean, the rewriter corpus still
holds 511 cases and the sandbox tool-definition table keeps its
prompt-cache order. The 50 files left between 500 and 750 lines are
registered with their reasons in the new agents/memory/module-layout.md.
2026-12-04 23:29:57 +01:00
.agents Update agents and add found bugs 2026-11-28 02:05:23 +01:00
.bondulance Update agents and add found bugs 2026-11-28 02:05:23 +01:00
agents Docs P015: consolidated implementation report for the file-split plan 2026-12-04 23:04:23 +01:00
app Refactor P015: keep save/reset/compute_provenance pub re-exports in settings.rs 2026-12-04 22:59:05 +01:00
click-dummy Commit initial plan, re-organize repo 2026-11-17 22:39:35 +01:00
docs Docs P015, T015: name the settings children in memory and doc citations 2026-12-04 19:54:38 +01:00
engine Refactor P015, T024: fix broken intra-doc links in split modules (AgentLoop sandbox field in agent_loop/context.rs, spawn_fake_with_worktree typo in test_support) 2026-12-04 22:22:05 +01:00
persistence Feature P014, T012-001: service spec, record, spawn and restore carry working directory and env 2026-12-04 04:51:24 +01:00
protocol Feature P014, T010-003: config, execution and wire on the runner profile model 2026-12-04 00:54:19 +01:00
.gitignore Prepare the bondulance 2026-11-28 01:46:42 +01:00
.ignore Condense AGENTS.md and update Agent memory 2026-11-27 01:10:36 +01:00
AGENTS.md Documentation P014, T014: AGENTS.md final rewriter facts, engine member, regex/toolcall-rpc stack entries 2026-12-04 12:50:17 +01:00
Cargo.lock Feature P014, T005-001: add brush-parser and the rewriter command model 2026-12-03 08:01:51 +01:00
Cargo.toml Feature P001, T019: headless WS/facade integration suites (28 tests) + fixes: conn close-frame ordering bug, split terminal bus subscription (engine bus: Filter::AllExcept), connect push always list+attached, attach-deny unstucks manager, serde error taxonomy split, best-effort id for parse-error replies; workspace: allow nightly assert_is_empty noise 2026-11-20 23:38:20 +01:00
README.md Documentation P014, T001: drop the fixer docs page and neutralise every fixer mention 2026-12-03 03:50:43 +01:00

Bondulance

Bondulance is a graphical harness for AI coding agents. Agents work inside a sandbox (bubblewrap, podman, or a remote SSH host) with no access to your machine and no network except through a permission-gated HTTP/HTTPS proxy. File changes land in a forked git worktree that you review and merge back. You approve the decisions that matter instead of babysitting permission prompts.

The full user documentation lives in the mdbook under docs/src — start with the introduction.

Quick start

Prerequisites: Linux, a Rust toolchain (edition 2024), bwrap (bubblewrap) for the default sandbox backend, and the socket-ssh (default /usr/bin/socket-ssh) plus toolcall-rpc binaries for the sandbox.

cargo build --release                       # target/release/bondulance
cd ~/projects/my-app
bondulance setup                            # git init + .agents/.bondulance,
                                            # prompt seeds, config example
# point .bondulance/config.toml (or the global one) at your LLM server:
# [[endpoints]]
# name = "local-llama"
# url = "http://127.0.0.1:8080/v1"
# server_kind = "llama-cpp"
bondulance                                  # desktop window (feature `desktop`)
bondulance --headless                       # or: serves UI + WS on 127.0.0.1

Configuration reference, session/restore semantics, the agent tool set, the proxy policy and the WebSocket protocol are all documented in the book.

Development

cargo build
cargo test --workspace                  # unit + integration
cargo clippy --workspace --all-targets
cargo fmt --check
(cd app/frontend && npx playwright test)  # frontend tests (dev-only, chromium)
mdbook build docs -d docs/book            # user documentation

Building the desktop app:

cd app
frontend/node_modules/.bin/tauri build --features desktop   # add --bundles deb|rpm

Contributions follow agents/rules/ (git, rust, documentation); design and invariants for agents live in AGENTS.md.

Tech stack

Rust (edition 2024) + tokio; serde/toml config; thiserror errors; tokio-tungstenite WS server; Tauri v2 desktop shell (optional desktop feature); git2 for reads. The frontend is a bundlerless vanilla-JS SPA under app/frontend (Playwright for tests). The sandbox, egress proxy, SSH bridge, agent-file parser and LLM client are the pinned companion crates (sandbox, socket-ssh, http-proxy, agent-parser), pinned by SHA — full list and links in AGENTS.md.