Drop the flork Lua module alias
The project was renamed from flork to frork. Remove the backward-
compatibility alias that registered the module under both names, and
fix the AGENTS.md description to use frork consistently.
Assisted-by: Claude Opus 4.6 via pi
diff --git a/AGENTS.md b/AGENTS.md
index 3232066..aa117f5 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -2,7 +2,7 @@
## Project
-Flork (frork) is a Fennel-based configuration management tool inspired by [bork](https://bork.sh/), rewritten in Rust. It evaluates declarative Fennel scripts that describe the desired state of a system (symlinks, directories, git repos, Homebrew packages) and can check status or satisfy (install/fix) each assertion.
+frork is a Fennel-based configuration management tool inspired by [bork](https://bork.sh/), rewritten in Rust. It evaluates declarative Fennel scripts that describe the desired state of a system (symlinks, directories, git repos, Homebrew packages) and can check status or satisfy (install/fix) each assertion.
## Repository layout
diff --git a/frork-cli/src/main.rs b/frork-cli/src/main.rs
index bb1479d..02fe4da 100644
--- a/frork-cli/src/main.rs
+++ b/frork-cli/src/main.rs
@@ -190,19 +190,17 @@ fn setup_lua(
.eval()
.map_err(|e| eyre!("Failed to load Fennel: {}", e))?;
lua.register_module("fennel", &fennel_module)
- .map_err(|e| eyre!("Failed to register Fennel module: {}", e))?;
+ .map_err(|e| eyre!("Failed to register fennel module: {}", e))?;
let frork_table = match Frork::new(handle_status, lua.clone())
.into_lua(&lua)
- .map_err(|e| eyre!("Failed to create Frork table: {}", e))?
+ .map_err(|e| eyre!("Failed to create frork table: {}", e))?
{
LuaValue::Table(table) => table,
_ => unreachable!(),
};
lua.register_module("frork", &frork_table)
- .map_err(|e| eyre!("Failed to register Frork module: {}", e))?;
- lua.register_module("flork", &frork_table)
- .map_err(|e| eyre!("Failed to register Flork module: {}", e))?;
+ .map_err(|e| eyre!("Failed to register frork module: {}", e))?;
Ok((lua, frork_table, fennel_module))
}