Skip to content

refactor(layout): rename archive/ to legacy/ and state per-file entry status honestly - #77

Merged
2233admin merged 2 commits into
mainfrom
claudeMaster/code-intel-pipeline-issues-9042cb
Jul 31, 2026
Merged

refactor(layout): rename archive/ to legacy/ and state per-file entry status honestly#77
2233admin merged 2 commits into
mainfrom
claudeMaster/code-intel-pipeline-issues-9042cb

Conversation

@2233admin

Copy link
Copy Markdown
Owner

问题

archive/ 不是 archive。它装着唯一的安装器、恢复启动器、以及 AGENTS.md 强制要求的编码会话门禁,而 README 把 archive/install-code-intel-pipeline.ps1 写成安装主入口,第 391 行还亲口承认部分报告只由 archive/run-code-intel.ps1 产出。

把 PS1 巨石挪进一个叫 archive/ 的目录,让根目录 git ls-files 看起来干净了,却没有搬动任何一条契约。目录名断言了一次并未发生的退役——对外部读者和本仓自己的审计都是错误信号。

做法

改名为 legacy/:记录语言层归属,而不是生命周期主张。生命周期改为逐文件显式标注。

README 与 docs/repository-layout.md 现在分两组列:

仍然活跃、目前没有替代品

  • legacy/install-code-intel-pipeline.ps1 — 安装和修复入口,源码安装(含 macOS / Linux)唯一路径
  • legacy/code-intel.ps1 — 恢复启动器
  • legacy/Invoke-SentruxAgentTool.ps1 — 会话门禁,AGENTS.md 强制,退役前不可绕过([ps1-exit] T5 拆解 Invoke-SentruxAgentTool.ps1(114KB wrapper) #50
  • legacy/Find-CodeIntelProjects.ps1legacy/bootstrap-new-machine.ps1

已被取代或正在退役,不要新增调用

顺带修掉的三处失实陈述

  1. README 与 layout 文档把 check-code-intel-tools.ps1 描述为「环境 doctor」,而 [ps1-exit] T3 doctor 收编:工具/运行时体检面进 Rust doctor envelope #48 早已用原生 Rust probe 取代它。
  2. docs/repository-layout.md 仍写着 "Keep these files at the repository root" —— 根目录已经没有任何 PS1 入口。
  3. 同一文档把 scripts/{benchmarks,adapters,incubator} 列为现有 bucket,实际只有 tests/ 存在。改为写明其余是保留名。

改名的机械代价

按门禁要求的顺序执行:

  1. 活路径字面量改写,154 个文件。未改写CHANGELOG.mddocs/archive/(历史记录)、orchestration/retirements/ 下的 sealed evidence、ADR-0001 的 doctor/archive/clean verb 列表。
  2. Digest pin 重同步到不动点。pin 是链式的:doctor toolchainDigests → 共享的 capability_inventory.rs implementation digest(散在 4 个活文件)→ ast-grep conformance pin → 9 份 internalization record → integrations.jsonartifact_ref.rs / compatibility_retirement_gate.rs → 自引用的 c03-r05-r12-measurements.json 二阶效应。全部 settle 之后 packet 才能对着它们冻结。
  3. 7 个可再生退役 packet 在 pin 同步之后重新冻结,E05 先于 E10,随后更新 final commitment reconciliation 投影。

E09 保留其 archive/ 引用:它是 retired_out_of_band,冻结在一个从不存在于任何 commit 的工作树 overlay 上,无法重生成。留着是历史记录的正确状态。

验证

结果
cargo test -p code-intel 2629 passed / 45 suites / 0 failed
退役 packet 套件 8 packets、2 audits、0 known-blocked
sentrux --operation gate no degradation — 240 files、33 god files、quality 3484 → 3488,与 main 完全一致
check-hardcoded-paths.ps1 OK (130 files)
PS1 合同套件 regression-fixes / dag-facade / hospital-trust-contract / atomic-capability-contract / integration-orchestration 全过
legacy/ 路径引用存在性全仓扫描 0 缺失

没有靠放松 baseline 换绿:.sentrux/rules.toml.sentrux/baseline.json 均未改动阈值。

复核时值得注意

CODE_INTEL_HOME 在开发机上指向主 checkout。orchestration_manifest() 优先读 $CODE_INTEL_HOME/orchestration/integrations.json,所以在 worktree 里跑测试会去读主仓的 manifest,产生看着像真 drift 的假失败。本地复现请显式覆盖:

CODE_INTEL_HOME="<worktree 绝对路径>" cargo test -p code-intel

CI 无此变量,不受影响。

另外:sentrux 扫描器不读 .gitignore,所以 legacy/work/ 下的生成器临时目录(每轮重冻结会留一份 4742 行 facade 副本)会被算进 god file 计数。本地跑门禁前记得清理;干净 checkout 不受影响。

不在本 PR 范围

没有把活入口拆去 tools/。那会再触发一轮 packet refreeze 与 digest 重算,工作量约翻倍;单目录 + 逐文件标注先把错误信号消掉。

Refs #55

… status honestly

`archive/` was never an archive. It held the only installer, the recovery
launcher, and the AGENTS.md-mandated session gate, while README named
`archive/install-code-intel-pipeline.ps1` as the install entry point and
admitted that several reports are still produced only by
`archive/run-code-intel.ps1`. Moving the PS1 monoliths into a directory called
`archive/` made `git ls-files` at the root look clean without moving a single
contract, so the tree asserted a retirement that had not happened.

Rename the directory to `legacy/`, which records the language tier rather than
a lifecycle claim, and make the claim explicit per file instead:

- README and docs/repository-layout.md now list still-live entry points
  (installer, recovery launcher, session gate, project discovery, bootstrap)
  separately from facades awaiting retirement, each with its ticket.
- Correct two stale claims found on the way: `check-code-intel-tools.ps1` is
  described as the environment doctor although #48 replaced it with the native
  Rust probe (readers are now sent to `code-intel doctor`), and
  docs/repository-layout.md still said the PowerShell entry points live at the
  repository root.
- Stop advertising `legacy/scripts/{benchmarks,adapters,incubator}` as existing
  buckets; only `tests/` exists today.

Mechanical consequences of the move, in the order the gates require:

- Live path literals rewritten across 154 files. Left untouched: CHANGELOG.md
  and docs/archive/ (historical records), the sealed evidence under
  orchestration/retirements/, and the mcm verb list in ADR-0001.
- Digest pins re-synced to a fixpoint. Pins chain: the doctor toolchain
  digests, the shared capability_inventory.rs implementation digest, the
  ast-grep conformance pin, nine internalization records, two integrations.json
  entries, and the self-referential c03-r05-r12-measurements.json all had to
  settle before the packets could be frozen against them.
- All seven regenerable retirement packets re-frozen after the pin sync, E05
  before E10, and the final commitment reconciliation projection updated.
  E09 keeps its archive/ references: it is retired_out_of_band and frozen
  against a working-tree overlay that never existed as a commit, so it cannot
  be regenerated.

Verified: cargo test -p code-intel 2629 passed across 45 suites; retirement
packet suite 8 packets, 2 audits, 0 known-blocked; sentrux gate reports no
degradation (240 files, 33 god files, quality 3484 -> 3488, identical to main);
check-hardcoded-paths.ps1 OK.

Refs #55
@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@coderabbitai

coderabbitai Bot commented Jul 31, 2026

Copy link
Copy Markdown

Important

Review skipped

Too many files!

This PR contains 393 files, which is 293 over the limit of 100.

To get a review, narrow the scope:
• coderabbit review --committed # exclude uncommitted changes
• coderabbit review --dir # limit to a subdirectory
• coderabbit review --base # compare against a closer base

Upgrade to a paid plan to raise the limit.

Usage-priced reviews support at most 300 files.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: c34710f6-ecdc-4e2f-826c-006de37f0144

📥 Commits

Reviewing files that changed from the base of the PR and between e544e9b and 827fbdf.

📒 Files selected for processing (393)
  • .githooks/pre-push
  • .github/workflows/ci.yml
  • .github/workflows/parity-observe.yml
  • .github/workflows/release.yml
  • .github/workflows/skill-check.yml
  • .sentrux/rules.toml
  • AGENTS.md
  • README.md
  • claude-code-merge-queue.config.mjs
  • crates/code-intel-cli/src/artifact_ref.rs
  • crates/code-intel-cli/src/capability_inventory.rs
  • crates/code-intel-cli/src/compatibility_retirement_gate.rs
  • crates/code-intel-cli/src/doctor_adapter.rs
  • crates/code-intel-cli/src/doctor_bootstrap/mod.rs
  • crates/code-intel-cli/src/doctor_bootstrap/paths.rs
  • crates/code-intel-cli/src/hospital_score.rs
  • crates/code-intel-cli/src/main.rs
  • crates/code-intel-cli/src/orchestration.rs
  • crates/code-intel-cli/src/providers.rs
  • crates/code-intel-cli/tests/artifact_index.rs
  • crates/code-intel-cli/tests/artifact_ref.rs
  • crates/code-intel-cli/tests/capability_exec.rs
  • crates/code-intel-cli/tests/codenexus_adapter.rs
  • crates/code-intel-cli/tests/compatibility_retirement_gate.rs
  • crates/code-intel-cli/tests/compatibility_retirement_ticket_template.rs
  • crates/code-intel-cli/tests/doctor_bootstrap_cli.rs
  • crates/code-intel-cli/tests/graph_adapter.rs
  • crates/code-intel-cli/tests/hospital_diagnosis.rs
  • crates/code-intel-cli/tests/internalization_record.rs
  • crates/code-intel-cli/tests/native_code_evidence.rs
  • crates/code-intel-cli/tests/primary_entry.rs
  • crates/code-intel-cli/tests/sentrux_adapter.rs
  • crates/code-intel-cli/tests/sentrux_analysis.rs
  • crates/code-intel-cli/tests/survival_scan.rs
  • docs/adr/0001-merge-mcm-rust-unified.md
  • docs/adr/0009-atomic-capability-execution-model.md
  • docs/adr/0011-primary-cli-and-recovery-launcher.md
  • docs/advisory-workflow-recommendation.md
  • docs/architecture/reference-capability-map.md
  • docs/atomic-development-model.md
  • docs/automatic-pull-request-beta.md
  • docs/code-intel-architecture.md
  • docs/code-intel-project-conformance.md
  • docs/code-intel-three-stage-acceptance.md
  • docs/codenexus-provider-adapter.md
  • docs/committed-run-index.md
  • docs/compatibility-facade-finalize.md
  • docs/compatibility-retire-codenexus-direct-branch.md
  • docs/compatibility-retire-doctor-wrapper-branch.md
  • docs/compatibility-retire-hospital-branch.md
  • docs/compatibility-retire-index-branch.md
  • docs/compatibility-retire-native-code-branch.md
  • docs/compatibility-retire-provider-preflight-branch.md
  • docs/compatibility-retire-publication-branch.md
  • docs/compatibility-retire-recommender-branch.md
  • docs/compete-project-score.md
  • docs/doctor-envelope.md
  • docs/final-commitment-reconciliation-usage.md
  • docs/final-commitment-reconciliation.md
  • docs/follow-up-automation.md
  • docs/hospital-diagnosis.md
  • docs/implementation-minimalism-benchmark.md
  • docs/integration-orchestration.md
  • docs/inventory-rg-capability-contract.md
  • docs/language-adapter-acceptance-standard.md
  • docs/model-executable-handle.md
  • docs/multi-agent-merge-queue.md
  • docs/multi-agent-workspace-governance.md
  • docs/openspec-detector.md
  • docs/plans/adr-0010-execution-plan.md
  • docs/plans/automatic-pr-one-command-orchestration-idea.md
  • docs/plans/four-blind-spots-closure-idea.md
  • docs/plans/pon-parity-floor-idea.md
  • docs/plans/sentrux-rust-analysis-kernel-idea.md
  • docs/plans/three-stage-project-acceptance-idea.md
  • docs/plans/v0.3.0-release-bootstrap-and-layout-idea.md
  • docs/pon-conformance-ratchet.md
  • docs/ponytail-gain-ledger.md
  • docs/ponytail-governance-gate.md
  • docs/ponytail-impact-scoreboard.md
  • docs/ps1-exit/contract-inventory.md
  • docs/ps1-exit/t2-launcher-classification.md
  • docs/public-beta.md
  • docs/python314-pon-development.md
  • docs/repository-layout.md
  • docs/repowise-adapter.md
  • docs/runtime-ci-evidence.md
  • docs/sentrux-provider-adapter.md
  • docs/skill-development-benchmark.md
  • legacy/Find-CodeIntelProjects.ps1
  • legacy/Install-MultiAgentMergeQueue.ps1
  • legacy/Install-SentruxVlangOverlay.ps1
  • legacy/Invoke-CccSliceBenchmark.ps1
  • legacy/Invoke-CodeEvidenceABTest.ps1
  • legacy/Invoke-CodeIntelAcceptance.ps1
  • legacy/Invoke-CodeIntelAutomaticPullRequest.ps1
  • legacy/Invoke-CodeIntelAutomaticPullRequestFlow.ps1
  • legacy/Invoke-CodeIntelOrchestrator.ps1
  • legacy/Invoke-CodeNexusLite.ps1
  • legacy/Invoke-CompatibilityFacadeFinalize.ps1
  • legacy/Invoke-CompeteProjectScore.ps1
  • legacy/Invoke-GitHubSolutionResearch.ps1
  • legacy/Invoke-GreenfieldSpecExtraction.ps1
  • legacy/Invoke-ModelChannelDelegate.ps1
  • legacy/Invoke-MultiAgentMergeQueue.ps1
  • legacy/Invoke-MultiAgentWorkspacePreflight.ps1
  • legacy/Invoke-NativeRetrievalBenchmark.ps1
  • legacy/Invoke-ProviderRuntimeInventory.ps1
  • legacy/Invoke-RepomixCodePack.ps1
  • legacy/Invoke-RepowiseProviderProbe.ps1
  • legacy/Invoke-ScopedRepowise.ps1
  • legacy/Invoke-SentruxAgentTool.ps1
  • legacy/Invoke-WorkflowRecommendation.ps1
  • legacy/New-ModelAdapterRequest.ps1
  • legacy/New-ModelExecutableHandle.ps1
  • legacy/OpenSpec-Detector.ps1
  • legacy/bootstrap-new-machine.ps1
  • legacy/check-code-intel-tools.ps1
  • legacy/code-intel.ps1
  • legacy/install-code-intel-pipeline.ps1
  • legacy/invoke-code-intel.ps1
  • legacy/run-code-intel.ps1
  • legacy/scripts/tests/Test-CodeIntelProjectConformance.ps1
  • legacy/scripts/tests/Test-LanguageAdapterAcceptance.ps1
  • legacy/scripts/tests/Test-Python314PonCompatibility.ps1
  • legacy/scripts/tests/Test-SentruxVlangOverlay.ps1
  • legacy/scripts/tests/test-artifact-index-contract.ps1
  • legacy/scripts/tests/test-atomic-capability-contract.ps1
  • legacy/scripts/tests/test-ccc-slice-benchmark.ps1
  • legacy/scripts/tests/test-code-evidence-ab.ps1
  • legacy/scripts/tests/test-code-evidence-layer.ps1
  • legacy/scripts/tests/test-code-intel-acceptance.ps1
  • legacy/scripts/tests/test-code-intel-pipeline.ps1
  • legacy/scripts/tests/test-code-intel-project-conformance.ps1
  • legacy/scripts/tests/test-code-intel-provider.ps1
  • legacy/scripts/tests/test-codenexus-adapter-contract.ps1
  • legacy/scripts/tests/test-codenexus-generated-path-filter.ps1
  • legacy/scripts/tests/test-compatibility-facade-finalize.ps1
  • legacy/scripts/tests/test-compete-project-score.ps1
  • legacy/scripts/tests/test-dag-facade.ps1
  • legacy/scripts/tests/test-doctor-repo-config-resolution.ps1
  • legacy/scripts/tests/test-github-solution-research.ps1
  • legacy/scripts/tests/test-greenfield-integration.ps1
  • legacy/scripts/tests/test-hospital-trust-contract.ps1
  • legacy/scripts/tests/test-integration-orchestration.ps1
  • legacy/scripts/tests/test-language-adapter-acceptance.ps1
  • legacy/scripts/tests/test-model-request-synthesis-and-handle.ps1
  • legacy/scripts/tests/test-multi-agent-merge-queue.ps1
  • legacy/scripts/tests/test-multi-agent-workspace-preflight.ps1
  • legacy/scripts/tests/test-native-retrieval-benchmark.ps1
  • legacy/scripts/tests/test-parity-baseline.ps1
  • legacy/scripts/tests/test-parity-floor.ps1
  • legacy/scripts/tests/test-ponytail-gate-contract.ps1
  • legacy/scripts/tests/test-primary-launchers.ps1
  • legacy/scripts/tests/test-project-discovery.ps1
  • legacy/scripts/tests/test-project-management-support.ps1
  • legacy/scripts/tests/test-provider-runtime-inventory.ps1
  • legacy/scripts/tests/test-ps1-rust-parity.ps1
  • legacy/scripts/tests/test-python314-pon-compatibility.ps1
  • legacy/scripts/tests/test-regression-fixes.ps1
  • legacy/scripts/tests/test-repo-config-resolution.ps1
  • legacy/scripts/tests/test-repomix-code-pack.ps1
  • legacy/scripts/tests/test-repowise-adapter-contract.ps1
  • legacy/scripts/tests/test-repowise-provider-probe-classification.ps1
  • legacy/scripts/tests/test-retirement-packets.ps1
  • legacy/scripts/tests/test-run-commit-contract.ps1
  • legacy/scripts/tests/test-runtime-ci-hospital-pet.ps1
  • legacy/scripts/tests/test-scoped-repowise-security.ps1
  • legacy/scripts/tests/test-scoped-repowise-worktree.ps1
  • legacy/scripts/tests/test-sentrux-failure-normalization.ps1
  • legacy/scripts/tests/test-skill-development-benchmark.ps1
  • legacy/scripts/tests/test-stable-wrapper-e2e.ps1
  • legacy/scripts/tests/test-survival-scan-contract.ps1
  • legacy/scripts/tests/test-transactional-publication.ps1
  • legacy/scripts/tests/test-workflow-recommendation-brief.ps1
  • legacy/tests/test-automatic-pull-request-flow.ps1
  • legacy/tests/test-automatic-pull-request.ps1
  • legacy/tests/test-follow-up-automation.ps1
  • legacy/tests/test-model-channel-degraded-pipeline.ps1
  • legacy/tests/test-model-channel-delegate.ps1
  • legacy/tools/Invoke-CodeIntelAutomaticPullRequest.ps1
  • legacy/tools/Invoke-CodeIntelAutomaticPullRequestFlow.ps1
  • legacy/tools/New-BetaPackage.ps1
  • legacy/tools/Test-BetaPackage.ps1
  • legacy/tools/Test-FinalCommitmentReconciliation.ps1
  • legacy/tools/check-hardcoded-paths.ps1
  • legacy/tools/code-intel-follow-up-automation.psm1
  • legacy/tools/code-intel-platform.psm1
  • legacy/tools/compatibility/New-CodeNexusDirectRetirementPacket.ps1
  • legacy/tools/compatibility/New-DoctorWrapperRetirementPacket.ps1
  • legacy/tools/compatibility/New-HospitalRetirementPacket.ps1
  • legacy/tools/compatibility/New-IndexRetirementPacket.ps1
  • legacy/tools/compatibility/New-NativeCodeRetirementPacket.ps1
  • legacy/tools/compatibility/New-ProviderPreflightRetirementPacket.ps1
  • legacy/tools/compatibility/New-PublicationRetirementPacket.ps1
  • legacy/tools/compatibility/New-RecommenderRetirementPacket.ps1
  • legacy/tools/compatibility/Restore-CodeNexusDirectBranch.ps1
  • legacy/tools/compatibility/Restore-DoctorWrapperBranch.ps1
  • legacy/tools/compatibility/Restore-HospitalLegacyBranch.ps1
  • legacy/tools/compatibility/Restore-IndexLegacyBranch.ps1
  • legacy/tools/compatibility/Restore-NativeCodeEmbeddedBranch.ps1
  • legacy/tools/compatibility/Restore-ProviderPreflightLegacyBranch.ps1
  • legacy/tools/compatibility/Restore-PublicationLegacyBranch.ps1
  • legacy/tools/compatibility/Restore-RecommenderLegacyBranch.ps1
  • legacy/tools/compatibility/Test-CodeNexusDirectRetirementPacket.ps1
  • legacy/tools/compatibility/Test-DoctorWrapperRetirementPacket.ps1
  • legacy/tools/compatibility/Test-HospitalRetirementBoundary.ps1
  • legacy/tools/compatibility/Test-HospitalRetirementPacket.ps1
  • legacy/tools/compatibility/Test-IndexRetirementBoundary.ps1
  • legacy/tools/compatibility/Test-IndexRetirementPacket.ps1
  • legacy/tools/compatibility/Test-NativeCodeRetirementPacket.ps1
  • legacy/tools/compatibility/Test-ProviderPreflightRetirementBoundary.ps1
  • legacy/tools/compatibility/Test-ProviderPreflightRetirementPacket.ps1
  • legacy/tools/compatibility/Test-PublicationRetirementBoundary.ps1
  • legacy/tools/compatibility/Test-PublicationRetirementPacket.ps1
  • legacy/tools/compatibility/Test-RecommenderRetirementPacket.ps1
  • legacy/tools/sentrux-shim/sentrux
  • legacy/tools/sentrux-shim/sentrux-lite-core.ps1
  • legacy/tools/sentrux-shim/sentrux-shim.ps1
  • legacy/tools/sentrux-shim/sentrux.cmd
  • legacy/update-code-intel-index.ps1
  • orchestration/acceptance/native-code-evidence-candidate.json
  • orchestration/code-intel-project-conformance-policy.v1.json
  • orchestration/evidence/final-commitment-reconciliation.json
  • orchestration/facade-finalize-policy.v1.json
  • orchestration/integrations.json
  • orchestration/internalization/ast-grep.json
  • orchestration/internalization/c03-r05-r12-measurements.json
  • orchestration/internalization/claude-code-merge-queue.json
  • orchestration/internalization/cocoindex.json
  • orchestration/internalization/codenexus.json
  • orchestration/internalization/git.json
  • orchestration/internalization/github-research.json
  • orchestration/internalization/graph.json
  • orchestration/internalization/greenfield.json
  • orchestration/internalization/gstack.json
  • orchestration/internalization/matt-flow.json
  • orchestration/internalization/my-code-machine.json
  • orchestration/internalization/native-code-evidence.json
  • orchestration/internalization/openspec.json
  • orchestration/internalization/pon-project-conformance.json
  • orchestration/internalization/pon-python314-development.json
  • orchestration/internalization/pon.json
  • orchestration/internalization/repomix.json
  • orchestration/internalization/repowise.json
  • orchestration/internalization/rg.json
  • orchestration/internalization/sentrux.json
  • orchestration/internalization/spec-kit.json
  • orchestration/internalization/tree-sitter-v.json
  • orchestration/internalization/yao-meta-skill.json
  • orchestration/retirements/e02-recommender/compatibility-retirement-deletion-diff.json
  • orchestration/retirements/e02-recommender/compatibility-retirement-manifest.json
  • orchestration/retirements/e02-recommender/compatibility-retirement-ticket.json
  • orchestration/retirements/e02-recommender/e00-request.json
  • orchestration/retirements/e02-recommender/e01-request.json
  • orchestration/retirements/e02-recommender/e01-stderr.txt
  • orchestration/retirements/e02-recommender/evidence/c00-necessity.json
  • orchestration/retirements/e02-recommender/evidence/compatibility-window.json
  • orchestration/retirements/e02-recommender/evidence/contract-parity.json
  • orchestration/retirements/e02-recommender/evidence/dependency-d02-clean-machine.json
  • orchestration/retirements/e02-recommender/evidence/dependency-repo-snapshot.json
  • orchestration/retirements/e02-recommender/evidence/effect-parity.json
  • orchestration/retirements/e02-recommender/evidence/golden-parity.json
  • orchestration/retirements/e02-recommender/evidence/independent-approval.json
  • orchestration/retirements/e02-recommender/evidence/registry-reconciliation.json
  • orchestration/retirements/e02-recommender/evidence/replacement-atom.json
  • orchestration/retirements/e02-recommender/evidence/rollback-execution.json
  • orchestration/retirements/e02-recommender/evidence/usage-observation.json
  • orchestration/retirements/e02-recommender/gate-out/compatibility-retirement-decision.json
  • orchestration/retirements/e03-provider-preflight/compatibility-retirement-deletion-diff.json
  • orchestration/retirements/e03-provider-preflight/compatibility-retirement-manifest.json
  • orchestration/retirements/e03-provider-preflight/compatibility-retirement-ticket.json
  • orchestration/retirements/e03-provider-preflight/e00-request.json
  • orchestration/retirements/e03-provider-preflight/e01-request.json
  • orchestration/retirements/e03-provider-preflight/e01-stderr.txt
  • orchestration/retirements/e03-provider-preflight/evidence/c00-necessity.json
  • orchestration/retirements/e03-provider-preflight/evidence/compatibility-window.json
  • orchestration/retirements/e03-provider-preflight/evidence/contract-parity.json
  • orchestration/retirements/e03-provider-preflight/evidence/dependency-a04-admissibility.json
  • orchestration/retirements/e03-provider-preflight/evidence/dependency-repo-snapshot.json
  • orchestration/retirements/e03-provider-preflight/evidence/effect-parity.json
  • orchestration/retirements/e03-provider-preflight/evidence/golden-parity.json
  • orchestration/retirements/e03-provider-preflight/evidence/independent-approval.json
  • orchestration/retirements/e03-provider-preflight/evidence/registry-reconciliation.json
  • orchestration/retirements/e03-provider-preflight/evidence/replacement-atom.json
  • orchestration/retirements/e03-provider-preflight/evidence/rollback-execution.json
  • orchestration/retirements/e03-provider-preflight/evidence/usage-observation.json
  • orchestration/retirements/e03-provider-preflight/gate-out/compatibility-retirement-decision.json
  • orchestration/retirements/e04-codenexus-direct/compatibility-retirement-deletion-diff.json
  • orchestration/retirements/e04-codenexus-direct/compatibility-retirement-manifest.json
  • orchestration/retirements/e04-codenexus-direct/compatibility-retirement-ticket.json
  • orchestration/retirements/e04-codenexus-direct/e00-request.json
  • orchestration/retirements/e04-codenexus-direct/e01-request.json
  • orchestration/retirements/e04-codenexus-direct/e01-stderr.txt
  • orchestration/retirements/e04-codenexus-direct/evidence/c00-necessity.json
  • orchestration/retirements/e04-codenexus-direct/evidence/compatibility-window.json
  • orchestration/retirements/e04-codenexus-direct/evidence/contract-parity.json
  • orchestration/retirements/e04-codenexus-direct/evidence/dependency-b05.json
  • orchestration/retirements/e04-codenexus-direct/evidence/effect-parity.json
  • orchestration/retirements/e04-codenexus-direct/evidence/golden-parity.json
  • orchestration/retirements/e04-codenexus-direct/evidence/independent-approval.json
  • orchestration/retirements/e04-codenexus-direct/evidence/registry-reconciliation.json
  • orchestration/retirements/e04-codenexus-direct/evidence/replacement-atom.json
  • orchestration/retirements/e04-codenexus-direct/evidence/rollback-execution.json
  • orchestration/retirements/e04-codenexus-direct/evidence/usage-observation.json
  • orchestration/retirements/e04-codenexus-direct/gate-out/compatibility-retirement-decision.json
  • orchestration/retirements/e04-codenexus-direct/rollback-rehearsal/run-code-intel.ps1
  • orchestration/retirements/e05-publication/compatibility-retirement-deletion-diff.json
  • orchestration/retirements/e05-publication/compatibility-retirement-manifest.json
  • orchestration/retirements/e05-publication/compatibility-retirement-ticket.json
  • orchestration/retirements/e05-publication/e00-request.json
  • orchestration/retirements/e05-publication/e01-request.json
  • orchestration/retirements/e05-publication/e01-stderr.txt
  • orchestration/retirements/e05-publication/evidence/c00-necessity.json
  • orchestration/retirements/e05-publication/evidence/compatibility-window.json
  • orchestration/retirements/e05-publication/evidence/contract-parity.json
  • orchestration/retirements/e05-publication/evidence/dependency-a06-stage.json
  • orchestration/retirements/e05-publication/evidence/dependency-a09.json
  • orchestration/retirements/e05-publication/evidence/effect-parity.json
  • orchestration/retirements/e05-publication/evidence/golden-parity.json
  • orchestration/retirements/e05-publication/evidence/independent-approval.json
  • orchestration/retirements/e05-publication/evidence/registry-reconciliation.json
  • orchestration/retirements/e05-publication/evidence/replacement-atom.json
  • orchestration/retirements/e05-publication/evidence/rollback-execution.json
  • orchestration/retirements/e05-publication/evidence/usage-observation.json
  • orchestration/retirements/e05-publication/gate-out/compatibility-retirement-decision.json
  • orchestration/retirements/e05-publication/rollback-rehearsal/run-code-intel.ps1
  • orchestration/retirements/e07-native-code/compatibility-retirement-deletion-diff.json
  • orchestration/retirements/e07-native-code/compatibility-retirement-manifest.json
  • orchestration/retirements/e07-native-code/compatibility-retirement-ticket.json
  • orchestration/retirements/e07-native-code/e00-request.json
  • orchestration/retirements/e07-native-code/e01-request.json
  • orchestration/retirements/e07-native-code/e01-stderr.txt
  • orchestration/retirements/e07-native-code/evidence/c00-necessity.json
  • orchestration/retirements/e07-native-code/evidence/compatibility-window.json
  • orchestration/retirements/e07-native-code/evidence/contract-parity.json
  • orchestration/retirements/e07-native-code/evidence/dependency-inventory.json
  • orchestration/retirements/e07-native-code/evidence/dependency-snapshot.json
  • orchestration/retirements/e07-native-code/evidence/effect-parity.json
  • orchestration/retirements/e07-native-code/evidence/golden-parity.json
  • orchestration/retirements/e07-native-code/evidence/independent-approval.json
  • orchestration/retirements/e07-native-code/evidence/registry-reconciliation.json
  • orchestration/retirements/e07-native-code/evidence/replacement-atom.json
  • orchestration/retirements/e07-native-code/evidence/rollback-execution.json
  • orchestration/retirements/e07-native-code/evidence/usage-observation.json
  • orchestration/retirements/e07-native-code/gate-out/compatibility-retirement-decision.json
  • orchestration/retirements/e07-native-code/rollback-rehearsal/run-code-intel.ps1
  • orchestration/retirements/e08-hospital/compatibility-retirement-deletion-diff.json
  • orchestration/retirements/e08-hospital/compatibility-retirement-manifest.json
  • orchestration/retirements/e08-hospital/compatibility-retirement-ticket.json
  • orchestration/retirements/e08-hospital/e00-request.json
  • orchestration/retirements/e08-hospital/e01-request.json
  • orchestration/retirements/e08-hospital/e01-stderr.txt
  • orchestration/retirements/e08-hospital/evidence/c00-necessity.json
  • orchestration/retirements/e08-hospital/evidence/compatibility-window.json
  • orchestration/retirements/e08-hospital/evidence/contract-parity.json
  • orchestration/retirements/e08-hospital/evidence/dependency-a04.json
  • orchestration/retirements/e08-hospital/evidence/dependency-b07.json
  • orchestration/retirements/e08-hospital/evidence/effect-parity.json
  • orchestration/retirements/e08-hospital/evidence/golden-parity.json
  • orchestration/retirements/e08-hospital/evidence/independent-approval.json
  • orchestration/retirements/e08-hospital/evidence/registry-reconciliation.json
  • orchestration/retirements/e08-hospital/evidence/replacement-atom.json
  • orchestration/retirements/e08-hospital/evidence/rollback-execution.json
  • orchestration/retirements/e08-hospital/evidence/usage-observation.json
  • orchestration/retirements/e08-hospital/gate-out/compatibility-retirement-decision.json
  • orchestration/retirements/e10-index/compatibility-retirement-deletion-diff.json
  • orchestration/retirements/e10-index/compatibility-retirement-manifest.json
  • orchestration/retirements/e10-index/compatibility-retirement-ticket.json
  • orchestration/retirements/e10-index/e00-request.json
  • orchestration/retirements/e10-index/e01-request.json
  • orchestration/retirements/e10-index/e01-stderr.txt
  • orchestration/retirements/e10-index/evidence/c00-necessity.json
  • orchestration/retirements/e10-index/evidence/compatibility-window.json
  • orchestration/retirements/e10-index/evidence/contract-parity.json
  • orchestration/retirements/e10-index/evidence/dependency-e05.json
  • orchestration/retirements/e10-index/evidence/effect-parity.json
  • orchestration/retirements/e10-index/evidence/golden-parity.json
  • orchestration/retirements/e10-index/evidence/independent-approval.json
  • orchestration/retirements/e10-index/evidence/registry-reconciliation.json
  • orchestration/retirements/e10-index/evidence/replacement-atom.json
  • orchestration/retirements/e10-index/evidence/rollback-execution.json
  • orchestration/retirements/e10-index/evidence/usage-observation.json
  • orchestration/retirements/e10-index/gate-out/compatibility-retirement-decision.json
  • orchestration/schema-lifecycle.v1.json
  • overlays/repowise/README.md
  • overlays/sentrux/vlang/README.md
  • skills/code-intel-pipeline/SKILL.md
  • skills/code-intel-pipeline/scripts/bootstrap.py
  • templates/idea-file.md
  • templates/minimax-deploy-checklist.md
  • tests/test_repository_layout.py
  • tests/test_skill_package.py

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

…caught

Two misses from the rename, both invisible to a `archive/` substring search:

- `tests/test_repository_layout.py` built the contract-test directory from path
  segments (`ROOT / "archive" / "scripts" / "tests"`), so no `archive/` literal
  existed to rewrite. Point it at `legacy/`. Rename `PUBLIC_ROOT_ENTRY_POINTS`
  and its test to drop "root": nothing has been at the repository root since the
  PowerShell surface moved, and the old name asserted otherwise.
- `legacy/` is one character shorter than `archive/`, which lets rustfmt fold a
  call in `tests/compatibility_retirement_gate.rs` back onto fewer lines.
  `cargo fmt --all` applied; no pin re-sync followed, since the reformatted file
  is not pinned by any orchestration record and the retirement packets stayed
  green.

Verified: cargo test -p code-intel 2629 passed across 45 suites; python -m
unittest discover -s tests 22 passed; retirement packet suite 8 packets,
2 audits, 0 known-blocked; sentrux gate reports no degradation; cargo fmt
--all --check clean.

Refs #55
@2233admin
2233admin merged commit 3ccb31b into main Jul 31, 2026
10 checks passed
2233admin added a commit that referenced this pull request Jul 31, 2026
The step named "Authoritative self-scan (release gate parity)" runs at
ci.yml:80 and :415, before "Install portable pipeline" at :195 and :529.
So on the runner no external provider is ever on PATH when the doctor
node evaluates, and `sentrux_ready` is always the `builtin && !external`
disjunct. The `(core && pro)` branch — the one every installed developer
machine takes, and the one a stale shim forwarder breaks — had no
coverage in the step that claims parity.

That is not hypothetical: this worktree's self-scan failed its doctor
node for hours because %LOCALAPPDATA%\code-intel\bin\sentrux-shim.ps1
still pointed at `archive/`, which #77 renamed to `legacy/`. CI was
green throughout, not because the runner was healthier but because it
never reached the branch.

`doctor bootstrap` alone cannot catch it either: it deliberately reports
ok while a present external provider is broken, since the built-in
engines make an external one optional. The strict reading lived only in
the DAG node.

So the strict verdict becomes callable: `doctor bootstrap
--require-provider-conformance` exits nonzero when a present provider is
nonconforming, and both post-install Doctor steps now pass it. Proven
both ways on this machine: with a broken overlay the flag exits 65 with
the provider named, without the flag the same tree exits 0.

The provider rows move to their own module rather than being restated in
the new caller. Two copies of a governance rule drift, and this drift
would be invisible until a machine and CI disagreed about whether an
installation is sound. The module also keeps doctor_adapter.rs under the
god-file threshold, which the gate caught when the rows and their tests
briefly lived there — 33 -> 34 god files, quality -120. Splitting was
the fix; re-baselining would have been the cheat.

Pins re-synced across integrations.json, the internalization records,
run-code-intel.ps1's request builder, and the test constants that mirror
them; six packets regenerated at their recorded EvaluatedAt because the
launcher edit is a genuine frozen-source change.

Refs #78
2233admin added a commit that referenced this pull request Jul 31, 2026
* fix(ci): cover the doctor branch every installed machine takes

The step named "Authoritative self-scan (release gate parity)" runs at
ci.yml:80 and :415, before "Install portable pipeline" at :195 and :529.
So on the runner no external provider is ever on PATH when the doctor
node evaluates, and `sentrux_ready` is always the `builtin && !external`
disjunct. The `(core && pro)` branch — the one every installed developer
machine takes, and the one a stale shim forwarder breaks — had no
coverage in the step that claims parity.

That is not hypothetical: this worktree's self-scan failed its doctor
node for hours because %LOCALAPPDATA%\code-intel\bin\sentrux-shim.ps1
still pointed at `archive/`, which #77 renamed to `legacy/`. CI was
green throughout, not because the runner was healthier but because it
never reached the branch.

`doctor bootstrap` alone cannot catch it either: it deliberately reports
ok while a present external provider is broken, since the built-in
engines make an external one optional. The strict reading lived only in
the DAG node.

So the strict verdict becomes callable: `doctor bootstrap
--require-provider-conformance` exits nonzero when a present provider is
nonconforming, and both post-install Doctor steps now pass it. Proven
both ways on this machine: with a broken overlay the flag exits 65 with
the provider named, without the flag the same tree exits 0.

The provider rows move to their own module rather than being restated in
the new caller. Two copies of a governance rule drift, and this drift
would be invisible until a machine and CI disagreed about whether an
installation is sound. The module also keeps doctor_adapter.rs under the
god-file threshold, which the gate caught when the rows and their tests
briefly lived there — 33 -> 34 god files, quality -120. Splitting was
the fix; re-baselining would have been the cheat.

Pins re-synced across integrations.json, the internalization records,
run-code-intel.ps1's request builder, and the test constants that mirror
them; six packets regenerated at their recorded EvaluatedAt because the
launcher edit is a genuine frozen-source change.

Refs #78

* fix(orchestration): pin the doctor adapter digest to its committed bytes

CI failed `registry_toolchain_digests_bind_the_adapter_and_dispatch_sources`
on all four lanes while the same test passed locally. The pin had been
computed from a working-copy state that a later `cargo fmt` changed, so
the recorded digest described bytes no checkout would ever produce.

Re-pinned from `git show HEAD:<path>` rather than from the working file,
and verified every doctor/gate/snapshot source pinned in the registry now
hashes identically in both. E08 regenerated: its frozen set carries
doctor_adapter.rs.

Refs #78
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