Repository navigation
docs: encode agent-efficiency study learnings (needed subset is 26% of delivered context; uplift needs harder scenarios) - #13162
Conversation
…f delivered context; uplift needs harder scenarios)
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Review limit reachedEnable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Next included review available in 48 minutes. View limit details
|
|
REVIEW_READY Surfaces reviewed: single additive block appended at the end of Risks checked: (1) no markdown links — the Validation on this exact head: Residuals (non-blocking, recorded in the PR body claim boundary): sibling benchmark-corpus entry lands separately; harness-validity fixes tracked on #13113; the 26.1% needed-subset figure is the study's mechanical extraction (no retained extraction artifact in F:/Temp/agent-bench — noted for future re-measurement after #13113). |
ripr static exposure checkCommit Took 1s. |
EffortlessSteven
left a comment
There was a problem hiding this comment.
REVIEW_READY
Self-review of the author's docs-only PR on head 206b7be (same-account COMMENT is allowed; trust comes from the MEMBER author association). One additive block appended at the end of docs/LEARNINGS.md (40 insertions, one file), dated heading plus Durable-rules section matching the landed #12780/#12752 entry format.
Angles checked: scope is one Markdown file; no markdown links, so the sibling benchmark-corpus path cannot rot before its lane lands (the entry names it as inline code); entry numbers cross-checked against retained F:/Temp/agent-bench artifacts where measurable (context bytes 14,897 vs 4,039 = 3.687x by wc -c; check-line records 101-153 bytes; Wilson 3/3 floor recomputed 0.4385; evaluator negative control re-run this session: DISCRIMINATES no, exit 1, crate restored to HEAD); no banned static-verdict vocabulary in any static output; PR body template lines validated offline via check-pr-shape (exit 0).
Validation on this exact head: cargo xtask markdown-links pass, cargo xtask check-doc-index pass, cargo xtask check-doc-artifacts pass (exit 0 each).
Residuals: the sibling benchmark-corpus entry lands in a separate PR; harness-validity repairs are tracked on #13113; the 26.1% needed-subset figure is the study's mechanical extraction with no retained extraction artifact, so re-measure it after #13113 lands. None of these block this docs recording.
There was a problem hiding this comment.
Reporter summary
The docs-only change is internally consistent: the 14,897/4,039-byte ratio correctly rounds to 3.69×, and the wording appropriately limits the result to ripr's agent value being unproven rather than disproven. The main residual trust risk is that the decisive claims—the 26.1% needed subset, zero loss of named facts, and other study counts—depend on local artifacts not included in the diff or receipts; cargo-test also timed out, although that is not materially relevant to this Markdown-only edit. No specialist identified a guarded documentation defect, so the appropriate direction is clear with the artifact-verification caveat treated as residual risk rather than a blocking finding.
…path (check-local-context)
EffortlessSteven
left a comment
There was a problem hiding this comment.
REVIEW_READY
Self-review of the author's docs-only PR, refreshed on the new head b410b4f (one rewording commit over 206b7be: the entry now names the harness generically instead of a machine-local absolute path, after hosted check-local-context refused the literal path). One additive dated block at the end of docs/LEARNINGS.md matching the landed #12780/#12752 entry format.
Angles checked: scope is one Markdown file; no markdown links, so the sibling benchmark-corpus path cannot rot before its lane lands (the entry names it as inline code); entry numbers cross-checked against retained study artifacts where measurable (context bytes 14,897 vs 4,039 = 3.687x by wc -c; check-line records 101-153 bytes; Wilson 3/3 floor recomputed 0.4385; evaluator negative control re-run this session: DISCRIMINATES no, exit 1, crate restored to HEAD); no banned static-verdict vocabulary in any static output; PR body template lines validated offline via check-pr-shape (exit 0).
Validation on this exact head: cargo xtask markdown-links pass, cargo xtask check-doc-index pass, cargo xtask check-doc-artifacts pass, cargo xtask check-local-context pass (exit 0 each).
Residuals: the sibling benchmark-corpus entry lands in a separate PR; harness-validity repairs are tracked on #13113; the 26.1% needed-subset figure is the study's mechanical extraction with no retained extraction artifact, so re-measure it after #13113 lands. None of these block this docs recording.
There was a problem hiding this comment.
Reporter summary
The documentation-only diff is internally consistent with the seeded self-review: it records the measured 3.69× context ratio, the 26.1% needed subset, and explicitly limits the result to ripr's agent value being unproven rather than disproven. The strongest residual documentation risk is that decisive study details remain dependent on local artifacts outside the repository; the later cargo-test timeout does not add materially relevant evidence for this Markdown-only change. No specialist surfaced a blocking documentation defect, so the direction is clear, subject to the existing artifact-verification caveat and the separate sibling corpus lane.
Summary
docs/LEARNINGS.md: the agent-efficiency study (Nov 2-4, 3-scenario × 3-variant A/B overF:/Temp/agent-bench/) — all nine solvers wrote discriminating tests in one round, so uplift was unmeasurable at that difficulty (Wilson 95% floor 43.8% at 3/3); ripr-context cost 3.69× vanilla context bytes and a mechanically-extracted needed subset was 26.1% of it; durable rules on scenario hardness (N ≥ 12, Wilson intervals), render-once surfaces, and harness validity (fixes tracked on bench: A/B harness validity fixes — serialize/clone writers, PATH normalize, true cargo exit codes, populated record fields (prerequisite for all agent-efficiency measurements) #13113).Swarm / Source Boundary
This PR targets
EffortlessMetrics/ripr-swarm, the normal development trunk fortrusted same-repo
riprwork. Confirm the change belongs here:dependency, or repo-ops development for
ripr-swarmSource-of-truth Links
Proposal: agent-efficiency study (Nov 2-4), raw artifacts at
F:/Temp/agent-bench/(RUNBOOK.md, contexts/, results/, logs/, eval.sh)Spec: n/a (durable failure knowledge, no behavior change)
ADR: n/a
Plan item: agent-efficiency measurement lane, Nov 2026; harness-validity prerequisites on #13113
Governing issue or accepted claim: agent-efficiency study (Nov 2-4)
Acceptance delta (one sentence):
docs/LEARNINGS.mdrecords the study's measured cost deltas (3.69× delivered context, 26.1% needed subset) and its three durable rules (baseline must sometimes fail at N ≥ 12 with Wilson intervals; render each fact once; the harness is part of the measurement), with harness fixes tracked on #13113.Candidate Relationships
Candidate branch (GitHub PR head is authoritative after publication): docs-learnings-encode
Stack parent or prerequisite PR (if any): none
Proposed replacement of PR (if any; not yet accepted): none
Acceptance retained from a replaced candidate (if any): n/a
Accepted winner and losing candidate disposition (when decided): n/a
Sibling lane note: the benchmark corpus encoding referenced by the entry's last line lands at
benchmarks/agent-discrimination/in a separate PR; this entry is additive-only (40 insertions todocs/LEARNINGS.md) and does not depend on it.Scope
## 2026-11-04LEARNINGS.md entry, evidence-backed: study artifacts atF:/Temp/agent-bench/(5 retained run reports + summary.csv with 5 of 9 rows, matching the "unrecorded more than measured" finding), evaluator negative control re-run this session (DISCRIMINATES: no, exit 1), context-byte ratios re-measured (14,897 vs 4,039 bytes = 3.687×).Scope Classification
This PR is scoped by:
Production delta:
Evidence/support delta:
Single acceptance criterion:
docs/LEARNINGS.md, style-consistent with the landed docs: encode campaign learnings (premise rot, runtime tests, plan hypotheses, decision briefs) #12780/docs: encode feel-check oracle, API-hygiene traps, and verification pass practice #12752 dated entries, andmarkdown-links/check-doc-index/check-doc-artifactspass.Non-goals:
Support-tier Impact
Claim/proof notes:
Policy Impact
Ledger or exception notes:
Proof
cargo xtask markdown-links cargo xtask check-doc-index cargo xtask check-doc-artifacts cargo xtask check-local-context bash F:/Temp/agent-bench/eval.sh F:/Temp/agent-bench/inserted-guard invoice_line_matches_quote # negative controlResult, failures, or skipped proof:
check-local-contextrefused the first draft's literalF:/Temp/agent-bench/mention (real machine paths are removed from docs per the allowlist header, not allowlisted), so the entry now references the harness generically and the exact path lives here and on bench: A/B harness validity fixes — serialize/clone writers, PATH normalize, true cargo exit codes, populated record fields (prerequisite for all agent-efficiency measurements) #13113. Negative control:DISCRIMINATES: no, exit 1, crate restored. No Rust changed, so fmt/check/test/clippy/doc are unaffected (hosted docs-gate owns the required matrix).Claim Boundary
What may be claimed after this PR? What must not be claimed yet?
benchmarks/agent-discrimination/corpus landed (sibling lane).Rollback
How can this PR be reverted safely?
git revertof one docs commit; no code, CI, or policy coupling.Spec-Test-Code Traceability
Static Language Check
killed,survived,untested,proven, andadequate.CI Economics
n/a — ordinary docs PR; no workflow, policy, protection, artifact, or cost change.
Engineering Check
panic,unwrap,expect,todo, orunimplementedin production code.panic,unwrap,expect,todo, orunimplementedin tests.Gates
cargo fmt --checkcargo check --workspace --all-targetscargo test --workspacecargo clippy --workspace --all-targets -- -D warningscargo doc --workspace --no-depscargo package -p ripr --listcargo publish -p ripr --dry-runcargo xtask check-static-languagecargo xtask check-doc-artifactscargo xtask check-support-tierscargo xtask check-no-panic-familycargo xtask check-allow-attributescargo xtask check-local-contextcargo xtask check-file-policycargo xtask check-covered-bycargo xtask check-executable-filescargo xtask check-workflowscargo xtask check-spec-formatcargo xtask check-spec-numberingcargo xtask check-fixture-contractscargo xtask check-generatedcargo xtask check-badge-diff-policycargo xtask check-generated-cleancargo xtask check-dependenciescargo xtask check-process-policycargo xtask check-network-policy