docs(examples): post-v2.11.0 re-probe pass — Redteam#235
Merged
Conversation
- properties list: SDK now returns string[], render as bulleted names with --output json|yaml
- properties values: SDK now returns {name, values[]}, render single-name list with --output json|yaml
- properties create / add-value: print SDK MutationResponse.message instead of fake name=value
- Add curated examples (list refresh, values 3 formats, add-value pretty); update .missing-allowlist
- Refresh comments on still-blocked entries (prompt-sets get #117, properties create #172)
This was referenced May 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Post-v2.11.0 + SDK 0.10.0 re-probe of every Redteam command on the
.missing-allowlist. Three commands unblocked (one CLI bug fix + new docs), four remain blocked (commented on tracker issues with retry plans).Refs: epic #127, area tracker #129.
Landed (3 commands off the allowlist)
redteam properties add-value— CLI redteam properties add-value sends wrong field names (name/value vs property_name/property_value) #197 fix shipped in v2.11.0 lands at HTTP level, but render was broken (undefined=undefined). Rewired to printMutationResponse.message. Added curated example.redteam properties values <name>— SDK 0.10.0 returns{name, values: string[]}, CLI service still expected pre-0.10{data: [{name,value}]}shape. Rewired service adapter + renderer + types. Added--output json|yamlsupport. Added 3-format examples.redteam properties list --output json|yaml— service was returning pre-0.10Array<{name}>; SDK now returns plainstring[]. Rewired adapter + renderer. Refreshed list example with 3 formats (was empty-state only).Still blocked (4 commands stayed on allowlist)
redteam prompt-sets get(all 3 formats) — upstream/version-inforeturns 500 for every prompt set (redteam prompt-sets get: version-info endpoint returns 500 for every prompt set #117). CLI calls version-info unconditionally after detail fetch, so no format works. Needs upstream fix OR CLI graceful-degradation. Commented on sub-issue docs(redteam): redteam prompt-sets get — root-cause sub-issue #164 with retry date 2026-05-28.redteam properties create— NEW failure mode: API returns201 {data: string[]}but SDK declaresBaseResponseSchema = {message, status}; Zod rejects. Not the previous docs(redteam): redteam prompt-sets upload — root-cause sub-issue #168 empty-body issue. Commented on sub-issue docs(redteam): redteam properties create — root-cause sub-issue #172 with retry date 2026-05-28.redteam prompts delete— SDK docs(redteam): redteam prompt-sets upload — root-cause sub-issue #168 empty-body Zod validation still active (204 body fails BaseResponseSchema). Commented on docs(redteam): redteam prompt-sets upload — root-cause sub-issue #168.redteam targets delete— SDK docs(redteam): redteam prompt-sets upload — root-cause sub-issue #168 same failure. Stranded a throwaway target on the test tenant during probe; documented in docs(redteam): redteam targets delete — root-cause sub-issue #177. Commented on docs(redteam): redteam prompt-sets upload — root-cause sub-issue #168.Still blocked (untouched in this pass)
redteam instances create/get/update/delete,redteam devices create/update/delete— single probe confirmed API still returns 403 (redteam: live docs capture blocked for instances/devices CRUD (API 403 — distinct from license issue) #124). No retry attempted; same state as before.Test plan
pnpm tsc --noEmitcleanpnpm lintclean (0 errors; 10 pre-existing warnings)pnpm test— 714/714 passpnpm docs:genregenerateddocs/cli/redteam/properties.mdpnpm docs:check—123 commands, 28 on allowlist(was 32)pnpm docs:buildclean