Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions:
jobs:
contract-pin:
name: Auto-merge sendbox contract pin updates
if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'mbianchidev/sendbox-fleet'
if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'sendbox-dev/sendbox-fleet'
runs-on: ubuntu-24.04
timeout-minutes: 5
permissions:
Expand Down
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ version = "0.1.0"
edition = "2024"
rust-version = "1.100.0"
license = "Apache-2.0"
repository = "https://github.com/mbianchidev/sendbox-fleet"
repository = "https://github.com/sendbox-dev/sendbox-fleet"
publish = false

[workspace.dependencies]
Expand All @@ -19,8 +19,8 @@ getrandom = "0.4.3"
reqwest = { version = "0.13.5", default-features = false, features = ["rustls-no-provider"] }
ring = "0.17.14"
rustls = { version = "0.23.46", default-features = false, features = ["ring", "std"] }
sendbox-governance = { git = "https://github.com/mbianchidev/sendbox", branch = "main" }
sendbox-security = { git = "https://github.com/mbianchidev/sendbox", branch = "main" }
sendbox-governance = { git = "https://github.com/sendbox-dev/sendbox", branch = "main" }
sendbox-security = { git = "https://github.com/sendbox-dev/sendbox", branch = "main" }
serde_json_canonicalizer = "0.3.2"
serde_yaml_ng = { package = "yaml_serde", version = "0.10.7" }
sha2 = "0.11.0"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# sendbox-fleet

Shared governance service for [SendBox](https://github.com/mbianchidev/sendbox) governed sessions: operator-signed policy profiles shared across users and hosts, project-scoped roles, session admission, credential grant authorization and revocation, approved expiring exceptions, and a hash-chained central audit log. It is increment 2 of [mbianchidev/sendbox#87](https://github.com/mbianchidev/sendbox/issues/87).
Shared governance service for [SendBox](https://github.com/sendbox-dev/sendbox) governed sessions: operator-signed policy profiles shared across users and hosts, project-scoped roles, session admission, credential grant authorization and revocation, approved expiring exceptions, and a hash-chained central audit log. It is increment 2 of [sendbox-dev/sendbox#87](https://github.com/sendbox-dev/sendbox/issues/87).

Provider credentials never reach this service; they stay in the SendBox host broker.

Expand All @@ -15,7 +15,7 @@ Feature-complete for increment 2 and usable for team deployments:
- Hash-chained audit with host-reported request outcomes, signed chain heads, and anchoring outside the database.
- Operations: PostgreSQL least-privilege roles, rate limits, Prometheus metrics, size and daily log rotation, deployment and backup guidance.

Not yet done: a governed session on Apple or Kata against real model providers through a deployed fleet. That run is host-side work tracked in [mbianchidev/sendbox#96](https://github.com/mbianchidev/sendbox/issues/96). See the [roadmap](docs/roadmap.md).
Not yet done: a governed session on Apple or Kata against real model providers through a deployed fleet. That run is host-side work tracked in [sendbox-dev/sendbox#96](https://github.com/sendbox-dev/sendbox/issues/96). See the [roadmap](docs/roadmap.md).

## Quick start

Expand Down
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Security

Please report suspected vulnerabilities privately through
[GitHub private vulnerability reporting](https://github.com/mbianchidev/sendbox-fleet/security/advisories/new)
[GitHub private vulnerability reporting](https://github.com/sendbox-dev/sendbox-fleet/security/advisories/new)
(the repository's **Security** tab, then **Report a vulnerability**). Do not
open public issues or pull requests for vulnerabilities.

Expand Down
2 changes: 1 addition & 1 deletion crates/fleet-server/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![forbid(unsafe_code)]
//! SendBox fleet: the shared governance service for governed sessions.
//!
//! Increment 2 of <https://github.com/mbianchidev/sendbox/issues/87>: an
//! Increment 2 of <https://github.com/sendbox-dev/sendbox/issues/87>: an
//! authenticated, multi-user management API and shared grant authority.
//! It enforces project-scoped roles, admits governed sessions, issues and
//! checks credential grants, records bounded, expiring exceptions, and keeps a
Expand Down
6 changes: 3 additions & 3 deletions docs/architecture.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Architecture

`sendbox-fleet` is the shared governance service for SendBox governed sessions
([mbianchidev/sendbox#87](https://github.com/mbianchidev/sendbox/issues/87)).
([sendbox-dev/sendbox#87](https://github.com/sendbox-dev/sendbox/issues/87)).
It is increment 2 of that issue: the authenticated, multi-user management API
and central authority that increment 1 deliberately left out.

Expand All @@ -15,7 +15,7 @@ outside the database. See [roadmap.md](roadmap.md) for what remains and

## Relationship to SendBox increment 1

Increment 1 lives in the [sendbox](https://github.com/mbianchidev/sendbox)
Increment 1 lives in the [sendbox](https://github.com/sendbox-dev/sendbox)
repository and works on a single host:

- An operator signs a governance profile (the maximum a session may do). The
Expand All @@ -31,7 +31,7 @@ fleet implements the same `GrantAuthority` semantics over HTTP (both use
`sendbox_governance::evaluate_request`); a SendBox host whose operator
configuration has a `fleet` section uses its remote authority client instead
of the local one. See SendBox's
[shared governance service](https://github.com/mbianchidev/sendbox/blob/main/docs/architecture/governed-sessions.md#shared-governance-service)
[shared governance service](https://github.com/sendbox-dev/sendbox/blob/main/docs/architecture/governed-sessions.md#shared-governance-service)
for the host side.

```mermaid
Expand Down
6 changes: 3 additions & 3 deletions docs/contract.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
SendBox hosts and this service must agree byte-for-byte on identities,
profile references, session bindings, grants, request contexts, and
decisions. That agreement lives in one crate, `sendbox-governance`, in the
[sendbox](https://github.com/mbianchidev/sendbox) repository
[sendbox](https://github.com/sendbox-dev/sendbox) repository
(`crates/sendbox-governance`). This service depends on it instead of
redefining any of those types.

## How it is pinned

```toml
# Cargo.toml (workspace)
sendbox-governance = { git = "https://github.com/mbianchidev/sendbox", branch = "main" }
sendbox-security = { git = "https://github.com/mbianchidev/sendbox", branch = "main" }
sendbox-governance = { git = "https://github.com/sendbox-dev/sendbox", branch = "main" }
sendbox-security = { git = "https://github.com/sendbox-dev/sendbox", branch = "main" }
```

`sendbox-security` supplies the signing envelope and trust store used for
Expand Down
4 changes: 2 additions & 2 deletions docs/roadmap.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Roadmap

Increment-2 work for
[mbianchidev/sendbox#87](https://github.com/mbianchidev/sendbox/issues/87).
[sendbox-dev/sendbox#87](https://github.com/sendbox-dev/sendbox/issues/87).
Each item names the issue's acceptance criteria (AC) it serves:

- **AC1** A trusted shared profile is enforced at actual session admission and
Expand Down Expand Up @@ -77,7 +77,7 @@ invariants, CI, and these documents. Increment 2 then delivered:
1. **Live end-to-end runs.** Run Apple and Kata governed sessions against a
deployed fleet and real model providers. The provider path (broker,
relay, credential injection) is host-side, so this is tracked in SendBox:
[mbianchidev/sendbox#96](https://github.com/mbianchidev/sendbox/issues/96).
[sendbox-dev/sendbox#96](https://github.com/sendbox-dev/sendbox/issues/96).
2. **`RUSTSEC-2026-0459`.** Drop the exception in `.cargo/audit.toml` once an
sqlx release allows libsqlite3-sys 0.39. It affects only SQLite, which
production does not use.
Expand Down
2 changes: 1 addition & 1 deletion scripts/check-contract-pin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
set -euo pipefail

cd "$(dirname "$0")/.."
repo='https://github.com/mbianchidev/sendbox'
repo='https://github.com/sendbox-dev/sendbox'
status=0

while IFS= read -r line; do
Expand Down