/** * Extension: python-backend-spec-guard * Scoped to Python Backend & Systems Specialist (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('Python Backend & Systems Specialist operational in Core Language & Systems Engineering Guild'); }); // Turn verification guard pi.on('turn.stop', async (ctx: ToolContext) => { // Deterministic audit logging ctx.logger.debug('[python-backend-spec] Turn concluded with zero blocking warnings.'); }); }