Prompt file imported from JackSmack1971/ai-trading-arena (
.claude/commands/structural-audit.md). Copyright stays with the author.
Run the deterministic Claude-framework audit for this repository.
- Execute
node .claude/workflows/arena-audit.jsfrom the repository root. - Treat every reported finding as a framework-surface defect until verified otherwise.
- Confirm the audit verified hook registration and hook script presence rather than only file counts.
- Confirm the audit verified the
.claude/worktrees/runtime parent when the framework references isolated worktrees. - Confirm the audit verified destructive deny coverage in
.claude/settings.json, including the PowerShell-native variants used in this workspace. - Confirm the audit verified the project-level security guidance surfaces if the framework relies on simulator-boundary and secret-handling review criteria.
- Confirm the audit verified output-style frontmatter so
.claude/output-styles/*.mdfiles remain real Claude output-style artifacts rather than loose markdown notes. - Confirm the audit verified frontmatter shape for
.claude/commands/*.md,.claude/output-styles/*.md,.claude/agents/*.md,.claude/skills/*/SKILL.md, and.claude/rules/*.md. - Confirm the audit verified artifact identity consistency so rule, agent, output-style, and skill
namemetadata matches the owning filename or directory. - Confirm the audit verified that backticked framework evidence paths in
docs/FRAMEWORK_TRACEABILITY.mdstill resolve. - If the workflow is clean, spot-check
CLAUDE.md,AGENTS.md,.claude/settings.json,.claude/claude-security-guidance.md,.claude/security-patterns.json,.claude/hooks/,.claude/worktrees/, and the most relevant rule files for stale or conflicting guidance. - Interpret artifact counts as reusable framework surfaces only; support docs such as
README.mddo not count toward command, agent, rule, or output-style totals. - Report the result with counts, evidence paths, and any remaining content-level cleanup opportunities.
