Standards audit: Remove npm lock file, establish audit process & deviations tracking
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
================================================================================
|
||||
PRISM NOTES - NON-STANDARD BUT ACCEPTED DEVIATIONS
|
||||
Quick reference for intentional deviations from Monica's core standards
|
||||
================================================================================
|
||||
|
||||
================================================================================
|
||||
DEVIATION: Vanilla JavaScript Frontend + CDN Tailwind
|
||||
================================================================================
|
||||
Reasoning: Project initiated with quick frontend setup allowing rapid iteration
|
||||
without TypeScript compilation or build tool overhead. Acceptable at prototype
|
||||
stage; frontend logic primarily orchestration rather than complex business logic.
|
||||
Affected Files: index.html (all inline <script> blocks, <script src=""> CDN links)
|
||||
Current Scope: Screen capture tools, form submission, auth UI
|
||||
Implications:
|
||||
- Loss of type safety on frontend (no `.ts` checks, IDE autocomplete limited)
|
||||
- Slower asset loading (no bundling, no minification)
|
||||
- Harder to maintain as project scales (intermingled concerns)
|
||||
- No separate build step (frontend compiled inline)
|
||||
Standards Violated:
|
||||
- LANGUAGE: TypeScript (Frontend & Backend) → Using vanilla JS instead
|
||||
- STYLING: TailwindCSS + PostCSS → Using CDN instead of build pipeline
|
||||
Adopted: 2026-01-14
|
||||
Review Date: 2026-02-14
|
||||
Triggers for Conversion:
|
||||
- Frontend code exceeds 500 LOC
|
||||
- Team grows beyond 1 person
|
||||
- Screen capture feature stabilizes
|
||||
- Build automation becomes necessary for other features
|
||||
Reviewed: No
|
||||
Reviewer: Monica
|
||||
|
||||
================================================================================
|
||||
END OF DEVIATIONS LOG
|
||||
================================================================================
|
||||
Reference in New Issue
Block a user