Skip to content

feat: deterministic eval verdicts + charly-native batch (--prs) - #4

Merged
atrawog merged 7 commits into
mainfrom
feat/deterministic-eval
Sep 9, 2026
Merged

atrawog merged 7 commits into
mainfrom
feat/deterministic-eval

Conversation

@atrawog

@atrawog atrawog commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Makes the lane's verdict DETERMINISTIC and the batch charly-native (replacing the ad-hoc shell orchestration of the pilot):

  • executor.go — the check stage now outputs exit + verdict (0→PASS, 2→FAIL, else NO_VALIDATION) so the report's verdict is the check-run outcome, never LLM chatter.
  • cli.go — pipeline run <entity> --prs a b c: the charly-native batch (per-lane env, charly check stop venue teardown between lanes, sequencing-gated). No external loop scripts, no virsh/ps hygiene.
  • Plus the working-tree hardening from the 11-PR live batch: workdir-rooted paths, CHARLY_BIN, per-verb probe inputs, calver stamping, the @github-ref guard, the oracle-checks block renderer (per-line indent, nil→empty, block scalars), agent forced termination at the turn cap, max_turns added to #AgentStage.

How tested

  • go build/go vet/go test ok.
  • Live: charly pipeline run eval-lane-plan --prs 9639 10248 from the eval-omarchy checkout — PR 9639 rendered verdict: FAIL (its OWN background-intro-test.sh ran on the golden VM and failed: base-test.sh absent at the applied path); 15 PASS / 3 FAIL checks; media + report produced.

Rulebook compliance

  • R1: the LLM-noise verdicts were RCA'd (expect-exit-any swallowed outcomes; verdicts from the cold-read) and the verdict is now the deterministic check-run exit.
  • R2: verdicts are now evidence-derived.
  • R3: one batch mechanism (--prs) — the ad-hoc shell loop deleted.
  • R4: no sleeps/retries; venue teardown via the charly check stop machinery.
  • R5: the external batch scripts were never committed; no stale path.
  • R6: PR-only landing.
  • R8/R9: n/a / constants in the entity.
  • R0: omarchy-eval + pipeline skills informed the contract.
  • R10: the live FAIL verdict above.

Change classification

Enhancement/fix — engine; verification gate: live runs + tests; attribution tier: fully tested and validated (live FAIL verdict + green tests above).

Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (fully tested and validated)

… (check-run cancer removed)

- check stage REMOVED (the exec'd charly + the twin/known-red bed contracts: the
  legacy eval-pr.py model, not the org approach).
- ade stage (ade.go): the rendered bed's plan runs via the SDK over the single
  dial (ExecutorForInvoke -> InvokeProvider), the agent-check steps graded by the
  agent runtime; the deterministic verdict feeds the report.
- render: the oracle checks render as agent-check: prose steps (the ADE contract).
- batch.go: the --prs worker pool (the entity's concurrency.lanes; the org's
  parallel-lane model - per-PR beds are disjoint).
- sequencing: scoped to the golden's exclusive WRITER (no false serialization on
  the per-PR VMs).
- probes: the golden provenance cache (iso-sha marker; rebuild only when changed).
- cue:gen regenerated (the new #AdeStage schema).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant