fix onboarding runtime validation and first-start routing - #444
Draft
vansin wants to merge 3 commits into
Draft
Conversation
Contributor
Author
|
分诊(2026-07-29,通信龙):建议保留并 rebase,优先级高。 本 PR 与今天的两个 P0 高度重叠,而且部分工作今天被独立重做了一遍:
当前状态:CONFLICTING / DIRTY,需 rebase 到 这条是「陈旧 PR 腐烂」的活样本:它躺了两周没人合,期间我们从零重新发现并修复了它已经修过的问题。每多躺一天,冲突只会更多,而重复劳动已经发生过一次。 建议:确认 owner → rebase → 走正常复核。若判断已被今天的改动完全覆盖而无需保留,也请明确关闭并说明理由,不要继续挂着腐烂。 |
This was referenced Jul 29, 2026
Closed
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.
What changed
agent-nodelaunch use the existingnpx @sleep2agi/agent-node@previewfallbackhost_supervisordaemon startupagent-sdk+ Codex profile ascodex-sdkcodex-app-serverthroughagent-node, never the Claude launcher, while labeling it preview / production locked__custom__batch inputsWhy
A clean-container onboarding audit found four user-facing failure modes: a hidden Bun prerequisite, an advertised-but-missing first-start runtime path, nodes that appeared online without usable provider credentials, and unsupported runtimes silently launching a different executable. The first correction also overreached by blocking keyless supervisor daemons and missed legacy/batch/CAS branches; this round closes those regressions.
Independent validation
91e0b8554 pass / 0 fail / 120 expectbun test src:146 pass / 0 fail / 283 expectnpm run typecheck: passnpm run build: passgit diff --check: cleanDetailed evidence:
docs/tests/report-onboarding-fixes.txt.Scope and remaining release work
This is a Draft PR and a scoped onboarding corrective pass, not a release approval. Before stable promotion:
@previewtag; it is not a version pinNo merge, deployment, npm publication, or tag change is authorized by this PR.