Skip to content

Add Rich CLI and raw-Python tool guard decorator #5

Description

@Sunny-commit

Goal

Make OpenDecision useful and visually understandable from the terminal without requiring an agent framework.

Scope

  • Add an optional Rich-powered CLI that loads a decision-pack YAML file and JSON state.
  • Render decision, confidence, probability distribution, provider, and clear limitations.
  • Add a framework-agnostic decorator for guarding Python tool calls.
  • Preserve lazy Laya loading and a lightweight core install.

Acceptance criteria

  • Copy-paste command documented in the README.
  • Rich remains an optional dependency.
  • Tests run without downloading model weights.
  • Failure behavior and human-review paths are documented.
  • Supported Python CI matrix passes.

Safety

Do not describe model confidence as a safety guarantee or generated explanations as Laya output.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions