Repository navigation
Add workflow evaluation apparatus and initial CLI repairs - #325
Draft
KyleAMathews wants to merge 8 commits into
Draft
KyleAMathews wants to merge 8 commits into
KyleAMathews wants to merge 8 commits into
Conversation
🦋 Changeset detectedLatest commit: ce50102 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This initial PR adds a reusable workflow for agent-session evaluations and repairs the first CLI problems those sessions exposed. The workflow records the task, agent settings, protected inputs, attempts, interventions, outcomes, and limits. Existing agent tools run the sessions.
CLI behavior
Repeated source options now select every named file:
Previously, the parser silently retained only the final occurrence. Repeated flags and comma lists now accumulate. Every path undergoes validation, and aliases select each canonical file once.
Node's built-in parser handles option syntax. Malformed commands print a clear cause and recovery instruction, exit 2, and leave existing reports untouched. Empty source values appear explicitly as
"". The resolved report directory survives supervisor and daemon reparsing, including a trailing--.--onlyrefuses unknown selectors, mixed known/unknown selections, and empty selector values before baseline tests. Known targets retain their existing outcomes. Generated IDs remain positional, so the README directs callers to obtain IDs from a current report.What extra work means
An
extra-workdiagnostic reports unchanged observations with a higher count of instrumented site evaluations. That count does not establish a slowdown or its cause. A later public observation can expose a behavior difference that the current histories miss.The message retains the affected test and measured counts. It directs that later observation first, then an adopted cost law when applicable. It no longer derives a proposed performance threshold from the observed ratio. Manuel's registration example in #214 motivated this distinction.
Evaluation apparatus and regression coverage
The evaluation directory contains brief, round, findings, and review templates, scenario recipes, a pinned source-selection fixture, and completed experiment reports. The reports distinguish task completion from evidence that an instruction change improves agent outcomes. The experiments do not establish a general instruction advantage.
The accompanying oracles cover source selection, effective options, native-pool selection and cache reuse, selectors and keys, report evidence, and error endings. Review repairs also preserve unexpected parser failures and reject malformed authored entries.
The return-validity repair withholds private falsy-return mutations only within its Boolean-consumer proof. Shorthand escapes, runtime class heritage, mixed value consumers, and selected later returns prevent that proof when callers can observe the changed value. This follows the existing validity guarantee without adding an application-oracle exception.
Verification
The pre-integration Arca run passed 785 baseline tests and killed all 24 selected authored regressions. Both diagnostic repairs first failed their strengthened oracles on unchanged production. Five real CLI controls exited 2 and created no report directory. Lint and formatting passed.
The integrated branch preserves main's merged runtime, evidence-store, and diff-base changes. On code commit
e7fa78d0, all 1,298 baseline tests across 12 selected oracle files pass. All 26 selected authored regressions are killed, with zero nondeterministic tests. The real-Git receiving check also passes. The integration record retains source hashes, controls, outcomes, and failed integration attempts.Full CI exposed compatibility failures beyond that targeted run. Commit
1bcc35c3builds the package before Linux wiring tests and preserves literal invalid revisions with inline option syntax. Arca then passed 25 wiring tests and killed the selected wiring regression. Six invalid-revision controls each exited 2 and named the intended cause. These results do not establish a passing static suite.Commit
0e77bbc5also repairs a Windows driver comparison by resolving the returned package path before checking identity. Arca passed all 170 option tests and killed a wrong-package mutation. The Windows options oracle now passes.Commit
74a1eacfexports the generateddevBuildfixture helper so callers can observe its exact return. It also aligns argument-refusal checks with the approved rule that malformed commands need a clear error without report recovery. The static oracle now declares ownership of the functions its laws describe. Four saved CI counterexamples pass through the gap checker on Arca.The full static attempt stopped at its unchanged 590-second bound before a complete report. It supplies no passing full-suite or mutation-closure claim. The fixture verification record preserves hashes and replay outcomes. CI at
74a1eacfcompleted with 70 passing checks and two failures. Both failures are the 12-second daemon argument determinism timeout, on Linux and Windows. All 38 end-to-end shards passed. The original targeted verification remains tied toe7fa78d0.The four command shapes now register separately, with two determinism runs per shape and the same 12-second limit. Each shape also retains a refusal calibration. The driver records absent report options after a refusal, so the argument-meaning law reports the failure.
Arca passed all 34 tests and killed the existing argument-composition regression. Two physical forwarding controls also fail under the intended law. These controls do not establish subprocess mutation coverage. The budget verification record preserves the command mapping, source hash and results. Linux and Windows verification remains pending on the new head.
The branch also incorporates main at
7ad4013e. The law metadata retains both approved changes. Both saved refusal replays pass on the merged oracle pair. Their sampled formatter mutation is unowned, so these replays establish baseline compatibility only.Review status and follow-ups
This is an initial draft for review. It makes no global zero-gap or merge-readiness claim.
Start with the initial scope, the experiment explanations, and the verification record.