Skip to content

v0.12.0 — Enforced Capabilities, LSP, Protocol Registry

Choose a tag to compare

@mrschneider mrschneider released this 23 Oct 14:04
· 37 commits to main since this release

ACL v0.12.0 — the last three gaps, closed

Capability enforcement, default-on (§36.1)

SessionHost now grants NOTHING by default. A program with use fs.read as reader; cannot open a session until the environment grants it — the declaration is enforceable, not decorative. Peer AgentCards verified via peer_satisfies(card_caps)(program). stdlib.* fragments exempt.

Language server (§36.2)

acl-lsp — real LSP over stdio JSON-RPC for .aclp files:

  • publishDiagnostics: parse errors + ALL semantic checks (dialogue matrix, linearity, liveness, guards) with line numbers
  • completion: keywords, all 17 performatives, declared states and roles
    Validated end-to-end with framed JSON-RPC: a dialogue-violating program got its error as a diagnostic; a healthy program got only warnings; completion returned 44 items including program symbols.

Protocol registry (§36.3)

aclc publish file.aclp registry.json [publisher] / aclc protocols / aclc fetch name v1 — file-backed, SHA-256 checksummed: fetch verifies integrity BEFORE parsing; a tampered registry fails with checksum mismatch (tested).

122/122 tests · spec §§1-36