Skip to content

Repository files navigation

Bondry

Bondry

Bondry is an embeddable automation foundation for exposing an application's capabilities through multiple interfaces without coupling application logic to any one protocol.

The project is in pre-alpha development. Its APIs are not stable yet.

Goals

  • Keep capability implementation independent from REST, MCP, Apple Shortcuts, and future adapters.
  • Authenticate clients once and authorize every invocation with least privilege.
  • Deny access by default and make exposure an explicit host-application decision.
  • Produce protocol-neutral audit events without recording credentials or sensitive payloads.
  • Provide a portable core with platform-specific adapters and language bindings layered above it.

Architecture

The workspace contains the protocol-neutral dispatch core with JSON Schema 2020-12 input validation, client authentication lifecycle, exact authorization grants, runtime-neutral outbound transport contracts, a shared local HTTP runtime, generic REST and MCP adapters, fixed verified webhook ingress, an optional encrypted SQLCipher reference store, versioned composition ABIs, an Apple Keychain provider, modular native Swift products, and an Apple Shortcuts adapter built with App Intents.

See Architecture, Authentication, Authorization, Outbound transport, Webhook egress, Webhook ingress, Local HTTP, Implementation limits, REST, MCP, Apple server controls, Apple Shortcuts, Apple distribution, Releasing, Storage, C ABI, Apple Keychain, Threat model, Repository safety, Phase 0 performance baseline, Phase 2 egress artifact measurements, and Phase 6 release profile for the current design constraints.

Development

The workspace requires Rust 1.85 or newer.

cargo fmt --all --check
cargo clippy --workspace --all-targets --all-features -- -D warnings
cargo test --workspace --all-features
cargo xtask gate
cargo audit
cargo deny check
scripts/measure-egress-size.sh
swift format lint --recursive --strict Package.swift apple/Package.swift apple/Distribution/Package.release.swift apple/Sources apple/Tests apple/IntegrationTests
swift test --package-path apple
shellcheck apple/scripts/*.sh scripts/*.sh

Use cargo xtask affected --base <revision> to inspect the crate and Apple jobs required by a change.

License

Licensed under the Apache License, Version 2.0.

About

One capability layer. Every interface.

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages