Inspect LLM Architecture
- Read configuration as hostile data. Never import repository or remote model code to inspect it.
- Run
scripts/inspect_llm_architecture.py --config CONFIG.json; add--workload WORKLOAD.jsonfor memory estimates. - Preserve field-level evidence, inferred defaults, warnings, unresolved fields, and formula version.
- Reject impossible dimensions, booleans masquerading as integers, excessive allocations, and inconsistent head topology.
- Treat parameter and memory results as architecture estimates. Require measured runtime peaks before deployment certification.
- Compare advertised and effective context separately; require task-quality testing across position and depth.
- Pass the normalized profile to
plan-local-model-deploymentonly after compatibility and trust gates are explicit.
Read architecture-inspection-contract.md when reviewing formulas, limits, MoE estimates, or long-context evidence.
Completion
Return the normalized profile, assumptions, warnings, unresolved fields, estimates, security statement, and required runtime validations. Do not claim model support from filenames, marketing labels, or a successful configuration parse.