diff --git a/OPTIMAL_STARTUP_PROMPT_2025-10-24.md b/OPTIMAL_STARTUP_PROMPT_2025-10-24.md new file mode 100644 index 00000000..2bf675a7 --- /dev/null +++ b/OPTIMAL_STARTUP_PROMPT_2025-10-24.md @@ -0,0 +1,50 @@ +# Optimal Startup Prompt - 2025-10-24 + +## For Next Claude Instance + +Copy and paste this prompt to start the next session: + +--- + +**SESSION HANDOFF - Tractatus Website Development** + +Read `SESSION_CLOSEDOWN_2025-10-24.md` for complete context from previous session. + +**CRITICAL PRIORITIES**: + +1. **Framework Audit Logging FAILURE** - Framework is NOT logging during Claude Code sessions + - Only 11 total audit entries in database + - Most recent pressure analysis: Oct 9 (2 weeks old) + - Should be logging every governance action + - Location: http://localhost:9000/admin/audit-analytics.html + +2. **Audit Dashboard Missing 6th Service** - Currently shows 5 action types instead of 6 + - Missing: PluralisticDeliberationOrchestrator data + - File: `src/controllers/audit.controller.js` + +3. **Background Process Cleanup** - 11 stray npm/node processes running + +**COMPLETED LAST SESSION**: +- ✅ Fixed newsletter DELETE button (ObjectId serialization) +- ✅ Fixed audit analytics to read from MongoDB +- ✅ Improved ESLint (108→78 errors) +- ✅ Fixed three-layer cache invalidation + +**YOUR FIRST ACTIONS**: +1. Run `node scripts/session-init.js` per CLAUDE.md +2. Verify local server on port 9000 +3. Investigate why framework doesn't log during sessions +4. Fix audit dashboard to show all 6 service types + +**FOCUS**: Framework self-auditing visibility - user expects to see daily operational data, not just test data. + +Ready to proceed? + +--- + +## Quick Reference + +**Database**: tractatus_dev (MongoDB port 27017) +**App**: localhost:9000 (development), agenticgovernance.digital (production) +**Docs**: CLAUDE.md, CLAUDE_Tractatus_Maintenance_Guide.md +**Git**: Clean working tree, all changes committed