• Claude's avatar
    docs: move agent rules out of auto-injection, compact CLAUDE.md · f114bf42
    Claude authored
    The 18 files in .claude/rules were injected into every agent turn — 38 KB of
    POS, inventory and attendance rules loaded even while editing CSS. They are now
    in docs/agent-rules/ and read on demand.
    
    CLAUDE.md keeps every hard invariant inline (money as piasters, tenancy scoping,
    double-entry immutability, migration-first, RTL logical properties, no dead
    links, safe_url/clean_html) and indexes the detail, so nothing that protects
    code quality was dropped.
    
    Also documents the deployment constraint that governs every migration: all
    tenants build from main and the entrypoint runs migrate --force plus db:seed on
    every container start.
    
    Net: ~57 KB less agent context per turn.
    Co-Authored-By: 's avatarClaude Opus 5 <noreply@anthropic.com>
    f114bf42
Name
Last commit
Last update
..
agent-rules Loading commit data...
api Loading commit data...
ar Loading commit data...
rules Loading commit data...
00-product-foundation.md Loading commit data...
01-identity-and-organization.md Loading commit data...
02-financial-core.md Loading commit data...
03-pricing-engine.md Loading commit data...
04-participant-lifecycle-and-training.md Loading commit data...
05-facility-space-assignment-attendance.md Loading commit data...
06-inventory-pos.md Loading commit data...
07-cms-notifications-documents.md Loading commit data...
08-reporting-and-deployment.md Loading commit data...
09-ui-architecture.md Loading commit data...
10-public-website-builder.md Loading commit data...
30-day-survival-plan.md Loading commit data...
gap-analysis.md Loading commit data...
pricing-strategy.md Loading commit data...
whatsapp-api-setup.md Loading commit data...