# Angular: preserve requirements through advanced agent edits - [Cancel obsolete Angular HttpClient searches with switchMap](https://frameworkrecipes.dev/angular/switchmap-search/guide.md): A search stream can issue a new request before the previous response arrives. switchMap keeps the latest request as the active subscription; mergeMap permits older responses to continue into the results stream. Debouncing reduces traffic but does not replace cancellation. - [search-switches-obsolete-request rule pack](https://reporules.fyi/angular/switchmap-search/rule-pack.zip): YAML requirement and agent task. - [Keep Angular form extras out of the profile mutation payload](https://frameworkrecipes.dev/angular/typed-profile-projection/guide.md): A form object can accumulate hidden control values and metadata during refactors. Explicit projection keeps privileged or stale fields from entering this API contract. TypeScript types do not remove unexpected runtime properties. - [profile-payload-allowlist rule pack](https://reporules.fyi/angular/typed-profile-projection/rule-pack.zip): YAML requirement and agent task. - [Framework rule pack](https://reporules.fyi/angular/rule-pack.zip): All requirements from this framework site.