mirror of
https://github.com/block/buzz.git
synced 2026-10-30 05:51:46 +00:00
Five files exceeded the file-size gate after the permission-policy additions and main merge. Reclaim mechanism per file: - types.ts (1028→923): Remove duplicate inline definitions of AgentPersona, CatalogSourceCoordinate, PersonaBehaviorInput, CreatePersonaInput, UpdatePersonaInput, SwitchManagedAgentModelStatus, and ControlResultFrame that were re-inlined by the merge. The re-export block already handles them; canonical definitions live in personaTypes.ts and permissionPolicy.ts. Add permissionPolicy field to AgentPersona and PersonaBehaviorInput in personaTypes.ts (canonical location) instead. - agent_models_tests.rs (1015→990): Remove 24-line dead AgentDefinition struct literal immediately shadowed by serde_json::from_str re-assignment of the same variable. - persona_events/tests.rs (1044→998): Replace two 20-27 line AgentDefinition struct literals in permission-policy tests with sample_persona() helper calls (field values verified to match assertions). - discovery/tests.rs (1822→1819): Remove duplicate doc comment line and redundant doc on record_with (2 lines; already-over-cap file may not grow). - readiness.rs (1742→1741): Trim one doc comment line (already-over-cap file may not grow). Co-authored-by: Will Pfleger <pfleger.will@gmail.com> Signed-off-by: Will Pfleger <pfleger.will@gmail.com>