dsforge-harness 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of dsforge-harness might be problematic. Click here for more details.

Files changed (40) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +123 -0
  3. package/bin/dsforge.js +70 -0
  4. package/package.json +12 -0
  5. package/plugins/dsforge/.claude-plugin/plugin.json +9 -0
  6. package/plugins/dsforge/skills/dsforge/SKILL.md +184 -0
  7. package/plugins/dsforge/skills/dsforge/assets/code-scaffold-reference-ezp/DatasetManagement.tsx +48 -0
  8. package/plugins/dsforge/skills/dsforge/assets/code-scaffold-reference-ezp/ModelCreateEdit.tsx +93 -0
  9. package/plugins/dsforge/skills/dsforge/assets/code-scaffold-reference-ezp/components/DataTable.tsx +64 -0
  10. package/plugins/dsforge/skills/dsforge/assets/code-scaffold-reference-ezp/components/controls.tsx +97 -0
  11. package/plugins/dsforge/skills/dsforge/assets/code-scaffold-reference-ezp/components/forms.tsx +41 -0
  12. package/plugins/dsforge/skills/dsforge/assets/code-scaffold-reference-ezp/components/shell.tsx +81 -0
  13. package/plugins/dsforge/skills/dsforge/assets/code-scaffold-reference-ezp/ezp.css +115 -0
  14. package/plugins/dsforge/skills/dsforge/assets/code-scaffold-reference-ezp/tokens.css +106 -0
  15. package/plugins/dsforge/skills/dsforge/assets/code-scaffold-reference-ezp/tokens.ts +94 -0
  16. package/plugins/dsforge/skills/dsforge/references/00-portable-kit-and-runbook.md +59 -0
  17. package/plugins/dsforge/skills/dsforge/references/01-harness-design-and-validation-plan.md +106 -0
  18. package/plugins/dsforge/skills/dsforge/references/02-verification-automation-spec.md +45 -0
  19. package/plugins/dsforge/skills/dsforge/references/03-verifier-generalization-spec.md +43 -0
  20. package/plugins/dsforge/skills/dsforge/references/examples/code-stage-instruction-dataset-management.md +36 -0
  21. package/plugins/dsforge/skills/dsforge/references/examples/ezp-states-elevation-augmentation-spec.md +35 -0
  22. package/plugins/dsforge/skills/dsforge/references/examples/run1-dataset-management-list-spec.md +58 -0
  23. package/plugins/dsforge/skills/dsforge/references/examples/run2-model-create-edit-spec.md +38 -0
  24. package/plugins/dsforge/skills/dsforge/references/examples/smoke-fixture/README.md +32 -0
  25. package/plugins/dsforge/skills/dsforge/references/examples/smoke-fixture/app/app.tsx +20 -0
  26. package/plugins/dsforge/skills/dsforge/references/examples/smoke-fixture/app/tokens.css +8 -0
  27. package/plugins/dsforge/skills/dsforge/references/examples/smoke-fixture/validators/out/check1.json +6 -0
  28. package/plugins/dsforge/skills/dsforge/references/examples/smoke-fixture/validators/out/check2-main.json +8 -0
  29. package/plugins/dsforge/skills/dsforge/references/examples/smoke-fixture/validators/out/smoke-tokens.json +14 -0
  30. package/plugins/dsforge/skills/dsforge/references/examples/smoke-fixture/validators/projects/smoke.json +27 -0
  31. package/plugins/dsforge/skills/dsforge/validators/check-layout.js +74 -0
  32. package/plugins/dsforge/skills/dsforge/validators/check1.js +53 -0
  33. package/plugins/dsforge/skills/dsforge/validators/check2.js +48 -0
  34. package/plugins/dsforge/skills/dsforge/validators/check3.js +64 -0
  35. package/plugins/dsforge/skills/dsforge/validators/extract-tokens.js +24 -0
  36. package/plugins/dsforge/skills/dsforge/validators/out/ezp-tokens.json +7 -0
  37. package/plugins/dsforge/skills/dsforge/validators/projects/_TEMPLATE.json +50 -0
  38. package/plugins/dsforge/skills/dsforge/validators/projects/ezp.json +63 -0
  39. package/plugins/dsforge/skills/dsforge/validators/verify.js +81 -0
  40. package/templates/CLAUDE.md +74 -0
