Skip to content

test(ai): reject unsafe and ambiguous generated action plans #91

Open

Description

@McanKul

Exercise the boundary between untrusted model output and deterministic PDF commands.

Coverage

  • Unknown tools and options.
  • Path traversal and paths outside user-selected inputs and outputs.
  • Invalid, overlapping, reversed, or excessive page ranges.
  • Prompt content that asks for shell commands or hidden actions.
  • Ambiguous requests that require a user choice.
  • Model output that claims an operation succeeded before execution.

The test suite must prove rejected plans cannot invoke a Tauri command.

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

    area: aiOptional on-device AI and document intelligencehelp wantedExtra attention is neededpriority: highHigh-priority roadmap worktarget: private-assistantOpen the pull request against epic/private-assistanttestsTest coverage and test infrastructure

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions