{
  "scenarios": [
    {
      "name": "Generate FOUNDATION.md with all valid diagrams",
      "testMappings": [
        {
          "file": "src/commands/__tests__/generate-foundation-md-diagram-validation.test.ts",
          "lines": "118-155",
          "implMappings": [
            {
              "file": "src/commands/generate-foundation-md.ts",
              "lines": [
                58,
                59,
                60,
                61,
                62,
                63,
                64,
                65,
                66,
                67,
                68,
                69,
                70,
                71,
                72,
                73,
                74,
                75,
                76,
                77,
                78,
                79,
                80,
                81,
                82,
                83,
                84,
                85,
                86,
                87,
                88,
                89
              ]
            },
            {
              "file": "src/utils/mermaid-validation.ts",
              "lines": [
                10,
                11,
                12,
                13,
                14,
                15,
                16,
                17,
                18,
                19,
                20,
                21,
                22,
                23,
                24,
                25,
                26,
                27,
                28,
                29,
                30,
                31,
                32,
                33,
                34,
                35,
                36,
                37,
                38,
                39,
                40,
                41,
                42,
                43,
                44,
                45,
                46,
                47,
                48,
                49,
                50,
                51,
                52,
                53,
                54,
                55,
                56,
                57,
                58,
                59,
                60,
                61,
                62,
                63,
                64,
                65,
                66,
                67,
                68,
                69
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "Fail generation with detailed error for single invalid diagram",
      "testMappings": [
        {
          "file": "src/commands/__tests__/generate-foundation-md-diagram-validation.test.ts",
          "lines": "157-203",
          "implMappings": [
            {
              "file": "src/commands/generate-foundation-md.ts",
              "lines": [
                58,
                59,
                60,
                61,
                62,
                63,
                64,
                65,
                66,
                67,
                68,
                69,
                70,
                71,
                72,
                73,
                74,
                75,
                76,
                77,
                78,
                79,
                80,
                81,
                82,
                83,
                84,
                85,
                86,
                87,
                88,
                89
              ]
            },
            {
              "file": "src/utils/mermaid-validation.ts",
              "lines": [
                10,
                11,
                12,
                13,
                14,
                15,
                16,
                17,
                18,
                19,
                20,
                21,
                22,
                23,
                24,
                25,
                26,
                27,
                28,
                29,
                30,
                31,
                32,
                33,
                34,
                35,
                36,
                37,
                38,
                39,
                40,
                41,
                42,
                43,
                44,
                45,
                46,
                47,
                48,
                49,
                50,
                51,
                52,
                53,
                54,
                55,
                56,
                57,
                58,
                59,
                60,
                61,
                62,
                63,
                64,
                65,
                66,
                67,
                68,
                69
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "Show all validation errors for multiple invalid diagrams",
      "testMappings": [
        {
          "file": "src/commands/__tests__/generate-foundation-md-diagram-validation.test.ts",
          "lines": "205-267",
          "implMappings": [
            {
              "file": "src/commands/generate-foundation-md.ts",
              "lines": [
                58,
                59,
                60,
                61,
                62,
                63,
                64,
                65,
                66,
                67,
                68,
                69,
                70,
                71,
                72,
                73,
                74,
                75,
                76,
                77,
                78,
                79,
                80,
                81,
                82,
                83,
                84,
                85,
                86,
                87,
                88,
                89
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "Error message includes guidance to fix and regenerate",
      "testMappings": [
        {
          "file": "src/commands/__tests__/generate-foundation-md-diagram-validation.test.ts",
          "lines": "269-300",
          "implMappings": [
            {
              "file": "src/commands/generate-foundation-md.ts",
              "lines": [
                74,
                75,
                76,
                77,
                78,
                79,
                80,
                81,
                82,
                83,
                84,
                85,
                86,
                87,
                88,
                89
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "Successful regeneration after fixing invalid diagrams",
      "testMappings": [
        {
          "file": "src/commands/__tests__/generate-foundation-md-diagram-validation.test.ts",
          "lines": "302-350",
          "implMappings": [
            {
              "file": "src/commands/generate-foundation-md.ts",
              "lines": [
                58,
                59,
                60,
                61,
                62,
                63,
                64,
                65,
                66,
                67,
                68,
                69,
                70,
                71,
                72,
                73,
                74,
                75,
                76,
                77,
                78,
                79,
                80,
                81,
                82,
                83,
                84,
                85,
                86,
                87,
                88,
                89
              ]
            }
          ]
        }
      ]
    }
  ],
  "stats": {
    "totalScenarios": 5,
    "coveredScenarios": 5,
    "coveragePercent": 100,
    "testFiles": [
      "src/commands/__tests__/generate-foundation-md-diagram-validation.test.ts"
    ],
    "implFiles": [
      "src/commands/generate-foundation-md.ts",
      "src/utils/mermaid-validation.ts"
    ],
    "totalLinesCovered": 493
  }
}