Files
hub-core/.claude/rules/first-session.md
tegwick 6c369e155c Regenerate agent instruction files for dev-hub MCP name
Session-protocol and related rules synced from state-hub template refresh.
2026-06-22 21:24:35 +02:00

1.4 KiB
Raw Blame History

First Session Protocol

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

Step 1 — Read, don't write

  • ~/the-custodian/canon/projects/infotech/project_charter_v0.1.md — purpose, scope
  • ~/the-custodian/canon/projects/infotech/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/HUB-WP-NNNN-<slug>.md   ← write this first

Then register in the hub:

create_workstream(topic_id="1f2e4d10-c967-4803-ae6c-7f4b4e806409", 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 infotech into N workstreams, M tasks",
    event_type="milestone",
    topic_id="1f2e4d10-c967-4803-ae6c-7f4b4e806409",
    detail={"workstreams": [...], "tasks_created": M}
)