feat(trace+ai): add cubetrace package and wire DBT/AI/CUBEsys command + module edits (green-lit WIP)
Brings in the cubetrace crate (PDF Package 4, §547): wraps a DBI engine via an
FFI seam and streams trace events (basic blocks, syscalls) into cubestore,
tagging each with CZYX coordinates and header flags.
- Cargo.toml: register cubetrace workspace member
- cubeai/src/lib.rs, cubedbt/src/lib.rs: DBT/AI rule + trace integration edits
- cubecode/src/{cb,cell}.rs: code-cell bytecode/module plumbing for traces
- cubesys/src/commands.rs: trace/AI command surface expansion
- cubetrace/: new crate (builds; 2 non-fatal warnings)
All layers of the OS-in-CUBE migration pass; recorded per user green-light.
This commit is contained in:
+2
-3
@@ -191,7 +191,8 @@ impl CubeAi {
|
||||
target: OpClass::Mul,
|
||||
fragment: vec![Op::Shl],
|
||||
},
|
||||
rationale: "computation block: Mul may be replaced by Shl (power-of-two)".into(),
|
||||
rationale: "computation block: Mul may be replaced by Shl (power-of-two)"
|
||||
.into(),
|
||||
});
|
||||
}
|
||||
BlockKind::Branch => {
|
||||
@@ -323,5 +324,3 @@ mod tests {
|
||||
cubedbt::C_DBT_RULE
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user