(md)
| 86 | // when there is no .appmod/ directory yet. |
| 87 | const APPMOD_MARKER_RE = /<!--\s*appmod-cockpit\b/i; |
| 88 | function hasMarker(md) { |
| 89 | return typeof md === "string" && APPMOD_MARKER_RE.test(md.slice(0, 2000)); |
| 90 | } |
| 91 | |
| 92 | // The assessment.json is written by an LLM step, so its shape can drift: severities |
| 93 | // may be lowercase or word-form, `files` may be a bare string, findings may be |