Skip to content

skills: convert the last five skills to thin behavioral guidance - #132

Merged
JakeSCahill merged 17 commits into
redpanda-data:mainfrom
JakeSCahill:skills/thin-last-batch
Nov 12, 2026
Merged

JakeSCahill merged 17 commits into
redpanda-data:mainfrom
JakeSCahill:skills/thin-last-batch

Conversation

@JakeSCahill

@JakeSCahill JakeSCahill commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Stacked on #110. Review the last 11 commits; the rest are #110's and drop out once it merges.

Converts the last five skills to thin skills with the method from #110: cloud-dedicated, cloud-serverless, streaming, streaming-admin-api and streaming-debugging. With #127 to #130, every remaining skill except the hand-maintained cloud-byoc-sizing calculator is now thin. The Connect skills are removed in #133 in favor of the redpanda-connect plugin, so connect and connect-debugging are no longer in this PR. Each skill here is 55 to 70 lines, and every reference file except SOURCES.md is gone.

How to work lines kept

Rates are baseline / skill / installed.

Skill Line Rates Why
cloud-dedicated Send a change in network exposure to Redpanda Support; don't recreate the cluster or build a public path around it 0/3, 3/3, 3/3 Baseline fails; also a network-exposure guardrail. The old skill lacked it (0/3)
cloud-dedicated Don't move production data to Tiered Storage v2 0/3, 3/3, 3/3 Baseline fails
cloud-serverless Adding partitions: PATCH takes the number to add, not the total; partitions can't be removed 0/3, 3/3, 3/3 Baseline fails (it sent a total, leaving 18 partitions)
cloud-serverless Change one topic config with PATCH, not PUT, which resets the configs you leave out 3/3, 3/3, 3/3 Safety guardrail (losing cleanup.policy=compact deletes records)
cloud-serverless Set up PrivateLink as two resources, link first 0/3, 3/3, 3/3 Baseline fails
cloud-serverless At the pipeline limit, list drafts too: they use slots but are hidden by default 0/3, 3/3, 3/3 Baseline fails; the docs arm too
streaming Give each cluster its own Iceberg iceberg_default_catalog_namespace when clusters share a catalog 0/3, 2/3, 3/3 Baseline fails
streaming To stop partition moves, set partition_autobalancing_mode off first, then move-cancel 0/3, 2/3, 3/3 Baseline fails
streaming Set redpanda.remote.delete=false before deleting a Tiered Storage topic whose archive must stay 3/3, 3/3, 3/3 Safety guardrail (data loss)
streaming-admin-api Before restarting a broker, run its pre-restart probe and stop if it lists partitions 0/3, 3/3, 3/3 Baseline fails
streaming-admin-api A FailOver without shadow_topic_name (or with a misspelled field) fails over the whole link 3/3, 3/3, 3/3 Safety guardrail (irreversible)
streaming-admin-api An update_mask naming a repeated field appends; to remove an entry, send the parent whole 0/3, 3/3, 3/3 Baseline fails; the docs arm too
streaming-debugging Confirm a broker is gone for good before you force recovery or decommission it 3/3, 3/3, 3/3 Safety guardrail (data loss, irreversible)
streaming-debugging To stop partition moves, set partition_autobalancing_mode off first, then move-cancel 0/3, 3/3, 3/3 Baseline fails. Dropped by mistake in the first conversion, restored after re-verification

For the two streaming lines the facts are in the docs; agents don't look them up mid-task, so the lines stay.

Dropped because the baseline already follows them, recorded in each SOURCES.md: tag PATCH replaces the map, shadow link updates from the full config, self-test at peak, and asking before seeking a group forward.

Docs and source fixes

Each SOURCES.md lists the page and the source.

  • cloud-dedicated: shadow link Schema Registry API mode takes only basic auth with a ${secrets.<id>} password, but the migration page's Cloud API example sends an inline password; only the BYOC page says network-exposure changes go through Support.
  • cloud-serverless: a topic limit refusal is HTTP 400 INVALID_ARGUMENT; the published Data Plane API spec lacks include_drafts and STATE_DRAFT. To confirm: the Data Plane API says user quotas aren't supported, while rpk accepts user entities.
  • streaming-admin-api: force_replicas on the controller partition needs evil_mode=true; the UpdateShadowLink update_mask appends to repeated fields.
  • streaming-debugging: the force_recover_from_nodes reference says the body is an array of node IDs, but the handler needs dead_nodes and partitions_to_force_recover; the CPU profile wait_ms has no description.

Checks

Every skill has a SOURCES.md, skill-validator has no failures (warnings only), node --test evals/run-evals.test.mjs passes, and the five suites validate against evals/schema.json. The evals need Node 26, as in #110. Total eval cost about $210 for these five skills.

One correction after the eval run: the cloud-dedicated agent first recorded a missing update_mask on UpdateCluster as a docs gap. It isn't one: the REST gateway derives the mask from the request body when it's left out, so the reference omits it by design. The last commit removes that entry and rewrites the case to accept either form.

Re-verification

Every line and case was re-checked against product source and rerun on 2026-11-10. Five cases with mocks or grading that didn't match the real API are fixed (serverless-privatelink-setup, add-partitions-to-reach-total, pipeline-slots-hidden-drafts, iceberg-second-cluster-shared-catalog, shadow-link-update-full-config). The balancer-off line is restored to streaming-debugging. No other line changed verdict.

@JakeSCahill JakeSCahill changed the title skills: convert the last seven skills to thin behavioral guidance skills: convert the last five skills to thin behavioral guidance Nov 10, 2026
@JakeSCahill
JakeSCahill force-pushed the skills/thin-last-batch branch from 2fe0687 to 7bd93aa Compare November 10, 2026 20:16

@micheleRP micheleRP left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving the 11 commits on top of #110. All 14 "How to work" lines map in SOURCES.md to a source and an existing case, and the six the baseline passes are marked as safety guardrails. I checked the pre-restart probe against redpanda v26.2.2 (admin/server.cc:3065-3089, which reports only the answering broker's risks), FailOver scope (shadow_link.proto:212-222), the Iceberg namespace default and warning (configuration.cc:4769-4778), Serverless partition_count meaning "to add" (console topic.proto:233-246), and Tiered Storage v2 being beta. The Dedicated network line matches the API's private-only ↔ publicly reachable check. It merges cleanly with #110 and main.

Before merging, could you note which fixes gate it? Status today: the Schema Registry secret is in docs#2425 (merged), and evil_mode, the force-recover body, and wait_ms are in api-docs#116 (merged). The Support and HTTP 400 lines are in cloud-docs#845 (open). update_mask appends and user quotas aren't started. Also, include_drafts has been in api-docs main since #105, but the served cloud-dataplane.yaml still lacks it, so a merged api-docs PR may not mean it's published.

Non-blocking: the cloud-dedicated and streaming descriptions still list coverage the skills now leave to the docs (Shadow Link DR, Schema Registry migration, Enterprise features).

@JakeSCahill
JakeSCahill force-pushed the skills/thin-last-batch branch from af2a99d to 78d1fd5 Compare November 12, 2026 20:26
@JakeSCahill
JakeSCahill merged commit 7401edd into redpanda-data:main Nov 12, 2026
1 check passed
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