Skip to content

Commit 86bd420

Browse files
authored
Remove fake auto-research demo metrics (#1448)
1 parent 532b008 commit 86bd420

23 files changed

Lines changed: 499 additions & 2528 deletions

‎docs/guides/auto-research-command-path.md‎

Lines changed: 40 additions & 104 deletions
Original file line numberDiff line numberDiff line change
@@ -75,17 +75,17 @@ Without `--execute`, `start` returns the same contract-anchored runner packet as
7575
a dry-run preview. With `--execute`, it creates an isolated research frontier
7676
and starts the visible Codex TUI lanes through the generic multi-agent kernel.
7777
The launcher then broadcasts the fixed pane-local A2A wake prompt so each pane
78-
runs its own `$LOOPX_PANE_A2A_TICK` against LoopX quota/frontier state and writes
79-
compact public evidence before the operator takes over. This is still
78+
runs its own `$LOOPX_PANE_A2A_TICK` against LoopX quota/frontier state. Research
79+
evidence must be authored by the visible role after it does real work. This is still
8080
decentralized A2A, not a workflow driver: the broadcaster does not select todos,
8181
run worker turns, or write LoopX state.
82-
The launcher pre-tick summary is prior evidence for the pane to read, not a
83-
skip gate for the fixed wake. Later wake rounds still ask each role to check its
84-
own LoopX state and tick when runnable work remains.
82+
The wake summary is state context for the pane to read, not a research result or
83+
skip gate. Later wake rounds still ask each role to check its own LoopX state and
84+
tick when runnable work remains.
8585

8686
The user still only supplies one open question; agent ids, pane-local tick
8787
commands, evidence schemas, and runner wiring stay inside the kernel. Pass
88-
`--attach` when you want to skip the default evidence-first wake and immediately
88+
`--attach` when you want to skip the default visible role wake and immediately
8989
enter the tmux session.
9090
By default, visible panes open in a stable user-owned workspace under
9191
`~/loopx-auto-research/<run>/visible-workspace` so the first screen does not
@@ -180,7 +180,7 @@ loopx --registry "$LOOPX_REGISTRY" \
180180
That command starts visible panes, wakes each pane with the fixed
181181
decentralized A2A prompt, and keeps the current shell available for the compact
182182
JSON result. To attach immediately instead, pass `--attach`; that means
183-
operator takeover first and skips the default evidence-first wake:
183+
operator takeover first and skips the default visible role wake:
184184

185185
```bash
186186
loopx --registry "$LOOPX_REGISTRY" \
@@ -209,19 +209,13 @@ render those artifacts separately.
209209

210210
Expected minimal E2E result:
211211

212-
- `execution_kind` is `loopx_worker_loop`;
213-
- `result_source` is `loopx_worker_loop_public_evidence`;
214-
- `worker_loop.executed_turn_count` is at least `6`;
215-
- `worker_loop.selected_actions` is
216-
`write_research_contract`, `propose_hypothesis`, `run_dev_eval`,
217-
`summarize_evidence`,
218-
`run_holdout_eval`, and `write_evaluation_summary`;
219-
- `tonight_experience.coordination_pattern` is `decentralized_state_a2a`;
220-
- `tonight_experience.dev_metric` is `4.0`;
221-
- `tonight_experience.holdout_metric` is `4.5`;
222-
- `tonight_experience.positive_result` is `true`;
223-
- `visible_worker_proof.lane_authored_evidence_loaded` is `false` unless a
224-
compact lane evidence file is passed;
212+
- visible launch controls create real Codex TUI panes with role-local
213+
bootstrap prompts;
214+
- each pane can run `$LOOPX_PANE_A2A_TICK` to read its own quota/frontier;
215+
- `pane_local_a2a.worker_turn_configured` is `false` for the default
216+
auto-research preset;
217+
- no dev or holdout metric is claimed unless a lane-authored public-safe
218+
evidence packet is explicitly supplied;
225219
- visible launch controls stay separate from the research result and only prove
226220
that panes can be inspected, stopped, or retried.
227221

@@ -232,28 +226,16 @@ python3 examples/auto-research-layered-e2e-acceptance-smoke.py
232226
```
233227

234228
That smoke checks the shortest layered contract, the visible Codex TUI runner
235-
contract, todo handoff, public evidence writes, and two metric-improving rounds
236-
without making the auto-research preset own generic runner machinery.
229+
contract, todo/frontier routing, and the no-fake-metric boundary without making
230+
the auto-research preset own generic runner machinery.
237231

238-
Concrete KNN proof command:
232+
Concrete KNN visible command:
239233

240234
```bash
241235
loopx --format json auto-research start \
242236
"How can the KNN baseline improve holdout metric?" \
243237
--preset knn-demo \
244-
--execute \
245-
--headless \
246-
--worker-loop-rounds 4 \
247-
--demo-run-id knn-multiround-proof
248-
```
249-
250-
This is the maintainer proof for state-mediated continuation, not the visible
251-
operator experience. The matching visible path is still the one-command start:
252-
253-
```bash
254-
loopx auto-research start \
255-
"How can the KNN baseline improve holdout metric?" \
256-
--preset knn-demo \
238+
--language zh \
257239
--execute
258240
```
259241

@@ -262,79 +244,32 @@ split, and protected metric scope come from the built-in KNN demo fixture. The
262244
open question names the research topic; it does not smuggle the baseline into
263245
the system through natural-language inference.
264246

265-
The validated KNN run demonstrates that the second round is carried by LoopX
266-
state and role-declared successor todos: the evidence runner owns
267-
`run_holdout_eval` after dev evidence is summarized, and the verifier owns
268-
`write_evaluation_summary` after holdout evidence exists. A generic continuation
269-
projector is not required for this preset; the role skill declares the next todo
270-
target and the kernel validates the target agent before writing state.
271-
272-
KNN proof acceptance:
273-
274-
- baseline metric is `1.0`;
275-
- dev metric is `4.0`;
276-
- holdout metric is `4.5`;
277-
- selected actions include `run_dev_eval`, `run_holdout_eval`, and
278-
`write_evaluation_summary`;
279-
- the coordination pattern remains `decentralized_state_a2a`;
280-
- the public boundary records no raw logs, private artifacts, credentials, or
281-
local absolute paths.
282-
283-
Remaining boundary: the headless KNN proof validates the LoopX todo/state
284-
multi-round path. It is not, by itself, a claim that visible Codex panes authored
285-
the research result. That higher claim still needs compact lane-authored evidence
286-
or a visible readiness packet loaded through the public evidence path below.
287-
288-
Evidence boundary:
289-
290-
- `visible_worker_proof.visible_lanes_launched` reports whether panes were
291-
started;
292-
- `visible_worker_proof.visible_lanes_accepted` reports whether the launcher
293-
observed healthy panes;
294-
- `visible_worker_proof.lane_authored_evidence_loaded` reports whether compact
295-
lane evidence was provided;
296-
- the default visible launch proves panes can start, but pane startup alone is
297-
not a live Codex research result.
298-
299-
To attach compact lane-authored evidence to the E2E result, first let the
300-
visible lane that appended evidence capture the public-safe evidence summary:
247+
The generic path without a preset also works:
301248

302249
```bash
303-
loopx --registry "$LOOPX_REGISTRY" \
304-
--runtime-root "$LOOPX_RUNTIME_ROOT" \
305-
--format json auto-research capture-live-evidence \
306-
--packet ./evidence.public.json \
307-
--append-result ./append-result.public.json \
308-
--agent-id research-executor \
309-
--lane-count 4 \
310-
--visible-lanes-accepted \
311-
--output ./live-codex-e2e-evidence.public.json \
250+
loopx auto-research start \
251+
"How should we evaluate whether multi-agent auto research creates value?" \
312252
--execute
313253
```
314254

315-
Then pass that compact evidence packet back to the E2E readback command:
255+
KNN acceptance:
316256

317-
```bash
318-
loopx --registry "$LOOPX_REGISTRY" \
319-
--runtime-root "$LOOPX_RUNTIME_ROOT" \
320-
--format json auto-research demo-e2e \
321-
--agent-id auto-research-operator \
322-
--reasoning-effort high \
323-
--execute \
324-
--headless \
325-
--live-evidence ./live-codex-e2e-evidence.public.json
326-
```
257+
- baseline metadata is loaded from the preset, not inferred from the question;
258+
- panes are named by research role, not backend agent implementation names;
259+
- the first tick is quota/frontier/status, not research completion;
260+
- dev/holdout uplift is absent until visible roles write real public-safe
261+
evidence;
262+
- the public boundary records no raw logs, private artifacts, credentials, or
263+
local absolute paths.
327264

328-
The capture helper requires `source: live_codex_lane_output`, matching goal and
329-
agent, accepted visible lanes, lane-authored evidence appended to LoopX state,
330-
and zero raw logs, private artifacts, credentials, or local absolute paths in
331-
the payload. With this packet, the E2E result includes `live_worker_evidence`
332-
and flips `visible_worker_proof.lane_authored_evidence_loaded=true`.
265+
Remaining boundary: video/showcase evidence should come from visible Codex panes
266+
performing the research work. A headless smoke can validate state plumbing, but
267+
it is not a claim that visible Codex panes authored the research result.
333268

334269
For maintainer-level rehearsal, `demo-e2e --launch-visible --attach` is still
335270
accepted as a lower-level command. It is not the user-facing product path; the
336271
short `auto-research start "<open question>" --execute` command owns the
337-
default evidence-first wake behavior.
272+
default visible role wake behavior.
338273

339274
```bash
340275
loopx --registry "$LOOPX_REGISTRY" \
@@ -355,9 +290,9 @@ If a previous visible rehearsal is still alive, retry with
355290
tmux kill-session -t loopx-auto-research
356291
```
357292

358-
The one-command E2E path must not record raw logs, private artifacts,
359-
credentials, or local absolute workspace paths. It writes only public rollout
360-
evidence through the normal LoopX runtime root when `--execute` is present.
293+
The one-command path must not record raw logs, private artifacts, credentials,
294+
or local absolute workspace paths. It may write only public-safe LoopX state
295+
that the visible roles authored.
361296

362297
## 1. Preview The One-Command Start
363298

@@ -377,9 +312,10 @@ loopx --format json auto-research start \
377312
--execute
378313
```
379314

380-
The visible lanes use the same tiny kernel path as the maintainer E2E proof:
381-
frontier/todo selection, role-local worker-turn, rollout append, and compact
382-
live evidence. Raw JSON is written only to local artifacts. Lower-level
315+
The visible lanes use LoopX state for quota, frontier, todo projection, and
316+
public-safe evidence. The first pane tick is only a guard/frontier read; the
317+
research result must be authored by the visible roles, not by a hidden demo
318+
metric loop. Raw JSON is written only to local artifacts. Lower-level
383319
`demo-e2e` commands remain available for maintainers, but they are not the
384320
user-facing entrypoint.
385321

‎docs/product/decentralized-auto-research-showcase.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,11 @@ loopx --format json auto-research demo-e2e \
145145
--execute
146146
```
147147

148-
This does not create a starter pack. The worker path now uses the built-in
149-
lightweight metric kernel so the demo can prove the state loop without shipping
150-
domain-specific problem code. The stable smoke metric still shows the product
151-
shape: baseline `1.0`, dev evidence `[4.0, 4.8]`, holdout evidence
152-
`[4.5, 5.2]`, two holdout improvements, and a clean public boundary.
148+
This starts the product path: visible Codex TUI roles read their own
149+
quota/frontier through LoopX state, then author public-safe research evidence or
150+
successor todos from inside the pane. The pane-local tick is a guard/frontier
151+
read; it does not manufacture research contracts, hypotheses, dev scores, or
152+
holdout scores.
153153

154154
The public line-count claim is intentionally narrower than the kernel. The
155155
copyable recipe is one user command plus the four default auto-research role
@@ -179,8 +179,8 @@ loopx --format json auto-research frontier \
179179

180180
This renders `decentralized_research_frontier_v0`,
181181
`research_evidence_graph_v0`, and compact decision candidates from a public
182-
fixture. It does not launch experiments; it proves that the state shape can
183-
present a per-agent frontier without one leader agent.
182+
fixture. It does not launch experiments or claim uplift; it proves that the
183+
state shape can present a per-agent frontier without one leader agent.
184184

185185
Public-safe evaluator outputs can also be converted into evidence records. A
186186
minimal contract/eval pair is enough; the kernel does not require a shipped

0 commit comments

Comments
 (0)