Skip to content

Keep complete package review requests small with exact deduplication - #52

Merged
cinderzhan merged 1 commit into
mainfrom
fix/small-complete-review-requests
Oct 13, 2026
Merged

cinderzhan merged 1 commit into
mainfrom
fix/small-complete-review-requests

Conversation

@cinderzhan

Copy link
Copy Markdown
Collaborator

#45's large CLI event repeatedly contains malformed output at the same material batch, including a non-JSON right parenthesis. Strict parsing correctly rejects it; no output bytes are ignored or treated as approval.

Reduce evidence slices to 40k characters with 2k overlap, limit serialized evidence to 150k and complete requests to 230k. Deduplicate only whole files with equal SHA-256 and equal complete text, preserving all source/install aliases and digest metadata. Reject invalid UTF-8 before deduplication and decode stdout across chunks correctly. Keep every distinct byte of relevant code under review and retain all blocking judgments.

Validation: catalog validation and 102 tests pass, including full long-line coverage, Unicode boundaries, exact aliases, unequal content/prefix rejection, invalid UTF-8, bounded requests and incomplete-review failures. The real source plus install package fits 48 complete batches (previously 53) with maximum serialized evidence 147,498 characters. Validate the real PR after merge; no safety verdict is bypassed.

@github-actions github-actions Bot added the feature 非工作台 YAML 投稿,需要维护者评估 label Oct 13, 2026
@cinderzhan
cinderzhan merged commit fb778bf into main Oct 13, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature 非工作台 YAML 投稿,需要维护者评估

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant