Skip to content

legends-buzz v0.2.0

Latest

Choose a tag to compare

@avalonreset avalonreset released this 02 Dec 16:46

Highlights

  • Jul-2026 NIP-29 Protocol Extensions (legends_buzz/nip29.py, nip29-inspect, relay-probe):
    • Added message pinning parsers, validators, and event builders for moderation kind:9010 (update-pin-list) and relay-signed kind:39005 (group pinned events) supporting e tags and addressable a tags (30000..39999).
    • Added hierarchical subgroup metadata support (parent and ordered child tags on kind:39000 / kind:9002), linear-time O(N) subgroup tree assembly (build_subgroup_tree) with cycle/dangling-parent/asymmetry diagnostics, banner URL and hidden visibility validation, and NIP-11 nip29.subgroups reporting in relay-probe.
    • Added strict NIP-29 invite URI parsing (parse_nip29_invite_uri / encode_naddr / build_join_request_event) for naddr1...?invite=<code> with BIP-173 Bech32, NIP-19 TLV, RFC 1123 public-hostname, and nsec1 invite refusal checks.
  • Upstream buzz-cli & Official MCP Parity:
    • Reconciled MCP-to-CLI domain and subcommand catalog to 28 domains / 134 subcommands (adding raw and channel_templates, aligning projects positional <slug> and --home-channel, and documenting OFFICIAL_MCP_SURFACES for buzz-dev-mcp and buzz-native).
    • Added machine-readable routes.json, doctor --offline, re-rendered 28-domain SVG cards, refreshed knowledge/buzz/ (13/13 vault SHA-256 verified), and synced vendored cto-legends router pin (ff90a8bd2348).
  • Security & Robustness Hardening:
    • Added structural scrub_payload() + JSON-escape-safe scrub_secrets() across stdout, stderr, --output, and HTTP responses without corrupting benign URLs/identifiers.
    • Added Windows NTFS directory junction (is_junction()) and top-down ancestor symlink refusal across api.py and desktop.py, bounded 1 MiB nip29-inspect input handling, and bounded chunked 256 MiB SHA-256 binary hashing.

Verification

  • Verified full offline test suite (unittest + pytest), scripts/check_release.py (0 issues), doctor --offline, and live read-only buzz-cli + desktop audit probes ($0 spend).
  • Standardized release assets (legends-buzz-0.2.0-bundle.tar.gz, Python wheel, source distribution, and SHA256SUMS.txt).