- Use this to compute canonical RFC 8785 (JCS) JSON and linear SHA-256 hash-chain digests for a sequence of agent audit events, from GENESIS or from the head_hash of an earlier segment (prev_hash; then the first event must give its sequence). Sequences rise by exactly one. Rejects fractions (use integer basis points *_bp) and integers beyond +/-(2**53 - 1) (send them as strings). An event without a timestamp is sealed with timestamp null; no time is invented. To check the chain, pass the returned events to argus_audit_verify unchanged, a null timestamp included. Stateless: the sealed events are returned, not stored.
- Use this to cryptographically verify a linear SHA-256 Argus audit chain and isolate the first event that is altered, malformed, out of sequence or unlinked. Pass the sealed events exactly as argus_audit_seal returned them, with timestamp null where it is null; a missing or retyped field makes the chain invalid, nothing is defaulted. The result proves the listed events are unaltered and linked from anchor_prev_hash (starts_at_genesis says whether that is GENESIS). It cannot detect events removed from the end of the list: compare head_hash and total_events with values you already trust.
- Use this when you need to pack candidate context items deterministically into a strict token budget. Same selection as the harpe 0.1.0a13 library: the budget optimised against is total_budget minus the three reserves (returned as effective_budget); pinned items and priority-0 items are always kept; the rest are chosen by `policy`. Priority runs 0-100 and a LOWER number is MORE important. The position of an item in `items` is its age: first = oldest. Limits: at most 4096 items, and knapsack_dp is refused (nothing packed, error names max_knapsack_cells) when candidates x (capacity / common divisor of token counts + 1) exceeds 4,000,000. Token counts are a deterministic estimate, not a model tokenizer.
- Use this when you need to compute available context tokens, safety margin deductions, and utilization percentage for a model token window. The result is arithmetic on the numbers of this call and knows nothing about any model's real window: available_context is total_budget minus reserved_completion (default 2048), reserved_tools (default 1024) and safety_margin (default 512), never below 0, and reserved_total is the sum of the three. When the reserves are larger than total_budget, reserves_exceed_budget is true and shortfall_tokens says by how much. available_context 0 means no context fits; utilization_pct is then 100 whatever current_usage is, and is_exceeded stays false while current_usage is 0.
- Render the interactive Telarch Inspector UI: three tabs for Harpe exact knapsack token packing, Kibisis epistemic memory conflict resolution, and Argus SHA-256 audit chain verification. Pass `items`, `records` or `events` to show data from this conversation: the Harpe tab packs the items exactly as harpe_synthesize_context does for the same arguments, the Kibisis tab resolves the records as kibisis_resolve_memory does, and the Argus tab shows the sealed events with the result of the argus_audit_verify check. A tab that is given no data shows built-in demonstration data, and every tab says which of the two it shows (also returned as data_source). The same limits and refusals apply as in those three tools. Nothing is stored.
- Use this to work out which of the memory records you pass in `records` are active: revoked records are tombstoned, superseded records are dropped (a record that is not verified never displaces a verified one; `supersedes_key` applies to every record with that key), a requested scope other than the active scope is refused, and a write_attempt that claims epistemic_state 'verified' without origin 'user' is refused. Active records matching `query` are returned in a <kibisis-recall trust="untrusted-stored-text"> envelope with markup characters escaped. Refused: two records with the same category and key, and records that supersede each other in a loop. A `supersedes_key` that names no record of the call is allowed and is listed in `unresolved_supersedes`. Stateless: this server stores no memory. It resolves the records of this call; when `records` is left out it resolves three built-in demonstration records and the result says records_source "demonstration".
- Use this to evaluate whether a concurrent agent holder's fencing token and lease expiry permit a vault mutation or must be rejected to prevent split-brain writes. It checks only the numbers of this call (this server keeps no lease table): a token below highest_token_seen is refused, an expired lease is refused, and lease_expires_epoch without now_epoch is refused.
No matching actions