lawsynth/crates/lawsynth-plugin-api
caelum0x 7a06febeb6 chore(release): inherit repository metadata on all crates
Crates inherited version/license/edition from [workspace.package] but not
`repository`, so every crate published without a repository link. Add
`repository.workspace = true` uniformly, completing the
description+version+license+repository metadata `cargo publish` and crates.io
expect. No build impact.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-09-06 13:08:47 +03:00
..
2026-08-16 22:04:11 +03:00
2026-08-16 22:04:11 +03:00
2026-08-16 22:04:11 +03:00
2026-08-16 22:04:11 +03:00

LawSynth plugin API

lawsynth-plugin-api is the portable extension contract. It has no Rust ABI promise: plugins communicate through a bounded binary frame protocol and declare their identity, requested capabilities, execution kind, and resource budget.

The manifest parser deliberately accepts a small, deterministic key = value format. It rejects unknown keys, unsafe entrypoints, duplicate fields, malformed versions, and capability names it does not understand. Hosts must still grant each declared permission explicitly.

Use Frame::encode and Frame::decode for process or WASI transport. Validate algorithm, adapter, and simulator inputs before accepting plugin output.