mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-13 06:36:26 +03:00
15 lines
5.2 KiB
JSON
15 lines
5.2 KiB
JSON
{
|
|
"stdout": "{\"applied\":[],\"failed\":[{\"id\":\"e3\",\"reason\":\"post_apply_validation_failed\",\"checks\":[{\"file\":\"public/docs/guide.html\",\"reason\":\"leftover_impeccable_marker\",\"marker\":\"<!-- impeccable-variants-start\"}],\"candidates\":[{\"kind\":\"text\",\"file\":\"public/docs/guide.html\",\"line\":10,\"needle\":\"A second page covered by the config glob.\",\"excerpt\":\"<p class=\\\"doc-lead\\\">A second page covered by the config glob.</p>\"},{\"kind\":\"tag\",\"file\":\"src/cards.html\",\"line\":4,\"needle\":\"<p\",\"excerpt\":\"<p class=\\\"card-body\\\">First card body copy.</p>\"},{\"kind\":\"tag\",\"file\":\"src/cards.html\",\"line\":8,\"needle\":\"<p\",\"excerpt\":\"<p class=\\\"card-body\\\">Second card body copy.</p>\"},{\"kind\":\"tag\",\"file\":\"src/cards.html\",\"line\":12,\"needle\":\"<p\",\"excerpt\":\"<p class=\\\"card-body\\\">Third card body copy.</p>\"},{\"kind\":\"tag\",\"file\":\"public/docs/guide.html\",\"line\":10,\"needle\":\"<p\",\"excerpt\":\"<p class=\\\"doc-lead\\\">A second page covered by the config glob.</p>\"}]}],\"files\":[\"public/docs/guide.html\"],\"cleared\":0,\"count\":1,\"pageUrl\":\"/docs/guide\",\"warnings\":[],\"notes\":[],\"reason\":\"manual_edit_repair_needs_decision\",\"needsManualDecision\":true,\"repair\":{\"status\":\"needs_decision\",\"attempts\":3,\"maxAttempts\":3,\"transactionId\":null,\"failures\":[{\"reason\":\"leftover_impeccable_marker\",\"file\":\"public/docs/guide.html\",\"marker\":\"<!-- impeccable-variants-start\"}],\"files\":[\"public/docs/guide.html\"]},\"totalCount\":4,\"perPage\":{\"/\":3,\"/docs/guide\":1}}\n",
|
|
"stderr": "",
|
|
"exit": 0,
|
|
"signal": null,
|
|
"files": {
|
|
".impeccable/live/config.json": "{\n \"files\": [\"index.html\", \"public/**/*.html\"],\n \"insertBefore\": \"</body>\",\n \"commentSyntax\": \"html\"\n}\n",
|
|
".impeccable/live/pending-manual-edits.json": "{\n \"version\": 1,\n \"entries\": [\n {\n \"id\": \"e1\",\n \"pageUrl\": \"/\",\n \"element\": {\n \"tagName\": \"h1\",\n \"classes\": [\n \"hero-title\"\n ]\n },\n \"ops\": [\n {\n \"ref\": \"main>h1\",\n \"tag\": \"h1\",\n \"classes\": [\n \"hero-title\"\n ],\n \"originalText\": \"Oracle Fixture\",\n \"newText\": \"Oracle Fixture, renamed\",\n \"sourceHint\": {\n \"file\": \"index.html\",\n \"line\": 13,\n \"column\": 7\n }\n }\n ],\n \"stagedAt\": \"<ISO>\"\n },\n {\n \"id\": \"e2\",\n \"pageUrl\": \"/\",\n \"element\": {\n \"tagName\": \"h1\",\n \"classes\": [\n \"hero-title\"\n ]\n },\n \"ops\": [\n {\n \"ref\": \"main>p\",\n \"tag\": \"p\",\n \"originalText\": \"Minimal static page for oracle live-mode goldens.\",\n \"newText\": \"A tighter hook.\"\n },\n {\n \"ref\": \"aside>p\",\n \"tag\": \"p\",\n \"originalText\": \"Nested content.\",\n \"newText\": \"Nested copy.\"\n }\n ],\n \"stagedAt\": \"<ISO>\"\n },\n {\n \"id\": \"e3\",\n \"pageUrl\": \"/docs/guide\",\n \"element\": {\n \"tagName\": \"h1\",\n \"classes\": [\n \"hero-title\"\n ]\n },\n \"ops\": [\n {\n \"ref\": \"article>p\",\n \"tag\": \"p\",\n \"originalText\": \"A second page covered by the config glob.\",\n \"newText\": \"Second page lead.\"\n }\n ],\n \"stagedAt\": \"<ISO>\"\n }\n ]\n}\n",
|
|
"index.html": "<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" />\n <title>Oracle Live HTML Fixture</title>\n <style>\n .hero-title { font-size: 2rem; }\n .hero-hook { color: #555; }\n </style>\n </head>\n <body>\n <main class=\"page\">\n <h1 id=\"hero\" class=\"hero-title\">Oracle Fixture</h1>\n <p class=\"hero-hook\">Minimal static page for oracle live-mode goldens.</p>\n <section id=\"features\" class=\"feature-grid\">\n <article class=\"feature-card\">One</article>\n <article class=\"feature-card\">Two</article>\n </section>\n <aside class=\"side-note\">\n <h2 class=\"note-title\">Aside</h2>\n <p>Nested content.</p>\n </aside>\n </main>\n </body>\n</html>\n",
|
|
"public/docs/guide.html": "<html><body>\n<!-- impeccable-variants-start ab12cd34 -->\n<p class=\"doc-lead\">Second page lead.</p>\n</body></html>\n",
|
|
"public/no-body.html": "<!DOCTYPE html>\n<html lang=\"en\">\n <head><title>No body tag</title></head>\n <p class=\"orphan\">This file has no closing body tag.</p>\n</html>\n",
|
|
"src/cards.html": "<section class=\"cards\">\n <div class=\"card\">\n <h3 class=\"card-title\">Alpha card</h3>\n <p class=\"card-body\">First card body copy.</p>\n </div>\n <div class=\"card\">\n <h3 class=\"card-title\">Beta card</h3>\n <p class=\"card-body\">Second card body copy.</p>\n </div>\n <div class=\"card\">\n <h3 class=\"card-title\">Gamma card</h3>\n <p class=\"card-body\">Third card body copy.</p>\n </div>\n</section>\n"
|
|
}
|
|
}
|