Skip to content

core: review follow-ups — preflight test coverage + parameterized feature stripping - #31

Open
mat10d wants to merge 2 commits into
cot-mcpfrom
cot-mcp-review-followups
Open

core: review follow-ups — preflight test coverage + parameterized feature stripping#31
mat10d wants to merge 2 commits into
cot-mcpfrom
cot-mcp-review-followups

Conversation

@mat10d

@mat10d mat10d commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

What this is

The review follow-ups from the #25#27 merge round, delivered as their own reviewable unit — one commit per comment:

  • 6cf3349preflight unit-test coverage (#25 review): the full resolved_params record (sent/dropped/thinking), resolve-once stability under post-resolution mutation, one Models-API lookup per model (capability cache), and the enabled-thinking budget bounds. Tests only, no behavior change.
  • 9017dcfparameterized feature stripping (#26 comment): strip_feature_fields(bundle, fields=...) per your design — field names flow from build_evidence_bundles(feature_columns=...), so the strip takes the field set as a parameter (default = the standard builder output) instead of matching three fixed names. Includes a test showing the custom-column boundary both ways.

The third comment from the round — the batch-path source gate on #27 — was fixed pre-merge in 8095135 (threaded per-request like include_features, regression-tested).

Validation

Full suite at tip: 399 passed. Reviewer's guide: read 9017dcf's prompt_factory diff first (11 lines); everything else is tests.

mat10d added 2 commits August 17, 2026 16:21
Covers the resolution outcomes the run manifest depends on: the full
resolved_params record (sent/dropped/thinking), resolve-once stability
against post-resolution mutation, one Models-API lookup per model via the
capability cache, and the enabled-thinking budget staying within
max_tokens.
build_evidence_bundles(feature_columns=...) lets feature column names
vary and the per-gene keys come straight from the annotated chunk, but
strip_feature_fields only removed the three standard names -- custom
feature columns survived the strip and leaked into prompts. The field
set is now a parameter (default: the standard builder output), and the
docstring names the contract for custom-column bundles.
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