Skip to content

Session Log — Joker


Date: 2026-03-17 Operator: Purls Version: v0.9.1 Session name: planning — smart session start discovery — 2026-03-17 AR name: AR planning — smart session start discovery — 2026-03-17


Research session investigating two questions:

  1. Can Joker be forced to output a smart prompt before the operator speaks?
  2. Can Joker and Harley communicate via MCP?

Research findings:

  • Claude Chat (Joker) has no native SessionStart hook. PROJECT-INSTRUCTIONS is the trigger mechanism.
  • Claude Code (Harley) has a real SessionStart hook — stdout becomes context for Harley automatically.
  • SessionStart hook fires on startup, resume, clear, and compact. Source field differentiates them.
  • Stop hook fires deterministically at end of every run — right mechanism for session-end enforcement.
  • AI-to-AI MCP communication exists (claude-ipc-mcp) but is heavyweight for solo dev use.
  • File-based handoff (CURRENT-CHAT.md / CURRENT-CODE.md) remains the right pattern for Joker→Harley.

Discovery run — RFC-0001 Smart Session Start: Full Mode 2 discovery completed for smart session start feature. RFC produced and written.

Files written this session:

  • D:\Claude\projects\scaffolder\docs\rfcs\RFC-0001-smart-session-start.md (status: proposed)
  • D:\Claude\OPEN-QUEUE.md (10 items, temporary location)
  • D:\Claude\projects\scaffolder\sessions\CURRENT-CHAT.md (updated)

Directory created:

  • D:\Claude\projects\scaffolder\docs\rfcs\

  1. Context resolution order fixed: local files → conversation search → cold start
  2. Harley Stop hook is deterministic — hook not CLAUDE.md
  3. versions.json is scaffolder project sentinel for hook guard
  4. Hooks are global (user-level ~/.claude/settings.json), not project-level
  5. Smart prompt is never canned — operator’s first message is always the anchor

See D:\Claude\OPEN-QUEUE.md for full list.

  1. Discovery skill is module-biased — needs feature/context-aware framing
  2. Joker must confirm local file access before attempting reads or writes
  3. Queue threshold — prompt to write to file before context loss
  4. File naming case inconsistency — needs audit and rule
  5. Guardrail — prevent sc create inside existing project directory
  6. Status bar at bottom of responses — smart, silent when empty
  7. Audit /templates/ against skills — redundancy review
  8. Storage policy — pruning, retention, config option per project
  9. Architecture — projects as lightweight children of scaffolder
  10. Full audit of all code, docs, structure, conventions before rework

RFCTitleStatus
RFC-0001Smart Session Startproposed

  • #303 — scaffolder CLAUDE.md folder structure
  • #296 — ADR for filesystem MCP
  • #304 / #305 — session enforcement skills
  • Session skills need zipping and uploading to Claude settings
  • v0.10.0 ~35 open issues — triage needed
  • PROJECT-INSTRUCTIONS.md in Claude Project needs updating to v0.10.0