Back to all docs
SlashHub Docs

Repository Map

Each product is an independent git repo under the SlashHub-HK GitHub org. Repo map, ownership, and extraction workflow.

For developers~4 min readLast reviewed: 2026-07-02
S

SlashOne

Your account, your subscription, your products

Open

One account for the suite: one sign-in, one bill, one place to see every product you own.

Layer 3 · Federation2026slashhub.hk
One sign-in across every product
One bill, one card, one upgrade path
Organisation and role management
SlashAI included — the assistant inside every product
Next.js 16 (web)NestJS 11 (api Phase 1-4)FirestorePostgres

Each product is an independent git repository, and the orchestrator root is a git repository too (slashhub-orchestrator, remote SlashHub-HK/slashhub-orchestrator; verified 2026-11-17: git rev-parse --is-inside-work-tree → true).

Repos are not the estate. Since 2026-11-15 (DEC-0225) the estate is three foundation services plus separate product sites; the repos are the implementation of those, plus shared tooling. A repo outliving its product is normal (that is what an archive is); a product without a repo is not.

ProductPathStatusRemoteType
SlashOne./slashone/✅ Standalone git repogithub.com/SlashHub-HK/slashonePublic site, account console, SSO and subscription
SlashBooks./slashbooks/✅ Standalone git repogithub.com/SlashHub-HK/slashbooksAccounting
SlashStudio./slashstudio/✅ Standalone git repo (extracted 2026-06-21)github.com/SlashHub-HK/slashstudioClient work: workspaces, engagements, tasks
SlashMarketer./slashmarketer/✅ Standalone git repo — monorepo built; live at marketer.slashhub.hk; public betagithub.com/SlashHub-HK/slashmarketerCampaigns, assets, publishing, attribution (FastAPI)
TimePlate./timeplate/✅ Standalone git repogithub.com/SlashHub-HK/timeplateWorkforce / HR for shift teams
SlashAI./slashai/✅ Standalone git repo (multi-agent v2)github.com/SlashHub-HK/slashaiThe foundation agent (all products)
CS Platform./cs-platform/✅ Standalone git repo — internalgithub.com/SlashHub-HK/SlashCSShared customer-support platform (not a product)
Slashhub root./✅ Standalone git repogithub.com/SlashHub-HK/slashhub-orchestratorDocs, scripts, Makefile, shared packages

GitHub account: All repos are hosted under the SlashHub-HK account (migrated 2026-06-21 from alfredcola).

Deliberately absent from this table. Two repositories in the workspace are outside the estate — the archived marketplace (DEC-0212; code retained, hosts closed, no users) and the frozen mobile client (DEC-0225 §5) — and one directory, ./slashone-os/, was an abandoned spike that no longer exists on disk (verified 2026-11-17). They are recorded in the decision log, not maintained here.

These files live at the Slashhub root for cross-product coordination and are NOT under any product's git:

Slashhub/
├── Makefile                     # Operate on all products (lint, build, test)
├── README.md                    # Orchestrator entry-point
├── LICENSE                      # Private / all rights reserved
├── CODEOWNERS                   # Review routing
├── docs/                        # Categorised documentation (see docs/README.md)
│   ├── README.md                # Master index
│   ├── governance/              # Standards, audits, issue register
│   ├── architecture/            # System layout, domains, repos, contracts
│   ├── operations/              # Deployment status + runbooks
│   ├── roadmap/                 # Forward plans
│   ├── market/                  # HK market + pitches
│   ├── legal/                   # Legal-document versions
│   ├── product/reports/         # Per-product PM reports
│   ├── templates/               # Doc templates
│   ├── archive/                 # Superseded records (read-only)
│   └── personal/                # [nested private git repo] CV, company records, programmes
├── .prettierrc, .editorconfig, .gitignore
├── .github/
│   ├── PULL_REQUEST_TEMPLATE.md
│   ├── ISSUE_TEMPLATE/          # bug.yml, feature.yml, security.yml
│   └── dependabot.yml
├── packages/backend-core/       # Canonical source for synced @product/backend-core
├── scripts/
│   ├── sync-backend-core.sh     # Sync canonical → each product
│   ├── verify-standardization.sh # full compliance check
│   ├── dev.sh.template          # Generic dev runner (copied into each product)
│   ├── firestore-backup.sh      # Automated Firestore backup
│   └── smoke-test.sh            # E2E smoke test
└── shared-infra/
    ├── docker-compose.dev.yml   # Standard local dev stack
    └── README.md

If a product needs to be extracted from the Slashhub root into its own repo:

# 1. Initialize git in the product directory
cd /Users/alfred/AlfredWork/SlashHub/slashhub/<product>
git init -b main
git config user.email "you@example.com"
git config user.name "Your Name"

# 2. Stage and commit
git add -A
git commit -m "chore: initial commit — extract from Slashhub monorepo"

# 3. Add remote
git remote add origin git@github.com:<org>/<product>.git

# 4. Push
git push -u origin main
cd /Users/alfred/AlfredWork/SlashHub/slashhub/<product>
git remote add origin git@github.com:<org>/<product>.git
git push -u origin main

Even though each product is its own repo, the Slashhub root provides unified operations over the repos in PRODUCT_DIRS:

make help                # Show all targets
make lint                # Lint every repo in PRODUCT_DIRS
make typecheck           # Typecheck every repo in PRODUCT_DIRS
make build               # Build every repo in PRODUCT_DIRS
make test                # Test every repo in PRODUCT_DIRS
make sync                # Sync backend-core
make check               # All quality checks
make check-sync          # Verify backend-core drift

# Per-product
make slashbooks-lint
make slashai-test
make slashone-format
make timeplate-clean
make slashstudio-test

Every repo in PRODUCT_DIRS runs through the root Makefile or directly inside the product directory — each is a self-contained repo (or in-tree monorepo) with its own CI. Two repos are not in the loop on purpose: cs-platform (Python/FastAPI, its gates run per its own README) and the frozen mobile client. Because SlashMarketer's backend is Python/FastAPI (not NestJS), make sync still syncs backend-core only into the NestJS products.

ReasonBenefit
Independent deployabilityDeploy one product without affecting others
Team isolationDifferent teams get clean PR history and CODEOWNERS
Access controlGitHub permissions scoped per repo
Reduced clone timeCI only clones the affected product
Independent release cyclesNo dependency on slashhub root for version bumps
Cleaner git historyNo cross-product noise

For files that legitimately span products (event schemas, infra config), see:

  • slashone/schemas/events/ — cross-product event schemas (already cross-referenced in JSON)
  • Slashhub/scripts/sync-backend-core.sh — keeps backend-core synced
  • Slashhub/Makefile — unified CI commands

Last reviewed: 2026-11-17 — rebuilt against DEC-0225: one row per product site, the archived marketplace and the frozen mobile client reduced to a history reference, the abandoned slashone-os/ spike noted as gone, SlashMarketer stated as public beta, the root repo claim corrected (it is a git repo), remotes and PRODUCT_DIRS verified 2026-11-17.

Prior: 2026-10-09 — SlashMarketer status reconciled to code: monorepo built, web live at marketer.slashhub.hk, FastAPI API live; corrected path casing ./SlashMarketer/ → ./slashmarketer/; corrected the Makefile claim — SlashMarketer is in PRODUCT_DIRS.

Prior: 2026-07-02 — Audit fixes: doc count 10→13, compliance checks 296→331, in-tree product count 5→6.