/** * Extension: cpp-lowlevel-eng-guard * Scoped to C++ Systems & Low-Level 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('C++ Systems & Low-Level 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('[cpp-lowlevel-eng] Turn concluded with zero blocking warnings.'); }); }