Start CCLite 0.2.0 development baseline

This commit is contained in:
Codex
2026-07-05 23:40:12 +08:00
parent b7d00fe6a7
commit 4a2d30d81d
11 changed files with 1349 additions and 225 deletions
+29
View File
@@ -201,6 +201,34 @@ def build_protocol_alignment(fem_exe: Path) -> dict:
}
def build_v020_adapter_gate() -> dict:
return {
"gate_id": "V020_SINGLE_REAL_WORKER_SMOKE",
"status": "CONTROLLED_PROTOCOL_GAP_UNTIL_ADAPTER_TESTS_PASS",
"mock_algorithm_acceptance_independent": True,
"required_paths": [
"real SPHLite + mock FEMLite, 1 step empty coupling",
"mock SPHLite + real FEMLite, 1 step empty coupling",
"at least one single-real-worker path, 100 step empty coupling",
"real-worker payload header and stride validation",
"real-worker empty or controlled load import validation",
],
"pass_conditions": [
"worker process starts through the CCLite worker CLI",
"command seq/ack stays matched for all commands",
"worker exports an empty or controlled interface block that passes CCLite validation",
"worker consumes an empty or controlled load block and acknowledges IMPORT_LOADS",
"worker responds to ADVANCE and STOP without timeout or residual process",
],
"controlled_gap_conditions": [
"published command block layout differs from CCLite generic command block",
"published data header layout differs from CCLite generic data block header",
"resource naming cannot be mapped without an adapter",
"record stride or block role cannot be validated by the current CCLite reader",
],
}
def main() -> int:
parser = argparse.ArgumentParser()
parser.add_argument("--sph-exe", required=True)
@@ -258,6 +286,7 @@ def main() -> int:
"femlite_explicit_ipc_backend": fem_explicit_ipc,
"femlite_worker_mock": fem_mock,
"protocol_alignment": protocol_alignment,
"v020_adapter_gate": build_v020_adapter_gate(),
"conclusion": [
"The current SPHLite package reports CCLite worker and Windows shared memory/named event support.",
"The current FEMLite package reports CCLite worker, worker mock, and Windows shared memory/named event support.",