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