Skip to content

feat(identity): isolate DeepCode config and CLI - #2

Merged
yuanchenglu merged 35 commits into
developfrom
agent/s1-02-c-identity
Jul 28, 2026
Merged

yuanchenglu merged 35 commits into
developfrom
agent/s1-02-c-identity

Conversation

@yuanchenglu

Copy link
Copy Markdown
Owner

What changed

  • centralizes DeepCode product identity and configuration names
  • switches Core, CLI, TUI, and managed configuration discovery to deepcode.json, deepcode.jsonc, and .deepcode
  • maps user-facing runtime environment variables to DEEPCODE_*
  • changes CLI help/version/process identity to DeepCode
  • adds active DeepCode/OpenCode coexistence tests
  • records S1-02-C ownership, scope, static checks, and pending package/CI validation

Why

The develop branch had completed S1-02-A/B, but the S1-02-C local implementation was never pushed. Without this change, DeepCode could still discover OpenCode configuration and present an OpenCode CLI identity.

Validation performed

  • all 16 file blobs verified byte-for-byte against the recovered local patch
  • git diff --check passed
  • static scans found no .opencode, opencode.json(c), or direct user-side process.env.OPENCODE_* reads in the changed identity/config paths
  • TypeScript syntax-only parsing found no TS1xxx syntax errors

Pending gate

The connector environment does not contain Bun or the repository dependencies. Package typechecks and config suites must be validated by CI. S1-02-C remains IN_REVIEW; S1-02-D must not start until required checks pass.

English:
- centralize DeepCode product identity and config names
- switch Core, CLI, TUI, and managed config discovery to deepcode.json(c) and .deepcode
- expose only DEEPCODE_* user environment variables and DeepCode CLI identity
- add active coexistence tests and S1-02-C evidence

简体中文:
- 统一 DeepCode 产品身份与配置命名
- 将 Core、CLI、TUI 和受管配置发现切换到 deepcode.json(c) 与 .deepcode
- 用户环境变量仅暴露 DEEPCODE_*,CLI 身份切换为 DeepCode
- 补充活动共存测试与 S1-02-C 证据
@yuanchenglu
yuanchenglu marked this pull request as ready for review July 27, 2026 18:04
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@yuanchenglu
yuanchenglu enabled auto-merge (squash) July 27, 2026 18:08
@yuanchenglu
yuanchenglu merged commit babc308 into develop Jul 28, 2026
5 of 7 checks passed
@yuanchenglu
yuanchenglu deleted the agent/s1-02-c-identity branch July 28, 2026 03:45
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.

1 participant