chore: wave-0 baseline (Tauri2+React shell, platform detect, fake catalog)
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
[package]
|
||||
name = "agentdock-exec"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
[dependencies]
|
||||
@@ -0,0 +1,17 @@
|
||||
//! agentdock-exec —— 安全进程执行层(架构 §3.2 / §4.2)
|
||||
//!
|
||||
//! 职责:仅执行适配器声明的 argv,禁止 shell 拼接、管道、重定向;
|
||||
//! 参数白名单校验。Wave 0:空骨架,随 Wave 1 落地。
|
||||
|
||||
/// 执行层能力标记(占位)
|
||||
pub const LAYER: &str = "agentdock-exec";
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
|
||||
#[test]
|
||||
fn layer_identity() {
|
||||
assert_eq!(LAYER, "agentdock-exec");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user