Fix Pi routing and broaden live deployment validation - #325
Merged
Conversation
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
qm check --liverun a private end-to-end canary that requires the exact model reply, durable transcript, generated title, and an empty synchronized error logRoot cause
Provider-only deployments selected the correct fallback for agent turns in the harness router, but Pi's model utilities did not receive that fallback. An OpenAI deployment could therefore serve turns with
gpt-5.6-solwhile title generation independently fell back to an Anthropic model; the missing credential was then treated like a legitimate no-title result.The deployment workflow also stopped at infrastructure, routing, storage, and public-health checks. It never exercised the full model-to-session path, so a deployment could pass automation without proving model execution, transcript persistence, title generation, or session error reporting.
Deployment impact
qm check --livenow runs one real agent turn plus auxiliary title generation after the existing provider checks pass. Fly executes it over loopback inside core. AWS launches only the deployed core task definition on the same private VPC and reaches core through service discovery. The turn is read-only, skips memory recall and capture, and is always archived.Existing AWS deployments must render, review, and apply the updated Terraform policy with infrastructure-administrator credentials before enabling this gate. Administrator sign-in, a manual web acceptance turn, agent-computer proof, and Slack acceptance when configured remain manual checks.
Verification
No rendered UI code changed, so no screenshot is required.
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.