@@ -0,0 +1,97 @@
1
+ /*
2
+ * EZP atomic components (code counterparts of EZP Figma components).
3
+ * Static appearance only — interactive states (hover/active/focus/disabled)
4
+ * are OUT OF SCOPE this run (EZP variants in progress). Placeholders noted.
5
+ * All visuals come from --ezp-* tokens (tokens.css / ezp.css). No raw hex/px here.
6
+ */
7
+ import React from 'react';
8
+
9
+ /* status-badge — tone maps to an EZP color token. Status taxonomy = 제안 (§3). */
10
+ const STATUS_TONE: Record<string, string> = {
11
+ done: '--ezp-logo-green',
12
+ inuse: '--ezp-logo-blue',
13
+ todo: '--ezp-light-900',
14
+ deprecated: '--ezp-logo-yellow',
15
+ };
16
+ export function StatusBadge({ label, tone }: { label: string; tone: keyof typeof STATUS_TONE }) {
17
+ return (
18
+ <span className="ezp-badge ezp-text-body-small" style={{ background: `var(${STATUS_TONE[tone]})` }}>
19
+ {label}
20
+ </span>
21
+ );
22
+ }
23
+
24
+ /* tag-item */
25
+ export function Tag({ label }: { label: string }) {
26
+ return (
27
+ <span className="ezp-tag ezp-text-body-small">
28
+ {label}
29
+ <span className="ezp-tag-x" aria-hidden>×</span>
30
+ </span>
31
+ );
32
+ }
33
+
34
+ /* form-control (search input) — static (read-only); focus/disabled 추후 */
35
+ export function SearchInput({ placeholder }: { placeholder: string }) {
36
+ return <input className="ezp-input ezp-text-body" placeholder={placeholder} readOnly />;
37
+ }
38
+
39
+ /* form-select (filter) — static; hover/focus/disabled 추후 */
40
+ export function FilterSelect({ label }: { label: string }) {
41
+ return (
42
+ <div className="ezp-select ezp-text-body" role="button" tabIndex={0}>
43
+ <span>{label}</span>
44
+ <span className="ezp-select-caret" aria-hidden>▾</span>
45
+ </div>
46
+ );
47
+ }
48
+
49
+ /* btn-w-auto (primary) — static; hover/active/disabled 추후 */
50
+ export function CreateButton({ label }: { label: string }) {
51
+ return <button type="button" className="ezp-btn-primary ezp-text-body-small-bold">{label}</button>;
52
+ }
53
+
54
+ /* toolbox-btn (row action trigger) */
55
+ export function RowActionButton({ label = 'Tools', onClick }: { label?: string; onClick?: () => void }) {
56
+ return (
57
+ <button type="button" className="ezp-tools-btn ezp-text-body-small" onClick={onClick}>
58
+ {label}
59
+ <span className="ezp-tools-caret" aria-hidden>▴</span>
60
+ </button>
61
+ );
62
+ }
63
+
64
+ /* dropdown menu of row actions (open state shown for the affordance) */
65
+ export function ActionMenu({ items }: { items: string[] }) {
66
+ return (
67
+ <div className="ezp-menu" role="menu">
68
+ {items.map((it) => (
69
+ <div key={it} className="ezp-menu-item ezp-text-body" role="menuitem">{it}</div>
70
+ ))}
71
+ </div>
72
+ );
73
+ }
74
+
75
+ /* pagination-wrap — static */
76
+ export function Pagination() {
77
+ const pages = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
78
+ return (
79
+ <div className="ezp-pagination ezp-text-body">
80
+ <div className="ezp-page-meta">
81
+ <span>Page Size</span>
82
+ <span className="ezp-select" role="button" tabIndex={0}>20 <span className="ezp-select-caret" aria-hidden>▾</span></span>
83
+ <span>Sort By</span>
84
+ <span className="ezp-select" role="button" tabIndex={0}>Edit <span className="ezp-select-caret" aria-hidden>▴</span></span>
85
+ </div>
86
+ <div className="ezp-pagination-group">
87
+ <span className="ezp-page-arrow" aria-hidden>«</span>
88
+ <span className="ezp-page-arrow" aria-hidden>‹</span>
89
+ {pages.map((p) => (
90
+ <span key={p} className={'ezp-page-num' + (p === 1 ? ' ezp-page-num--active' : '')}>{p}</span>
91
+ ))}
92
+ <span className="ezp-page-arrow" aria-hidden>›</span>
93
+ <span className="ezp-page-arrow" aria-hidden>»</span>
94
+ </div>
95
+ </div>
96
+ );
97
+ }
@@ -0,0 +1,41 @@
1
+ /*
2
+ * EZP form components (code counterparts of form-control / -textarea / -select /
3
+ * -check-radio / btn). Static; tokens only. focus/disabled states match the
4
+ * published EZP variants. Only ring width/offset (2px) + border (1px) are
5
+ * token-less raw (allowed); every color is a --ezp-* token (via ezp.css classes).
6
+ */
7
+ import React from 'react';
8
+
9
+ export function TextInput({ placeholder, focus, disabled }: { placeholder?: string; focus?: boolean; disabled?: boolean }) {
10
+ const cls = 'ezp-input ezp-text-body' + (focus ? ' ezp-input--focus' : '') + (disabled ? ' ezp-input--disabled' : '');
11
+ return <input className={cls} placeholder={placeholder} readOnly disabled={disabled} />;
12
+ }
13
+
14
+ export function TextArea({ placeholder, disabled }: { placeholder?: string; disabled?: boolean }) {
15
+ return <textarea className={'ezp-textarea ezp-text-body' + (disabled ? ' ezp-input--disabled' : '')} placeholder={placeholder} readOnly disabled={disabled} />;
16
+ }
17
+
18
+ export function Select({ label, disabled }: { label: string; disabled?: boolean }) {
19
+ return (
20
+ <div className={'ezp-select ezp-text-body' + (disabled ? ' ezp-input--disabled' : '')} role="button" tabIndex={0}>
21
+ <span>{label}</span>
22
+ <span className="ezp-select-caret" aria-hidden>▾</span>
23
+ </div>
24
+ );
25
+ }
26
+
27
+ export function Radio({ label, checked }: { label: string; checked?: boolean }) {
28
+ return (
29
+ <label className="ezp-radio ezp-text-body">
30
+ <span className={'ezp-radio-mark' + (checked ? ' ezp-radio-mark--checked' : '')}>
31
+ {checked && <span className="ezp-radio-dot" />}
32
+ </span>
33
+ {label}
34
+ </label>
35
+ );
36
+ }
37
+
38
+ export function Button({ label, variant = 'primary', disabled }: { label: string; variant?: 'primary' | 'secondary'; disabled?: boolean }) {
39
+ const cls = disabled ? 'ezp-btn--disabled' : (variant === 'secondary' ? 'ezp-btn--secondary' : 'ezp-btn-primary');
40
+ return <button type="button" className={cls + ' ezp-text-body-small-bold'} disabled={disabled}>{label}</button>;
41
+ }
@@ -0,0 +1,81 @@
1
+ /*
2
+ * App shell (code counterpart of EZP side-nav + gnb-wrap). Tokens only.
3
+ * Prop-driven: defaults reproduce the Run1 Dataset shell; Run2 passes its own
4
+ * AI Orchestration nav + breadcrumb. Sidebar gets a token-bound right border.
5
+ */
6
+ import React from 'react';
7
+
8
+ export type NavItem = { label: string; active?: boolean };
9
+ export type NavGroup = { label: string; items?: NavItem[] };
10
+
11
+ const DEFAULT_GROUPS: NavGroup[] = [{ label: 'Content' }, { label: 'Content' }, { label: 'Content' }];
12
+
13
+ export function Sidebar({ section = 'Material', navGroups = DEFAULT_GROUPS }: { section?: string; navGroups?: NavGroup[] }) {
14
+ const railIcons = [0, 1, 2, 3, 4];
15
+ return (
16
+ <aside className="ezp-sidebar">
17
+ <div className="ezp-rail">
18
+ <div className="ezp-rail-logo" aria-label="logo" />
19
+ {railIcons.map((i) => (
20
+ <div key={i} className={'ezp-rail-icon' + (i === 0 ? ' ezp-rail-icon--on' : '')} />
21
+ ))}
22
+ <div className="ezp-rail-spacer" />
23
+ <div className="ezp-rail-icon" />
24
+ <div className="ezp-rail-icon" />
25
+ </div>
26
+ <nav className="ezp-nav">
27
+ <div className="ezp-user">
28
+ <span className="ezp-avatar ezp-text-body-small-bold">A</span>
29
+ <span className="ezp-text-body">Username</span>
30
+ </div>
31
+ <div className="ezp-nav-section ezp-text-section-title">{section}</div>
32
+ {navGroups.map((g, i) => (
33
+ <div key={i} className="ezp-nav-group">
34
+ <div className="ezp-nav-item ezp-text-body">
35
+ <span className="ezp-nav-item-left"><span className="ezp-nav-glyph" />{g.label}</span>
36
+ <span aria-hidden>▾</span>
37
+ </div>
38
+ {g.items && g.items.length > 0 && (
39
+ <div className="ezp-nav-subs">
40
+ {g.items.map((it, j) => (
41
+ <div key={j} className={'ezp-nav-sub ezp-text-body' + (it.active ? ' ezp-nav-sub--active' : '')}>
42
+ <span className="ezp-nav-sub-dot" aria-hidden />{it.label}
43
+ </div>
44
+ ))}
45
+ </div>
46
+ )}
47
+ </div>
48
+ ))}
49
+ <div className="ezp-nav-foot ezp-text-body-small">
50
+ <span className="ezp-point" aria-hidden>P</span>
51
+ <span>100,379,264</span>
52
+ </div>
53
+ </nav>
54
+ </aside>
55
+ );
56
+ }
57
+
58
+ export function Topbar({
59
+ breadcrumb = ['Data Hub', 'Dataset Service', 'Management'],
60
+ rightControls = ['User Group', 'Zone - Account', 'Image Type'],
61
+ }: { breadcrumb?: string[]; rightControls?: string[] }) {
62
+ return (
63
+ <header className="ezp-topbar">
64
+ <div className="ezp-breadcrumb ezp-text-body">
65
+ {breadcrumb.map((seg, i) => (
66
+ <React.Fragment key={i}>
67
+ {i > 0 && <span className="ezp-breadcrumb-sep" aria-hidden>〉</span>}
68
+ <span className={i === breadcrumb.length - 1 ? 'ezp-breadcrumb-current' : 'ezp-breadcrumb-link'}>{seg}</span>
69
+ </React.Fragment>
70
+ ))}
71
+ </div>
72
+ <div className="ezp-topbar-right">
73
+ {rightControls.map((l) => (
74
+ <span key={l} className="ezp-select ezp-text-body" role="button" tabIndex={0}>
75
+ {l} <span className="ezp-select-caret" aria-hidden>▾</span>
76
+ </span>
77
+ ))}
78
+ </div>
79
+ </header>
80
+ );
81
+ }
@@ -0,0 +1,115 @@
1
+ /*
2
+ * Dataset Management screen styles — EZP tokens only.
3
+ * Every color/space/radius references a --ezp-* token (tokens.css).
4
+ * UNAVOIDABLE raw values (no EZP token exists; see self-report §3):
5
+ * - 1px hairline border-width (EZP has no border-width token)
6
+ * - action-menu box-shadow (EZP has no elevation token — backlog B3)
7
+ * Interactive states (hover/active/focus/disabled) = OUT OF SCOPE this run;
8
+ * placeholders marked "추후 (states pending — EZP variants in progress)".
9
+ */
10
+
11
+ .ezp-screen {
12
+ width: 1920px; height: 1080px; display: flex; overflow: hidden;
13
+ background: var(--ezp-white);
14
+ font-family: var(--ezp-font-family);
15
+ color: var(--ezp-light-1100);
16
+ }
17
+
18
+ /* ===== Shell: Sidebar ===== */
19
+ .ezp-sidebar { width: var(--ezp-size-sidebar-width); height: 100%; flex: 0 0 auto; display: flex; border-right: 1px solid var(--ezp-light-200); } /* right border bound to light/200 token */
20
+ .ezp-nav-group { display: flex; flex-direction: column; gap: var(--ezp-space-2xs); }
21
+ .ezp-nav-subs { display: flex; flex-direction: column; padding-left: var(--ezp-space-lg); }
22
+ .ezp-nav-sub { display: flex; align-items: center; gap: var(--ezp-space-xs); padding: var(--ezp-space-2xs) var(--ezp-space-xs); color: var(--ezp-light-600); }
23
+ .ezp-nav-sub-dot { width: 4px; height: 4px; border-radius: var(--ezp-radius-pill); background: var(--ezp-light-400); }
24
+ .ezp-nav-sub--active { color: var(--ezp-logo-blue); }
25
+ .ezp-nav-sub--active .ezp-nav-sub-dot { background: var(--ezp-logo-blue); }
26
+ .ezp-rail { width: var(--ezp-size-sidebar-collapsed); background: var(--ezp-light-1100); display: flex; flex-direction: column; align-items: center; padding: var(--ezp-space-md) 0; gap: var(--ezp-space-sm); }
27
+ .ezp-rail-logo { width: 24px; height: 24px; border-radius: var(--ezp-radius-sm); background: var(--ezp-logo-green); margin-bottom: var(--ezp-space-sm); }
28
+ .ezp-rail-icon { width: 20px; height: 20px; border-radius: var(--ezp-radius-sm); background: var(--ezp-light-700); opacity: .55; }
29
+ .ezp-rail-icon--on { opacity: 1; background: var(--ezp-white); }
30
+ .ezp-rail-spacer { flex: 1; }
31
+ .ezp-nav { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: var(--ezp-space-md); gap: var(--ezp-space-md); background: var(--ezp-white); }
32
+ .ezp-user { display: flex; align-items: center; gap: var(--ezp-space-sm); }
33
+ .ezp-avatar { width: 24px; height: 24px; border-radius: var(--ezp-radius-pill); background: var(--ezp-logo-green); color: var(--ezp-white); display: flex; align-items: center; justify-content: center; }
34
+ .ezp-nav-section { color: var(--ezp-light-1100); }
35
+ .ezp-nav-item { display: flex; align-items: center; justify-content: space-between; padding: var(--ezp-space-xs) var(--ezp-space-sm); border-radius: var(--ezp-radius-sm); color: var(--ezp-light-700); }
36
+ .ezp-nav-item-left { display: flex; align-items: center; gap: var(--ezp-space-sm); }
37
+ .ezp-nav-glyph { width: 16px; height: 16px; border-radius: var(--ezp-radius-sm); background: var(--ezp-light-300); }
38
+ .ezp-nav-foot { margin-top: auto; display: flex; align-items: center; gap: var(--ezp-space-sm); color: var(--ezp-light-600); }
39
+ .ezp-point { width: 18px; height: 18px; border-radius: var(--ezp-radius-pill); background: var(--ezp-logo-green); color: var(--ezp-white); display: flex; align-items: center; justify-content: center; }
40
+
41
+ /* ===== Shell: Main + Topbar ===== */
42
+ .ezp-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
43
+ .ezp-topbar { height: var(--ezp-size-topbar-height); flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--ezp-space-xl); border-bottom: 1px solid var(--ezp-light-100); background: var(--ezp-white); }
44
+ .ezp-breadcrumb { display: flex; align-items: center; gap: var(--ezp-space-2xs); }
45
+ .ezp-breadcrumb-sep { color: var(--ezp-light-400); }
46
+ .ezp-breadcrumb-link { color: var(--ezp-light-600); }
47
+ .ezp-breadcrumb-current { color: var(--ezp-light-1100); }
48
+ .ezp-topbar-right { display: flex; align-items: center; gap: var(--ezp-space-sm); }
49
+
50
+ /* ===== Content area + surface ===== */
51
+ .ezp-content { flex: 1; min-height: 0; background: var(--ezp-light-50); padding: var(--ezp-space-xl); overflow: auto; }
52
+ .ezp-surface { background: var(--ezp-white); border-radius: var(--ezp-radius-md); padding: var(--ezp-space-xl); display: flex; flex-direction: column; gap: var(--ezp-space-lg); }
53
+ .ezp-header { display: flex; flex-direction: column; gap: var(--ezp-space-2xs); }
54
+ .ezp-title { color: var(--ezp-light-1100); }
55
+ .ezp-caption { color: var(--ezp-light-500); line-height: 1.45; } /* multi-line override of 100% token */
56
+
57
+ /* ===== Toolbar ===== */
58
+ .ezp-toolbar { display: flex; align-items: center; justify-content: space-between; gap: var(--ezp-space-sm); }
59
+ .ezp-toolbar-left { display: flex; align-items: center; gap: var(--ezp-space-sm); }
60
+ .ezp-input { height: var(--ezp-size-input-height); min-width: 220px; box-sizing: border-box; border: 1px solid var(--ezp-light-200); border-radius: var(--ezp-radius-sm); padding: 0 var(--ezp-space-sm); background: var(--ezp-white); color: var(--ezp-light-1100); }
61
+ .ezp-input::placeholder { color: var(--ezp-light-400); }
62
+ .ezp-select { height: var(--ezp-size-input-height); box-sizing: border-box; display: inline-flex; align-items: center; gap: var(--ezp-space-sm); border: 1px solid var(--ezp-light-200); border-radius: var(--ezp-radius-sm); padding: 0 var(--ezp-space-sm); background: var(--ezp-white); color: var(--ezp-light-700); cursor: pointer; }
63
+ .ezp-select-caret { color: var(--ezp-light-400); }
64
+ .ezp-btn-primary { height: var(--ezp-size-button-height); box-sizing: border-box; border: none; border-radius: var(--ezp-radius-sm); padding: 0 var(--ezp-space-lg); background: var(--ezp-logo-green); color: var(--ezp-white); cursor: pointer; }
65
+
66
+ /* ===== Table ===== */
67
+ .ezp-table-wrap { border: 1px solid var(--ezp-light-200); border-radius: var(--ezp-radius-md); overflow: hidden; }
68
+ .ezp-table { width: 100%; border-collapse: separate; border-spacing: 0; }
69
+ .ezp-th { background: var(--ezp-light-50); color: var(--ezp-light-600); text-align: left; padding: var(--ezp-space-sm) var(--ezp-space-md); border-bottom: 1px solid var(--ezp-light-200); white-space: nowrap; }
70
+ .ezp-td { padding: var(--ezp-space-sm) var(--ezp-space-md); border-bottom: 1px solid var(--ezp-light-200); color: var(--ezp-light-1100); vertical-align: middle; background: var(--ezp-white); }
71
+ .ezp-tr:last-child .ezp-td { border-bottom: none; }
72
+ .ezp-cell-name { color: var(--ezp-logo-blue); cursor: pointer; } /* 상세 진입 affordance (link) */
73
+ .ezp-cell-action { text-align: right; }
74
+
75
+ /* ===== Status badge ===== */
76
+ .ezp-badge { display: inline-flex; align-items: center; padding: var(--ezp-space-2xs) var(--ezp-space-sm); border-radius: var(--ezp-radius-pill); color: var(--ezp-white); }
77
+
78
+ /* ===== Tag ===== */
79
+ .ezp-tag { display: inline-flex; align-items: center; gap: var(--ezp-space-2xs); padding: var(--ezp-space-2xs) var(--ezp-space-xs); border-radius: var(--ezp-radius-sm); background: var(--ezp-light-100); color: var(--ezp-light-700); }
80
+ .ezp-tag-x { color: var(--ezp-light-500); cursor: pointer; }
81
+
82
+ /* ===== Row action (Tools) button + menu ===== */
83
+ .ezp-tools-btn { display: inline-flex; align-items: center; gap: var(--ezp-space-2xs); height: 26px; box-sizing: border-box; border: 1px solid var(--ezp-light-200); border-radius: var(--ezp-radius-sm); padding: 0 var(--ezp-space-sm); background: var(--ezp-white); color: var(--ezp-light-700); cursor: pointer; }
84
+ .ezp-tools-caret { color: var(--ezp-light-500); }
85
+ .ezp-menu { position: absolute; right: 0; top: calc(100% + var(--ezp-space-2xs)); min-width: 232px; background: var(--ezp-white); border: 1px solid var(--ezp-light-300); border-radius: var(--ezp-radius-md); padding: var(--ezp-space-2xs) 0; box-shadow: var(--ezp-elevation-sm); z-index: 10; } /* shadow now token (--ezp-elevation-sm = EZP elevation/sm) */
86
+ .ezp-menu-item { padding: var(--ezp-space-xs) var(--ezp-space-md); color: var(--ezp-light-900); white-space: nowrap; cursor: pointer; } /* hover/active 추후 */
87
+
88
+ /* ===== Pagination ===== */
89
+ .ezp-pagination { display: flex; align-items: center; justify-content: center; gap: var(--ezp-space-md); padding-top: var(--ezp-space-sm); }
90
+ .ezp-pagination-group { display: flex; align-items: center; gap: var(--ezp-space-2xs); }
91
+ .ezp-page-num { min-width: 24px; height: 24px; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; padding: 0 var(--ezp-space-2xs); border-radius: var(--ezp-radius-sm); color: var(--ezp-light-700); cursor: pointer; }
92
+ .ezp-page-num--active { background: var(--ezp-logo-green); color: var(--ezp-white); }
93
+ .ezp-page-arrow { color: var(--ezp-light-500); cursor: pointer; }
94
+ .ezp-page-meta { display: flex; align-items: center; gap: var(--ezp-space-sm); color: var(--ezp-light-600); }
95
+
96
+ /* ===== Form (Run2 — Model create/edit) ===== */
97
+ .ezp-form { display: flex; flex-direction: column; gap: var(--ezp-space-md); }
98
+ .ezp-field { display: flex; flex-direction: column; gap: var(--ezp-space-xs); }
99
+ .ezp-field-label { color: var(--ezp-light-700); }
100
+ .ezp-radio-row { display: flex; align-items: center; gap: var(--ezp-space-md); }
101
+ .ezp-radio { display: inline-flex; align-items: center; gap: var(--ezp-space-xs); color: var(--ezp-light-1100); cursor: pointer; }
102
+ .ezp-radio-mark { width: 14px; height: 14px; box-sizing: border-box; border: 1px solid var(--ezp-light-300); border-radius: var(--ezp-radius-pill); display: inline-flex; align-items: center; justify-content: center; }
103
+ .ezp-radio-mark--checked { border-color: var(--ezp-logo-blue); }
104
+ .ezp-radio-dot { width: 8px; height: 8px; border-radius: var(--ezp-radius-pill); background: var(--ezp-logo-blue); }
105
+ .ezp-textarea { width: 100%; min-height: 72px; box-sizing: border-box; border: 1px solid var(--ezp-light-200); border-radius: var(--ezp-radius-sm); padding: var(--ezp-space-sm); background: var(--ezp-white); color: var(--ezp-light-1100); font-family: var(--ezp-font-family); resize: vertical; }
106
+ .ezp-textarea::placeholder { color: var(--ezp-light-400); }
107
+ /* focus state — ring width 2px / offset 2px are token-less raw (allowed); color = logo-blue token */
108
+ .ezp-input--focus { outline: 2px solid var(--ezp-logo-blue); outline-offset: 2px; }
109
+ /* disabled state — grey via tokens (no opacity) */
110
+ .ezp-input--disabled { background: var(--ezp-light-200); color: var(--ezp-light-400); }
111
+ .ezp-input--disabled::placeholder { color: var(--ezp-light-400); }
112
+ .ezp-btn--secondary { height: var(--ezp-size-button-height); box-sizing: border-box; border: none; border-radius: var(--ezp-radius-sm); padding: 0 var(--ezp-space-lg); background: var(--ezp-light-200); color: var(--ezp-light-700); cursor: pointer; }
113
+ .ezp-btn--disabled { height: var(--ezp-size-button-height); box-sizing: border-box; border: none; border-radius: var(--ezp-radius-sm); padding: 0 var(--ezp-space-lg); background: var(--ezp-light-200); color: var(--ezp-light-400); cursor: not-allowed; }
114
+ .ezp-action-bar { display: flex; align-items: center; justify-content: flex-end; gap: var(--ezp-space-sm); }
115
+ .ezp-switch-note { color: var(--ezp-light-500); }
@@ -0,0 +1,106 @@
1
+ /*
2
+ * EZP Design System — code tokens (1:1 from Figma variables)
3
+ * Source: EZP file 8aASUh5TjMnkoGo6qutYwN
4
+ * Colors collection (mode "Light", 44 vars) · Spacing collection (21 vars)
5
+ * + 7 text styles. Values are read verbatim from the Figma variables.
6
+ * Naming: Figma "group/name" -> --ezp-<group>-<name>. Components must reference
7
+ * these tokens — no raw hex / px in component code.
8
+ */
9
+ @import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');
10
+
11
+ :root {
12
+ /* ===== Color (44) — Colors / Light ===== */
13
+ --ezp-white: #FFFFFF;
14
+ --ezp-black: #141413;
15
+
16
+ --ezp-logo-blue: #6C91F5;
17
+ --ezp-logo-blue-dark: #5D7ED7;
18
+ --ezp-logo-blue-50: #B5C7FA;
19
+ --ezp-logo-blue-20: #E1E9FD;
20
+ --ezp-logo-green: #13BFC0;
21
+ --ezp-logo-green-dark: #10ADAD;
22
+ --ezp-logo-green-50: #89DFDF;
23
+ --ezp-logo-green-20: #CFF2F2;
24
+ --ezp-logo-red: #F15E8D;
25
+ --ezp-logo-red-dark: #D8547F;
26
+ --ezp-logo-red-50: #F8AEC6;
27
+ --ezp-logo-red-20: #FCDEE7;
28
+ --ezp-logo-yellow: #D1A112;
29
+ --ezp-logo-yellow-dark: #BC9010;
30
+ --ezp-logo-yellow-50: #E8D088;
31
+ --ezp-logo-yellow-20: #F5ECCF;
32
+ --ezp-logo-gray: #5F5968;
33
+ --ezp-logo-gray-50: #5F5968;
34
+
35
+ --ezp-light-50: #EEEFF2;
36
+ --ezp-light-100: #E2E4E9;
37
+ --ezp-light-200: #CBCFD8;
38
+ --ezp-light-300: #B3BAC6;
39
+ --ezp-light-400: #9CA4B4;
40
+ --ezp-light-500: #858EA3;
41
+ --ezp-light-600: #6E7991;
42
+ --ezp-light-700: #5C667A;
43
+ --ezp-light-800: #4B5363;
44
+ --ezp-light-900: #393F4C;
45
+ --ezp-light-1000: #272C34;
46
+ --ezp-light-1100: #16191D;
47
+
48
+ --ezp-dark-50: #0D0F11;
49
+ --ezp-dark-100: #16191D;
50
+ --ezp-dark-200: #272C34;
51
+ --ezp-dark-300: #393F4C;
52
+ --ezp-dark-400: #4B5363;
53
+ --ezp-dark-500: #5C667A;
54
+ --ezp-dark-600: #6E7991;
55
+ --ezp-dark-700: #858EA3;
56
+ --ezp-dark-800: #9CA4B4;
57
+ --ezp-dark-900: #B3BAC6;
58
+ --ezp-dark-1000: #CBCFD8;
59
+ --ezp-dark-1100: #E2E4E9;
60
+
61
+ /* ===== Spacing (9) ===== */
62
+ --ezp-space-2xs: 3px;
63
+ --ezp-space-xs: 6px;
64
+ --ezp-space-sm: 9px;
65
+ --ezp-space-md: 12px;
66
+ --ezp-space-lg: 15px;
67
+ --ezp-space-xl: 18px;
68
+ --ezp-space-2xl: 24px;
69
+ --ezp-space-3xl: 36px;
70
+ --ezp-space-4xl: 48px;
71
+
72
+ /* ===== Radius (5) ===== */
73
+ --ezp-radius-none: 0px;
74
+ --ezp-radius-sm: 3px;
75
+ --ezp-radius-md: 6px;
76
+ --ezp-radius-lg: 9px;
77
+ --ezp-radius-pill: 16px;
78
+
79
+ /* ===== Size (7) ===== */
80
+ --ezp-size-sidebar-width: 210px;
81
+ --ezp-size-sidebar-collapsed: 48px;
82
+ --ezp-size-topbar-height: 40px;
83
+ --ezp-size-action-bar-height: 40px;
84
+ --ezp-size-input-height: 30px;
85
+ --ezp-size-button-height: 32px;
86
+ --ezp-size-table-row-height: 30px;
87
+
88
+ /* ===== Type (family) ===== */
89
+ --ezp-font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
90
+
91
+ /* ===== Elevation (matches EZP local effect style elevation/sm: drop 0/0 · blur 6 · spread 0 · #000 10%) ===== */
92
+ --ezp-elevation-sm: 0 0 6px rgba(0, 0, 0, 0.10);
93
+ }
94
+
95
+ /*
96
+ * Text styles (7) — Figma text styles as utility classes.
97
+ * Figma line-height = 100% (= line-height:1). The multi-line caption overrides
98
+ * to 1.45 for readability (only deviation; noted in self-report §5/③).
99
+ */
100
+ .ezp-text-page-title { font-family: var(--ezp-font-family); font-weight: 700; font-size: 18px; line-height: 1; letter-spacing: 0; }
101
+ .ezp-text-section-title { font-family: var(--ezp-font-family); font-weight: 700; font-size: 15px; line-height: 1; letter-spacing: 0; }
102
+ .ezp-text-card-title { font-family: var(--ezp-font-family); font-weight: 600; font-size: 12px; line-height: 1; letter-spacing: 0; }
103
+ .ezp-text-body { font-family: var(--ezp-font-family); font-weight: 400; font-size: 12px; line-height: 1; letter-spacing: 0; }
104
+ .ezp-text-body-small { font-family: var(--ezp-font-family); font-weight: 400; font-size: 10.5px; line-height: 1; letter-spacing: 0; }
105
+ .ezp-text-caption { font-family: var(--ezp-font-family); font-weight: 400; font-size: 11px; line-height: 1; letter-spacing: 0; }
106
+ .ezp-text-body-small-bold { font-family: var(--ezp-font-family); font-weight: 600; font-size: 11px; line-height: 1; letter-spacing: 0; }
@@ -0,0 +1,94 @@
1
+ /*
2
+ * EZP token manifest — machine-checkable EZP Figma variable -> code token -> value.
3
+ * Mirror of tokens.css (single source of truth = tokens.css). Used for the
4
+ * mapping table / verification. Values read verbatim from EZP file 8aASUh5TjMnkoGo6qutYwN.
5
+ */
6
+ export type TokenRow = { ezp: string; cssVar: string; value: string };
7
+
8
+ export const colorTokens: TokenRow[] = [
9
+ { ezp: 'white', cssVar: '--ezp-white', value: '#FFFFFF' },
10
+ { ezp: 'black', cssVar: '--ezp-black', value: '#141413' },
11
+ { ezp: 'logo/blue', cssVar: '--ezp-logo-blue', value: '#6C91F5' },
12
+ { ezp: 'logo/blue-dark', cssVar: '--ezp-logo-blue-dark', value: '#5D7ED7' },
13
+ { ezp: 'logo/blue-50', cssVar: '--ezp-logo-blue-50', value: '#B5C7FA' },
14
+ { ezp: 'logo/blue-20', cssVar: '--ezp-logo-blue-20', value: '#E1E9FD' },
15
+ { ezp: 'logo/green', cssVar: '--ezp-logo-green', value: '#13BFC0' },
16
+ { ezp: 'logo/green-dark', cssVar: '--ezp-logo-green-dark', value: '#10ADAD' },
17
+ { ezp: 'logo/green-50', cssVar: '--ezp-logo-green-50', value: '#89DFDF' },
18
+ { ezp: 'logo/green-20', cssVar: '--ezp-logo-green-20', value: '#CFF2F2' },
19
+ { ezp: 'logo/red', cssVar: '--ezp-logo-red', value: '#F15E8D' },
20
+ { ezp: 'logo/red-dark', cssVar: '--ezp-logo-red-dark', value: '#D8547F' },
21
+ { ezp: 'logo/red-50', cssVar: '--ezp-logo-red-50', value: '#F8AEC6' },
22
+ { ezp: 'logo/red-20', cssVar: '--ezp-logo-red-20', value: '#FCDEE7' },
23
+ { ezp: 'logo/yellow', cssVar: '--ezp-logo-yellow', value: '#D1A112' },
24
+ { ezp: 'logo/yellow-dark', cssVar: '--ezp-logo-yellow-dark', value: '#BC9010' },
25
+ { ezp: 'logo/yellow-50', cssVar: '--ezp-logo-yellow-50', value: '#E8D088' },
26
+ { ezp: 'logo/yellow-20', cssVar: '--ezp-logo-yellow-20', value: '#F5ECCF' },
27
+ { ezp: 'logo/gray', cssVar: '--ezp-logo-gray', value: '#5F5968' },
28
+ { ezp: 'logo/gray-50', cssVar: '--ezp-logo-gray-50', value: '#5F5968' },
29
+ { ezp: 'light/50', cssVar: '--ezp-light-50', value: '#EEEFF2' },
30
+ { ezp: 'light/100', cssVar: '--ezp-light-100', value: '#E2E4E9' },
31
+ { ezp: 'light/200', cssVar: '--ezp-light-200', value: '#CBCFD8' },
32
+ { ezp: 'light/300', cssVar: '--ezp-light-300', value: '#B3BAC6' },
33
+ { ezp: 'light/400', cssVar: '--ezp-light-400', value: '#9CA4B4' },
34
+ { ezp: 'light/500', cssVar: '--ezp-light-500', value: '#858EA3' },
35
+ { ezp: 'light/600', cssVar: '--ezp-light-600', value: '#6E7991' },
36
+ { ezp: 'light/700', cssVar: '--ezp-light-700', value: '#5C667A' },
37
+ { ezp: 'light/800', cssVar: '--ezp-light-800', value: '#4B5363' },
38
+ { ezp: 'light/900', cssVar: '--ezp-light-900', value: '#393F4C' },
39
+ { ezp: 'light/1000', cssVar: '--ezp-light-1000', value: '#272C34' },
40
+ { ezp: 'light/1100', cssVar: '--ezp-light-1100', value: '#16191D' },
41
+ { ezp: 'dark/50', cssVar: '--ezp-dark-50', value: '#0D0F11' },
42
+ { ezp: 'dark/100', cssVar: '--ezp-dark-100', value: '#16191D' },
43
+ { ezp: 'dark/200', cssVar: '--ezp-dark-200', value: '#272C34' },
44
+ { ezp: 'dark/300', cssVar: '--ezp-dark-300', value: '#393F4C' },
45
+ { ezp: 'dark/400', cssVar: '--ezp-dark-400', value: '#4B5363' },
46
+ { ezp: 'dark/500', cssVar: '--ezp-dark-500', value: '#5C667A' },
47
+ { ezp: 'dark/600', cssVar: '--ezp-dark-600', value: '#6E7991' },
48
+ { ezp: 'dark/700', cssVar: '--ezp-dark-700', value: '#858EA3' },
49
+ { ezp: 'dark/800', cssVar: '--ezp-dark-800', value: '#9CA4B4' },
50
+ { ezp: 'dark/900', cssVar: '--ezp-dark-900', value: '#B3BAC6' },
51
+ { ezp: 'dark/1000', cssVar: '--ezp-dark-1000', value: '#CBCFD8' },
52
+ { ezp: 'dark/1100', cssVar: '--ezp-dark-1100', value: '#E2E4E9' },
53
+ ];
54
+
55
+ export const spaceTokens: TokenRow[] = [
56
+ { ezp: 'spacing/2xs', cssVar: '--ezp-space-2xs', value: '3px' },
57
+ { ezp: 'spacing/xs', cssVar: '--ezp-space-xs', value: '6px' },
58
+ { ezp: 'spacing/sm', cssVar: '--ezp-space-sm', value: '9px' },
59
+ { ezp: 'spacing/md', cssVar: '--ezp-space-md', value: '12px' },
60
+ { ezp: 'spacing/lg', cssVar: '--ezp-space-lg', value: '15px' },
61
+ { ezp: 'spacing/xl', cssVar: '--ezp-space-xl', value: '18px' },
62
+ { ezp: 'spacing/2xl', cssVar: '--ezp-space-2xl', value: '24px' },
63
+ { ezp: 'spacing/3xl', cssVar: '--ezp-space-3xl', value: '36px' },
64
+ { ezp: 'spacing/4xl', cssVar: '--ezp-space-4xl', value: '48px' },
65
+ { ezp: 'size/sidebar-width', cssVar: '--ezp-size-sidebar-width', value: '210px' },
66
+ { ezp: 'size/sidebar-collapsed', cssVar: '--ezp-size-sidebar-collapsed', value: '48px' },
67
+ { ezp: 'size/topbar-height', cssVar: '--ezp-size-topbar-height', value: '40px' },
68
+ { ezp: 'size/action-bar-height', cssVar: '--ezp-size-action-bar-height', value: '40px' },
69
+ { ezp: 'size/input-height', cssVar: '--ezp-size-input-height', value: '30px' },
70
+ { ezp: 'size/button-height', cssVar: '--ezp-size-button-height', value: '32px' },
71
+ { ezp: 'size/table-row-height', cssVar: '--ezp-size-table-row-height', value: '30px' },
72
+ ];
73
+
74
+ export const radiusTokens: TokenRow[] = [
75
+ { ezp: 'radius/none', cssVar: '--ezp-radius-none', value: '0px' },
76
+ { ezp: 'radius/sm', cssVar: '--ezp-radius-sm', value: '3px' },
77
+ { ezp: 'radius/md', cssVar: '--ezp-radius-md', value: '6px' },
78
+ { ezp: 'radius/lg', cssVar: '--ezp-radius-lg', value: '9px' },
79
+ { ezp: 'radius/pill', cssVar: '--ezp-radius-pill', value: '16px' },
80
+ ];
81
+
82
+ export const elevationTokens = [
83
+ { ezp: 'elevation/sm', cssVar: '--ezp-elevation-sm', value: '0 0 6px rgba(0, 0, 0, 0.10)', note: 'matches EZP local effect style elevation/sm (drop 0/0 · blur 6 · spread 0 · #000 10%)' },
84
+ ];
85
+
86
+ export const textTokens = [
87
+ { ezp: 'heading/page-title', cssClass: '.ezp-text-page-title', value: 'Pretendard 700 / 18px / 100%' },
88
+ { ezp: 'heading/section-title', cssClass: '.ezp-text-section-title', value: 'Pretendard 700 / 15px / 100%' },
89
+ { ezp: 'heading/card-title', cssClass: '.ezp-text-card-title', value: 'Pretendard 600 / 12px / 100%' },
90
+ { ezp: 'body/default', cssClass: '.ezp-text-body', value: 'Pretendard 400 / 12px / 100%' },
91
+ { ezp: 'body/small', cssClass: '.ezp-text-body-small', value: 'Pretendard 400 / 10.5px / 100%' },
92
+ { ezp: 'caption', cssClass: '.ezp-text-caption', value: 'Pretendard 400 / 11px / 100%' },
93
+ { ezp: 'body/small-bold', cssClass: '.ezp-text-body-small-bold', value: 'Pretendard 600 / 11px / 100%' },
94
+ ];
@@ -0,0 +1,59 @@
1
+ # 디자인→코드 하네스 — 이식 키트 & 런북
2
+
3
+ 자동 검사 게이트 + 최소 사람 개입으로 **기능명세 → 시안 → 디자인시스템(DS) → 코드**를 굴리는 재현 가능한 파이프라인. 두 화면(리스트·폼)·두 도메인에서 단계별 독립 검증으로 증명됨. 이 문서 하나로 다른 프로젝트에 세울 수 있게 정리한다.
4
+
5
+ ---
6
+
7
+ ## 1. 파이프라인
8
+ 입력: 기능명세 + 대상 DS(있으면 가리키고, 없으면 빌드/보강).
9
+ 1. **DS 검증/준비** — Check 1로 "진짜/완성 DS인가" 판정. 미달/없음이면 빌드·보강 경로.
10
+ 2. **토큰 추출** — `extract-tokens.js`로 DS에서 tokenRef(+코드 토큰) 생성.
11
+ 3. **화면마다:** 시안 빌드 → Check 2 → **[사람 게이트: 시안 확정]** → 코드 → Check 3.
12
+ 산출: 시안(Figma) + 코드, 게이트 통과 기록.
13
+ 사람 게이트는 둘뿐: **시안 확정 · 최종 화면 확인.**
14
+
15
+ > 엔진은 정적 프로그램이 아니라 **Claude**다(빌드=Claude Code, 검증=리뷰어 Claude/사람). 검사기는 *검사*를 자동화한 것 — 시안 빌드·코드 생성·판단(앵커냐 날조냐, 상태 디자인)은 LLM이 런타임에 한다.
16
+
17
+ ## 2. 검사기 (제네릭 — 대상 DS가 입력)
18
+ 프로젝트 하나 = 디스크립터 `validators/projects/<proj>.json`:
19
+ `ds.fileKey · tokenRef · codeTokensCss · 네이밍맵 · shell(뷰포트·셸 컴포넌트명) · check1(인터랙티브 탐지 regex + 필요상태) · structuralPxAllow · 화면별 앵커`.
20
+
21
+ - **extract-tokens.js** — 대상 DS Figma의 Variables/TextStyles/EffectStyles를 읽어 tokenRef 생성(프로젝트 상수 0).
22
+ - **Check 1 (진짜/완성 DS):** 토큰 존재 · 바인딩% · **인스턴스 내부까지** raw 분류 · 상태(필요상태 탐지) · elevation.
23
+ - **Check 2 (시안 vs 명세·DS):** 앵커 커버리지 · 날조 · 화면-작성 raw(bound vs 인스턴스내부/화면작성) · 뷰포트+셸.
24
+ - **Check 3 (코드 vs DS·시안):** 토큰 값 1:1(tokenRef 대조) · hex/px 하드코드 스캔(허용 px = float 토큰 유도 + structuralPxAllow) · 앵커/순서 verbatim · 날조.
25
+ - **자가검증(회귀 가드):** 토큰 일치 · 화면작성 하드코드 0 · 앵커 verbatim · 날조 0 · dsRawMatchesIndependent(raw==독립 스캔 AND 인스턴스내부>0). 기준값은 config가 가리킴.
26
+
27
+ ## 3. 새 프로젝트에 세우는 법 (런북)
28
+ **전제:** Claude Code + Figma MCP(대상 Figma에 인증) · Node.js · 리뷰어(Claude 또는 사람) · 기능명세.
29
+ 1. **대상 DS를 가리킨다**(Figma 파일키). `Check 1`로 진짜/완성 DS인지 판정 → 미달/없음이면 **빌드·보강 경로**(토큰·바인딩·상태·elevation 채우기; Check 1이 FAIL→PASS로 flip하면 완료).
30
+ 2. **`extract-tokens.js`를 그 DS에 돌려** tokenRef(+코드 토큰 `tokens.css`/`tokens.ts`) 생성.
31
+ 3. **`projects/<proj>.json` 작성** — `ezp.json`을 템플릿으로(파일키·네이밍맵·셸·structuralPxAllow·화면 앵커).
32
+ 4. **화면마다:** 명세에서 앵커 뽑아 시안 빌드 → `Check 2` + 시안 확정(사람) → 코드 → `Check 3`.
33
+ 5. **처음 세팅 시** 검사기 자가검증을 손검증과 한 번 대조해 도구를 신뢰한 뒤, 이후 자동 게이트로 사용.
34
+
35
+ ## 4. 증거 (검증된 실행 — 모든 수치 리뷰어가 노드/코드로 독립 확인)
36
+ - **Run1 — Dataset Management (리스트 · Data Curation):** Check1 PASS · Check2 PASS(앵커 25/25 · 날조 0 · 화면작성 raw 0 · 1920×1080+셸) · Check3 PASS(토큰 72/72 · hex 0 · 행 액션 9/9 verbatim).
37
+ - **Run2 — Model 등록/수정 (폼 · AI Orchestration):** Check2 PASS(앵커 11/11 · 날조 0 · 화면작성 raw 0 · 셸 · **focus/disabled 실사용**) · Check3 PASS(72/72 · hex 0 · 앵커 7/7 verbatim).
38
+ - **일반화 재현:** 두 런을 제네릭 검사기 입력으로 그대로 재현, 자가검증 10/10.
39
+ - 과정에서 검사기 버그 2건을 게이트가 스스로 잡아 고침: **인스턴스 내부 미traversal**(raw 누락) · **px allowlist 누락**(둘 다 "도구가 손검증/자기와 어긋남 → 도구 수정"으로 해소).
40
+
41
+ ## 5. DS 상태 (EZP — 이 프로젝트의 DS)
42
+ 색 44 + 숫자 21(간격9·radius5·size7) + 텍스트 7 + elevation 1 · 바인딩 100%(컴포넌트 raw 0, 인스턴스 내부 포함) · 인터랙티브 17셋 focus/disabled 17/17. Check 1 PASS(완성 DS).
43
+
44
+ ## 6. 한계 & 백로그 (정직하게)
45
+ - **캔버스/그래프형 화면 = 미검증(배제 아님).** 리스트·폼·상세 같은 *DS 조합형*은 증명. 캔버스는 (a) 명세가 비어 지금 만들면 날조, (b) 드래그·연결선·줌 등 *커스텀 렌더*라 단순 컴포넌트 조합이 아님 → **명세 + 빌드 모델 확장**이 있어야 시험 가능.
46
+ - **엔진은 Claude.** 검사기만 자동, 빌드·판단은 LLM 런타임. 스크립트만으론 화면이 안 나온다.
47
+ - 셸 도메인 내비 = 화면별 데이터 주입으로 **이미 동작**(중앙 config화는 선택적 백로그).
48
+ - DS 컴포넌트 변경의 소비 파일 전파 = Figma **republish 수동**.
49
+ - 메뉴 hover/active 등 일부 상태는 정적/자리만(디자인 디테일은 사람이 다듬는 영역).
50
+
51
+ ## 7. 키트 구성 (무엇을 가져가나)
52
+ - **`validators/`** — `extract-tokens.js` · `check1.js` · `check2.js` · `check3.js` · `verify.js` · `projects/<proj>.json`(템플릿 = `ezp.json`) · `out/`(결과). (구 하드코딩판은 이력으로만 보존, 제네릭판이 표준.)
53
+ - **블루프린트 문서** — 이 문서 + 검증 자동화 명세 + 검사기 일반화 명세 + 화면 스펙 예시(Run1/Run2).
54
+ - **코드 스캐폴드** — `src/ezp/`(tokens.css/ts + 셸·폼·테이블 컴포넌트). 새 프로젝트는 자기 DS의 tokenRef로 토큰을 재생성해 갈아끼운다.
55
+
56
+ ---
57
+
58
+ ### 한 줄 요약
59
+ *전제(Claude Code+Figma MCP·Node·리뷰어·명세)를 갖추면* — 대상 DS를 가리키거나 만들고 → 토큰 뽑고 → 디스크립터 쓰고 → 화면마다 시안·코드를 자동 게이트 3종 + 사람 게이트 2곳으로 굴리면, 이 하네스를 다른 컴퓨터·프로젝트에서 동일하게 재현할 수 있다. *DS 조합형 화면에 한해 증명됨; 캔버스형은 미검증.*