| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
All checks were successful
standards workspaces build + test / which workspaces this change touches (pull_request) Successful in 29s
repository checks / lockfiles, tests in CI, workflow hygiene, spec and section references, public text (pull_request) Successful in 3m3s
standards workspaces build + test / jcp-rs (jcp-conformance, jcp/jcp-rs, -p jcp-energy --features nvml, jcp-rs, linux) (pull_request) Successful in 2m46s
standards workspaces build + test / joule-ui-rs (joule-ui/joule-ui-rs, joule-ui-rs, linux) (pull_request) Successful in 1m17s
standards workspaces build + test / joulehook-rs (joulehook/joulehook-rs, joulehook-rs, linux) (pull_request) Successful in 1m35s
standards workspaces build + test / proof-rs (proof-conformance, proof/proof-rs, proof-rs, linux, true) (pull_request) Successful in 1m39s
standards workspaces build + test / sandbox-rs (sandbox-conformance, sandbox/sandbox-rs, sandbox-rs, linux) (pull_request) Successful in 2m51s
standards workspaces build + test / macOS energy backends (pull_request) Successful in 9m1s
standards workspaces build + test / jouleclaw-rs (-nodebug, jouleclaw/jouleclaw-rs, -p jouleclaw-energy --features rapl,nvml, jouleclaw-rs, linux-arm64, -C target-feature=+fp16) (pull_request) Successful in 6m29s
standards workspaces build + test / joule-code-rs (joule-code/joule-code-rs, joule-code-rs, linux-arm64, true) (pull_request) Successful in 2m39s
standards workspaces build + test / joulecontract-rs (joulecontract/joulecontract-rs, joulecontract-rs, linux-arm64, true) (pull_request) Successful in 1m33s
standards workspaces build + test / jouledesk-rs (jouledesk/jouledesk-rs, jouledesk-rs, macos) (pull_request) Successful in 2m3s
standards workspaces build + test / mesh-rs (mesh/mesh-rs, -p mesh-engine-gguf -p mesh-openai --features mesh-engine-gguf/gguf,mesh-openai/server, mesh-rs, linux-arm64) (pull_request) Successful in 1m26s
CI caught what the previous commit's verification could not: `jcp-efficiency`
is a **path dependency of three other workspaces**, and
`cargo test --workspace` inside `jcp/jcp-rs` never compiles them. The
jouledesk-rs, sandbox-rs and joulehook-rs legs all failed to build.
The consumers are:
jouledesk/.../jouledesk/Cargo.toml
jouledesk/.../jouledesk-livekit/Cargo.toml
jouledesk/.../jouledesk-github/Cargo.toml
sandbox/.../sandbox-tee/Cargo.toml
joulehook/.../joulehook-meter/Cargo.toml
Five call sites read a figure that is now an `Option`:
- `jouledesk/src/lib.rs` — the assertion that waste inflates
joules-per-completed-unit. Two units completed there, so the ratio is
defined; `.expect` now records that rather than hiding it.
- `jouledesk/examples/channel.rs`, `examples/room.rs` and
`sandbox-tee/examples/attested_efficiency.rs` — `println!` of the figure.
Each prints "—" when undefined, for the same reason `session.rs` does:
0 is the optimum of a cost-per-result figure, so printing it would name
the cheapest possible cost for work that delivered none.
- `joulehook-meter` — `assert_eq!` on a receipt field; 900 tokens were
accepted, so the figure is present and the assertion takes `Some`.
`Efficiency`'s own fields did not change, so the `Efficiency { .. }`
literals in all four consumers are untouched; only reads of
`EfficiencyReceipt::uj_per_accepted_token` and `Totals::uj_per_completed_unit`
needed work.
Verified by building and testing **each** of the four workspaces that
compile this crate — jcp-rs, jouledesk-rs, sandbox-rs, joulehook-rs — rather
than only the one holding the edit: `cargo check --workspace --all-targets`
and `cargo test --workspace` exit 0 in all four, with 0 failed suites.
Co-Authored-By: Claude Opus 5 <[email protected]>
|
||
| .. | ||
| conformance/v1 | ||
| jouledesk-rs | ||
| LICENSE | ||
| LICENSE-SPEC | ||
| README.md | ||
| SPEC.md | ||
Joule Desk — The Open, Energy-Accounted Agent Teammate
The agent-teammate shape — a persistent principal you tag in a shared channel to delegate work under scoped access — is the right shape. Joule Desk is the open standard for it, with the three things that shape needs and a closed product cannot give you:
Authority that is a signed, enforced grant — not an admin setting. Work that is energy-metered and attested — not merely reported. And a shared, signed ledger the whole channel can verify — not just watch.
You add @joule to a channel; an admin issues it a grant chain (the tools and data
it may touch, and a joule budget). Any member tags it to delegate a task; it decides
every action against those grants outside the model, runs the work in an attested
sandbox, meters the energy, and seals every decision and completed unit to a ledger
anyone can verify — which principal did what, under which capability, at what cost.
Joule Desk is the collaboration/teammate binding of Joule Table
(jt.transaction.science); its sibling binding Joule Hook covers coding
editors — and Joule Desk's own editor class is Joule Hook. It does not reinvent — it
composes the sibling standards: JCP (identity, grants, the shared channel,
orchestration), jcp-efficiency (the energy receipt), Sandbox (attested
execution), and Joule Hook (when the teammate works in a coding editor). It is one of
the Transaction Science open standards.
- Licence: Apache-2.0 for reference code (
LICENSE); CC-BY-4.0 for the specification text (LICENSE-SPEC). - Status: v0.1.0 draft. Specification published (
SPEC.md); reference workspacejouledesk-rs/ships the teammate loop (Teammate+Skilloverjcp-orchestrate+jcp-efficiency): grant a skill → tag it → authorise outside the model → seal to a per-receipt-verifiable ledger, withefficiency/1energy accounting (energy_summary→ joules per completed unit, charging waste).
What Joule Desk adds over a closed teammate
| Property | Closed teammate | Joule Desk |
|---|---|---|
| Authority | admin config, trusted | a signed grant, decided outside the model, enforced |
| Work integrity | reported | attested (Sandbox) |
| Energy | none | efficiency/1 — µJ + cost per completed unit + waste |
| Audit | visible | verifiable — a signed ledger anyone can check |
| Budget | a quota | a debited, settle-able joule budget |
| Portability | one product | any surface (chat / forge / editor / api), one standard |
Conformance profiles (surfaces)
chat (team chat + mentions) · forge (git issues/PRs) · editor (a coding editor via
JouleHook) · api (a service). See SPEC.md §8.
The reference jouledesk-bind binary targets real discrete-message services —
Slack, GitHub, GitLab, Discord, Matrix, and a neutral shape — each a
thin parse+render pair over one event→tag→reply transform:
echo '{"comment":{"user":{"login":"alice"},"body":"@joule summarize the thread"}}' \
| jouledesk-bind --surface github
# → {"body":"✅ **@joule** completed it, @alice — decision sealed. _ledger: 1 decisions, all verified…_"}
And a real-time (media) binding class (room, SPEC.md §8.1) for when
@joule joins a live voice/video meeting — Zoom, Teams, Meet, or a LiveKit/WebRTC
room. The loop is four seams — join under a signed grant, gate each turn outside
the model, meter each model call at the model-call boundary, seal one
efficiency/1 per session anchored to the room. RealtimeSession (jouledesk-rs) is the
reference (target: LiveKit Agents); its meter reuses the same model-call proxy that
meters a text session, so the joule ceiling holds whether @joule is typing or talking.
examples/room runs a live call — turns gated outside the model, metered at the boundary,
and sealed into one verifiable session receipt.
What's here
jouledesk/
├── SPEC.md — the normative standard (§1–§10)
├── README.md — this file
├── jouledesk-rs/ — ✅ reference implementation: the teammate loop (Teammate + Skill +
│ parse_mention/tag_mention for the chat/forge binding, §8) over
│ jcp-orchestrate. `examples/channel` runs a multiplayer channel;
│ `examples/vector` regenerates the conformance vector.
└── conformance/v1/ — ✅ a byte-deterministic sealed decision receipt (summarize-allow.hex)
+ its verified-decode target (receipt.json)
Transaction Science is the steward, not the proprietor: the wire and the right to fork are public.