aKode fase 5: rinomina interna (crate akode-*, akode-rs/, akode-cli/, binario akode, AKODE_*, ~/.akode, snapshot)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
andrea.difonzo
2026-11-11 11:06:46 +01:00
parent df99318392
commit 86e7c72e5f
10383 changed files with 749164 additions and 749170 deletions

View File

@@ -0,0 +1,17 @@
//! The configured executable must not create a new Codex registry when pointed at the wrong directory.
#[test]
fn requires_an_existing_registry_without_creating_databases() -> anyhow::Result<()> {
let directory = tempfile::tempdir()?;
let output = akode_utils_process::background_command(akode_utils_cargo_bin::cargo_bin(
"akode-message-board-mcp",
)?)
.env("AKODE_MESSAGE_BOARD_TOKEN", "startup-test-only-token")
.arg("--sqlite-home")
.arg(directory.path())
.args(["--listen", "127.0.0.1:0"])
.output()?;
assert!(!output.status.success());
assert!(directory.path().read_dir()?.next().is_none());
Ok(())
}