[#1007] docs(install-vps): Modernize VPS installation and remove legacy chat migration prose#1015
Merged
Merged
Conversation
…at migration prose - Remove the obsolete "Migrating from Older Versions (AgentChattr cleanup)" section from the public install guide (pm2 agentchattr-* cleanup, config key removal) — no longer relevant to a current install. - Add a Remote Access section that keeps control local-forward based: Option A (recommended) SSH local port-forward to loopback 127.0.0.1:8400 (nothing published, SSH key is the credential); Option B authenticated public dashboard via nginx+SSL that now REQUIRES `trusted_dashboard_hosts` in config (#988) plus Step 10 basic auth — without the allowlist the proxied Host/Origin is rejected and terminals die. Emphasize the server binds loopback only and the control port must never be exposed unauthenticated. - Align the port to the current default 8400 (server binds 127.0.0.1:8400, bin/quadwork.js init default): drop the port-3000 pre-create config and set nginx proxy_pass to 8400. - Multi-model parity: install/auth Gemini CLI optionally alongside Claude/Codex; note per-role backend choice. Clearly mark auth steps as operator-required. - Refresh the Quick Reference to match. Verified against current code: 127.0.0.1 bind (server/index.js:2324), session-token + trusted_dashboard_hosts model (server/index.js:30-113, :161-193), init default port 8400 (bin/quadwork.js:864). Docs-only; no runtime code, package versions, tests, legacy cleanup implementation, or quadwork-web touched. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
project7-interns
approved these changes
Jul 17, 2026
project7-interns
left a comment
Collaborator
There was a problem hiding this comment.
Verdict: APPROVE
Epic Alignment: PASS
The one-file VPS guide advances #1007 by replacing obsolete migration prose with current, secure remote-access guidance and preserves #1008’s troubleshooting boundary.
Checked (evidence)
- Scope: live
gh pr diff 1015→ onlydocs/install-vps.md; legacy cleanup code and tests are untouched. - Security model:
server/index.js:30-53,102-113,161-193,2324confirms session-token gating, loopback-only bind, and allowlisted on-box authenticated proxy behavior. - Lifecycle/port claims:
bin/quadwork.js:850-870,947-1000confirms default port 8400, init configuration, and PID-based start/stop behavior. - Riskiest part of this diff: remote access; Option A retains loopback-only SSH forwarding, and Option B expressly requires both nginx basic auth and
trusted_dashboard_hosts. - Kill-list: scanned all new diff ranges — clean.
- CI:
gh pr checks 1015→test pass(52s).
Findings
- None.
Decision
The revised guide accurately describes current CLI/authentication, lifecycle, file-chat-era operation, and the security controls required for remote access.
Owner
Author
@re2 Independent Review — APPROVE ✅ (head
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1007
Summary
Docs-only. Modernizes
docs/install-vps.md: removes the obsolete AgentChattr cleanup/migration section and makes remote access secure and local-forward based, consistent with the current server security model (loopback bind + session token +trusted_dashboard_hosts). Scope:docs/install-vps.mdonly.Changes
agentchattr-*cleanup + config-key removal) — not relevant to a current install.ssh -L 8400:127.0.0.1:8400 quadwork→ browsehttp://127.0.0.1:8400. Nothing published; the SSH key is the only credential; works with zero extra server config (request is loopback).trusted_dashboard_hostsin~/.quadwork/config.json([#968 regression] Reverse-proxy dashboard locked out of terminal WS — /api/session-token 403s the proxied Host #988) and Step 10 basic auth. Without the allowlist the proxiedHost/Originis rejected and every terminal WS dies (the previous guide was broken against current code).proxy_pass→127.0.0.1:8400.EPIC Alignment
docs/install-vps.md. This diff touches exactly that file.Self-Verification
server/index.js:2324→server.listen(PORT, "127.0.0.1", …). Default port 8400:bin/quadwork.js:253,864,911;initprompts port with default"8400"(bin/quadwork.js:864).server/index.js:30-39(auto-generatedsession_token),:102-113(/api/session-tokenlocal-only, exception =isTrustedProxyRequest),:43-53+:161-173(trusted_dashboard_hosts, loopback-socket + allowlisted Host/Origin only),:180-193(isLocalTokenRequestrequires loopback IP+Host+Origin — SSH-forward satisfies this, so Option A needs no allowlist).quadwork:pm2 restart quadworkmatchespm2 start … --name quadworkin Step 8.src/components/SetupWizard.tsx:188-192,src/lib/agentModels.ts).rg -in "3000|agentchattr" docs/install-vps.md→ no matches. Anchor#remote-accessresolves to## Remote Access.git diff --stat→docs/install-vps.mdonly.Acceptance criteria
quadwork init, pm2, restart, remote-access, and file-chat guidance verified