Files
user-engine/.claude/rules/first-session.md
tegwick 9c6ad74f6b Normalize agent instructions and workplan frontmatter (STATE-WP-0067)
- Align agent files with on-disk workplan prefixes (infer from workplan ids)
- Set workplan domain to registered domain_slug; add topic_slug where applicable
- Repair frontmatter delimiter formatting; migrate legacy task status literals
- Regenerate AGENTS.md, CLAUDE.md, and .claude/rules from State Hub templates
2026-06-22 23:16:28 +02:00

1.4 KiB
Raw Blame History

First Session Protocol

Triggered when get_domain_summary("communication") shows no workstreams. The project is registered but work has not yet been structured.

Step 1 — Read, don't write

  • ~/the-custodian/canon/projects/communication/project_charter_v0.1.md — purpose, scope
  • ~/the-custodian/canon/projects/communication/roadmap_v0.1.md — planned phases
  • Scan repo root: README, directory structure, existing code or docs

Step 2 — Survey in-progress work Look for TODOs, open branches, half-finished files. Note done vs. started but incomplete.

Step 3 — Propose workstreams to Bernd Propose 13 workstreams — each a coherent strand, weeks to months, anchored to a roadmap phase. Wait for approval before creating.

Step 4 — Create workplan file first, then DB record (ADR-001)

workplans/USER-WP-NNNN-<slug>.md   ← write this first

Then register in the hub:

create_workstream(topic_id="a6c6e745-bf54-4465-9340-1534a2be493e", title="...", owner="...", description="...")
create_task(workstream_id="<id>", title="...", priority="high|medium|low")

Step 5 — Record the setup

add_progress_event(
    summary="First session: structured communication into N workstreams, M tasks",
    event_type="milestone",
    topic_id="a6c6e745-bf54-4465-9340-1534a2be493e",
    detail={"workstreams": [...], "tasks_created": M}
)