panther-ivy-plugin
NCT/NACT/NSCT methodology guidance for Ivy protocol testing via native Ivy LSP and ivy-tools MCP server. Provides agents, skills, and commands for formal protocol specification, attack modeling, and simulation-based testing using the 14-layer template architecture.
Version: 0.11.0 | License: MIT | Author: ElNiak
Overview
This is a Claude Code plugin for the PANTHER-Ivy tester. It provides methodology guidance, domain knowledge, and interactive tooling for formal protocol testing using Microsoft's IVy language.
What it does:
- Guides users through three testing methodologies (NCT, NACT, NSCT) with interactive agents
- Provides domain knowledge via skills (Ivy language, 14-layer template, RFC mapping, tool catalogs)
- Offers slash commands for common operations (verify, compile, inspect, health, observability)
- Enforces MCP tool usage over direct CLI invocations via a PreToolUse hook
What it does NOT do:
- Install Ivy, Z3, or the Ivy toolchain (these live in Docker containers managed by PANTHER)
- Build Docker images or run experiments (use the PANTHER CLI for that)
- Replace the Ivy compiler or verifier (it wraps them via MCP)
Three Methodologies
| Methodology | Full Name | Purpose |
|---|
| NCT | Network-Centric Compositional Testing | Formal spec plays one protocol role against an Implementation Under Test (IUT) to verify RFC compliance |
| NACT | Network-Attack Compositional Testing | Extends NCT with the APT 6-stage lifecycle to model and test protocols from an attacker's perspective |
| NSCT | Network-Simulator Centric Compositional Testing | Runs the same Ivy specs inside Shadow Network Simulator for deterministic, large-scale, topology-controlled testing |
Prerequisites
- PANTHER framework with the Ivy tester plugin installed (
panther/plugins/services/testers/panther_ivy/)
- Ivy toolchain available (either locally or via Docker-based execution through PANTHER)
- Native Ivy LSP (configured automatically via
.lsp.json) -- go-to-definition, find-references, hover, document symbols for .ivy files (diagnostics via MCP ivy_diagnostics)
- ivy-tools MCP server (configured automatically via
.mcp.json):
- ivy-tools -- Ivy verification, compilation, analysis, linting, and traceability tools
Installation
Claude Code auto-discovers plugins via the .claude-plugin/ directory. No pip install is needed for the plugin itself.
- Ensure the panther-ivy-plugin is present as a submodule (or cloned) at
panther/plugins/services/testers/panther_ivy/submodules/panther-ivy-plugin/
- The
.mcp.json file configures the ivy-tools MCP server and the .lsp.json file configures the native Ivy LSP
- Claude Code will automatically load the plugin's agents, skills, commands, and hooks
Components
Counts below are computed by plugins/panther-ivy-plugin/scripts/inventory_counts.py and verified by tests/test_readme_counts.py. Update both the script's output and this table together when components change.
| Component | Count | Description | Details |
|---|
| Agents | 9 (6 specialist + 3 critic) | Specialists (ivy-builder, ivy-experimenter, ivy-meta, ivy-refiner, ivy-reviewer, ivy-triage) handle workflow execution; critics (g-plan, g-fidelity, g-knowledge) run adversarial-vote gates | agents/ |
| Commands | 2 (shortcuts) | /nct-health (9-step diagnostic runbook), /nct-iut-test (IUT experiment via PANTHER) | commands/ |
| Skills | 15 (1 orchestrator + 6 ops + 8 knowledge) | Orchestrator (ivy) routes intent; ops skills (scaffold-ops, refine-ops, experiment-ops, review-ops, triage-ops, meta-self-mod-ops) own workflow procedures; knowledge skills (methodology, specification-patterns, propagation-patterns, ivy-syntax, ivy-toolkit, verification-failures, apt-attack-patterns, reference-drift) provide domain references | skills/ |
| Hooks | 46 commands / 38 matchers across 12 events | PreToolUse, PostToolUse, PostToolUseFailure, SessionStart/End, Stop, SubagentStart/Stop, PreCompact, UserPromptSubmit, Notification, PermissionRequest | hooks/ |
| Rules | 15 | Auto-loaded .claude/rules/ files (iron-laws, agent-dispatch, journaling-contract, gate-verdicts, ivy-formatting, plan-mode, output-style, mcp-tool-reliability, postuse-hook-ordering, propagation-authority, gap-markers, skill-conventions, scaffold-anti-patterns, refine-anti-patterns, experiment-anti-patterns) | .claude/rules/ |
Tooling Architecture
The plugin relies on one MCP server plus native LSP support: