agent-architecture-audit
Full-stack diagnostic for agent and LLM applications. Audits the 12-layer agent stack for wrapper regression, memory pollution, tool discipline failures, hidden repair loops, and rendering corruption. Produces severity-ranked findings with code-first fixes. Essential for developers building agent applications, autonomous loops, or any LLM-powered feature. Use when an agent or LLM feature misbehaves and the failing layer is unknown, or before shipping an agent stack.
Target: AI & workflow automation. Automatically collected · unverified.
Excerpt from the author’s documentation
Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.
Read the original English text
Topics in the source
- Agent Architecture Audit
- When to Activate
- The 12-Layer Stack
- Common Failure Patterns
- 1. Wrapper Regression
- 2. Memory Contamination
- 3. Tool Discipline Failure
- 4. Rendering/Transport Corruption
A diagnostic workflow for agent systems that hide failures behind wrapper layers, stale memory, retry loops, or transport/rendering mutations. MANDATORY for: Releasing any agent or LLM-powered application to production Shipping features with tool calling, memory, or multi-step workflows Agent behavior degrades after adding wrapper layers User reports "the agent is getting worse" or "tools are flaky" Same model works in playground but breaks inside your wrapper Debugging agent behavior for more than 15 minutes without finding root cause Especially critical when: You've added new prompt layers, tool definitions, or memory systems Different agents in your system behave inconsistently The model was fine yesterday but is hallucinating today You suspect hidden repair/retry loops silently mutating responses Do not use for: General code debugging — use agent-introspection-debugging Code review — use language-specific reviewer agents Security scanning — use security-review or security-review/scan Agent performance benchmarking — use agent-eval Writing new features — use the appropriate workflow skill Every agent system has these layers. Any of them can corrupt the answer: | # | Layer | What
This is an excerpt. Refer to the complete source and its current requirements.
- Source repository
- affaan-m/ECC
- Source file
- pi/core/skills/agent-architecture-audit/SKILL.md
- Fixed revision
- d2ef2680594f9a17526a6e1a2e18b3d242c5d17b
Sources and evidence
This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.
Author: affaan-m/ECC · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T15:01:42.784Z.
Categories are inferred from names, descriptions and paths. They do not establish compatibility.
License and attribution
MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.
Original license ↗Synchronization, copying and user-reported success do not mark a resource as runtime-tested.
Limitations and notes
- Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.