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
Guards that keep it out stay in place (no tracked .ps1, manifest names no PowerShell, install smoke without pwsh). Open owner item: .sentrux/baseline.json still lists four deleted legacy/*.ps1 god files until the next intentional save_baseline.
Activity
docs(adr): CodeNexusLite.ps1 改按 DR-0018 随 PowerShell 一并删除 (#439, #450)
docs(decisions): DR-0018 范围包含 CI 内联 PowerShell,并纳入最终门禁 (#450)
2233admin commentedon Oct 18, 2026
范围补充(DR-0018 更新):同时迁移 CI 内联 PowerShell。
.github/下有 102 处shell: pwsh,逐个 workflow 迁到 bash 或code-intel子命令;最终门禁会断言.github/中不再出现 pwsh 或 powershell。Generated by Claude Code
2233admin commentedon Oct 18, 2026
依赖图结论(main @ 6d8e5a7,只读分析)
106 个 PS 文件: 23 个属于安装/发布闭包,阶段 1 保留;78 个是阶段 1 的删除候选;另有 5 个 rollback-rehearsal 副本。
安装/发布闭包(阶段 1 保留)
$requiredFiles:check-code-intel-tools、code-intel、invoke-code-intel、Install-SentruxVlangOverlay(及其测试)、run-code-intel、Invoke-SentruxAgentTool、Invoke-ScopedRepowise、Invoke-CodeNexusLite、bootstrap-new-machine、test-code-intel-pipeline、test-code-intel-provider、update-code-intel-index、tools/code-intel-platform.psm1。New-BetaPackage/Test-BetaPackage。New-ModelAdapterRequest、Invoke-ModelChannelDelegate、Invoke-RepowiseProviderProbe。关键发现
src里所有Command::new("pwsh")都是测试代码。providers.rs要求Invoke-CodeNexusLite.ps1存在;orchestration.rs的PRODUCTION_PARTICIPANTS有 10 条锚点指向run-code-intel.ps1。这两处属于阶段 2 的耦合。retirement guard在删run-code-intel.ps1时会报错,阶段 2 需要处理。test-regression-fixes、test-primary-launchers、legacy/tests里 model-channel 和 follow-up 的测试,覆盖的是阶段 1 保留、阶段 2 才删的 PS。这些测试推迟到阶段 2 随被测代码一起删,避免中间出现覆盖空窗。阶段 1 拆分(每个 PR 结束都跑
code-intel repin --repo . --write,CI 必须全绿)legacy/tools/compatibility/*.ps1、test-retirement-packets、5 个 rollback-rehearsal、test-workflow-recommendation-brief、test-repowise-adapter-contract;改ci.yml(删步骤和 parser 列表);处理recommender_retirement_packet.rs里的 pwsh 调用。保留status.json、deletion-diff.json和 guard 步骤。parity-observe.yml;改ci.yml、release.yml、test_repository_layout.py、schema-lifecycle。integrations.json中 4 个条目。internalization_record.rs,以及 pre-push 提示。Invoke-CodeIntelAcceptance,claude-code-merge-queue.config.mjs的checkCommand改为 Rust 命令。run-code-intel.ps1的摘要锁。CI 内联 pwsh 迁移按 DR-0018 第 3 步,随各 PR 逐个 workflow 推进。
Generated by Claude Code
chore(ps): 保留两项退役状态审计的 CI 调用,退役文档标注被 DR-0018 取代 (#450)
2233admin commentedon Oct 18, 2026
进度:PR1 #452、PR2 #453 已开。
PR2 逐个核对了 38 个 legacy 测试套件,只有 2 个能现在删。计划随之调整:
integrations.json条目。schema-lifecycle.v1.json:172,以及测试安装器、run-code-intel.ps1、启动器的 20 个套件。Generated by Claude Code
test(capability): 用真实 JSON Schema 校验信封 fixture,并补回仓库包含性检查 (#450)
docs(decisions): DR-0018 删除全部 PowerShell(两阶段) (#451)
chore(ps): 删除 PS 退役工具链与配套死代码(DR-0018 阶段 1 PR1) (#452)
chore(ps): 删除已被 Rust 覆盖的两个 CI 专用 PS 套件(DR-0018 阶段 1 PR2) (#453)
docs(adr): ADR-0015 Relation Port 与三类关系 producer (#449)
ci: 单独运行 language-adapter acceptance;CHANGELOG 记录 hooksPath 一次性迁移 (#450)
2233admin commentedon Oct 18, 2026
主人决定(2026-10-18):安装改走 Skill,删掉 PowerShell 安装链路
阶段 2 不再单独写完整的 Rust 安装器,改为:
skills/code-intel-pipeline/scripts/bootstrap.py(Python,已在 CI 中运行):负责从 Release 下载、校验 SHA-256 和构建来源、解压。这部分现在已经完成。code-intel setup(Rust):CODE_INTEL_HOME(Windows 写注册表,Unix 写 shell profile,参照 rustup 的做法)。code-intel doctor bootstrap。install-code-intel-pipeline.ps1(1559 行)、bootstrap-new-machine.ps1、check-code-intel-tools.ps1、code-intel.ps1、invoke-code-intel.ps1;这样阶段 2 的安装/发布链路 PS 可以直接删,不需要等完整的 #401。
Generated by Claude Code
chore(ps): 删除全部 PowerShell 和 Rust 里对它的引用(DR-0018,#401 PR 3/3) (#460)
2233admin commentedon Oct 19, 2026
Done. PowerShell is fully removed from the product (DR-0018):
.ps1/.psm1and the Rust references to them.Guards that keep it out stay in place (no tracked
.ps1, manifest names no PowerShell, install smoke without pwsh). Open owner item:.sentrux/baseline.jsonstill lists four deletedlegacy/*.ps1god files until the next intentionalsave_baseline.Generated by Claude Code