Skip to content

feat(runtime): merge B1 resolution core with Plan A parser hotfix subset + installer dual-host smoke fix#3

Merged
Li-Sanze merged 13 commits into
mainfrom
feature/plan-b1-resolution-core
Mar 31, 2026
Merged

feat(runtime): merge B1 resolution core with Plan A parser hotfix subset + installer dual-host smoke fix#3
Li-Sanze merged 13 commits into
mainfrom
feature/plan-b1-resolution-core

Conversation

@Li-Sanze
Copy link
Copy Markdown
Collaborator

背景

按原分支策略,B1 core 与 Plan A 应分轨推进。
本次基于用户体验优先,先将 parser/Plan A 的已验证修复一并并入,后续再单独推进 Plan A integration。
同时补充 installer 链路修复,解决 codex + claude 共装时 smoke 阶段的 host payload 歧义问题。

本次范围(Intentional Mixed Scope)

1) B1 resolution core

  • thin stub / pin 合同收口
  • payload index + versioned bundle 解析
  • host-aware preflight 与 fallback 可见性
  • installer / status / doctor / smoke 对齐

2) Plan A hotfix subset(仅修复,不做整合扩展)

  • proposal parser 边界修复(question-like / retopic / mixed case)
  • router/engine 在 proposal pending 场景的稳定性修复

3) Installer dual-host smoke fix(新增)

  • install_sopify.py 在执行 bundle smoke 时显式传入当前 target 的 payload manifest
  • run_bundle_smoke_check 支持注入 SOPIFY_PAYLOAD_MANIFEST(用于 smoke 与 debug fallback)
  • inspection 的 smoke 检查同样绑定当前 host payload,避免安装成功但报告误判
  • 影响范围限定在 installer/smoke 链路,不改 runtime 主流程策略

4) 历史文档清理

  • 20260321_go-plan evidence 外置化
  • 文档引用改为 external_archive://...

验证

  • release preflight 全通过(含 runtime unit tests + smoke + skill eval gate)
  • 重点回归:
    • proposal pending 的 question/revise/confirm 分流
    • payload bundle 解析与 legacy fallback 可见性
    • status/doctor 输出一致性
    • 同一 HOME 下 codex -> claude -> codex 连续安装 smoke 均通过(不需手工注入环境变量)

后续计划

  • 基于合入后的 main 新开 feature/plan-b1-bootstrap-policy
  • 专注 0.B + 1.x,不再混入 parser/Plan A 新增项

Li-Sanze and others added 13 commits March 29, 2026 15:41
Release-Sync: yes

Release-Version: 2026-03-30.102148

Release-Date: 2026-03-30
Release-Sync: yes

Release-Version: 2026-03-30.133450

Release-Date: 2026-03-30
Release-Sync: yes

Release-Version: 2026-03-30.134624

Release-Date: 2026-03-30
Release-Sync: yes

Release-Version: 2026-03-30.142244

Release-Date: 2026-03-30
- align workspace bootstrap and validation with stub-first manifest contracts

- stabilize payload bundle resolution for exact pin and host-delegated modes

- make host-aware preflight expose resolved bundle contracts consistently

- keep vendored preflight and distribution prewarm compatible with stub-only workspaces

- preserve visible legacy fallback without depending on legacy full-manifest fields

- keep doctor and status capability checks consistent under LEGACY_FALLBACK_SELECTED

- add regressions for exact pin, global bundle fallback, and host-aware preflight

Release-Sync: yes

Release-Version: 2026-03-30.195249

Release-Date: 2026-03-30
Release-Sync: yes

Release-Version: 2026-03-31.140148

Release-Date: 2026-03-31
Release-Sync: yes

Release-Version: 2026-03-31.142215

Release-Date: 2026-03-31
Release-Sync: yes

Release-Version: 2026-03-31.143816

Release-Date: 2026-03-31
Release-Sync: yes

Release-Version: 2026-03-31.154241

Release-Date: 2026-03-31
@Li-Sanze Li-Sanze merged commit d2e77ad into main Mar 31, 2026
4 checks passed
@Li-Sanze Li-Sanze deleted the feature/plan-b1-resolution-core branch April 15, 2026 10:12
Li-Sanze added a commit that referenced this pull request Apr 29, 2026
…sure architecture

Core philosophies (to be distilled to blueprint):
- Loop-first: produce → verify (isolated) → accumulate → produce
- Wire-composable: machine contracts independent of session/model/host
- Surface-shared: blueprint/history as cross-session shared working memory

Enrichments:
- Detailed redundancy analysis (gate protocol 3x ~100 lines → 1x ~20 lines)
- Karpathy deletion test as engineering principle #3
- Progressive disclosure: Layer 0 ≤120 lines (80% coverage)
- Single-source generation: template + vars → 4 variants
- CN/EN sync via build-prompts.py (not manual diff)

Context-Checkpoint: A
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