Files
openworker/harness/tests/contracts/observability.json
Rohit PrasadandDevika Verma d53e058eda Introduce OpenWorker Harness SDK (in beta), agent service cluster and relevant developer documentation (#844)
Allow developers to easily build AI apps without worrying about the harness part.
Bundles the Rust agent runtime as a SDK (Rust and TypeScript) for building desktop and web applications. Applications can manage a local harness or connect to an authenticated harness service on k8s with separately scaled workers and sandbox execution.

The implementation is primarily contained in harness/, with deployment tooling in deploy/, Markdown guides in docs/harness/guides/, and the static documentation site in docs-site/. It does not replace the existing Python harness or migrate OpenWorker Desktop.

Co-authored-by: Devika Verma <devikaverma11@gmail.com>
2026-11-06 09:45:20 -08:00

35 lines
1.0 KiB
JSON

{
"version": 1,
"scope": "Rust runtime metadata contract; consumable by desktop and service tests",
"three_calls": {
"purposes": [
"main",
"auto_approver",
"compaction"
],
"input": 300,
"output": 60
},
"rules": [
"Each physical request owns one completed model.attempt record",
"Usage snapshots replace, never add; model.requested has no token usage",
"Missing provider usage is unknown, distinct from a reported zero",
"Failed or truncated requests retain reported usage without authorizing partial tools",
"Paused/resumed segments use distinct spans of one logical turn and explicit links",
"A missing completion after process loss is unknown, not zero cost"
],
"summary_overlap": {
"wall_elapsed_us": 1050000,
"model_accumulated_us": 50000,
"tool_accumulated_us": 40000,
"exclusive_observed_us": {
"model": 45000,
"tool": 35000,
"parallel": 5000,
"policy": 10000,
"approval_wait": 910000,
"other_active": 45000
}
}
}