/** * The verdict audit-ba writes for the `entité` dimension, as a fixture. * * audit-ba lands it at `//_audit/entité.md` — the SAME basename * as the document it judges. Read as a BA source, its DM-017 line (« Code * patterns cohérents… », a bolded bullet) is a `wrong-case` near-miss: the * audit flags its own output as a defect of the client's corpus (support * report 1766f66848a9). * * Synthetic on purpose — no client corpus is committed. The wording of the * DM-017 / DM-021 bullets is the engine's own: `lib/__tests__/fs-ba-docs.test.ts` * pins each message against `audit-ba/rules/dm.ts`, so a reworded rule moves * the fixture with it. */ export const AUDIT_VERDICT_DM017_MESSAGE = 'Code patterns cohérents (grammaire fermée, aucune ré-implémentation d’allocateur).' export const AUDIT_VERDICT_DM021_MESSAGE = 'Aucun signal code-like non classé (déclarations parsables, attributs code-like classés ou absents).' /** Path of the verdict, relative to the module folder. */ export const AUDIT_ENTITE_VERDICT_RELPATH = '_audit/entité.md' export function auditEntiteVerdictMd(scope = 'CRM/PIPELINE'): string { return [ ``, `# Audit entité — ${scope.replace('/', ' / ')}`, '_2026-09-28 · Verdict : ✅ 0 warn · 0 err · 3 ok_', '', '## ✅ Conforme', '- **DM-001** — 1 entité(s) déclarée(s).', `- **DM-017** — ${AUDIT_VERDICT_DM017_MESSAGE}`, `- **DM-021** — ${AUDIT_VERDICT_DM021_MESSAGE}`, '', '## ⚠️ Avertissements', '- _(aucun)_', '', '## ❌ Bloquants', '- _(aucun)_', '', ].join('\n') }