# Spring Boot: preserve requirements through advanced agent edits - [Keep Spring order confirmation and its outbox write under one proxy transaction](https://frameworkrecipes.dev/spring-boot/transactional-outbox/guide.md): Repository methods may each be transactional while the service action is not. Without the outer transaction, saving the order and inserting its event can commit independently. A public proxy-invoked service method supplies the required boundary. - [confirmation-transaction-boundary rule pack](https://reporules.fyi/spring-boot/transactional-outbox/rule-pack.zip): YAML requirement and agent task. - [Require Spring method security before a scoped order mutation](https://frameworkrecipes.dev/spring-boot/method-write-permission/guide.md): A controller check can disappear when a second controller or scheduled task starts calling the same service. Method security puts the coarse write permission at the service boundary. The repository must still put tenant and owner predicates into its conditional update. - [method-security-write-authority rule pack](https://reporules.fyi/spring-boot/method-write-permission/rule-pack.zip): YAML requirement and agent task. - [Framework rule pack](https://reporules.fyi/spring-boot/rule-pack.zip): All requirements from this framework site.