Commit Graph

5 Commits

Author SHA1 Message Date
Drew Ritter
7dff0b2d48 fix(e2e): confine scenario card validation
Reuse the bounded fence filter for every scenario-card structural check so headings, coverage text, and falsification prose inside examples cannot satisfy the gate. Valid cards may still contain unrelated fenced examples.\n\nTreat each Card cell as a filename stem: remove at most one enclosing backtick pair, require lowercase kebab case, and reject invalid values before they can be stored or joined to the cards directory. This blocks parent traversal, subdirectories, uppercase names, and empty segments.\n\nAdd real-process RED/GREEN coverage for fenced-only cards, traversal, invalid stems, preserved backtick behavior, and the explicit diagnostic for intentionally unsupported pipe-less tables.
2026-08-06 14:50:46 -07:00
Drew Ritter
2a2e0b41c2 fix(e2e): reject fenced and malformed scenario tables
Filter backtick and tilde fenced examples before locating the E2E scenario-card table, so illustrative Markdown cannot satisfy the mechanical gate or shadow a later real table.\n\nParse only the documented leading/trailing-pipe row form and require a same-width delimiter row whose cells contain at least three hyphens with optional alignment colons. Missing or malformed delimiters now remain check failures instead of being silently treated as data.\n\nThe process-level harness records RED reproductions for both false-pass forms, fenced-only tables, and fenced examples before real tables, then verifies the focused GREEN behavior and prior contracts.
2026-08-06 14:49:13 -07:00
Jesse Vincent
7fb15f0dd1 fix(skills): close checker false-pass on level-1 headings, tighten section matching 2026-07-19 15:17:52 -07:00
Jesse Vincent
357d5028e0 fix(skills): scope card falsification match to the Expected section 2026-07-19 15:16:56 -07:00
Jesse Vincent
688b560bd4 feat(skills): add spec-vs-cards checker with test harness 2026-07-19 15:16:56 -07:00