fix: remove review template agent remnants
All checks were successful
CD Pipeline / deploy (push) Successful in 1m2s

This commit is contained in:
ogt
2026-06-25 15:26:12 +08:00
parent 17ddb49e0d
commit feabc70b99
3 changed files with 6 additions and 5 deletions

View File

@@ -93,7 +93,7 @@
.badge-type { display: inline-block; padding: 1px 6px; border-radius: var(--momo-radius-sm); font-size: 10px; background: var(--momo-bg-paper); color: var(--muted); }
code { background: var(--momo-bg-paper); padding: 1px 5px; border-radius: var(--momo-radius-xs); font-size: 12px; color: var(--momo-info-text); }
/* ── OpenClaw Report ─────────────────────────────────── */
/* ── Architecture Report ─────────────────────────────── */
.report-box { background: var(--momo-bg-paper); border: 1px solid var(--border); border-radius: var(--momo-radius-sm); padding: 12px; font-size: 13px; line-height: 1.6; }
.report-box b { color: var(--text); }
@@ -465,7 +465,7 @@ function renderFindings(findings) {
}
// ── Architecture report ───────────────────────────────────────────
function renderOpenClaw(html) {
function renderArchitectureReport(html) {
document.getElementById('openclawReport').innerHTML = html || '<span style="color:var(--muted)">(未取得)</span>';
}
@@ -568,7 +568,7 @@ function loadHistoryItem(idx) {
sBar.className = 'completed';
sBar.innerHTML = `✅ <b>歷史記錄</b> — 提交 ${h.commit_sha}${h.auto_fix ? ' 🔧 已自動修復' : ''}`;
renderFindings(h.findings || []);
renderOpenClaw(h.openclaw_report || '');
renderArchitectureReport(h.openclaw_report || '');
renderEA(h.ea_decision || {}, h.auto_fix || false);
for (let i = 1; i <= 5; i++) {
const el = document.getElementById('step-' + i);
@@ -590,7 +590,7 @@ async function poll() {
renderSteps(state.steps||[], state.current_step||0);
renderSeverity(state.severity_summary);
renderFindings(state.findings||[]);
renderOpenClaw(state.openclaw_report);
renderArchitectureReport(state.openclaw_report);
renderEA(state.ea_decision, state.auto_fix_triggered);
renderCommitInfo(state);
document.getElementById('pipelineId').textContent = (state.pipeline_id||'').slice(-14);