Repository navigation
docs(chaos): correct seeded-chaos docs and messages - #634
Merged
Merged
Conversation
Scope the never-clamped rule to the rate and latency headers, say how to set chaosKeysMax for a replay, state that a disconnect sends no seed headers while the journal still records them, and document chaosSeed, chaosKey and chaosOccurrence. Correct five comments in chaos-random.ts. Use MAX_CHAOS_SEED_LENGTH in the fixture seed warning, and quote the raw value in the --chaos-seed error, which now says inner spaces are not allowed.
commit: |
jpr5
added a commit
that referenced
this pull request
Nov 25, 2026
## What Classifies the 4 new OpenAI model families raised by needs-human PR #635: | Family | Decision | Set | |---|---|---| | `gpt-6-astra-healthcare` | **INCLUDE** | `includeFamilies.openai` | | `gpt-6.1-sol-healthcare` | **INCLUDE** | `includeFamilies.openai` | | `gpt-6.2-astra-healthcare` | **INCLUDE** | `includeFamilies.openai` | | `gpt-6.2-sol-healthcare` | **INCLUDE** | `includeFamilies.openai` | Supersedes #635 (which only added the 4 proposal notes with `Decision: pending`). Fixes the `OpenAI Chat | live /models family canary` criticals in scheduled Drift Tests run [45558538056](https://github.com/CopilotKit/aimock/actions/runs/45558538056) (Tue Nov 24, 10:09 PM PST, main `25ad3e7b`). That run's only new failing test was `models.drift.ts > live /models contains no unclassified family`. Every other failure in it is the known, approved set (Anthropic/Gemini native auth, Bedrock K5/K9, Vertex k5) that the last pass (run 45338285817, main `4c5d9e23`) also had. Nothing touches chaos, the request journal or the code changed by #618/#634. ## Decisions and probe evidence (redacted) There are no provider keys on the local machine, so the probe ran in CI. Commit `cd4c49a3` added a temporary diagnostic to `models.drift.ts`. It wrote a key-free summary to `drift-evidence/` in the drift-live-pr head artifact (run [45572123355](https://github.com/CopilotKit/aimock/actions/runs/45572123355), Wed Nov 25, 12:00 AM PST). Commit `dab91929` then reverted it, with no force-push. The artifact was scanned for key material, and none was found. All 4 → **INCLUDE** (`gpt-6.2-astra`/`gpt-6.2-sol` precedent, #627): - Listing and `GET /v1/models/<id>` → **200**, `{id, object: "model", created, owned_by: "system", shutdown_date: null}`. No capability field, and no preview, EAP or alpha marker. Same shape as `gpt-6.2-sol`. `created`: astra 2026-10-16, 6.1-sol 2026-10-26, 6.2-astra 2026-10-31, 6.2-sol 2026-11-02. - `POST /v1/chat/completions` ("Reply with the single word: pong") → **200** for each, `object: "chat.completion"`, `finish_reason: "stop"`, assistant content `"pong"`. The response `model` field echoes the base line (for example `gpt-6-astra`). - `POST /v1/responses` → **200** for each, `status: "completed"`, one `message` output with an `output_text` part `"pong"`. - Control: `gpt-6.2-sol` (already included) returned the same shape in the same run. - Text modality, with no voice/audio token, so no `knownVoiceModelFamilies` edit. - Public sources: OpenAI documents healthcare offerings ([OpenAI for Healthcare](https://openai.com/index/openai-for-healthcare/)) and GPT-6 Astra ([GPT-6 Astra](https://openai.com/hr-HR/index/gpt-6-astra/)), but no public page names these `-healthcare` API ids. The access decision therefore rests on the live probe: an ordinary API key gets 200 text from all four. ## Changes (same shape as #627) - `src/__tests__/drift/model-registry.ts`: the 4 entries, with an evidence comment. - `src/__tests__/drift/logic-pin.test.ts`: re-pin for `includeFamilies.openai`. It was cross-checked by recomputing sha256 of the sorted members. - `src/__tests__/drift/models.drift.ts`: the static OpenAI `/models` wave entries. - `src/__tests__/drift/text-drift.test.ts`: a 2026-11-24 behavioural block for the 4 includes, with negative controls (`gpt-6-sol-healthcare`, `gpt-6.3-sol-healthcare`, `gpt-6.2-sol-legal` stay unclassified). - `drift-proposals/*-healthcare-new-family.md` (4 notes from #635): each is resolved with its `Decision:` and the probe rationale. ## RED / GREEN (real surface: live `/models` family canary) **RED** (before the fix, on main code): - Scheduled run 45558538056: `OpenAI Chat | live /models family canary` → `models/gpt-6-astra-healthcare`, `models/gpt-6.1-sol-healthcare`, `models/gpt-6.2-astra-healthcare`, `models/gpt-6.2-sol-healthcare` (on all 3 retry attempts). - drift-live-pr run 45572123355 on this PR (diagnostic head, main classification code): the BASE report (fresh live, 12:00 AM PST) and the head report both contain the same 4 criticals. **GREEN** (after the fix): - drift-live-pr run [45573355619](https://github.com/CopilotKit/aimock/actions/runs/45573355619) on head `92f16ebe`: the head report (12:11 AM PST) has **zero** mentions of the 4 `-healthcare` families and no `/models` family-canary critical. The base report from the same run (fresh live main, 12:09 AM PST) still has all 4 criticals, so the canary fired live in the same run and the fix cleared it. drift-live-pr: pass. - The head report has 6 remaining criticals, all the approved native-authentication value divergences (`Anthropic native authentication and version`: status/type/error.type; `Gemini native authentication`: status/error.code/error.status). They are identical in the base report and in scheduled runs 45558538056 and 45338285817. This PR does not touch them. Local, non-live: - `vitest run src/__tests__/drift/`: 20 files, 261 passed, 6 skipped. - `vitest run` of `drift-sync-core` and `drift-remediation-strings`: 2 files, 271 passed. - `pnpm typecheck`: clean. - eslint and `prettier --check` on the changed files: clean. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01Jay9vBCbXhVHCDgyRBABVx
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.
Wording-only follow-up to #618 (unreleased). No behavior change, so no CHANGELOG entry.
docs/chaos-testing/index.html
aimock --configcannot setchaosKeysMax; say to use--chaos-keys-maxor thechaosKeysMaxserver option.chaosSeed,chaosKey,chaosOccurrence(seeded hits only).src/chaos-random.ts (comments only)
recordRequestChaosBody: drop the wrong "upstream response" example;readBodyrecords only a server request body.ChaosOrigin.seed: also covers a seed from a caller's resolved config./v1/realtimepath.text:plus a JSON string.Messages
src/fixture-loader.ts: thechaos.seedwarning usesMAX_CHAOS_SEED_LENGTH(rendered text unchanged).src/cli.ts: the--chaos-seederror quotes the raw value and says inner spaces are not allowed after trimming. Two assertions insrc/__tests__/chaos-seed.test.tsupdated to the quoted form.Gates: build, typecheck, eslint,
prettier --check .pass; chaos*, fixture-chaos-validation and cli tests pass (16 files, 343 tests).🤖 Generated with Claude Code
https://claude.ai/code/session_01Jay9vBCbXhVHCDgyRBABVx