Skip to content

docs(openspec): fix plan #2592 premise, paths and tests - #3085

Merged
dan-petty merged 2 commits into
mainfrom
docs/2592-fix-plan
Nov 1, 2026
Merged

dan-petty merged 2 commits into
mainfrom
docs/2592-fix-plan

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

This pull request corrects the plan for #2592 in place. It changes only the files of the change folder for #2592.

An evaluation of the merged plan (pull request #3008) found a false claim and wrong paths. The corrected plan now matches the real code on main. It states what the gateway really does: it routes with least-busy, and no deployment sets a weight. It keeps the setting ai.gateway_concurrency. It names real files, real test names and real line ranges. Each task has a failing test first and a check that proves the task.

Plans #2592

…s, tests

The RAG embedder reads ai.gateway_concurrency, so the plan keeps it and
deletes only ai.gateway_weights. The plan adds the dead constants, the
config tests and specs that name the deleted setting, k8s/README.md,
real test paths, a Feasibility with command evidence and an Acceptance map.
Task 2.1 now reads the test it reuses. Task 1.3 says how the README paragraph ends.
@dan-petty dan-petty added type/docs Type docs: a change to the documents scope/openspec OpenSpec changes, specs and their checks labels Nov 1, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Changes to the plan

  • Removed a false claim: the gateway uses least-busy and no deployment sets weight. The simple-shuffle group is the embedding group, and the tune sweep posts to /chat/completions, so it cannot measure it.
  • Kept ai.gateway_concurrency. Only ai.gateway_weights is deleted.
  • Replaced wrong paths, test names and line ranges with the real ones on main.
  • Added a failing test first to each group, with a check that proves the task.
  • Last commit: task 2.1 now reads lines 1345-1405 of tests/ai/test_ai_gateway_tune.py. Task 1.3 says how the README paragraph ends.

Evaluation findings

Verification

  • openspec validate --strict: passed.
  • uv run devops openspec check: passed.
  • uv run pytest tests/invariants/test_change_folders.py -n 0 -q: 17 passed.
  • The pre-push fast checks passed.

@dan-petty
dan-petty marked this pull request as ready for review November 1, 2026 15:12
@dan-petty
dan-petty merged commit bf69f39 into main Nov 1, 2026
19 checks passed
@dan-petty
dan-petty deleted the docs/2592-fix-plan branch November 1, 2026 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/openspec OpenSpec changes, specs and their checks type/docs Type docs: a change to the documents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant