Skip to content

[M6-T04] Create EvaluationTrace component #27

@RichardHightower

Description

@RichardHightower

Task: M6-T04

Milestone: M6 - Debug Simulator (2 days)
Feature: RuleZ UI

Description

Create a component to display the step-by-step rule evaluation trace.

Acceptance Criteria

  • Create EvaluationTrace.tsx
  • List all rules evaluated
  • Show match status per rule
  • Display evaluation time per rule
  • Show match details (pattern, input)

UI Design

+---------------------------------------------------------------+
| EVALUATION TRACE                                              |
+---------------------------------------------------------------+
| #  Rule Name           Match?  Time   Details                 |
| -- -------------------- ------- ------ ----------------------- |
| 1  block-force-push    YES     0.8ms  command_match matched   |
|    > Pattern: git push.*(--force|-f).*(main|master)           |
|    > Input: git push --force origin main                      |
|    > Action: BLOCK                                            |
| -- -------------------- ------- ------ ----------------------- |
| 2  inject-python       NO      0.1ms  tool mismatch           |
+---------------------------------------------------------------+

Dependencies

  • Depends on: M6-T01

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