route-handler-authoring
Pass
Audited by Gen Agent Trust Hub on Apr 5, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [SAFE]: The skill documents internal engineering conventions for the inkeep organization, specifically targeting the agents-api domain. It provides examples for route handler structures and standardized test patterns to ensure field persistence across round-trip operations.\n- [COMMAND_EXECUTION]: The skill mentions the use of a local CI/development script,
pnpm check:route-handler-patterns, located inscripts/check-route-handler-patterns.mjs. This script is used to enforce the architectural spread pattern and detect explicit field-picking in route handlers.\n- [SAFE]: The skill encourages the use of the object spread pattern (...body) for database operations to ensure data integrity during schema migrations. While this pattern can be associated with mass assignment risks in general web development, it is presented here as a standardized internal convention for the inkeep platform, with references to explicit authorization middleware (createProtectedRoute) and validation layers which are expected to manage field-level security.
Audit Metadata