You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs+env accuracy sweep: .env.example and deployment.md contradict the code in eight places #156
Each item below was verified against source during the CR of #150. None is about that PR's subject; grouping them so one pass can fix them all.
.env.example
:27 claims the default response model is claude-sonnet-4-20250514; the actual default is claude-sonnet-4-6 (packages/outpost/ai/src/config.ts:21).
:64SLACK_BOT_TOKEN=xoxb-... and :65SLACK_APP_TOKEN=xapp-... are non-empty placeholders. Copying the file satisfies requireEnv (apps/slack-bot/src/config.ts:5-6) and the failure surfaces later as a confusing Slack API error instead of "you did not set the token". Leave the values empty.
:47 Discord token annotations are swapped: the bot reads DISCORD_TOKEN; DISCORD_BOT_TOKEN is the legacy fallback.
:134 the Email adapter requires POSTMARK_API_KEY and POSTMARK_FROM_EMAIL (packages/outpost/shared/src/platforms/registry.ts:96-100) and throws without them. Neither is documented.
Read at runtime but absent from the example: TEAM_MEMBER_IDS (promised by docs/deployment.md:81), ON_CALL_MEMBERS, SYNC_ECHO_WINDOW_MS, SMTP_SECURE.
docs/deployment.md
:20 instructs every service to point at apps/<app>/railway.toml, but apps/web/railway.toml does not exist — web uses the repo-root railway.toml.
:79 lists GUILD_ID, which .env.example:54 says was replaced, and omits DISCORD_BOT_TOKEN. See the dedicated issue for that contradiction.
:47 says the five HEALTH_PORT consumers each have "a different fallback", contradicted by the table directly beneath it: teams-bot and worker both fall back to 3003.
Found by: CR rounds 1-2 on #150 (slots 7-1, 4-2, 2-2).
Activity
joei4cm commentedon Dec 3, 2026
我们接手。已对照当前 main 核实:模型默认值注释与 railway.toml 段已被后续提交修正;eslint 段与 #141 重叠、GUILD_ID 矛盾由 #328 处理,本 PR 只修剩余仍成立的项——Slack 占位符、Discord token 注释、Postmark EMAIL adapter 变量、TEAM_MEMBER_IDS/ON_CALL_MEMBERS/SYNC_ECHO_WINDOW_MS/SMTP_SECURE、HEALTH_PORT fallback 表述、deployment.md Discord 列表补 DISCORD_BOT_TOKEN fallback。