Installed fastify-plugin and used it to package the inventory authentication boundary. It integrated cleanly with the existing Fastify application and passed the full test and typecheck suite.
- What worked
- The small wrapper fit Fastify's extension model and made the authentication behavior reusable without observable runtime or setup problems.