Skip to content

Agent-controlled text printed as Rich markup unescaped #29

Description

@royalpinto007

Problem

Agent-controlled text goes straight into rich markup: a description like run [bold]pwned[/bold] test renders with injected styling, and finding messages/evidence plus show output have the same flaw.

Where

agentrace/cli.py (console.print with unescaped r.description, f.message, f.evidence, prompt/result).

Acceptance

Add a failing test first asserting cmd_check output for a bracketed description shows literal brackets rather than styled text. Then fix.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions