← Back to Pull requests

fix: deploy Honcho on Railway without API-key auth #2

Closed
unknown closed this pull request without merging on Nov 22, 2026 19:48 UTC
View on GitHub
unknown unknown commented on Nov 22, 2026 19:40 UTC
Author

<!-- CURSOR_AGENT_PR_BODY_BEGIN -->

Description

The Railway template forced API-key auth. AUTH_USE_AUTH=true requires a Bearer JWT and AUTH_JWT_SECRET at boot. honcho init calls that path "Paste an API key". This server has no browser-login routes. Device login is only advertised by managed Honcho. The template now leaves AUTH_USE_AUTH=false, the self-host default, and no longer blocks apply on AUTH_JWT_SECRET or LLM_OPENAI_API_KEY.

Railway's Dockerfile parser rejected --mount=type=cache unless the id was s/<service id>-<target>. The api and deriver share this image, so the cache mount is removed.

Proofs

Railway project honcho in the Stornes workspace. Postgres, api, and deriver are SUCCESS on commit e84035c7. The api ran migrations and answered GET /health with 200. The deriver exited once before those migrations created the vector columns, then started. No public domain. AUTH_USE_AUTH=false on api. LLM_OPENAI_API_KEY is not set.

The first builds from main (6a089e54) failed with dockerfile invalid: flag '--mount=type=cache,target=/root/.cache/uv' is missing an id argument at Line 28.

Notes

Do not generate a public domain while auth is off. Every caller is an admin. LLM_OPENAI_API_KEY is still required later for deriver, dialectic, summaries, dreams, and embeddings, because those defaults use OpenAI (gpt-5.4-mini, text-embedding-3-small). It is not the way in. Both services are pinned to e84035c7 on cursor/railway-login-auth-54e2. After merge, point them at main with no commit pin.
<!-- CURSOR_AGENT_PR_BODY_END -->

<div><a href="https://cursor.com/agents/bc-1ab12869-e451-5f88-a95b-13eb520854e2?cursor_ref=pr_footer&cursor_cta=open_in_web"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/open-in-web-light.png"><img alt="Open in Web" width="114" height="28" src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a>&nbsp;<a href="https://cursor.com/background-agent?bcId=bc-1ab12869-e451-5f88-a95b-13eb520854e2&cursor_ref=pr_footer&cursor_cta=open_in_cursor"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img alt="Open in Cursor" width="131" height="28" src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a>&nbsp;</div>

<!-- CURSOR_SUMMARY -->
---

[!NOTE]

Low Risk

Deployment and documentation changes only; auth defaults to the existing self-host setting and Dockerfile changes affect build tooling, not runtime security logic in app code.

> <sup>Reviewed by Cursor Bugbot for commit e84035c7c4acc53db6856e3bb72e9b1967afe928. Configure here.</sup>

<!-- /CURSOR_SUMMARY -->

Diff: 379 lines (+284 / -95) across 4 files Reviewer: cursor[bot] Review duration: 7m
All Vouch review confidence checks passed
Residual risk 0.33 = Change Risk (0.71) × (1 − Review Confidence (0.53)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.71 · 379 lines diff across 4 files
0.71
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
0.17
Model 3 · Review Timing & Attention
Session adequacy: 81% · Reviewer familiarity: 35%
53%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.355
Shallow Review Depth shallow_review_depth
0.289
Sensitive Paths sensitive_paths
0.071
Ai Authored ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #2"
general weight: 0.35
Reviewers
Assignees
Unassigned
Labels
risk: low confidence: 53.4% reviewed sensitive_module
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 71.1% (HIGH) · Higher = larger blast radius
71.1%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 53.4% · Lower = rushed or shallow review
53.4%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 33.1% · Safe to merge
33.1%
Repository