Skip to content

feat: 阶段性合并 20260419#6

Merged
laugh0608 merged 346 commits into
masterfrom
dev
Apr 19, 2026
Merged

feat: 阶段性合并 20260419#6
laugh0608 merged 346 commits into
masterfrom
dev

Conversation

@laugh0608

Copy link
Copy Markdown
Owner

变更说明

请简要说明本次 PR 的目标、范围和原因。

检查清单

  • 本次改动符合当前阶段“地基建设优先”的方向,或已明确说明为何需要例外
  • 已执行对应的最小验证
  • 如修改了架构、边界、流程或规范,已同步更新 docs/ / AGENTS.md
  • 未直接向 master 提交功能改动
  • 默认目标分支为 dev;只有阶段性集成或发版时才面向 master

验证记录

请列出实际执行过的命令,例如:

cargo check
pwsh ./scripts/check-repo.ps1
./scripts/check-repo.sh

风险与后续

请说明当前已知风险、未完成项和后续建议。

laugh0608 added 30 commits April 4, 2026 10:59
- add shared host report assertions for empty, failure and success states

- cover feed/product required port recovery in session helper

- add recovery-oriented host session timeline and sync smoke docs
- cover pre-initialize report reads and repeated success report consumption

- validate terminate resets the host-visible report without reactivating calculate

- sync smoke README and weekly devlog with the shutdown timeline scenario
- extract session, recovery and shutdown timelines into a shared scenario catalog

- keep Program.cs as top-level smoke dispatcher over boundary suite and scenario runner

- sync smoke docs and weekly devlog with the scenario-template structure
- add --unitop-scenario to run all, session, recovery or shutdown host paths

- extend the scenario catalog with stable scenario ids for targeted smoke runs

- sync smoke README and weekly devlog with the new unitop entrypoint
- replace scattered initialized, terminated and disposed flags with UnitOperationLifecycleState

- route validate, calculate, terminate and placeholder access guards through shared lifecycle checks

- sync UnitOp.Mvp README and weekly devlog with the lifecycle-state refactor
- split lifecycle, required-input, companion, parameter-value and required-port checks into ordered guard steps

- keep the validation order aligned with the smoke-verified host call path

- fix Terminate() cleanup ordering so internal port release completes before the unit becomes externally terminated
- split Calculate into preparation, native input building, native solve and result materialization stages

- centralize failure recording so native and contract failures share the same summary path

- sync UnitOp.Mvp README and weekly devlog with the calculate-stage refactor
- centralize validation outcome, reset, success and failure state updates for ValStatus and calculation reports

- ensure Calculate preparation failures also flow through the standard failure-recording path

- sync UnitOp.Mvp README and weekly devlog with the report-transition refactor
- add a self-hosted UnitOp.Mvp contract test executable without external test framework dependencies

- cover lifecycle, validation failure, success, invalidation and terminate report transitions

- wire the harness into the dotnet solution and document the contract test entrypoint
- extend contract tests with native failure coverage alongside validation failure field assertions

- pin requestedOperation and nativeStatus presence rules for the current failure report contract

- sync UnitOp.Mvp README and weekly devlog with the expanded contract coverage
- freeze collection selector and identification metadata semantics

- split parameter specification into a stable read-only spec object

- lock parameter reset, mode, and lifecycle access contracts

- require explicit disconnect before replacing port connections

- extend UnitOp.Mvp contract tests and sync docs/devlog
- promote parameter and port catalogs into shared definition sources

- switch UnitOp.Mvp and smoke host wiring to canonical catalog metadata

- wrap contract and smoke executables with top-level exception boundaries

- keep startup and argument failures in console output instead of Windows crash dialogs

- sync UnitOp.Mvp README and W16 devlog with the new contract source
- add parameter and port catalog lookup helpers

- assert runtime placeholder metadata matches frozen catalog definitions

- cover case-insensitive catalog lookup and missing-definition failures
- add typed runtime collection lookup helpers and switch host/test paths to them

- bind parameter and port placeholders directly to catalog definition objects

- keep ICapeCollection.Item(object) as the external compatibility surface

- extend contract coverage for typed collection success and failure semantics

- sync README and weekly devlog with the new object runtime baseline
- build parameter and port collections directly from ordered catalog definitions

- resolve canonical placeholders by catalog-backed typed collection lookup instead of private field lists

- keep external host behavior unchanged while removing one more duplicated truth source

- sync README and weekly devlog with the catalog-driven unit runtime shape
- add parameter configuration and port connection operation metadata to catalogs

- derive validation requestedOperation guidance from catalog definitions

- add companion validation contract coverage and switch smoke assertions to catalog-backed expectations

- sync README and weekly devlog with the new host-guidance baseline
- add configuration reader and snapshot types for readiness, blocking issues and next operations

- expose configuration snapshot contracts for constructed, ready, companion-mismatch and terminated states

- switch smoke host boundary and session paths to consume configuration snapshots before validate/calculate

- sync UnitOp.Mvp and SmokeTests docs with the new host configuration baseline
- materialize native solve steps into UnitOperationCalculationResult
- add host-facing execution snapshot reader and contract coverage
- switch unitop smoke to read execution snapshot instead of report supplemental inference
- update README and weekly devlog for the new execution surface
- aggregate configuration, action-plan, port-material, execution and report into one host-facing snapshot
- add contract and smoke coverage for unified host session summary states
- expose session read path through the smoke host driver
- update README, architecture overview, boundary doc and weekly devlog
- derive a single session state from configuration, results and report surfaces
- lock the new state in contract and smoke coverage
- keep session snapshot as the top-level host read model without expanding unit accessor APIs
- update README, architecture overview, boundary doc and weekly devlog
- thread canonical sessionState through smoke session rounds
- assert stable session-state checkpoints in the host session DSL
- disambiguate reportState vs sessionState in scenario output
- update smoke README and weekly devlog
  - remove required linear history from master ruleset
  - allow merge and rebase, keep squash disabled
  - sync ADR, AGENTS and CLAUDE docs
  - align local ruleset docs with remote repository settings
- exclude external reference assets from strict text hygiene

- normalize owned solution text files and repair normalization script

- mark rf-ffi exported pointer ABI as unsafe
@laugh0608 laugh0608 merged commit be80e35 into master Apr 19, 2026
3 checks passed
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