open-standards/sense/sense-rs/Cargo.toml
Transaction Science e0610c90cd sense: the ambient context standard (v0.1)
Sense is the afferent open standard — the always-on, deterministic,
energy-accounted record of what is happening around an agent, and a
governed account of when that is worth attention. The tool protocols
(MCP/A2A/ACP) standardize an agent reaching OUT for capabilities; Sense
standardizes the observations flowing IN, the substrate every ambient/
proactive agent needs but none specify.

Distinct from OpenTelemetry GenAI: that traces the agent's own reasoning
(efferent, non-deterministic by its own admission); Sense records the
world the agent is in (afferent), deterministically, every datum
provenance- and trust-tagged, every interruption priced in joules and
sealed in a receipt.

Four tiers, deterministic-first, inference last:
- sense-schema  — content-addressed Event, vendor-neutral SourceClass,
  TrustLevel, family Energy/Provenance, StateProjection, Highlight.
- sense-store   — content-addressed, HLC-ordered, replay-deterministic
  log; two runs over the same events yield a byte-identical digest.
- sense-attention — deterministic salience/novelty/uncertainty observer,
  k-sigma highlight detector, and the attention budget that gates
  surfacing by value-vs-interruption-cost (displacement + interference),
  priced in joules. Perception ⊗ attention-budget — the afferent dual of
  JCP's capability ⊗ joule-budget.
- sense-cascade — query envelope + deterministic recall retrieval +
  speculative cascade that answers factual recall with zero LLM calls
  and escalates only as a last resort.
- sense-receipt — hash-chained Ed25519 surfacing log (allows AND holds
  chained); JCR-1 COSE_Sign1 for cross-family verification.

SPEC §1-§10, conformance C1-C5 with a reproducible vector pack, a
sense-cli end-to-end demo. 38 tests green, clippy clean.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-06-13 21:39:39 -04:00

35 lines
887 B
TOML

[workspace]
resolver = "3"
members = [
"crates/sense-schema",
"crates/sense-store",
"crates/sense-attention",
"crates/sense-cascade",
"crates/sense-receipt",
"crates/sense-conformance",
"crates/sense-cli",
]
[workspace.package]
version = "0.1.0"
edition = "2024"
license = "Apache-2.0"
repository = "https://github.com/transaction-science/open-standards"
rust-version = "1.96"
[workspace.dependencies]
sense-schema = { path = "crates/sense-schema" }
sense-store = { path = "crates/sense-store" }
sense-attention = { path = "crates/sense-attention" }
sense-cascade = { path = "crates/sense-cascade" }
sense-receipt = { path = "crates/sense-receipt" }
blake3 = "1"
ed25519-dalek = { version = "2", features = ["rand_core"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
hex = "0.4"
thiserror = "2"
[workspace.lints.clippy]
all = "warn"