docs(ai): reword stale workers-ai-only comments across the review stack - #3274
Conversation
Comment/doc-only follow-up to the live-code cleanup: no `ai` binding has existed in any deployment (hosted or self-host) since the self-host cutover (see CONVERGENCE_RUNBOOK.md), so several docstrings and inline comments still describing Workers AI as the current default reviewer, embedding model, or AI Gateway backend were stale. Reworded them to describe the free/default-reviewer path generically (the configured self-host provider, or the legacy Workers-AI pair as the historical last-resort fallback) in src/review/rag.ts, src/review/adapters.ts, src/types.ts, src/db/repositories.ts, src/env.d.ts, .env.example, and the .gittensory.yml / gittensory-repo-focus-manifest.ts example (kept byte-identical to each other, per the existing alignment test). No behavior change — comments and doc strings only.
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3274 +/- ##
=======================================
Coverage 94.12% 94.12%
=======================================
Files 276 276
Lines 30202 30202
Branches 11011 11011
=======================================
Hits 28429 28429
Misses 1127 1127
Partials 646 646
🚀 New features to boost your workflow:
|
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-07-05 00:21:22 UTC
⏸️ Suggested Action - Manual Review
Review summary Nits — 5 non-blocking
Concerns raised — review before merging
Review context
Contributor next steps
Signal definitions
🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
Summary
CONVERGENCE_RUNBOOK.md's resource inventory). Several docstrings and inline comments across the review stack still described Workers AI as the current default reviewer, embedding model, or AI Gateway backend, when it's actually the historical last-resort fallback (only reachable when no self-host provider is configured at all).src/review/rag.ts(InferenceAdapterdoc,EMBED_MODEL/EMBED_BATCHcomments),src/review/adapters.ts(reviewInferenceAdapterheader),src/types.ts(slopAiAdvisory/aiReviewByok/aiReviewProviderdoc comments),src/db/repositories.ts(getDecryptedRepositoryAiKeydoc),src/env.d.ts(WORKERS_AI_SUMMARY_MODEL/AI_DAILY_NEURON_BUDGETinline docs, mirroringAI_GATEWAY_ID's existing accurate framing),.env.example, and the.gittensory.yml/gittensory-repo-focus-manifest.tsbundled example (kept byte-identical to each other, verified by the existingkeeps bundled YAML alignedtest).Scope
type(scope): short summaryConventional Commit format.CONTRIBUTING.mdand does not reintroduce GitHub Pages, VitePress,site/, orCNAME.Validation
git diff --checknpm run actionlint(vianpm run test:ci)npm run typechecknpm run test:coverage— comment-only diff, no new lines requiring coverage; full suite green (8806 passed)npm run test:workersnpm run build:mcpnpm run test:mcp-packnpm run ui:openapi:checknpm run ui:lintnpm run ui:typechecknpm run ui:buildnpm audit --audit-level=moderate— 0 vulnerabilitiesnpm run test:cigate locally — greenSafety
UI Evidencesection. — N/A, no visible UI changes.