Repository navigation
refactor: clarify Vertex synthesis policy values - #124
yvonnedevlinrh merged 2 commits into
Conversation
Assisted-by: gpt-5.6-sol Generated with AI assistance (gpt-5.6-sol)
|
🤖 Finished Review · ✅ Success · Started 3:43 PM UTC · Completed 3:54 PM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $3.40 |
|
Risk Assessment: low (1/5) DetailsPure refactor extracting two inline literals to named constants in a single file (llm/vertex.go, +6/-2 code lines). No protected paths, no security-sensitive changes, no CI or dependency modifications. Low churn, well-scoped issue, and benign labels. |
|
Looks good to me |
gxmiranda
left a comment
There was a problem hiding this comment.
Clean, well-scoped refactor. Extracts two inline literals (300 * time.Second and 16000) into named constants (vertexSynthTimeout, vertexSynthMaxTokens), aligning them with the existing vertexSynth* policy constant pattern. Values are preserved exactly. CI passes. Constitution alignment verified. OpenSpec artifacts are thorough and proportionate.
Closes #82.
This review was generated by /review-pr (AI-assisted).
|
🤖 Finished Retro · ✅ Success · Started 9:07 AM UTC · Completed 9:20 AM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $6.08 |
Retro: PR #124 — refactor: clarify Vertex synthesis policy valuesThe review agent workflow on PR #124 reached the correct outcome. The agent correctly identified this as a low-risk mechanical refactor (extracting two inline literals into named constants in Workflow timeline
Inefficiency: sonnet model unavailability on VertexDuring sub-agent dispatch, 4 of 5 review sub-agents (style-conventions, intent-coherence, docs-currency, risk-assessment) failed because This is already tracked by two existing issues:
Inefficiency: challenger pass on zero findingsThe review agent ran a challenger sub-agent (opus) even though the initial review produced zero actionable findings above threshold. This is already tracked by fullsend-ai/agents#1144 — pr-review: skip challenger dispatch when a review produces no findings. Autonomy readinessThe agent and human reviews were fully aligned — both approved with no findings. The human review was itself AI-assisted and added no incremental signal beyond confirming repo-specific constitution alignment. For this class of change (mechanical refactor, single-file code change, spec-backed, no protected paths), the review agent's autonomy level appears appropriate. This data point is relevant to the ongoing autonomy consolidation tracked in fullsend-ai/fullsend#7339. No new proposalsAll identified improvement opportunities are already covered by existing open issues. No new proposals are warranted. |
Summary
Extract the fixed Vertex synthesis HTTP timeout and maximum output token limit into named constants, making provider policy easier to audit without changing runtime behaviour.
Closes #82.
How to Test
go test -race -count=1 ./... gaze crap --format=json --coverprofile=coverage.out --max-crapload=48 --max-gaze-crapload=18 ./...The build, vet, race-enabled test suite, and both CI and stricter GazeCRAPload gates pass locally. Unrelated repository-wide lint findings are tracked in #123.
How to Demo
No runtime demo is required. Inspect llm/vertex.go and confirm the HTTP client uses vertexSynthTimeout and requests use vertexSynthMaxTokens, preserving values of 300 seconds and 16,000 tokens.
Key Files Changed
This PR was generated by /uf.finale (AI-assisted).