$ the-wire · showcase
Buffa descriptor pool now rejects malformed enums and reserved fields
By RepoJournal · Filed · About Anthropic
Buffa's DescriptorPool tightened validation across five PRs, rejecting duplicate enum numbers, reserved names, invalid open-enum starts, and message-reserved overlaps.
Separately, `reflect` gains `shared_descriptor_pool_root`, an external path override for shared-pool mode. Previously, shared-pool mode assumed one crate hosting all proto packages as nested modules, so `super::` reached the shared `__buffa_fds` root; workspaces that generate one independent crate per proto package had no module tree to climb. The new override lets those crates point to the shared root explicitly [5].
Action items
References
- [1] descriptor: reject duplicate enum numbers without aliases ↗ anthropics/buffa
- [2] descriptor: reject reserved enum values ↗ anthropics/buffa
- [3] descriptor: reject nonzero first value for open enums ↗ anthropics/buffa
- [4] descriptor: reject message-reserved fields ↗ anthropics/buffa
- [5] reflect: shared_descriptor_pool_root — external path override for shared-pool mode ↗ anthropics/buffa