wip: phase_z2 evidence 파이프라인 + matching 실험(phase2~26) + 프론트 trace 패널 진행분 스냅샷

- src: phase_z2 composition/mapper/pipeline/placement_planner/retry, ai_fallback(prompts/schema/validate), mdx_text_atoms 신규
- Front: PipelineTracePanel 신규, FramePanel/SlideCanvas/Home/designAgentApi 등 갱신 + 테스트 4종 추가
- templates/phase_z2: catalog(component_expansion_registry, node_slot_mapping 신규), frames, families, slide_base 갱신
- tests/matching: phase2~26 매칭 실험 스크립트·리포트·온톨로지 전체 (미커밋 진행분)
- tests: b4_v4 evidence, task5~28.5 시리즈, regression(imp95 baseline) 등 신규 테스트 대량 추가
- docs/reference: MDX 구조 인벤토리, MDX→Frame 구조 계약 문서
- scripts: mdx 계약/parity/coverage/viewport 체크, gitea comment, run sync 유틸
- .gitignore: tmp*.json, chromedriver, .orchestrator, *.pkl, Front_test* 등 임시/스냅샷 제외

미완성 작업의 보존용 스냅샷 커밋 (2026-07-02)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-02 17:03:42 +09:00
co-authored by Claude Opus 4.8
parent 97b7833a1b
commit b836e79ee1
527 changed files with 673036 additions and 717 deletions
+12 -4
View File
@@ -777,6 +777,9 @@ function vitePluginPhaseZApi(): Plugin {
// --reuse-from is supplied. Absent / empty = full pipeline
// (byte-identical to pre-u6 spawn).
reuseFromRunId?: string;
// #98 Task 1 — clean generate / no-change regenerate must not
// resurrect stale data/user_overrides/<key>.json fallback axes.
ignoreUserOverrides?: boolean;
};
try {
payload = JSON.parse(body);
@@ -788,7 +791,7 @@ function vitePluginPhaseZApi(): Plugin {
return;
}
const { filename, content, overrides, reuseFromRunId } = payload;
const { filename, content, overrides, reuseFromRunId, ignoreUserOverrides } = payload;
if (!filename || typeof content !== "string") {
res.writeHead(400, { "Content-Type": "application/json" });
res.end(
@@ -885,6 +888,9 @@ function vitePluginPhaseZApi(): Plugin {
if (reuseFromRunId && typeof reuseFromRunId === "string") {
cliArgs.push("--reuse-from", reuseFromRunId);
}
if (ignoreUserOverrides === true) {
cliArgs.push("--ignore-user-overrides");
}
console.log(
`[phase-z-api] spawn pipeline: run_id=${runId}, mdx=${mdxPath}, args=${JSON.stringify(cliArgs.slice(2))}`
);
@@ -954,11 +960,13 @@ function vitePluginPhaseZApi(): Plugin {
});
});
// ── GET /api/sample-mdx → samples/mdx/{03|04|05} (데모) ──
// ── GET /api/sample-mdx → samples/mdx/{01|02|03|04|05} (데모) ──
// 페이지 로드 시 frontend 가 자동 fetch — 상대방에게 mdx 파일 공유 안 해도 되게.
// 2026-05-14 — query param `?mdx=04` / `?mdx=05` 추가 (default = 03).
// 04 / 05 frontend simulation 가능하도록 frame/layout override 적용 path 유지.
// 2026-05-14 — query param `?mdx=01`~`?mdx=05` 추가 (default = 03).
// 01~05 모두 frontend simulation 가능하도록 frame/layout override 적용 path 유지.
const SAMPLE_MDX_MAP: Record<string, string> = {
"01": "01. 건설산업 DX의 올바른 이해(0127).mdx",
"02": "02. DX의 시행 목표 및 기대효과.mdx",
"03": "03. DX 시행을 위한 필수 요건 및 혁신 방안.mdx",
"04": "04. DX 지연 요인.mdx",
"05": "05. 설계 방식의 왜곡.mdx",