promptshift_validate_ast
Evaluate semantic AST fidelity and measure prompt drift between original and transpiled agent instructions to verify cross-IDE parity and detect omitted constraints.
Instructions
Evaluate semantic AST fidelity and measure prompt drift percentage between an original agent instruction document and its transpiled counterpart. Use this tool to verify cross-IDE parity and detect omitted constraints after rule conversion. Do not use for code compilation or syntax execution. Returns a normalized fidelity score (0-100%).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_text | Yes | The original agent instruction or rule document before transpilation. | |
| target_text | Yes | The converted target rule document to benchmark for semantic equivalence. |