From 0bbc3b769ed86cd5ef911fc257f6be0a834af7e2 Mon Sep 17 00:00:00 2001 From: TheFlow Date: Fri, 24 Oct 2025 21:00:16 +1300 Subject: [PATCH] docs(session): add optimal startup prompt for next Claude session MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Provides concise handoff prompt highlighting critical priorities: - Framework audit logging failure (only test data, no operational logs) - Missing 6th service type in audit dashboard - Background process cleanup needed Includes summary of completed work and clear first actions. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- OPTIMAL_STARTUP_PROMPT_2025-10-24.md | 50 ++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 OPTIMAL_STARTUP_PROMPT_2025-10-24.md 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