Best Practices Analyzer · pattern code · Repository structure
BPA code LOCP: Packages writing to /libs
When Adobe's Best Practices Analyzer reports LOCP, it has found packages writing to /libs on your AEM instance. Here is what that means for a move to AEM as a Cloud Service.
What to do
Use overlays under /apps; /libs is read-only.
Step-by-step fix: Splitting mutable and immutable content packages for AEM Cloud Service.
Can it be fixed automatically?
- Not by Adobe's Content Transformer, which only handles content findings (ACV, CAV, DOPI, OAUI, PCX, REP and URS).
- In our pipeline, automation for this pattern is rated partial: agents prepare part of the change; design decisions stay with an engineer.
How much work is it?
Our readiness scan plans about 2 hours per finding at MAJOR importance (1.5× for CRITICAL, 0.5× for ADVISORY), plus a small fixed cost, capped at 80 hours for this code. INFO rows are treated as inventory and not costed. These are planning figures, not a quote.
Reading the row in results.csv
Filter the code column for LOCP. The importance column says how urgent each row is, identifier usually holds the repository path, and message describes the finding. See how to read a BPA report for every column.
Source: Adobe Pattern Detector documentation for LOCP. Checked 19 October 2026.