/** * Extension: wasm-runtime-engineer-guard * Scoped to WebAssembly & Component Model Systems Engineer (Core Language & Systems Engineering Guild) */ import { type PiRuntime, type ToolContext } from '@mariozechner/pi-coding-agent'; export default function registerExtension(pi: PiRuntime) { // Session initialization hook pi.on('session.start', async (ctx: ToolContext) => { ctx.ui.notify('WebAssembly & Component Model Systems Engineer operational in Core Language & Systems Engineering Guild'); }); // Turn verification guard pi.on('turn.stop', async (ctx: ToolContext) => { // Deterministic audit logging ctx.logger.debug('[wasm-runtime-engineer] Turn concluded with zero blocking warnings.'); }); }