//! CLI tool to export an aggregated AI Agent Pack (architecture + rules + docs).
//!
//! Emits a single JSON document to stdout, suitable for direct consumption by
//! AI assistants and external tools. Requires the `ai` feature.
//!
//! Revision History
//! - 2026-07-21T00:00:00Z @AI: to_json returns HexResult, so propagate with `?` instead of re-wrapping a String error.
//! - 2026-07-20T00:00:00Z @AI: Allow `disallowed_macros` crate-wide in this CLI binary whose sole job is writing JSON to stdout.
//! - 2025-10-06T18:14:00Z @AI: Introduce `hex-ai-pack` binary emitting comprehensive AgentPack JSON.
// This is a CLI binary; writing to stdout is its purpose, so `println!` is intentional.