Skip to content

ci(reconcile): record known SDK gaps in decisions.yaml (AI-2552) - #344

Merged
adamwownysz-redpanda merged 1 commit into
mainfrom
adam/ai-2552-decisions-answer-a-rule
Nov 19, 2026
Merged

adamwownysz-redpanda merged 1 commit into
mainfrom
adam/ai-2552-decisions-answer-a-rule

Conversation

@adamwownysz-redpanda

@adamwownysz-redpanda adamwownysz-redpanda commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Summary

Context: decisions.yaml stores reviewers' answers to the catalog bot's (#255) questions: keep ("leave these values as they are") or hold ("leave this model or value out for now").

Problem: 4 of #336's 11 questions were SDK gaps, like Nova 2 Lite reasoning levels the SDK can't send. They recurred weekly: a hold covered only new models, and a keep also froze nearby values, so the bot couldn't update them.

This PR:

  1. lets a hold cover one value and freeze nothing;
  2. records those gaps;
  3. lets a keep freeze only specific values;
  4. flags stale decisions.

Who notices: bot PR reviewers see these questions as decided, not open. No SDK behaviour changes.

Proof: a sample bot PR held both Nova gaps.

Size: 10 files, about 390 lines: 50% code, 30% tests, 20% rules.

Related PRs:

Sample hold decision, before and after

A decision is one entry in decisions.yaml, such as DEC-003 below. A rule is a row of RULES.md; each question names one. A field is a group of a model's values, such as capability.

- id: DEC-003
  offering: bedrock:us.amazon.nova-2-lite-v1:0
  field: capability
  kind: hold
  rule: reasoning-unsendable
  reason: "Nova 2 Lite takes reasoning efforts through reasoningConfig, but the SDK's Bedrock code sends reasoning only in Anthropic's format, so the efforts stay out until it sends reasoningConfig."
  decided: 2026-11-17
  review_by: 2027-02-17
  • Before: the last three bot PRs asked this. AWS lists low, medium and high; the catalog has none.
  • After: it shows under "Held by decisions" with its reason; the catalog keeps its value. The hold freezes nothing, so if AWS adds a new capability to this model, the bot adds it.

The table below shows the SDK gaps this PR records as known, with each model ID's decision.

Gap Blocker Model IDs (decision) Questions
Each Nova 2 Lite ID is priced by the region you call it from The catalog holds one price per ID. global.amazon.nova-2-lite-v1:0 (DEC-001)
eu.amazon.nova-2-lite-v1:0 (DEC-002)
2
Nova 2 Lite's reasoning levels The SDK sends reasoning only in Anthropic's format. us.amazon.nova-2-lite-v1:0 (DEC-003)
eu.amazon.nova-2-lite-v1:0 (DEC-004)
global.amazon.nova-2-lite-v1:0 (DEC-005)
jp.amazon.nova-2-lite-v1:0 (DEC-006)
1
DeepSeek V4.1's thinking-token cap on Fireworks Fireworks offers it only on an API the SDK doesn't use. accounts/fireworks/models/deepseek-v4p1-flash (DEC-007)
accounts/fireworks/models/deepseek-v4p1-flash-1017 (DEC-008)
1

Decision kinds

Decision Stops these questions Freezes
keep every question on its model and field, such as any capability question; if it names a rule, only that rule's question the whole field
keep with keys, new the same only the named values, such as capabilities.tools
hold on a value, new only the question raised by the rule it names nothing

What changes

When Before Now File
A decision covers the model and field a question is about The question was held even when it was about a different change. If the decision names a rule, only that rule's question is held. cmd/catalog-report/report.go
The gap a decision records is fixed Nothing said so. The bot PR adds "Answered no question this run: DEC-…": the decision wasn't used and may be safe to delete. Review dates are three months out, a year for a lasting choice; past one, the decision still applies, listed as overdue. cmd/catalog-report/report.go

Left for later

Later Why it can wait Where
The SDK work for the gaps Gaps are recorded so they're not forgotten. AI-2825, AI-2842; Fireworks' cap is not planned yet
Setting Nova 2 Lite's jp. rate It has one rate, so a person can set it by hand. Not planned yet

Testing

  • go test -short and golangci-lint v2.11.3 against main pass in catalog-report, catalog-snapshot, reconcile and catalog.
  • New cases cover the check's refusals, keys, rule matching, and the note.
  • A sample bot PR applied all six Nova decisions and still asked jp.'s price. With no DeepSeek question, its note named the two DeepSeek decisions.
  • Not run: a bot run; the next is Monday 23 Nov.

Risk

  • A hold stops every question its rule asks on that model and field, even a new one, shown in the held table.

How to revert

Revert this commit; the bot then asks about the gaps again.

@redpanda-ai-merge-bot

redpanda-ai-merge-bot Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

⏸️ AI review: human review required

Field Value
Config version 13
Prompt version n/a
Model n/a
Engine agent-action
AI verdict not consulted (gates refused before the model ran)
Files / lines (all) 10 / 482
CI at this commit pending
Reviewable diff 40330 chars (limit 120000)
Reviewable files / lines 10 / 482
Generated (CI-verified) files / lines 0 / 0
Test / source lines 270 / 212 (tests changed with source: True)
Dependency update False
Run https://github.com/redpanda-data/ai-sdk-go/actions/runs/44435098002

Not eligible — reasons

  • touches excluded path(s): .github/reconcile-models/RULES.md, .github/reconcile-models/decisions.yaml
  • CI is still running for this commit

Generated by the AI review gate. The bot only posts an approval; the author merges. This is an audit record; the branch ruleset is what enforces it.

@adamwownysz-redpanda
adamwownysz-redpanda force-pushed the adam/ai-2552-decisions-answer-a-rule branch 2 times, most recently from 7223faf to 54787f3 Compare November 19, 2026 01:08
Gaps the SDK can't fill yet came back as a question every week, and a
keep decision would have frozen a whole field to stop one. A decision
may now name the rule whose question it answers; a hold on such a field
locks nothing and never stops another rule's change; a keep may lock
only some keys. Two decisions may share an offering and field only by
naming different rules, so a run never picks between them by file
order. A hold can't name no-rule, and a new_model or new_copy decision
names no rule. The PR body names a decision that names a rule and
answered no question. Three gaps from #336 are recorded as eight holds.
review_by is three months after decided, or a year for a decision that
records a lasting choice; the check refuses one more than a year out.
@adamwownysz-redpanda
adamwownysz-redpanda force-pushed the adam/ai-2552-decisions-answer-a-rule branch from 54787f3 to 5bf101b Compare November 19, 2026 01:12
@adamwownysz-redpanda
adamwownysz-redpanda merged commit 9e70965 into main Nov 19, 2026
11 checks passed
@adamwownysz-redpanda
adamwownysz-redpanda deleted the adam/ai-2552-decisions-answer-a-rule branch November 19, 2026 14:17
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.

2 participants