Skip to main content

clm_rust_core/integration/
layer0_microkernel.rs

1use super::shell_runner::define_shell_test;
2
3// ─── Rust-native stub tests ────────────────────────────────────────────────
4
5define_shell_test!(run_integration_monadic_pcard_check_precondition,
6    "tests/00_microkernel/test_monadic_pcards", "test_monadic_pcard_check_precondition");
7
8define_shell_test!(run_integration_monadic_pcard_resolve_handle,
9    "tests/00_microkernel/test_monadic_pcards", "test_monadic_pcard_resolve_handle");
10
11define_shell_test!(run_integration_monadic_pcard_execute_payload,
12    "tests/00_microkernel/test_monadic_pcards", "test_monadic_pcard_execute_payload");
13
14define_shell_test!(run_integration_monadic_pcard_validate_postcondition,
15    "tests/00_microkernel/test_monadic_pcards", "test_monadic_pcard_validate_postcondition");
16
17pub fn run_integration_vcard_pre() -> Result<String, String> { Ok("".to_string()) }
18
19// ─── Shell-wrapper tests ───────────────────────────────────────────────────
20
21define_shell_test!(run_integration_past_execution,
22    "tests/00_microkernel/test_past_execution", "test_past_execution");
23
24define_shell_test!(run_integration_init_tridb,
25    "tests/00_microkernel/test_init_tridb", "test_init_tridb");
26
27define_shell_test!(run_integration_evaluator_functions,
28    "tests/00_microkernel/test_evaluator_functions", "test_evaluator_functions",
29    extra = r#"
30# Provide backward-compatible aliases for the legacy evaluator tests
31yaml_get() {
32    local file="$1" field="$2"
33    yq ".$field // \"\"" "$file" 2>/dev/null | grep -v '^$' || true
34}
35export -f yaml_get
36"#);
37
38define_shell_test!(run_integration_mcard_kernel,
39    "tests/00_microkernel/test_mcard_kernel", "test_mcard_kernel");
40
41define_shell_test!(run_integration_memorize_mcard,
42    "tests/00_microkernel/test_memorize_mcard", "test_memorize_mcard");
43
44define_shell_test!(run_integration_polyglot_ingest,
45    "tests/00_microkernel/test_polyglot_ingest", "test_polyglot_ingest");
46
47define_shell_test!(run_integration_modular_adapters,
48    "tests/00_microkernel/test_modular_adapters", "test_modular_adapters");
49
50define_shell_test!(run_integration_type_system,
51    "tests/00_microkernel/test_type_system", "test_type_system");
52
53define_shell_test!(run_integration_monadic_pcards,
54    "tests/00_microkernel/test_monadic_pcards", "test_monadic_pcards");
55
56define_shell_test!(run_integration_baldwin_operators,
57    "tests/00_microkernel/test_baldwin_operators", "test_baldwin_operators");
58
59define_shell_test!(run_integration_symbol_extraction,
60    "tests/00_microkernel/test_symbol_extraction", "test_symbol_extraction");
61
62define_shell_test!(run_integration_symbol_adapter_integration,
63    "tests/00_microkernel/test_symbol_adapter_integration", "test_symbol_adapter_integration");
64
65define_shell_test!(run_integration_handle_indirection,
66    "tests/00_microkernel/test_handle_indirection", "test_handle_indirection");
67
68define_shell_test!(run_integration_hash_migration,
69    "tests/00_microkernel/test_hash_migration", "test_hash_migration");
70
71define_shell_test!(run_integration_pcard_monad_composition,
72    "tests/00_microkernel/test_pcard_monad_composition", "test_pcard_monad_composition");
73
74define_shell_test!(run_integration_function_failures,
75    "tests/00_microkernel/test_function_failures", "test_function_failures");
76
77define_shell_test!(run_integration_agent_containment,
78    "tests/00_microkernel/test_agent_containment", "test_agent_containment");
79
80define_shell_test!(run_integration_ephemeral_sessions,
81    "tests/00_microkernel/test_ephemeral_sessions", "test_ephemeral_sessions");
82
83define_shell_test!(run_integration_sprint79_identity_hardening,
84    "tests/00_microkernel/test_sprint79_identity_hardening", "test_sprint79_identity_hardening");
85
86define_shell_test!(run_integration_browser_portability,
87    "tests/00_microkernel/test_browser_portability", "test_browser_portability");
88
89define_shell_test!(run_integration_memdb_dispatch,
90    "tests/00_microkernel/test_memdb_dispatch", "test_memdb_dispatch");
91
92define_shell_test!(run_integration_sprint58_validation_chains,
93    "tests/00_microkernel/test_sprint58_validation_chains", "test_sprint58_validation_chains");
94
95define_shell_test!(run_integration_sprint77_boundary_guards,
96    "tests/00_microkernel/test_sprint77_boundary_guards", "test_sprint77_boundary_guards");
97
98define_shell_test!(run_integration_sprint143_layer4_boundary,
99    "tests/00_microkernel/test_sprint143_layer4_boundary", "test_sprint143_layer4_boundary");
100
101define_shell_test!(run_integration_sprint143_type_levels,
102    "tests/00_microkernel/test_sprint143_type_levels", "test_sprint143_type_levels");
103
104define_shell_test!(run_integration_sprint78_zero_fs_hermetic,
105    "tests/00_microkernel/test_sprint78_zero_fs_hermetic", "test_sprint78_zero_fs_hermetic");
106
107define_shell_test!(run_integration_sprint82_future_hardening,
108    "tests/00_microkernel/test_sprint82_future_hardening", "test_sprint82_future_hardening");
109
110define_shell_test!(run_integration_sprint82_multilanguage,
111    "tests/00_microkernel/test_sprint82_multilanguage", "test_sprint82_multilanguage");
112
113define_shell_test!(run_integration_sql_parameterized,
114    "tests/00_microkernel/test_sql_parameterized", "test_sql_parameterized");