Skip to main content

Optional, budget-bounded semantic analysis for Runopsy diagnoses

Project description

runopsy-semantic

The optional layer that costs money. Everything else in Runopsy runs offline and free; this asks a model about the handful of steps the deterministic engine already found suspicious.

What it may conclude

Very little, on purpose. A model can see what structural analysis cannot — a command that succeeded while writing the wrong value, a claim the observed output contradicts — and it can invent all of that with complete fluency. So the boundary is enforced, not advised:

  • It cannot produce a status. Findings are L3 signals that feed evidence and the ranking's evaluator term. replay_supported is reachable only through an experiment, and that path does not run through here.
  • Its confidence is capped below the deterministic engine's own ceiling, and its severity is capped at medium regardless of how certain it claims to be.
  • Unparseable output is discarded, never repaired. Coaxing meaning from a malformed response is how a hallucination becomes a finding.
  • It only ever sees spans the deterministic layers flagged. It never roams the trace.

What leaves the machine

The focus step and two neighbours on each side — not the run. build_packet takes a window rather than a context, so minimization cannot be forgotten by a caller. Command text comes from the local vault when one exists; steps whose payload was redacted are sent as metadata only, and the packet records what was withheld so a weaker verdict is visibly weaker.

Everything passes the secret scanner once more immediately before sending. That check should never fire — the capture-time scan already ran — and it exists because "should never" is not a security control.

Budget

Ceilings are checked before a call, never after: a limit enforced afterwards is one you discover on an invoice. Defaults follow section 12.1 — two calls, 6000 input tokens each, ten cents. Verdicts are cached by evidence, model and prompt version, so re-reading a diagnosis costs nothing.

Bring your own key (OPENROUTER_API_KEY). No key means the deterministic diagnosis runs and answers anyway, which is the point of the offline-first design.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

runopsy_semantic-0.1.1.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

runopsy_semantic-0.1.1-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

Details for the file runopsy_semantic-0.1.1.tar.gz.

File metadata

  • Download URL: runopsy_semantic-0.1.1.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for runopsy_semantic-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2ed8ed19e42fdab847615ec424ade7a2a48aab1c08e6325a4ed93ab8017e1d1e
MD5 b5bff4b3b241949b2488389328bf3efe
BLAKE2b-256 639b06c4034abbd071487c4bdbc58e5ecc97667c972d53077fa9fc62851f61c6

See more details on using hashes here.

File details

Details for the file runopsy_semantic-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: runopsy_semantic-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 20.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for runopsy_semantic-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4849a2b45dd881b87e410608c3518c0c54f27b7c8622af2b89681b1f9c276c92
MD5 57f8baa6015837c753a450da4b5d83d9
BLAKE2b-256 5dab3cf02d19cefad1302e113531e115a9f556b06442ab45f6710003cdda9074

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page