userName20260323 06c955d09b chore: uniform pbench prompts and longrun matched-model rerun (#207)
## Summary

Two-part refresh of the proactivity eval, plus a small product fix.

**1. pbench: uniform prompt re-test.** All three agents re-tested with
the
same minimal task prompt (no persona, no decision principles -
`runners/prompts/uniform/`), each driven black-box through its own CLI
on
the same backend (OpenRouter `qwen/qwen3.5-27b`). The README main table
is
now the 3-run mean under this protocol. New `hermes_cli_pbench.py`
drives
pbench through the installed hermes CLI; legacy per-agent persona
templates
are kept only to reproduce the ablation appendix.

**2. longrun: matched-model rerun.** Full rerun of the 6-persona x
30-day x 3-agent benchmark as a single batch: raven, hermes, and
openclaw
all on OpenRouter `qwen/qwen3.5-27b`, with `claude-sonnet-4.5` as user
simulator and judge, so the comparison isolates framework architecture
rather than model quality. Supporting harness changes:

- `run_meta` trajectory stamp + scorecard `soft_dnd` field so every
artifact
  self-identifies its run mode.
- MCP cron bridge gains `repeat` (daily/weekdays/weekly) for openclaw.
- Scorer: decision-attribution for Type A (cron provenance + novelty
window),
  sonnet judge for Type B, weekend quota aligned to factory default.
- All three READMEs (main + data/longrun en/zh) refreshed to the new
results
  with per-dimension caveats disclosed.

**3. Product fix.** Adds `tools.exec.extra_deny_patterns`: operators or
eval
harnesses running the agent un-sandboxed can append host-specific deny
regexes. The shipped default deny list is unchanged; the eval injects
osascript / `open -a` blocks via config only.

## Type

- [x] Fix
- [x] Docs
- [x] Other

## Verification

- `uv run pytest tests/test_sandbox_unit.py -q` - 68 passed (also re-run
  after rebasing onto latest `main`).
- `uv run ruff check` / `uv run ruff format --check` on all changed
Python
  files - clean.
- pbench: 3 independent n=120 runs per agent under the uniform prompt
  (2026-07-22); README table reports the mean with per-run F1 range.
- longrun: 18 legs completed with zero LLM/API errors; scored via
  `longrun_scorecard.py --all --compare --aggregate` (18/18 scorecards,
  single judge pass).

- [x] Relevant tests pass locally
- [x] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed

## Risk

- [x] Security impact considered
- [x] Backward compatibility considered
- [x] Rollback path is clear for risky changes

`extra_deny_patterns` is append-only on top of the built-in deny list
and
defaults to empty, so shipped behavior is unchanged; both commits revert
cleanly and independently.

## Related Issues

N/A

---------

Co-authored-by: Claude (claude-opus-4-8) <noreply@anthropic.com>
Co-authored-by: Elliot Chen <2340896+cyfyifanchen@users.noreply.github.com>
2026-07-24 10:36:36 +08:00
..
2026-06-29 00:23:07 +08:00