Gregory-L's picture
autoresearch: the keep/reset search, and the UI modules that were never shipped
c27193b verified
Raw History Blame Contribute Delete
2.69 kB
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>autoresearch — verifiable attempt ledger · mindXtrain</title>
<link rel="stylesheet" href="/coach/static/style.css" />
<style>
body { max-width: 1040px; margin: 0 auto; padding: 1.5rem; }
.rs-card { border: 1px solid var(--border); border-radius: 8px; padding: 1rem;
background: var(--card); margin-bottom: 1rem; }
.rs-card > h3 { margin: 0 0 0.6rem; font-size: 1rem; }
.rs-row { display: flex; gap: 0.5rem; align-items: center; margin-bottom: 0.7rem; }
.rs-row input { background: var(--bg); color: var(--fg); border: 1px solid var(--border);
border-radius: 6px; padding: 0.4rem 0.6rem; font-family: inherit; }
.rs-run { background: var(--accent); color: #111; border: none; border-radius: 6px;
padding: 0.45rem 0.9rem; font-weight: 600; cursor: pointer; }
table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
th, td { text-align: left; padding: 0.4rem 0.5rem; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-weight: 600; text-transform: uppercase; font-size: 0.7rem; }
tr.kept td { color: var(--accent); }
.status { font-weight: 600; }
.status.completed { color: var(--accent); }
.status.failed, .status.timed_out { color: #e06c75; }
.diff { white-space: pre; overflow-x: auto; font-family: ui-monospace, monospace;
font-size: 0.78rem; max-height: 320px; background: var(--bg); padding: 0.6rem;
border: 1px solid var(--border); border-radius: 6px; }
.muted { color: var(--muted); font-size: 0.8rem; }
</style>
</head>
<body>
<h2>autoresearch — verifiable attempt ledger</h2>
<p class="muted">Every attempt is a committed diff to one editable file, kept iff the metric
strictly improves. This is the durable read-only observer over <code>out/research/attempts.jsonl</code>.</p>
<div class="rs-card">
<div class="rs-row">
<input id="researcher" type="text" value="codephreak" aria-label="researcher id" />
<button id="refresh" class="rs-run">Load attempts</button>
<span id="count" class="muted"></span>
</div>
<table>
<thead><tr><th>#</th><th>kind</th><th>commit</th><th>status</th><th>metric</th><th>value</th></tr></thead>
<tbody id="rows"></tbody>
</table>
</div>
<div class="rs-card">
<h3>Attempt diff</h3>
<p class="muted" id="diff-label">Select an attempt row to view its <code>code.diff</code>.</p>
<div class="diff" id="diff"></div>
</div>
<script src="/coach/static/research.js"></script>
</body>
</html>