{"version":"2.1.238","anchor":"artifact-pr-review-detects-pages-edited-outside-the-cli","canonical_anchor":"artifact-pr-review-detects-pages-edited-outside-the-cli","heading":"\/artifact-pr-review detects pages edited outside the CLI","tier":"notice","area":"Artifacts","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.238\/e\/artifact-pr-review-detects-pages-edited-outside-the-cli","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.238","markdown":"### `\/artifact-pr-review` detects pages edited outside the CLI\n\n`\/artifact-pr-review` now flags a review page whose approval marker looks edited outside the CLI.\n\n**What**\n\nVerifying a published review page is more tolerant of formatting differences, and there is a new failure for a page whose approval marker is written in a form this CLI never produces. That is treated as a sign the page was edited somewhere else, and the recorded decision is not trusted.\n\n**Details**\n\n- The matcher for the approval element and the regex for the embedded page-state script now accept extra attributes on `<body>` and on the `<script>` tag.\n- The new failure fires on markup or an unrecognized character reference in the marker, and tells you to re-run `\/artifact-pr-review` to publish a fresh review.\n\n**Evidence**\n\n`the page was edited outside this CLI and its recorded decision cannot be verified; re-run \/artifact-pr-review to publish a fresh review`\n\n- Area: Artifacts\n- Names: `\/artifact-pr-review`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 3\/5"}