Skip to content

fix: preserve review cost-evidence contract and prepare v1.8.4 - #491

Merged
Wibias merged 4 commits into
mainfrom
fix/review-cost-contract-v1.8.4
Nov 4, 2026
Merged

Wibias merged 4 commits into
mainfrom
fix/review-cost-contract-v1.8.4

Conversation

@Wibias

@Wibias Wibias commented Nov 4, 2026 •

Copy link
Copy Markdown
Owner

Summary

Restore the always-on hot-path cost evidence contract in GD-REVIEW-008 and prepare patch release v1.8.4. This directly addresses the existing failure in Wibias/agent-hub's tests/skill-catalog/upstream-guidance-adoption.test.mjs after syncing v1.8.3.

Root cause

The downstream skill catalog requires both the exact methodological comparability constraint same measurement method and explicit p50/p95 latency metrics. Upstream references/policy/reviews.md used only same method and prefer a latency distribution, so upstream tests did not detect the loss of those explicit contract elements.

Changes

  • references/policy/reviews.md: require baseline/candidate comparisons using the same measurement method and representative inputs; report p50 and p95 latency when sample size supports meaningful percentiles; retain cold-start and unproven/insufficient-evidence safeguards.
  • tests/unit/review-cost-evidence-contract.test.mjs: regression test asserting the downstream-required hot-path cost evidence in the policy's owning section.
  • package.json: patch version 1.8.3 -> 1.8.4.
  • CHANGELOG.md: dated 1.8.4 release section documenting the change.

Verification

  • RED commit 6d66c91b1c4322df8f10662e8569e0ecc5dead54: canonical Node 24 CI failed on the new focused policy-contract regression before the fix was applied.
  • Candidate head b7f7a4af15718dc4760e2e29ba3300b3273b8830: complete canonical CI passed (Node 22, Node 24, Node 26 compatibility, Windows Authority), including the new focused regression. Dependency Review, Windows trace bins, and CodeQL JavaScript/TypeScript passed. CodeQL C# is still running at the time of this update.

Scope and publication

The source policy and its upstream regression are fixed here. Wibias/agent-hub must sync this version and rerun its own skill-catalog check to verify downstream integration. No unrelated downstream tests are changed or bypassed.

Draft only. No merge, tag, GitHub Release or npm publication.

@coderabbitai

coderabbitai Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 71819dbb-5391-48f3-8f74-87271bce45d8
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@Wibias
Wibias marked this pull request as ready for review November 4, 2026 01:01
@Wibias
Wibias merged commit cae7737 into main Nov 4, 2026
14 checks passed
@Wibias
Wibias deleted the fix/review-cost-contract-v1.8.4 branch November 4, 2026 01:01
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