Repository navigation
Description
RSI R2 first accepted pilot evidence
Current focus
This issue tracks the first accepted real Harbor pilot evidence for the RSI R2 prompt-optimization loop.
The closure target is no longer a full 10-round Harbor run. The target is a smaller but stronger validation point: the real loop must complete a bounded pilot, produce durable structural evidence, discard a non-improving candidate, keep an improving candidate, and preserve the R2 safety boundary.
Why this scope
The original full-run lane was too heavy for the first validation step and made it easy to spend run cost before proving the core learning loop. A first accepted pilot is the right closing evidence for R2 because it proves the loop can:
- generate a prompt candidate from held-in evidence;
- evaluate that candidate through real Harbor tasks;
- discard a flat or regressing candidate;
- keep a candidate that improves held-in performance;
- verify held-out behavior before keeping;
- write complete structural smoke, decision, attribution, reward-hack, cost, and task evidence.
A larger full run can still be useful later, but it is not required to close this R2 observability issue. Broader Maka-native AHE-style harness work remains tracked separately in #345.
Completion evidence
PR #382 (fix(headless): retry malformed meta-agent candidates) provides the closing pilot evidence:
- run id:
rsi-meta-retry-pilot-light-20260701-011258; - profile:
pilot-light; - stopReason:
rounds_complete; - structural smoke: pass;
- decisions: keep=1, discard=1;
- task events: completed=30, infra_failed=0, plumbing_failed=0;
- cost:
0.119795 / 1.25; - round-0:
discard/held_in_within_noise; - round-1:
keep/held_in_improved; - held-in improved from
6/8to7/8; - held-out passed
3/3for the kept candidate; - reward-hack scan stayed clean;
- local artifacts:
/Users/yuhan/workspace/oss/maka-agent/maka-eval/rsi-runs/rsi-meta-retry-pilot-light-20260701-011258.
The same PR also fixes a real recoverable failure found during the pilot lane: malformed meta-agent candidateRationale JSON no longer crashes the entire run, and invalid JSON parse errors no longer echo raw model output into the retry prompt.
Acceptance criteria
This issue can close when:
- a real Harbor pilot completes with an explicit controller stop reason;
structural-smoke.mdpasses;- at least one candidate is kept because held-in performance improves;
- the kept candidate does not regress held-out behavior;
- every decided round has complete R2 evidence required by the structural smoke contract;
- reward-hack evidence is present and clean or fail-closed;
- cost and infra/plumbing results are reported;
- no held-out or verifier-only material is projected into the meta-agent learning path;
- recoverable malformed meta-agent candidate JSON does not abort the run.
PR #382 satisfies these criteria.
Non-goals
- Do not require a full 10-round Harbor run to close this issue.
- Do not broaden the mutation surface beyond
system_prompt.md. - Do not change keep/discard semantics as part of closing this issue.
- Do not close the broader Maka-native AHE-style harness issue (feat(harness): add Maka-native AHE-style self-iteration loop #345).
- Do not expose secret contents in issue comments, logs, PR bodies, or committed artifacts.
Activity
feat(headless): add RSI R2 safety primitives
feat(headless): add RSI round analysis model
[-]RFC: RSI R2 — AHE-style observability for prompt-only optimization[/-][+]feat(headless): add RSI R2 observability for prompt optimization[/+]fix(headless): harden RSI full-run preflight and resume safety
Astro-Han commentedon Jun 29, 2026
Status update after PR #356 (
fix(headless): harden RSI full-run preflight and resume safety): this issue should no longer treat the just-merged PR as the R2 full-run evidence PR.What changed:
./.local-secretsand run artifacts are under./maka-evalin this repo checkout.maka-eval/rsi-r2-smoke-explicit-20260628-181407andmaka-eval/rsi-r2-bounded-complete-20260628-212545; both haveprompt-optimization-result.jsonandstructural-smoke.mdwith smoke pass.maka-eval/rsi-r2-full-20260628-220100andmaka-eval/rsi-r2-full-20260628-225030currently have controller WAL artifacts but no finalprompt-optimization-result.json/structural-smoke.md, so they are not completion evidence for feat(headless): validate RSI R2 first accepted pilot evidence #311.Updated gap:
Proposed next split:
./maka-evalusing./.local-secrets/deepseek-key, proving resume behavior with an interrupted post-candidate run.prompt-optimization-result.json,structural-smoke.md, controller TSV/WAL summaries, cost/infra summary, reward-hack evidence, and an explicit conclusion on whether feat(headless): validate RSI R2 first accepted pilot evidence #311 can close.Acceptance criteria for closing #311 should therefore stay open until the full-run evidence lane exists. PR #356 should be viewed as prerequisite infrastructure, not the final validation report.
Astro-Han commentedon Jun 29, 2026
Follow-up after the June 29 scope alignment: I updated the issue body to make the current source of truth shorter and more operational.
Current gap:
prompt-optimization-result.json/structural-smoke.mdand should not be treated as completion evidence.Next implementation split:
Design direction for the next PR: use the WAL and prompt repo as the authoritative state sources. Checkpoint-style summaries can be added later only as derived/cache-like helpers if the WAL is missing a minimal field; they should not become a second independent source of truth.
[-]feat(headless): add RSI R2 observability for prompt optimization[/-][+]feat(headless): validate RSI R2 first accepted pilot evidence[/+]