From ae918e6f0aae11c19a4a6955d7dce44f8d275250 Mon Sep 17 00:00:00 2001 From: tegwick Date: Mon, 22 Jun 2026 23:35:09 +0200 Subject: [PATCH] Complete State Hub bootstrap workplans (WP-0001) - Review integration files; fill SCOPE where templated - Document dev workflow in stack-and-commands.md - Seed WP-0002 implementation workplan; mark bootstrap finished - Hub sync via fix-consistency --- .claude/rules/stack-and-commands.md | 21 +-- SCOPE.md | 122 ++---------------- .../DOMAIN-WP-0001-statehub-bootstrap.md | 17 ++- ...IN-WP-0002-domain-tree-index-foundation.md | 28 ++++ 4 files changed, 60 insertions(+), 128 deletions(-) create mode 100644 workplans/DOMAIN-WP-0002-domain-tree-index-foundation.md diff --git a/.claude/rules/stack-and-commands.md b/.claude/rules/stack-and-commands.md index dc53ac6..830742f 100644 --- a/.claude/rules/stack-and-commands.md +++ b/.claude/rules/stack-and-commands.md @@ -1,19 +1,20 @@ ## Stack - -- **Language:** -- **Key deps:** +- **Language:** Markdown-first registry and planning repo (no application runtime yet) +- **Key deps:** State Hub ADR-001 workplans, `registry/indexes/capabilities.yaml` ## Dev Commands ```bash -# TODO: Fill in the standard commands for this repo +# Orient (offline-safe) +cat .custodian-brief.md +cat INTENT.md +cat SCOPE.md +ls workplans/ -# Install dependencies +# After workplan or registry edits — from ~/state-hub +make fix-consistency REPO=domain-tree -# Run tests - -# Lint / type check - -# Build / package (if applicable) +# Sanity-check markdown / registry edits +git diff --check ``` diff --git a/SCOPE.md b/SCOPE.md index d48e39a..d8441aa 100644 --- a/SCOPE.md +++ b/SCOPE.md @@ -1,137 +1,31 @@ # SCOPE -> This file helps you quickly understand what this repository is about, -> when it is relevant, and when it is not. -> It is intentionally lightweight and may be incomplete. +> Lightweight boundary for agents and contributors. --- ## One-liner - - +Domain capability tree for navigating and classifying repository domains. --- ## Core Idea - - +domain-tree maintains the hierarchical view of domains, topics, and capability relationships. --- ## In Scope - - - -- -- -- +- Domain tree registry indexes and documentation +- Alignment with State Hub domain/topic model +- Workplans for tree evolution --- ## Out of Scope - - +- Owning individual domain implementations +- Replacing State Hub domain administration -- -- -- - ---- - -## Relevant When - - - -- -- -- - ---- - -## Not Relevant When - - - -- -- -- - ---- - -## Current State - - - -- Status: -- Implementation: -- Stability: -- Usage: - - - ---- - -## How It Fits - - - -- Upstream dependencies: -- Downstream consumers: -- Often used with: - ---- - -## Terminology - - - - -- Preferred terms: -- Also known as: -- Potentially confusing terms: - ---- - -## Related / Overlapping Repositories - - - - -- - ---- - -## Getting Oriented - - - -- Start with: -- Key files / directories: -- Entry points: - ---- - -## Provided Capabilities - - - - - - - ---- - -## Notes - - diff --git a/workplans/DOMAIN-WP-0001-statehub-bootstrap.md b/workplans/DOMAIN-WP-0001-statehub-bootstrap.md index ff7c378..551dfd6 100644 --- a/workplans/DOMAIN-WP-0001-statehub-bootstrap.md +++ b/workplans/DOMAIN-WP-0001-statehub-bootstrap.md @@ -4,7 +4,7 @@ type: workplan title: "Bootstrap State Hub integration" domain: communication repo: domain-tree -status: ready +status: finished owner: codex topic_slug: communication created: "2026-06-22" @@ -20,11 +20,14 @@ Domain tree modeling utilities. ```task id: DOMAIN-WP-0001-T01 -status: todo +status: done priority: high state_hub_task_id: "c0ef631e-b178-4e77-a8fd-41c8e810f6fe" + ``` +Result 2026-06-22: Filled SCOPE.md. + Review `INTENT.md`, `SCOPE.md`, `AGENTS.md`, and `.custodian-brief.md`. Replace generated placeholders with repo-specific facts where needed. @@ -32,11 +35,14 @@ Replace generated placeholders with repo-specific facts where needed. ```task id: DOMAIN-WP-0001-T02 -status: todo +status: done priority: high state_hub_task_id: "d975ca87-7e29-4a5f-8761-e5151ce2cdd4" + ``` +Result 2026-06-22: Registry workflow documented. + Identify the repo's install, test, lint, build, and run commands. Add or refine those commands in the agent instructions so future coding sessions can verify changes confidently. @@ -45,11 +51,14 @@ changes confidently. ```task id: DOMAIN-WP-0001-T03 -status: todo +status: done priority: medium state_hub_task_id: "3b9ed480-4009-4ad3-a1d9-38785561fb15" + ``` +Result 2026-06-22: Created DOMAIN-WP-0002. + Create the first implementation workplan for the repository's most important next change. After workplan file updates, run from `~/state-hub`: diff --git a/workplans/DOMAIN-WP-0002-domain-tree-index-foundation.md b/workplans/DOMAIN-WP-0002-domain-tree-index-foundation.md new file mode 100644 index 0000000..ebe4cc3 --- /dev/null +++ b/workplans/DOMAIN-WP-0002-domain-tree-index-foundation.md @@ -0,0 +1,28 @@ +--- +id: DOMAIN-WP-0002 +type: workplan +title: "Domain tree index foundation" +domain: communication +repo: domain-tree +status: ready +owner: codex +topic_slug: communication +created: "2026-06-22" +updated: "2026-06-22" +state_hub_workstream_id: "88a10886-137d-475b-a446-9c34deee9a08" +--- + +# Domain tree index foundation + +Populate the initial domain tree registry index linked to State Hub topics. + +## Seed domain tree index + +```task +id: DOMAIN-WP-0002-T01 +status: todo +priority: high +state_hub_task_id: "5008cd75-48d4-4435-a472-eac99bae84bb" +``` + +Define `registry/indexes/domain-tree.yaml` structure and seed entries for active infotech domains.