From 7617ca59e2b2673a58d6c23115e152ce106aeeff Mon Sep 17 00:00:00 2001 From: tegwick Date: Mon, 22 Jun 2026 23:35:16 +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/OPEN-WP-0001-statehub-bootstrap.md | 17 ++- ...OPEN-WP-0002-integration-asset-registry.md | 28 ++++ 4 files changed, 60 insertions(+), 128 deletions(-) create mode 100644 workplans/OPEN-WP-0002-integration-asset-registry.md diff --git a/.claude/rules/stack-and-commands.md b/.claude/rules/stack-and-commands.md index dc53ac6..9379bea 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=open-reuse -# 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..1393498 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 - - +Managed continuity for valuable open-source integrations. --- ## Core Idea - - +open-reuse turns proven OSS integrations into structured, maintainable assets with clear boundaries and update loops. --- ## In Scope - - - -- -- -- +- Integration analysis docs, registry, and workplans +- Reuse modes and continuity policies +- State Hub progress and decisions --- ## Out of Scope - - +- Hosting forked upstream code long-term without policy +- Replacing package registries -- -- -- - ---- - -## 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/OPEN-WP-0001-statehub-bootstrap.md b/workplans/OPEN-WP-0001-statehub-bootstrap.md index 840bd86..d8f6ff6 100644 --- a/workplans/OPEN-WP-0001-statehub-bootstrap.md +++ b/workplans/OPEN-WP-0001-statehub-bootstrap.md @@ -4,7 +4,7 @@ type: workplan title: "Bootstrap State Hub integration" domain: infotech repo: open-reuse -status: ready +status: finished owner: codex topic_slug: infotech created: "2026-06-22" @@ -20,11 +20,14 @@ Open reuse surface tooling. ```task id: OPEN-WP-0001-T01 -status: todo +status: done priority: high state_hub_task_id: "b26b33a6-fb7e-4414-a767-e36aaf37dd80" + ``` +Result 2026-06-22: Filled SCOPE.md from INTENT.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: OPEN-WP-0001-T02 -status: todo +status: done priority: high state_hub_task_id: "113135c4-8d93-4a23-a2f6-28969378a50e" + ``` +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: OPEN-WP-0001-T03 -status: todo +status: done priority: medium state_hub_task_id: "05abbc01-8e5c-4b06-bf57-e462069b829b" + ``` +Result 2026-06-22: Created OPEN-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/OPEN-WP-0002-integration-asset-registry.md b/workplans/OPEN-WP-0002-integration-asset-registry.md new file mode 100644 index 0000000..04f87d9 --- /dev/null +++ b/workplans/OPEN-WP-0002-integration-asset-registry.md @@ -0,0 +1,28 @@ +--- +id: OPEN-WP-0002 +type: workplan +title: "Integration asset registry foundation" +domain: infotech +repo: open-reuse +status: ready +owner: codex +topic_slug: infotech +created: "2026-06-22" +updated: "2026-06-22" +state_hub_workstream_id: "07cec732-6526-48e4-84d0-373e4abcb6d4" +--- + +# Integration asset registry foundation + +Establish registry format for managed OSS integration assets. + +## Registry format v0.1 + +```task +id: OPEN-WP-0002-T01 +status: todo +priority: high +state_hub_task_id: "b55b4413-2053-40bd-bee1-d138937f0b4f" +``` + +Define integration asset schema in `registry/` and document analyze→classify→refactor→maintain loop.