tractatus/OPTIMAL_STARTUP_PROMPT_2025-10-24.md
TheFlow 0bbc3b769e docs(session): add optimal startup prompt for next Claude session
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 <noreply@anthropic.com>
2025-10-24 21:00:16 +13:00

1.7 KiB

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

  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