Skip to content

train(2026-10-18-33): #18802 #18796 #18755 #18797 #18794 #18804 - #18818

Closed
mrveiss wants to merge 13 commits into
mainfrom
train-2026-10-18-33
Closed

mrveiss wants to merge 13 commits into
mainfrom
train-2026-10-18-33

Conversation

@mrveiss

@mrveiss mrveiss commented Oct 18, 2026 •

Copy link
Copy Markdown
Owner

Thinking Path

Approved PRs land together in one merge train (one full CI run). Each member is merged --no-ff at its reviewed head; combination defects are fixed in the train.

What Changed

PR Head Scope
#18802 42783c8 One parser detector for both apps' UI literals; per-file ratchet on hard-coded English (#12732)
#18796 5a1ff84 13 doubled /api/<prefix>/api routes served at single-prefix paths; old paths are 308 shims with Deprecation/Link (#18722)
#18755 4ffe52b Main-GUI calls reach served routes; live features without a route are gated behind named flags (#18730)
#18797 0e91ea2 SLM Log Forwarding works against the served shapes keyed by name; edits never send masked credentials (#18734)
#18794 5568897 Both local ChromaDB clients run the store repairs once, transactionally, under a bounded cross-process lock (#18789)
#18804 8da4625 Retired single_user default removed from compose, entrypoint and env example; carriers guarded (#18729)

Train fixes

Verification

  • Full repo_tests/ locally at -n 8 under the machine lock: 7967 passed; every remaining failure is in the local-env baseline.
  • detect-hardcoded-values.sh --audit-baseline: every entry matches; check-doc-references.py: all resolve; check_symbol_forks --audit-baseline: 0 stale.
  • Pre-push hook passed (70 pytest files selected).
  • Full CI: all 12 python shards, 0 unresolved threads, 0 behind main.

Model Used

Claude Opus (merge-train orchestration); Sonnet and Opus subagents for member reviews.

Issue Link

Refs #12732 #18722 #18730 #18734 #18789 #18729

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features

    • Added log-forwarding destination management, including configuration, credential controls, connection tests and automatic startup settings.
    • Added service counts to the orchestration view and single-recording AI requests.
    • Updated several app sections to use revised code scanning, knowledge, system monitoring and browser session capabilities.
  • Bug Fixes

    • Corrected API routes, with temporary redirects from previous paths.
    • Improved recovery of legacy local knowledge stores.
  • Changes

    • PostgreSQL-backed user management is now required; the retired single-user mode is no longer supported.
    • Some controls are no longer available, including browser automation launch and scripting, quick search, analysis history, source acceptance, comments and live processing progress.

@coderabbitai

coderabbitai Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Important

Review skipped

Ignore keyword(s) in the title.

