Drops the ~60 ticket-prefix comments (CRIT-N, HIGH-N, MED-N, LOW-N, L-N, M-N, AUDIT-N, PLUTUS-N, "audit fix (date):", "Phase N" labels, "Adversarial-review fix:") that had accumulated in inline + doc comments over several audit cycles. Where the surrounding prose still carried useful WHY context it gets kept and tightened; where the ticket WAS the comment it gets dropped entirely. No logic, no renames, no behavior change. Audit history lives in commit messages and the audits/ tree where it belongs — eternal comments don't need to mirror it. Net 138 LOC shorter. 253 tests pass, no new clippy or fmt warnings.
48 lines
1.4 KiB
TOML
48 lines
1.4 KiB
TOML
# aldabra-mcp — the binary. MCP server speaking stdio that exposes
|
|
# the wallet's tools to an LLM. Spawned as a subprocess from any MCP
|
|
# client (Claude Code, OpenClaw, etc.).
|
|
#
|
|
# Owns: process lifecycle, stdio transport, config loading, glue
|
|
# between core + chain crates.
|
|
|
|
[package]
|
|
name = "aldabra-mcp"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license-file.workspace = true
|
|
repository.workspace = true
|
|
authors.workspace = true
|
|
|
|
[[bin]]
|
|
name = "aldabra"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
aldabra-core = { path = "../aldabra-core" }
|
|
aldabra-chain = { path = "../aldabra-chain" }
|
|
aldabra-dao = { path = "../aldabra-dao" }
|
|
|
|
# Used directly in tools.rs to decode the wallet's bech32 address into a
|
|
# payment-credential hash (so `dao_my_stake` can match against StakeDatum.owner).
|
|
# Comes in transitively via aldabra-core too; declared here for clarity.
|
|
pallas-addresses = { workspace = true }
|
|
|
|
# `hex::encode` for rendering pkh/script-hash bytes in dao_* JSON output.
|
|
hex = "0.4"
|
|
|
|
tokio = { workspace = true }
|
|
anyhow = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
tracing = { workspace = true }
|
|
tracing-subscriber = { workspace = true }
|
|
rmcp = { workspace = true }
|
|
age = { workspace = true }
|
|
toml = { workspace = true }
|
|
rpassword = { workspace = true }
|
|
zeroize = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
# Sandbox + cap-check tests need a temp-dir + tx CBOR fixture.
|
|
tempfile = "3"
|