Skip to content

Split State, UI and maintained templates into independent submodule repositories - #141

Merged
Moon-DaeSeung merged 7 commits into
mainfrom
codex/independent-repositories
Oct 25, 2026
Merged

Moon-DaeSeung merged 7 commits into
mainfrom
codex/independent-repositories

Conversation

@Moon-DaeSeung

@Moon-DaeSeung Moon-DaeSeung commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Separates product ownership while keeping one integrated development workspace. The existing representative repository is already comwit/comwit, retaining its issues, PRs and stars.

  • Pin independent public repositories at packages/state, packages/ui, templates/base and templates/shop. UI keeps core, editable source, CLI, Storybook and its development catalog together.
  • Import real State/UI packages and UI-owned examples into docs through pnpm workspaces. Templates retain independent lockfiles and installation boundaries.
  • Remove the old generic template snapshot. create-comwit now packages the pinned maintained base source, including Comwit Cloud/brrrd/MCP settings and all original skills/rules. No npm release is performed.
  • Add concise repository ownership instructions, clone/reference-update flows, source fingerprints, and a separate, concise guide to editable default Comwit integrations. Update representative repository links.

Apply after the product PRs

  1. Make state independently installable and connectable as a submodule state#1
  2. Make ui independently installable and connectable as a submodule ui#1
  3. Import the maintained public source snapshot with original skills and rules template#1
  4. https://github.com/comwit/template-shop/pull/1
  5. This PR.

Product PR commits are already pushed and pinned, so a recursive clone of this branch works before merge. After squash/rebase merges, update gitlinks to the product merge commits. No PR has been merged.

Validation

  • State: independent frozen install, build, 487 tests and type checking.
  • UI: independent frozen install, core/registry build, 11 tests, icon export/bundle checks, types, Storybook and catalog builds.
  • Base: 322 original public files match the maintained working tree byte-for-byte; frozen install, validation, 57 agent tests, Next.js/brrrd and Storybook builds.
  • Shop: 559 original public files match the maintained working tree byte-for-byte; frozen install, validation, 53 tests, 31 agent tests, Next.js/brrrd and Storybook builds.
  • Parent: build, test, typecheck, docs lint/i18n and submodule/source integrity. A clean recursive GitHub clone passed frozen install, docs build, 16 integration checks and State playground build.
  • Packed create-comwit: 322 source-file hashes verified (project-name substitution only), frozen install, validation and production build passed with the normal initialized Git project. Integrated UI Dialog preview was exercised in the browser.
  • Public source and extracted history scans found no credential candidates; verified generated SHA-256 manifests are excluded from secret classification.

Original template/shop checkouts and uncommitted work are untouched. No production data or real service credentials were copied. The Comwit service's template URL is not modified; shop skill improvements remain deferred. See docs/repository-migration.md for handoff details.

Review preview: http://localhost:3111/template/docs/integrations (local to the maintainer checkout). The main docs present an open-source Next.js template. The separate Default integrations page identifies the brrrd/MCP/data-service edit points and links to Comwit briefly, without making an account a prerequisite for local development. A credential-free clone returned HTTP 200 for the base development home.

Final verification: all five PRs have passing GitHub CI. Parent head 782548f passed run https://github.com/comwit/comwit/actions/runs/40180774805, including test/typecheck/docs/Storybook/UI catalog/State playground builds. No PR was merged.

@Moon-DaeSeung
Moon-DaeSeung merged commit b5a69e1 into main Oct 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant