From 615d0f309aeba8edafde3dbfbeb850ce0c996a3e Mon Sep 17 00:00:00 2001 From: tegwick Date: Mon, 22 Jun 2026 23:35:18 +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 ++---------------- workplans/REPO-WP-0001-statehub-bootstrap.md | 17 ++- ...O-WP-0002-template-validation-checklist.md | 28 ++++ 4 files changed, 60 insertions(+), 128 deletions(-) create mode 100644 workplans/REPO-WP-0002-template-validation-checklist.md diff --git a/.claude/rules/stack-and-commands.md b/.claude/rules/stack-and-commands.md index dc53ac6..987fe75 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=repo-seed -# 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..802fd33 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 - - +Git repository template to bootstrap coulomb projects. --- ## Core Idea - - +repo-seed is the canonical template for new repos: agent instructions, registry scaffold, and onboarding conventions. --- ## In Scope - - - -- -- -- +- Template files for new repo bootstrap +- Documentation for statehub_register usage +- Registry capability entry for template capability --- ## Out of Scope - - +- Application runtime code +- Owning downstream project implementations -- -- -- - ---- - -## 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/REPO-WP-0001-statehub-bootstrap.md b/workplans/REPO-WP-0001-statehub-bootstrap.md index 6f5cef8..970d64d 100644 --- a/workplans/REPO-WP-0001-statehub-bootstrap.md +++ b/workplans/REPO-WP-0001-statehub-bootstrap.md @@ -4,7 +4,7 @@ type: workplan title: "Bootstrap State Hub integration" domain: infotech repo: repo-seed -status: ready +status: finished owner: codex topic_slug: infotech created: "2026-06-22" @@ -20,11 +20,14 @@ Git repository template to bootstrap coulomb projects. ```task id: REPO-WP-0001-T01 -status: todo +status: done priority: high state_hub_task_id: "65734e48-ec48-47f2-bd5c-5673e94343cc" + ``` +Result 2026-06-22: Filled SCOPE.md; README is canonical intent. + 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: REPO-WP-0001-T02 -status: todo +status: done priority: high state_hub_task_id: "76f1c245-3f06-4ef7-943f-bf2e9722c71b" + ``` +Result 2026-06-22: Template 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: REPO-WP-0001-T03 -status: todo +status: done priority: medium state_hub_task_id: "9670ff11-ed7a-49e6-8a1f-944af9794f6a" + ``` +Result 2026-06-22: Created REPO-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/REPO-WP-0002-template-validation-checklist.md b/workplans/REPO-WP-0002-template-validation-checklist.md new file mode 100644 index 0000000..36c03e3 --- /dev/null +++ b/workplans/REPO-WP-0002-template-validation-checklist.md @@ -0,0 +1,28 @@ +--- +id: REPO-WP-0002 +type: workplan +title: "Template consumer validation checklist" +domain: infotech +repo: repo-seed +status: ready +owner: codex +topic_slug: infotech +created: "2026-06-22" +updated: "2026-06-22" +state_hub_workstream_id: "8aaf98a0-7045-4d5b-915f-bc9ecc5aa319" +--- + +# Template consumer validation checklist + +Validate repo-seed against statehub_register output and document consumer steps. + +## Template validation checklist + +```task +id: REPO-WP-0002-T01 +status: todo +priority: high +state_hub_task_id: "a1b0aaab-f0dc-4bd0-bde3-89635ac0ca3b" +``` + +Author checklist for new repo bootstrap: register, agent files, first workplan, fix-consistency.