/** * Test fixture: successful hook script. Migrated to defineHook in * HOOK_API_V2 Phase 8 — the executor now requires the brand. * * Declares `hook: 'container_created'` and returns void: hook return * values are no longer persisted or consumed (hook-owned-state D5), so a * hook reports through the logger and, where a test needs structured data * back, through a file written to its state directory. */ import { defineHook } from '@celilo/capabilities'; export default defineHook({ hook: 'container_created', requires: [], handler: async (ctx) => { ctx.logger.info('Starting test hook'); ctx.logger.success('Test hook completed'); }, });