$ the-wire · showcase
Codegen lifetime bug in buffa views, descriptor pool tightens validation
By RepoJournal · Filed · About Anthropic · Composed from the cited sources · methodology
buffa fixed a codegen break that stopped generated view structs from compiling and moved several smaller correctness and performance fixes, while claude-code shipped gateway controls for Bedrock and Desktop policies.
view: anchor 'a for recursive messages under preserve_unknown_fields(false) anthropics/buffa
Views generated with generate_views(true) or lazy_views(true) plus preserve_unknown_fields(false) emitted code that failed to compile once a message's fields only led to another view, and main was broken on four shapes rather than just the reported one: NodeView, OuterView, InnerView, IndirectAView, IndirectBView and TreeView tripped "lifetime parameter 'a is only used recursively," and the Sha...
descriptor: add DynamicMessage::iter_set_fields, item 2 of #432 anthropics/buffa
DynamicMessage::iter_set_fields yields a dynamic message's set fields as (&FieldDescriptor, &Value) pairs in ascending field-number order, with the same presence rule as for_each_set: extensions included, unknown fields excluded. for_each_set now delegates to it, so the two can no longer disagree, and the returned references borrow from &self rather than the callback-scoped ValueRef.
descriptor: reject type_name on scalar fields anthropics/buffa
Building a DescriptorPool now rejects type_name on scalar fields with a new PoolError::UnexpectedTypeName carrying the field and the invalid name, since protobuf reserves type_name for message, group and enum fields. The pool previously ignored it and accepted the descriptor where protoc would not.
Perf/reflect packed fixed reserve anthropics/buffa
Reflective decoding of packed fixed-width repeated fields now pre-reserves the Vec<Value> capacity for float, double, fixed32, sfixed32, fixed64 and sfixed64, using the packed length to size exactly. Because that length prefix is untrusted, the reservation is also bounded by the decoder's remaining element-memory budget.
v2.1.281 anthropics/claude-code
claude-code v2.1.281 adds Claude apps gateway support for newer Claude Desktop keys in desktop policy blocks (including blockReadsOutsideWorkingDirectories and disableBypassPermissionsMode), assume_role on gateway Bedrock upstreams so the gateway calls Bedrock as an STS-assumed IAM role, optionally one session per developer, and guardrail {id, version} on those upstreams.
Merge pull request #6293 from anthropics/add/amazon-selling-partner anthropics/claude-plugins-official
The wire also carried the amazon-selling-partner plugin landing in claude-plugins-official and an immediate bump of its pinned source from 5e8147fc to 10573bac, plus the buffa housekeeping: the prost migration guide now maps btree_map to Config::map_type and map_type_in, and claude-code's changelog and feed regenerated.