mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-20 10:06:54 +03:00
Add oracle harness: verb goldens and function-level vectors
Records stdout/stderr/exit/files for every impeccable verb over a fixed corpus and replays them against an alternate implementation. Adds a loader hook that captures per-function call vectors from the pure engine modules. Prepared with AI assistance (Claude Code).
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"detector": {
|
||||
"ignoreRules": ["pulsing-dot"],
|
||||
"ignoreFiles": ["src/vendor/**"],
|
||||
"ignoreValues": [{ "rule": "overused-font", "value": "Inter" }]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
typography:
|
||||
body:
|
||||
fontFamily: "Palatino, Georgia, serif"
|
||||
colors:
|
||||
primary: "#1a4d8f"
|
||||
background: "#ffffff"
|
||||
---
|
||||
# Fixture Design System
|
||||
|
||||
Body type is Palatino. Primary is a deep blue.
|
||||
@@ -0,0 +1 @@
|
||||
{"name":"fixture"}
|
||||
@@ -0,0 +1,9 @@
|
||||
<!doctype html>
|
||||
<html><head>
|
||||
<!-- impeccable-disable low-contrast -- exported brand doc -->
|
||||
<style>
|
||||
.faint { color: #ff00aa; }
|
||||
.brand { font-family: Verdana } /* impeccable-disable-line design-system-font */
|
||||
.also { font-family: Verdana }
|
||||
</style></head>
|
||||
<body><p class="faint">faint text</p><p class="brand">x</p><p class="also">y</p></body></html>
|
||||
@@ -0,0 +1,13 @@
|
||||
<!doctype html>
|
||||
<html><head><style>
|
||||
.card { font-family: Verdana, sans-serif; }
|
||||
.brand { font-family: Inter, sans-serif; }
|
||||
.dot { width: 8px; height: 8px; border-radius: 50%; animation: blink 1s infinite; }
|
||||
.off { color: #ff00aa; }
|
||||
</style></head>
|
||||
<body>
|
||||
<div class="card">Hi</div>
|
||||
<p class="brand">Brand</p>
|
||||
<span class="dot"></span>
|
||||
<p class="off">Off palette</p>
|
||||
</body></html>
|
||||
@@ -0,0 +1,4 @@
|
||||
.hero { transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55); }
|
||||
.glow { box-shadow: 0 0 40px rgba(99, 102, 241, 0.6); }
|
||||
/* impeccable-disable-next-line bounce-easing: intentional bounce */
|
||||
.bounce { animation-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55); }
|
||||
@@ -0,0 +1,13 @@
|
||||
<!doctype html>
|
||||
<html><head><style>
|
||||
.card { font-family: Verdana, sans-serif; }
|
||||
.brand { font-family: Inter, sans-serif; }
|
||||
.dot { width: 8px; height: 8px; border-radius: 50%; animation: blink 1s infinite; }
|
||||
.off { color: #ff00aa; }
|
||||
</style></head>
|
||||
<body>
|
||||
<div class="card">Hi</div>
|
||||
<p class="brand">Brand</p>
|
||||
<span class="dot"></span>
|
||||
<p class="off">Off palette</p>
|
||||
</body></html>
|
||||
Reference in New Issue
Block a user