⛔ Ignored keywords: 1

  • train(

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
Walkthrough

This pull request updates ChromaDB store repairs, API routing, deployment defaults, frontend API integrations and controls, SLM log-forwarding settings, and repository guard tooling.

Changes: ChromaDB store repairs

Layer / File(s) Summary
Repair operations and client opening
autobot-backend/utils/chromadb_store_repairs.py, autobot_shared/env_registry_knowledge.py, docs/developer/ENV_VARS.md, autobot-backend/utils/*chromadb*test.py, autobot-backend/initialization/lifespan.py
Adds four guarded store repairs, thread and process locking, retry handling, and a configurable lock timeout. Local synchronous and asynchronous client openings now use the shared preparation path. Tests cover repairs, locks, retries, concurrency, and pickle security.

API route updates

Layer / File(s) Summary
Redirect helper and endpoint routes
autobot_shared/api_routing/deprecated_redirects.py, autobot-backend/api/knowledge_grounding.py, autobot-backend/api/knowledge_ownership.py, autobot-backend/api/system*.py, autobot-backend/api/schemas_*.py
Adds a helper for deprecated 308 redirects. Knowledge and cache routes use revised paths, while schema route descriptions are updated. Cache coordinator endpoints move into a separate router mounted under the system router.
Route regression checks
autobot-backend/api/doubled_prefix_routes_18722_test.py, autobot-backend/tests/api/test_knowledge_grounding.py, repo_tests/no_doubled_api_prefix_18722_test.py, repo_tests/no_duplicate_route_registration_16908_test.py, repo_tests/no_secret_passthrough_routes_17899.py
Adds checks for redirects, query preservation, route registration, OpenAPI paths, handler responses, and anonymous access. Repository checks detect doubled API prefixes and update route registration records.

User mode defaults

Layer / File(s) Summary
Deployment defaults and checks
.env.example, docker-compose.yml, docker/backend/entrypoint.sh, repo_tests/docker_admin_seed_18729_test.py, .github/filters/python-paths.yml, repo_tests/changes_job_equivalence_15360_test.py, repo_tests/reach_scope_claim_17844_test.py
Documents PostgreSQL-backed user management as required, changes Docker defaults to single_company, and runs backend migrations for all modes. Repository checks scan deployment files for retired single_user defaults and validate mode defaults across Compose services.

Frontend integrations and controls

Layer / File(s) Summary
API requests and response mapping
autobot-frontend/src/composables/transcriber/*, autobot-frontend/src/composables/useCodeIntelligence.ts, autobot-frontend/src/composables/useBrowserAutomation.ts, autobot-frontend/src/models/repositories/*, autobot-frontend/src/models/repositories/SystemRepository.ts, autobot-frontend/src/services/api.ts, autobot-frontend/src/composables/usePatternAnalysis.ts, autobot-frontend/src/__tests__/transcriber/*
Changes AI requests to authenticated POSTs, adds single-file code scanning and codebase-wide quality-score retrieval, updates browser-session and knowledge-document requests, changes the system metrics route, and changes the storage-clear request to POST.
View behaviour and shared data types
autobot-frontend/src/views/BrowserAutomationView.vue, autobot-frontend/src/views/DevSpeedupView.vue, autobot-frontend/src/views/devSpeedupCodeAction.ts, autobot-frontend/src/views/llc/WorkItemDetail.vue, autobot-frontend/src/views/llc/workItemDetailTypes.ts, autobot-frontend/src/views/transcriber/ProjectDetailView.vue, autobot-frontend/src/components/analytics/panels/*, autobot-frontend/src/components/knowledge/*
Adds disabled-by-default flags for selected controls and progress displays. Extracts shared interfaces for code-intelligence, knowledge-research, and work-item data. The transcriber view also updates theme-variable usage.

SLM log forwarding

Layer / File(s) Summary
Destination models and API operations
autobot-slm-frontend/src/composables/autobotAdminModels.ts, autobot-slm-frontend/src/composables/useAutobotApi.ts
Adds shared log-forwarding types. Destination listing expects a bare array, destination operations use names, and auto-start has a separate read operation.
Form, settings view, translations, and tests
autobot-slm-frontend/src/views/settings/admin/LogForwardingSettings.vue, autobot-slm-frontend/src/views/settings/admin/logForwardingForm.ts, autobot-slm-frontend/src/views/settings/admin/__tests__/*, autobot-slm-frontend/src/locales/*.json
Adds shared form helpers and updates destination creation, editing, testing, and deletion. The form supports URL-based configuration and secret retention or clearing. Locales add log-forwarding messages and tests cover name-based operations and credential handling.

Orchestration service count

Layer / File(s) Summary
Count helper and translations
autobot-slm-frontend/src/views/OrchestrationView.vue, autobot-slm-frontend/src/locales/*.json
Adds a helper to count fleet services by node and displays the count with translated singular and plural text.

Repository guard tooling

Layer / File(s) Summary
Vue literal scanner and checks
repo_tests/_ui_literal_scan.py, repo_tests/_ui_literal_rederive.py, repo_tests/_hardcoded_ui_literal_detect.py, repo_tests/_hardcoded_ui_literal_baseline.py, repo_tests/hardcoded_ui_literal_ratchet_12732_test.py, repo_tests/slm_frontend_bare_ui_literals_test.py, repo_tests/regex_concept_fork_guard_18093_test.py, repo_tests/_glob_declared_uncovered.py, repo_tests/reach_scope_claim_17844_test.py
Adds Vue literal scanning, an independent regex-based derivation, per-file literal baselines, and tests for scanning boundaries and detector differences.
Reach policy and pinned baselines
repo_tests/_reach_policy*.py, repo_tests/_raw_palette_baseline.py, repo_tests/frontend_file_size_ratchet*.py, scripts/frontend_file_size_known_large.py, repo_tests/audio_extension_allowlist_test.py, repo_tests/slm_frontend_i18n_parity_test.py, repo_tests/no_duplicate_route_registration_16908_test.py
Moves the allowance-verdict mapping into a separate module and updates repository guard thresholds and recorded baselines.
Merge Risk: Moderate · previous review 3d9d5

The ChromaDB repair work can stall request handling for up to the lock timeout while startup indexing runs. The seq_id repair may leave legacy values stored as BLOBs. Clearing pattern storage can also clear the default scope instead of the selected source. Address these before merging. The remaining feedback concerns minor UI guards and translations.

Pre-merge checks: Passed 4 · Inconclusive 1

Failed Failed checks: 1 inconclusive

Check name Status Explanation Resolution
Docstring Coverage Inconclusive Docstring coverage is 52.49% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 181 functions across 50 files. (35 skippe… Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 4 passed

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title correctly identifies this as train 33 and lists the six component pull requests included in the changeset. It is concise and directly related to the pull request objectives.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

Docstring coverage is 52.49% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 181 functions across 50 files. (35 skipped: 24 unsupported, 11 over the file limit.)

Resolution

Write docstrings for the functions missing them to satisfy the coverage threshold.

Finishing Touches

Fix failing CI checks

  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions

Copy link
Copy Markdown
Contributor

✅ SSOT Configuration Compliance: Passing

🎉 No new hardcoded values of either class — ssot and other both block.

Known backlog in pipeline-scripts/hardcoded_values_baseline.txt is suppressed and tracked in #14371.


def _column_types(conn: sqlite3.Connection, table: str) -> dict:
"""Column name -> declared type, in table order (``table`` is always a literal here)."""
return {row[1]: row[2] for row in conn.execute(f"PRAGMA table_info({table})")} # nosec B608
logger.error("embeddings has columns %s that the rebuilt table lacks; refusing to drop them", extra)
return False
names = ", ".join(f'"{c}"' for c in new_cols if c in old_cols)
conn.execute(f"INSERT INTO embeddings_fix ({names}) SELECT {names} FROM embeddings") # nosec B608

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 15


ℹ️ Review info
⚙️ Run configuration
  • Configuration used: Repository: mrveiss/AutoBot-AI/.coderabbit.yaml
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: ce905367-cb40-49bd-9cb3-bdc2898722fe
📥 Commits

Reviewing files that changed from the base of the PR and between 555e914 and 3d9d5fa.

⛔ Files ignored due to path filters: 4
  • autobot-frontend/src/types/generated/api.ts is excluded by !**/generated/**
  • repo_tests/python_file_size_ratchet_baseline.py is excluded by !repo_tests/python_file_size_ratchet_baseline.py
  • scripts/api_wiring_baseline.txt is excluded by !**/*_baseline.txt
  • scripts/python_file_size_known_large.py is excluded by !scripts/python_file_size_known_large.py
📒 Files selected for processing: 85
  • .env.example
  • .github/filters/python-paths.yml
  • autobot-backend/api/doubled_prefix_routes_18722_test.py
  • autobot-backend/api/knowledge_grounding.py
  • autobot-backend/api/knowledge_ownership.py
  • autobot-backend/api/schemas_knowledge.py
  • autobot-backend/api/schemas_system.py
  • autobot-backend/api/system.py
  • autobot-backend/api/system_cache_coordinator.py
  • autobot-backend/initialization/lifespan.py
  • autobot-backend/tests/api/test_knowledge_grounding.py
  • autobot-backend/utils/async_chromadb_client.py
  • autobot-backend/utils/chromadb_client.py
  • autobot-backend/utils/chromadb_client_cache_key_test.py
  • autobot-backend/utils/chromadb_client_hnsw_pickle_security_test.py
  • autobot-backend/utils/chromadb_client_local_repairs_18789_test.py
  • autobot-backend/utils/chromadb_store_repairs.py
  • autobot-backend/utils/chromadb_store_repairs_18789_test.py
  • autobot-frontend/src/__tests__/transcriber/ProjectDetailView.test.ts
  • autobot-frontend/src/__tests__/transcriber/useTranscriberApi.test.ts
  • autobot-frontend/src/components/analytics/CodebaseAnalytics.vue
  • autobot-frontend/src/components/analytics/panels/CodebaseIntelligenceScoresPanel.vue
  • autobot-frontend/src/components/analytics/panels/codebaseIntelligenceScoresTypes.ts
  • autobot-frontend/src/components/knowledge/KnowledgeResearchPanel.vue
  • autobot-frontend/src/components/knowledge/knowledgeResearchTypes.ts
  • autobot-frontend/src/composables/analytics/useCodeIntelAnalysis.ts
  • autobot-frontend/src/composables/transcriber/useTranscriberApi.ts
  • autobot-frontend/src/composables/useBrowserAutomation.ts
  • autobot-frontend/src/composables/useCodeIntelligence.ts
  • autobot-frontend/src/composables/usePatternAnalysis.ts
  • autobot-frontend/src/models/repositories/KnowledgeRepository.ts
  • autobot-frontend/src/models/repositories/SystemRepository.ts
  • autobot-frontend/src/models/repositories/knowledgeFactMapping.ts
  • autobot-frontend/src/services/api.ts
  • autobot-frontend/src/views/BrowserAutomationView.vue
  • autobot-frontend/src/views/DevSpeedupView.vue
  • autobot-frontend/src/views/devSpeedupCodeAction.ts
  • autobot-frontend/src/views/llc/WorkItemDetail.vue
  • autobot-frontend/src/views/llc/workItemDetailTypes.ts
  • autobot-frontend/src/views/transcriber/ProjectDetailView.vue
  • autobot-slm-frontend/src/composables/autobotAdminModels.ts
  • autobot-slm-frontend/src/composables/useAutobotApi.ts
  • autobot-slm-frontend/src/locales/ar.json
  • autobot-slm-frontend/src/locales/de.json
  • autobot-slm-frontend/src/locales/en.json
  • autobot-slm-frontend/src/locales/es.json
  • autobot-slm-frontend/src/locales/fa.json
  • autobot-slm-frontend/src/locales/fr.json
  • autobot-slm-frontend/src/locales/he.json
  • autobot-slm-frontend/src/locales/lv.json
  • autobot-slm-frontend/src/locales/pl.json
  • autobot-slm-frontend/src/locales/pt.json
  • autobot-slm-frontend/src/locales/ur.json
  • autobot-slm-frontend/src/views/OrchestrationView.vue
  • autobot-slm-frontend/src/views/settings/admin/LogForwardingSettings.vue
  • autobot-slm-frontend/src/views/settings/admin/__tests__/fetchFailureStates.test.ts
  • autobot-slm-frontend/src/views/settings/admin/__tests__/logForwardingByName.test.ts
  • autobot-slm-frontend/src/views/settings/admin/logForwardingForm.ts
  • autobot_shared/api_routing/deprecated_redirects.py
  • autobot_shared/env_registry_knowledge.py
  • docker-compose.yml
  • docker/backend/entrypoint.sh
  • docs/developer/ENV_VARS.md
  • repo_tests/_glob_declared_uncovered.py
  • repo_tests/_hardcoded_ui_literal_baseline.py
  • repo_tests/_hardcoded_ui_literal_detect.py
  • repo_tests/_raw_palette_baseline.py
  • repo_tests/_reach_policy.py
  • repo_tests/_reach_policy_verdicts.py
  • repo_tests/_ui_literal_rederive.py
  • repo_tests/_ui_literal_scan.py
  • repo_tests/audio_extension_allowlist_test.py
  • repo_tests/changes_job_equivalence_15360_test.py
  • repo_tests/docker_admin_seed_18729_test.py
  • repo_tests/frontend_file_size_ratchet_baseline.py
  • repo_tests/frontend_file_size_ratchet_test.py
  • repo_tests/hardcoded_ui_literal_ratchet_12732_test.py
  • repo_tests/no_doubled_api_prefix_18722_test.py
  • repo_tests/no_duplicate_route_registration_16908_test.py
  • repo_tests/no_secret_passthrough_routes_17899.py
  • repo_tests/reach_scope_claim_17844_test.py
  • repo_tests/regex_concept_fork_guard_18093_test.py
  • repo_tests/slm_frontend_bare_ui_literals_test.py
  • repo_tests/slm_frontend_i18n_parity_test.py
  • scripts/frontend_file_size_known_large.py

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Comment thread repo_tests/_ui_literal_scan.py Resolved
Comment thread repo_tests/_ui_literal_rederive.py Outdated
return out


_CODE_ID = re.compile(r"^([A-Za-z][a-z0-9]*[A-Z]\w*|[A-Za-z]\w*([_-]\w+)+)$")
Comment thread repo_tests/_ui_literal_scan.py Outdated


_SCRIPT_BLOCK = re.compile(r"<(script|style)\b[^>]*>.*?</\1>", re.DOTALL | re.IGNORECASE)
_SCRIPT_BODY = re.compile(r"<script\b[^>]*>(.*?)</script>", re.DOTALL | re.IGNORECASE)
@mrveiss

mrveiss commented Oct 18, 2026

Copy link
Copy Markdown
Owner Author

Superseded by the rebuilt train 33b. #18797 was taken out after it raised the shared/SLM duplication scope over its pin; the CodeQL, Semgrep and FastAPI 0.145 fixes are included there.

@mrveiss

mrveiss commented Nov 18, 2026

Copy link
Copy Markdown
Owner Author

Branch audit (zero-change deletion). This PR shows 0 changed files against main (head 63de323c2c): every change it carried is already in main. Closing and deleting the branch through this PR; it can be restored with the Restore branch button below.

@mrveiss mrveiss closed this Nov 18, 2026
@mrveiss
mrveiss deleted the train-2026-10-18-33 branch November 18, 2026 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants