Back to all docs
SlashHub Docs

Use Cases

Concrete, persona-driven scenarios for every product. Freelancer / OPC / SME personas with end-to-end flows.

For everyone~25 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

Framing superseded 2026-11-15 (DEC-0225). The scenarios below were written when the estate was a portfolio of separate products. Today the estate is three foundation services (SSO, Subscription, SlashAI) plus separate product sites — SlashOne, SlashBooks, SlashStudio, SlashMarketer and TimePlate — and there is no combined OS. Read the scenarios for the workflows (they are still the real ones); read ecosystem.md for what is sold.

Two sections are history, not current capability: §1 (the marketplace) and §7 (the marketing research track). Both are marked in place. Their products are archived or superseded, so their scenarios describe how the work used to run — not what a customer can open today.

Concrete, role-driven scenarios. See how the platform works in practice — for each user type, with realistic data, edge cases, and real HK context.

This is the long-form companion to Ecosystem Overview. Where the ecosystem doc tells you what each product is, this one shows you what each product does for real people.


§TopicAudience
0The four user rolesAll
1Marketplace — 5 scenarios (historical)Freelancers, employers
2Books — 6 scenariosBookkeepers, CFOs
3AI Service — 4 scenariosPower users, ops
4Hub — 5 scenariosAdmins, integrators
5Studio — 3 scenariosTeams
6Workforce — 5 scenariosHR, ops
7SlashMarketer research track — 4 scenarios (historical framing)Researchers
8Day-in-the-life narrativesAll
9Group-specific scenariosCFOs, controllers
10Edge cases & error handlingEngineers
11Cross-product workflow diagramsAll
12Out-of-scope remindersResearchers

Every scenario follows the same template:

UC-{PRODUCT}-{N} {Title}
Persona: freelancer | sme | group | researcher
Trigger → Preconditions → Steps (with concrete data) → Outcome
  → Side effects (events emitted, records written)
  → Edge cases (failure modes + how they're handled)
  → Variations (if the persona differs from primary)

To keep the scenarios honest, we follow four user roles through every product. They cover the full spectrum from solo freelancer to multi-entity CFO.

RoleWhat they doWhat they care about
FreelancerIndependent contractor, runs a one-person businessGetting paid on time, no paperwork headaches, finding the next gig
SME ownerRuns a small business (e.g. 2 restaurants, 20 staff)Two-branch payroll, MPF, taxes, marketing bandwidth, finding good help
Group CFOManages finances for a parent + 3+ subsidiariesConsolidated reporting, inter-company, transfer pricing, group cash
ResearcherUniversity research team producing open-source artefactsLoRA training, signal analytics, Likert evaluation, thesis writing

The four roles map to different surfaces of the estate: freelancer → client work in SlashStudio, SME → SlashBooks, group → multi-entity consolidation in SlashBooks, researcher → the SlashMarketer research track (§7, historical framing).

  • Three is too few. A solo freelancer, a small business, and a corporate group are very different — and they need different products.
  • Five is too many. Once you have four, the marginal role doesn't add new platform capabilities.
  • Four maps to the platform's three production layers plus the research layer. Each role is the natural primary user of one layer.

HISTORICAL — not a current product. This section describes the archived marketplace (DEC-0212, 2026-11-13: code retained, hosts closed, no users; DEC-0225 §5 keeps it archived). It is kept because the escrow and milestone workflows are still the reference for how a job is run; nothing here is reachable in production, and the domain written below never shipped.

🇭🇰 AI-powered freelance marketplace with escrow payments Domain: never deployed

  • Persona: freelancer
  • Trigger: The freelancer sees a job post that matches their skills
  • Preconditions:
    • The freelancer has a verified profile (Cantonese + English skills tagged; portfolio with 6 work samples; payment account linked to a local bank)
    • They have an active Books subscription for invoicing
  • Steps:
    1. At 09:14, the freelancer opens the marketplace; the home feed shows 12 jobs ranked by AI match
    2. They click "Cha chaan teng afternoon-tea campaign — Cantonese + English copy" (HKD 12,000 budget, deadline 7 days)
    3. AI suggests a bid of HKD 10,500. The freelancer customises to HKD 11,000 + 2 revisions
    4. Submits at 09:31; status: applied
    5. The employer reviews 14 applicants over 2 days
    6. On day 3, status changes to hired; the freelancer receives an email + in-app push
    7. A project room auto-creates with 3 channels: #brief, #drafts, #revisions
    8. Escrow is funded: a payment processor holds HKD 11,000 in a destination charge
    9. Day 5: the freelancer posts v1 draft; employer comments inline
    10. Day 7: employer approves; status: milestone_released
    11. The payment processor settles to the freelancer's bank account T+2 business days
    12. Books auto-creates a draft sales invoice for the freelancer's BR
  • Outcome: The freelancer gets paid; the draft invoice is HKD 11,000 + 0% tax
  • Side effects:
    • escrow/{id} status: released
    • payments/{id} record
    • Event: marketplace.payment.released to the hub
    • Both parties can rate each other
  • Edge cases:
    • Funding failure: If the payment processor declines, hired reverts to pending_funding; auto-retry 3× over 48h before offering the gig to the next applicant
    • Mid-milestone dispute: The AI service opens a 72-hour mediation; both parties upload evidence; human ops escalates within 5 business days
    • Freelancer is over-leveraged: If they have >3 active milestones >HKD 10k each, AI suggests declining or splitting
    • Currency: Employer can pay in HKD or USD; the freelancer receives HKD; FX conversion at the mid-rate + 0.5% spread
  • Persona: sme
  • Trigger: The SME needs 5 Cantonese + 5 English social posts weekly for a campaign
  • Preconditions:
    • The SME has a verified business account (BR + CR)
    • Payment processor is configured for the business
    • The SlashMarketer's bridge is enabled (post-research)
  • Steps:
    1. The SME opens the marketplace → "Post a job" → selects template "Recurring content (weekly)"
    2. Fills the form: title, scope, deliverables (10 posts/week), budget HKD 8,000/week, deadline recurring
    3. AI shows: "HKD 6,500–9,500/week is the median for HK Cantonese social copy" (based on 240 similar jobs)
    4. Posts as recurring (no end date; cancel anytime with 7-day notice)
    5. Within 24h, 11 applicants apply
    6. The SME shortlists 3, hires one at HKD 7,500/week
    7. A project room auto-creates with template: weekly brief auto-posted each Monday 09:00
    8. The freelancer delivers on Tuesday 18:00 each week; the SME has until Thursday 18:00 to request revisions
    9. (post-research) On week 3, the SME enables the SlashMarketer's "AI first-draft":
      • The freelancer clicks "Generate first-draft" with brief "New 下午茶套餐, HKD 38, includes 奶茶 + 蛋撻"
      • The SlashMarketer returns 3 candidates with CS stats
      • The freelancer picks one, polishes, posts to #drafts
    10. Recurring weekly: the freelancer is paid every Friday via the payment processor
  • Outcome: 10 polished posts/week; the freelancer has recurring HKD 30k/month income
  • Edge cases:
    • Freelancer unavailable 1 week: They can pause; the project room broadcasts to 2 backups; the SME's backup pool has 4 pre-vetted writers
    • AI first-draft has a hallucination: The freelancer catches it; flags the output; the research team reviews the bad case
    • SME cashflow is tight: They can switch from weekly to monthly billing; late fees apply if they default
  • Persona: freelancer + sme
  • Trigger: A 3rd-party client reviewer joins the project room
  • Preconditions: Project room exists; reviewer is invited as a guest
  • Steps:
    1. Project room has 3 channels: #brief, #drafts, #revisions
    2. The guest consultant is invited via email link (token-based; no account needed); expiry 7 days
    3. The reviewer joins; the project room shows them as a guest with read-only on #brief, write on #revisions
    4. The freelancer pastes draft v3; the reviewer comments inline ("line 12 — '抵食' is HK slang but might be too colloquial for the regional campaign")
    5. The comment is auto-routed to the freelancer via push + email
    6. The freelancer revises → v4 → the reviewer approves
    7. A decision log entry is created
    8. v1 → v2 → v3 → v4 are versioned in /projects/.../files/
    9. Once approved, status changes to milestone_approved; payout auto-releases
  • Outcome: Three-party collaboration in one canonical record
  • Edge cases:
    • Guest link compromised: Tokens are signed with the project room secret; expiry is enforced; revocation is one-click
    • Reviewer requests changes after approval: Status reverts to revisions_requested; payout is held
  • Persona: group
  • Trigger: The tax authority requests transfer pricing documentation for the year
  • Steps:
    1. The group posts a fixed-price job: "TP bench-marking study for FY2025 intra-group services"
    2. Budget HKD 80,000; requires: a certified accountant + TP specialist + ≥5 yrs HK experience
    3. 6 applicants; the group shortlists 2
    4. Hires consultant A at HKD 75,000; escrow funded
    5. NDA gate: Consultant must e-sign an NDA before joining the project room
    6. Project room has stricter access: IP-allowlisted; no guest links
    7. 3 weeks later, consultant A delivers a TP policy document, a bench-marking study, and a position paper
    8. The group reviews with the external tax agent; approves
    9. Payout releases; documents auto-archive in Books under tax/transfer_pricing/FY2025/
  • Outcome: Tax-ready documents; the documents are sealed inside the books, not the consultant's account
  • Edge cases:
    • Consultant leaks: NDA has liquidated damages HKD 500k; the marketplace preserves all access logs; chain of custody is documented
    • TP study is inadequate: The group can request revisions; max 3 rounds before a dispute opens
  • Persona: sme + group
  • Trigger: The employer creates a new job post
  • Preconditions: The employer has ≥3 months of historical job data on the platform
  • Steps:
    1. The employer opens "Post a job" → fills title, scope, deliverables, deadline
    2. Enters a tentative budget of HKD 5,000
    3. AI shows: "Based on 240 similar jobs in the last 6 months, the median is HKD 7,500; the 25th–75th percentile is HKD 5,500–10,000. Your current budget is at the 15th percentile, which may attract fewer applicants."
    4. The employer adjusts to HKD 7,500
    5. The job is published; AI predicts 8–14 applicants within 48h
  • Outcome: More qualified applicants; less back-and-forth on budget
  • Edge cases:
    • No historical data: AI shows "Not enough data — showing cross-tenant benchmark" (anonymized)
    • Employer knowingly posts below market rate: UI shows a confirmation modal: "You're posting below market rate. Applicants may decline. Continue?"

🇭🇰 Hong Kong accounting & bookkeeping SaaS Domain: books.platform.hk

  • Persona: freelancer
  • Trigger: At month-end, the freelancer needs to invoice their 3 long-term clients
  • Preconditions:
    • The freelancer's BR is set up in Books
    • A local bank's feed is connected (read-only)
  • Steps:
    1. The freelancer opens Books; sees 3 active clients
    2. Clicks "New invoice" → picks client → fills lines:
      • "Cantonese + English copy — September 2026" — HKD 12,000
      • "Rush revision fee" — HKD 2,500
    3. System auto-fills: invoice number, date, due date (Net 30), tax (0% HK B2B service)
    4. The freelancer reviews, clicks "Send"; PDF generated; email sent with a payment link
    5. The client pays via the payment processor; status changes to paid
    6. The bank feed detects the deposit; auto-matches to the invoice; reconciles
    7. The invoice is now in the "Paid" tab; the ageing report updates
  • Outcome: Receivable cleared; sales for September = HKD 14,500; bank balance up by HKD 14,500
  • Side effects:
    • GL entry: Dr Bank 14,500 / Cr Sales 14,500
    • Receivable ledger cleared
    • Monthly P&L partial updated
  • Edge cases:
    • Client disputes: Status reverts to disputed; a chat thread opens; payment is paused
    • Overdue >30 days: Auto-reminder at day 7, 14, 21; late fee at day 30 (configurable, e.g. 2%/month)
    • Freelancer issues a credit note: A new credit note reverses the original; auto-posts negative sales; the client receives an updated statement
  • Persona: sme
  • Trigger: 23:59 on the last day of the month
  • Preconditions:
    • All bank feeds connected
    • POS feeds connected
    • Payroll already ran in Workforce
  • Steps:
    1. At 00:30 on day 1 of next month, the bookkeeper (or the system if auto-close is on) starts the month-end
    2. System runs automatic bank reconciliation for ~640 transactions across both branches
    3. AI-suggested journal entries:
      • Sales from POS: HKD 1,114,100
      • COGS: HKD 384,000 (food cost ~34%)
      • Payroll: HKD 268,500 gross + HKD 26,800 MPF employer = HKD 295,300
      • Rent: HKD 95,000
      • Utilities: HKD 22,400
      • Marketing: HKD 18,000 (the freelancer's retainer)
    4. The bookkeeper reviews and approves 89% of suggestions; corrects 11% (e.g. classifies a HKD 3,200 supplier invoice as "Equipment — depreciable" not "Supplies")
    5. Posts adjusting entries: prepayments (rent), accruals (utilities), depreciation (HKD 8,400)
    6. Closes the month
    7. System auto-generates Statement of Profit or Loss + Statement of Financial Position for each branch (and combined)
    8. Compares to budget and prior period; flags variances > 10%
  • Outcome: Month closed in <2 hours; reports ready; audit trail preserved
  • Edge cases:
    • Bank feed is missing transactions: System flags unmatched entries; the bookkeeper must classify manually
    • POS feed is down: Manual journal entry; flagged for review next day
    • Currency mismatch: If a supplier is in USD, system records the FX at the time of payment; unrealised FX is tracked separately
    • The owner wants to amend a closed period: A "Period Reopen" request logs a compliance.exception event; the CFO/auditor is notified
  • Persona: sme
  • Trigger: Last working day of the month
  • Preconditions:
    • Workforce has the month's hours, leave, tips
    • The bank's payroll file format is configured
  • Steps:
    1. Books auto-pulls Workforce data via the workforce.payroll.run.completed event
    2. The HR admin reviews the auto-drafted payroll:
      • Regular hours: 3,840 (across 20 staff)
      • Overtime: 184 hours (1.5x)
      • Holiday pay: 96 hours (2x, for a statutory holiday)
      • Tips (with tip-out): HKD 38,200
      • Leave taken: 64 hours
    3. System computes gross-to-net per HK salaries-tax brackets (current year):
      • 2-tier standard rate (per IRO §11C election): 15% on first HKD 50,000 of net income, 17% on the remainder
      • Progressive rates (2% / 6% / 10% / 14% / 17% on five bands of HKD 50,000)
      • Tax = whichever is lower (standard rate vs progressive)
    4. MPF: 5% employer + 5% employee, capped at HKD 1,500 each
    5. 13th-month accrual: 1/12 of monthly basic, posted to accrued_liability.13th_month
    6. The admin approves; a bank file is generated
    7. Books posts the payroll journal entry (gross 268,500 = MPF-EE 26,800 + PAYE 21,700 + net FPS 220,000):
      • Dr Payroll Expense 268,500
      • Dr MPF Employer 26,800
      • Cr MPF Payable 53,600 (employer 26,800 + employee 26,800; paid to the trustee)
      • Cr IRD Tax Payable 21,700 (PAYE / salaries tax withheld; paid to the tax authority via IR56B reconciliation)
      • Cr Salaries Payable 220,000 (net to staff; paid via FPS batch)
    8. Then the actual cash legs (separate posting):
      • Dr MPF Payable 53,600 / Cr Bank 53,600 (to the MPF trustee)
      • Dr Salaries Payable 220,000 / Cr Bank 220,000 (FPS to staff)
      • Dr IRD Tax Payable 21,700 / Cr Bank 21,700 (to the tax authority)
    9. Payslips generated; staff receive via email + push
    10. The year-end IR56B batch is updated
  • Outcome: Staff paid (T+1); MPF filed; IR56B ready; GL synced
  • Edge cases:
    • Employee starts mid-month: Pro-rated basic + MPF pro-rated; no 13th-month accrual
    • Employee on unpaid leave: No MPF for that period
    • Tip allocation disputed: Held in payroll.tips.pending_distribution; HR resolves before close
    • FPS fails for 1 staff: Retried next day; staff notified; no late-pay penalty since ≤3 days
  • Persona: group
  • Trigger: Quarter-end (Mar/Jun/Sep/Dec) + year-end (Dec)
  • Preconditions:
    • All 4 entities' books are closed for the period
    • Inter-company transaction list is complete
  • Steps:
    1. The CFO opens the group consolidation view
    2. The system loads all 4 entities' trial balances; flags inter-company balances:
      • Subsidiary A owes Subsidiary B HKD 240,000 (rent Q3)
      • Parent charged Subsidiary A HKD 180,000 (management fees Q3)
      • Subsidiary C billed Subsidiary A HKD 96,000 (delivery Q3)
    3. The CFO reviews; confirms all inter-company items are matched
    4. System generates elimination entries:
      • Dr IC Receivable 240,000 / Cr IC Payable 240,000 (eliminate rent)
      • Dr IC Revenue 180,000 / Cr IC Expense 180,000 (eliminate management fees)
      • Dr IC Revenue 96,000 / Cr IC Expense 96,000 (eliminate delivery)
    5. System computes non-controlling interest (none — the parent owns 100% of all subs)
    6. Consolidated P&L, BS, CF, SCE generated
    7. Compares to prior period, budget, and the rolling 12-month forecast
    8. Two-tier Profits Tax computation for each entity (8.25% on first HKD 2M, 16.5% above)
    9. The external tax agent reviews; signs off
    10. Year-end: BIR51, BIR52, Profits Tax Returns generated for each entity
  • Outcome: Group financials in HKFRS; tax provision computed; ready for year-end audit
  • Side effects:
    • Event: consolidation.completed
    • Consolidated trial balance snapshot stored
    • Audit log: every consolidation run has its own ID and approver
  • Edge cases:
    • IC mismatch: System flags; the CFO must reconcile before consolidating
    • FX — sub in foreign currency: Translate at closing rate for BS, average rate for P&L; FX translation reserve posted to OCI
    • Acquisition mid-year: Auto-detected; pro-rated consolidation; goodwill computed under HKFRS 3
    • Statutory deadline <14 days: Dashboard banner; daily digest; 1-click "lodge now" if all reconciliations are done
  • Persona: group
  • Trigger: Year-end (March 31 deadline for prior FY documentation)
  • Preconditions: All intra-group transactions logged with amounts + counterparties + descriptions
  • Steps:
    1. The CFO opens the transfer pricing module
    2. System shows all intra-group flows for the year:
      • Management fees: Parent → 3 subs (HKD 720,000 + 360,000 + 180,000)
      • Rent: Property sub → Restaurant sub (HKD 960,000)
      • Delivery: Logistics sub → Restaurant sub (HKD 384,000)
      • Loan interest: Parent → Restaurant sub (HKD 145,000 @ 5%)
      • Total intra-group: HKD 2,749,000
    3. The CFO runs the TP module:
      • Auto-fills the TP policy template (mark-up, cost-plus, CUP, etc.)
      • Bench-marks each transaction type against royalty stat + BvD databases
      • Generates a position paper, a functional analysis, a bench-marking study, and contemporaneous documentation
    4. The CFO reviews; the external tax agent reviews
    5. Files the documentation package internally (not filed with the tax authority; kept for 7 years per IRO §51C)
    6. If the tax authority opens an enquiry (within 7 years), the docs are ready
  • Outcome: TP docs are audit-ready; penalty risk for inadequate documentation is mitigated
  • Edge cases:
    • New intra-party transaction mid-year: System flags; the CFO must add to documentation
    • Loss-making entity receiving management fees: The tax authority may challenge; system flags for explicit justification
    • Cross-border, e.g. Singapore sub: Different rules; system warns to engage a cross-border TP specialist
  • Persona: group
  • Trigger: A subsidiary declares a HKD 1.5M dividend to the parent
  • Steps:
    1. The CFO opens the subsidiary's books → "Actions" → "Declare dividend"
    2. System checks:
      • Realised profits ≥ HKD 1.5M? Yes (cumulative realised profits HKD 4.2M)
      • Does it prejudice solvency? No (current ratio 2.3)
    3. The CFO fills: dividend amount HKD 1,500,000; record date 2026-09-30; payment date 2026-10-15
    4. System generates:
      • Board resolution (template; the CFO signs)
      • Dividend warrant
      • Withholding tax: nil (HK corp-to-HK corp dividends are not subject to WHT under IRO §20(2) unless it's a property company)
    5. The CFO signs the resolution
    6. On payment date: Dr Dividend Payable 1,500,000 / Cr Bank 1,500,000 in the subsidiary
    7. On receipt: Dr Bank 1,500,000 / Cr Dividend Income 1,500,000 in the parent
    8. Consolidation: dividend eliminated (intra-group)
    9. No Profits Tax impact at the subsidiary level (after-tax distribution)
    10. No Profits Tax at the parent level (HK corp-to-HK corp dividends are exempt under IRO §20(2))
  • Outcome: Clean dividend; no double taxation
  • Edge cases:
    • Insufficient realised profits: System blocks; warns against unlawful dividend
    • Property company: WHT applies; auto-calculated
    • Cross-border to non-HK: WHT treaty rates apply; auto-flagged

🧠 Cross-product AI agent runtime — 315 enabled tools (285 built-in + 30 MCP, 2026-11-18) · single unified agent · service-token auth Domain: ai.platform.space (no public frontend)

  • Persona: freelancer
  • Trigger: The freelancer needs a quick Cantonese caption for a campaign
  • Preconditions:
    • The SlashMarketer's bridge is enabled (post-research)
    • The freelancer has the AI panel open in their project room
  • Steps:
    1. Types: "draft a Cantonese + English caption for an afternoon tea set, HKD 38, 奶茶 + 蛋撻"
    2. The AI agent switches to the cantonese-marketer skill (uses the SlashMarketer's model via internal tool call)
    3. The SlashMarketer returns 3 candidates with CS stats:
      • A: "食好嘢,飲好茶。KK 嘅 afternoon tea set 只需 HKD 38, 包你飲到正宗絲襪奶茶,食到新鮮出爐蛋撻 🍮"
        • CSI: 0.42, Burstiness: 0.18
      • B: "Afternoon tea lovers rejoice! KK 下午茶套餐 HKD 38 — silky 奶茶 + flaky 蛋撻"
        • CSI: 0.31, Burstiness: 0.05
      • C: "KK 新出 afternoon tea! 奶茶 + 蛋撻只係 HKD 38, 快啲嚟試!"
        • CSI: 0.55, Burstiness: 0.22
    4. The AI service presents them in a side panel; the freelancer picks B, polishes, posts
    5. Event: marketer.campaign.generated emitted to sandbox
  • Outcome: The freelancer saves ~30 min of brainstorming
  • Edge cases:
    • Model returns a hallucinated brand name: The freelancer catches it; flags the output; the research team reviews the bad case
    • Research project is still in progress: The marketer_bridge_enabled flag is false; the freelancer uses the raw SlashMarketer UI instead
  • Persona: sme
  • Trigger: Every morning at 08:30, the SME wants a 1-screen summary of yesterday's ops
  • Steps:
    1. A hub recipe daily-ops-summary fires at 08:30
    2. The recipe triggers the AI agent ops-summarizer
    3. The agent calls:
      • Workforce: workforce.shift.attendance.summarize(yesterday) → branch A 12/12 present, branch B 7/8 (1 sick)
      • Books: books.sales.summarize(yesterday) → branch A HKD 28,400, branch B HKD 18,200
      • Marketplace: marketplace.pending_reviews → 2 drafts waiting
    4. The agent synthesises:

      "Yesterday: Both branches hit plan. Branch A HKD 28,400 (↑5% vs avg), Branch B HKD 18,200 (↓3% vs avg, weather may explain). 1 sick leave at Branch B. 2 drafts awaiting your review in the project room."

    5. Slack-posted to #ops and emailed
  • Outcome: The SME sees their day in <30 seconds
  • Edge cases:
    • Data is missing: The agent says "Branch B sales feed is delayed; will update at 10:00"
    • Anomaly detected: If Branch B was ↓30% instead of ↓3%, the agent escalates with a "🚨 anomaly" badge and asks if a deep-dive is wanted
  • Persona: group
  • Trigger: AI detects a >20% inter-company balance mismatch in a sub's books
  • Steps:
    1. The CFO is working on Q3 consolidation
    2. The AI agent consolidation-anomaly-detector runs continuously
    3. It detects: Subsidiary A's trial balance shows IC Receivable — Subsidiary B 240,000 but Subsidiary B's trial balance shows IC Payable — Subsidiary A 235,000 (5,000 mismatch)
    4. The agent surfaces a banner: "IC mismatch HKD 5,000 between Subsidiary A ↔ Subsidiary B for Q3 rent. Most likely cause: late timing of a reversing entry. Suggested action: check Subsidiary B's bank rec for 2026-09-15."
    5. The CFO clicks the suggestion; the system opens the bank rec at that date
    6. She finds the HKD 5,000 was a credit memo from Subsidiary B to Subsidiary A; posts the correct journal entry
    7. Re-runs consolidation; matches
  • Outcome: Anomaly resolved in 5 minutes; no quarter-end surprise
  • Edge cases:
    • Root cause is fraud, not timing: AI escalates to compliance; flagged for audit trail
    • AI is wrong: The CFO can dismiss; the model learns from dismissal
  • Persona: sme + group
  • Trigger: End of month
  • Steps:
    1. A hub recipe month-end-close fires (configurable: the SME sets it to 23:00 on the last day)
    2. The recipe orchestrates:
      • Workforce: close shifts + generate payroll input
      • Books: run payroll + reconcile bank feeds + post entries
      • Marketplace: release any pending freelancer payments
      • Hub: emit a workspace.period_closed event
    3. AI monitors the chain; if any step fails, it pauses and reports
    4. On success, all 3 products' "Period" tab shows "Closed"
  • Outcome: The SME's month-end is fully automated
  • Edge cases:
    • One product fails: AI halts the chain; alerts the SME; the SME can resume after fixing
    • Race condition — 2 recipes fire at once: Orchestrator serialises; uses a per-workspace distributed lock

🌐 Super-app federation layer — one identity, one workspace, one event bus, one API, one bill Domain: hub.platform.hk

  • Persona: freelancer
  • Trigger: The freelancer is new to the platform
  • Steps:
    1. Visits hub.platform.hk/welcome → "Sign up"
    2. Signs up with email + Google
    3. Hub auto-creates a personal workspace: "My Workspace" (renamable)
    4. Hub emits workspace.created event
    5. Lands on /account/dashboard; sees 3 product cards
    6. Clicks "Connect Marketplace" → OAuth flow → links to existing account (or creates new)
    7. Clicks "Connect Books" → creates a sole-proprietorship BR wizard
    8. Clicks "Connect Workforce" → "Skip — I'm solo"
    9. All products now share the same identity; the workspace has a single ID
  • Outcome: One login, one workspace, 3 product instances, all linked
  • Edge cases:
    • Email already exists in another product: System detects; offers to link, not duplicate
    • Different email per product: Allowed; identity links map multiple emails to one account
    • Sign up but never link a product: Workspace is empty; no charges
  • Persona: sme
  • Trigger: The SME is onboarding
  • Steps:
    1. Signs up with their business email
    2. Picks "I'm a business"; creates an organization: "My F&B Group"
    3. Hub creates a workspace with 2 product slots pre-filled: Books, Workforce
    4. Connects Books:
      • Imports their CR, directors, registered office
      • Creates 2 "companies" in Books: one per branch
      • Wires both to one chart of accounts
    5. Connects Workforce:
      • Picks industry mode: hospitality
      • Creates 2 "restaurants" matching their branches
      • Imports 20 staff from a CSV
      • Configures tip-out rules and statutory holiday calendar
    6. Connects Marketplace:
      • Creates a business profile
      • Sets up auto-posting for recurring marketing gigs
    7. Connects Studio:
      • 1-click; uses Marketplace auth
    8. Leaves the AI service on default (auto-on)
    9. Leaves SlashMarketer off for now (post-research)
  • Outcome: One dashboard, 4 products, 20 staff, 2 branches
  • Edge cases:
    • CSV import has bad rows: System flags; the SME fixes in-app
    • Some staff already exist in Workforce from a previous employer: Dedupe via HKID hash; offer to merge
    • The SME wants to add a 3rd product later: Goes to /account/orgs/{id}/products → "Add product"
  • Persona: group
  • Trigger: The CFO is onboarding
  • Steps:
    1. Signs up with 2FA mandatory
    2. Creates an organization: "My Holdings Group"
    3. Hub flags it as group: true (auto-detected by CR pattern matching — 4 CR numbers entered in the next step)
    4. Connects Books:
      • 4 entities: Holdings, Restaurant, Logistics, Property
      • Marks Holdings as parent; others as subsidiary
      • Sets consolidation_method: full (100% owned)
      • Imports COA + inter-company chart
    5. Connects Workforce:
      • 1 organisation-wide HR account; 4 cost-centres matching the 4 entities
      • 50 staff imported with cost-centre allocation
    6. Connects Marketplace:
      • 1 group-level employer profile
      • Sub-accounts for each entity (so each entity can hire its own freelancers)
    7. The AI service: enabled; agents: consolidation-anomaly-detector, tp-documenter, group-cash-forecaster
    8. Invites 3 entity bookkeepers + 1 HR shared service; they each get scoped access (only their entity's data)
  • Outcome: Group structure modelled; access scoped per entity; consolidation is one-click
  • Edge cases:
    • Bookkeepers see each other's data: Scoping bug; opens a ticket; resolved within SLA
    • An entity is acquired mid-year: Consolidation module re-runs with the new subsidiary; HKFRS 3 acquisition accounting kicks in
  • Persona: sme
  • Trigger: The SME wants to be alerted when a freelancer payment is released AND the related invoice is in Books
  • Steps:
    1. Opens /account/recipes/new
    2. Sets trigger: marketplace.payment.released with filter amount > 10000 and linked_to_workspace: true
    3. Sets action: slack.send to #finance with a template
    4. Sets condition: books.invoice.paid within 24h of the same workspace
    5. Tests with 1 historical event
    6. Saves; turns on
  • Outcome: Recipe runs autonomously; the SME gets a Slack ping for every significant freelancer payment
  • Edge cases:
    • Recipe fails 3×: Goes to DLQ; the SME gets an alert
    • Recipe runs too often: Rate limit: 1000 runs/workspace/day; over → paused
    • Wrong Slack channel: The SME can change; takes effect on next run
  • Persona: sme + group
  • Trigger: A 3rd-party payroll SaaS wants to push shift data into the SME's Workforce
  • Steps:
    1. The SME goes to /account/api-keys/new
    2. Names it: "External Payroll Push"
    3. Sets permissions: workforce:shift:write only (read-only everything else is denied by default)
    4. Sets IP allowlist
    5. Sets expiry
    6. Copies the key
    7. The 3rd-party calls POST /v1/workforce/shifts with the API key
    8. Hub fans the call out to Workforce; Workforce validates and creates the shift
    9. Response: 201 Created
    10. Audit log entry recorded
  • Outcome: 3rd-party integrates cleanly; the SME has scoped, auditable access
  • Edge cases:
    • Key leaked: Revoke; 1-click; immediate effect
    • 3rd-party calls wrong endpoint: 403; error message lists permitted endpoints
    • 3rd-party IP not in allowlist: 403; suggestion to update allowlist
    • Rate limit: 100 req/min default; 429 returned

🧩 Real-time collaboration UI (chat, tasks, whiteboard) — frontend shell on top of Marketplace Domain: studio.platform.hk

  • Persona: freelancer + sme
  • Steps:
    1. Opens the project room in Studio
    2. Posts v3 draft in #drafts
    3. The client reviews; cursor presence shows them looking at line 7
    4. The client leaves an inline comment: "呢度 '抵食' 會唔會太口語?" (Will "抵食" be too colloquial here?)
    5. The freelancer sees it in real time; replies: "明白, 改 '高性價比' (more neutral)"
    6. They iterate to v4
    7. Decision log entry: "Agreed to use 高性價比 instead of 抵食 for regional campaign tone"
  • Outcome: Tight feedback loop; no email back-and-forth
  • Edge cases:
    • The freelancer's connection drops: Local draft auto-saved; reconnects and syncs
    • The client closes the browser without saving the comment: Draft comments are saved on every keystroke; nothing lost
  • Persona: sme
  • Steps:
    1. Mondays 09:00, opens the "Marketing" project room
    2. Studio automatically pins:
      • This week's brief (from the freelancer)
      • Last week's performance (likes, reach, comments) from social + reviews
      • 2 pending drafts
    3. The team runs a 15-min standup inside the embedded video room
    4. They co-edit the brief in real time
    5. Action items auto-collected in the right rail
  • Outcome: 15-min sync; clear actions; no separate Zoom + Google Doc + Slack
  • Edge cases:
    • The freelancer is offline: Asynchronous: they leave a voice note; the SME listens later
    • Video fails: Falls back to audio-only; transcript captured
  • Persona: group
  • Steps:
    1. Opens a project room named "Board Pack — Q3 2026"
    2. Pins the draft consolidated P&L, BS, CF, KPI dashboard
    3. Invites 3 directors as reviewers (read-only)
    4. Directors leave inline comments; the system aggregates them by section
    5. The CFO addresses comments; marks resolved
    6. 24h before the meeting, the system exports a clean PDF
  • Outcome: Efficient pre-read; no chasing emails
  • Edge cases:
    • A director doesn't open the link: System reminds; the CFO can see who has read
    • Confidential numbers accidentally pasted: Revoke access; system shows audit log of who saw what

👥 Cross-industry workforce management — scheduling · attendance · payroll · leave (9 industry modes) Domain: workforce.platform.hk

  • Persona: sme
  • Trigger: Every Friday 16:00, plan next week (Mon–Sun)
  • Preconditions:
    • 20 staff with availability, skills, seniority, employment type (FT/PT)
    • Demand forecast from POS (last 4 weeks)
    • Statutory holiday calendar
  • Steps:
    1. Opens Workforce → branch shift planners
    2. AI draft schedule appears:
      • Branch A: peak 12:00–14:00 and 19:00–21:00; suggests 4 floor + 2 kitchen
      • Branch B: smaller, 2 floor + 1 kitchen + 1 all-rounder
      • Honours: rest-day rules (1 in 7), statutory holidays
    3. The manager drags a swap: "Staff X ↔ Staff Y"
    4. System re-validates; OK
    5. Clicks "Publish"
    6. All 20 staff get push notifications; 1 SMS reminder
    7. The schedule is locked; changes after publish require manager override + reason
  • Outcome: Schedule published in 8 min; staff informed; rest-day compliance 100%
  • Edge cases:
    • A staff member says they can't make Saturday: They submit a leave request; system auto-suggests a swap; manager approves
    • Statutory holiday falls on rest day: System offers "substitute holiday" auto-assignment
    • Insufficient staff for a peak: AI flags; manager decides to call a part-timer in
    • Overtime would exceed statutory limits: AI blocks; manager override requires reason + sign-off
  • Persona: sme (used by the SME's staff)
  • Steps:
    1. A staff member arrives at Branch A at 11:55
    2. Opens the Workforce mobile app; face recognition verifies (0.8s)
    3. Clock-in: 11:55; GPS: Branch A location
    4. The manager's attendance board updates in real time
    5. Shift: 11:55–20:00 (8h 5m, rounded to 8h per the 30-min rounding rule)
  • Outcome: 5-second clock-in; accurate time
  • Edge cases:
    • Face recognition fails 3×: Fall back to PIN; manager notified
    • GPS says the staff is not at Branch A: They confirm "I'm here, GPS off"; manager approves manually
    • Forgot to clock out: Auto clock-out at +2h after scheduled end; manager can adjust
  • Persona: group
  • Steps:
    1. Opens Workforce as Group Admin
    2. Sees 50 staff; each is allocated to a cost-centre (Restaurant / Logistics / Property / Holdco)
    3. Monthly HR report breaks down by cost-centre:
      • Restaurant: 28 staff, payroll HKD 845k, MPF HKD 84k
      • Logistics: 14 staff, payroll HKD 412k, MPF HKD 41k
      • Property: 4 staff, payroll HKD 124k, MPF HKD 12k
      • Holdco: 4 staff, payroll HKD 168k, MPF HKD 17k
    4. Exports to Books; each cost-centre maps to a sub-ledger
    5. workforce.payroll.run.completed event ×4 (one per entity)
  • Outcome: HR cost fully allocated; each entity's P&L shows the correct labour cost
  • Edge cases:
    • A staff member works across 2 entities in 1 month: Split hours; each entity's P&L gets its share
    • A new entity is acquired mid-year: Workforce supports mid-year cost-centre add; pro-rated YTD reports available
  • Persona: group
  • Steps:
    1. A staff member resigns; last day 2026-10-31
    2. Opens the staff profile → "Offboard"
    3. System computes final pay:
      • Last month's wages: HKD 18,000
      • Unused annual leave: 3.5 days → HKD 2,769
      • 13th-month pro-rated: HKD 1,500
      • Total final pay: HKD 22,269
    4. The manager approves; a bank file is generated
    5. IR56F (Notice of Departure) is auto-generated with the HKID, last day, final pay
    6. Files with the tax authority within 1 month of last day (statutory deadline)
    7. The staff member's access is revoked from all products on last day + 1
  • Outcome: Final pay processed; IR56F filed; offboarded cleanly
  • Edge cases:
    • The staff member re-joins within 2 years: Tax rules say no new IR56F; re-use existing record
    • MPF vesting: System reminds the manager of the vesting schedule; auto-employer contribution posted
  • Persona: sme
  • Steps:
    1. HR creates the worker; industry mode: construction/CIS (Construction Industry Scheme)
    2. The worker e-signs their contract in-app
    3. Submits: Green Card (safety card), CIS training cert, medical fitness
    4. System validates expiry dates; reminds before lapsing
    5. Assigned to a site + supervisor
    6. Daily: time tracking at site entry/exit
    7. Weekly: safety briefing attendance tracked
    8. Payroll: daily-rate × days worked; no overtime; CIS-specific tax
  • Outcome: Fully compliant; documents all up to date
  • Edge cases:
    • Green Card expires: System blocks site entry until renewed
    • Medical fitness expires: Same; HR + worker notified 30 days before

HISTORICAL FRAMING — the product is public beta. SlashMarketer ships as a product site in public beta at marketer.slashhub.hk (see ecosystem.md §6). This section describes the research track the repo grew out of; it is kept for the method (evaluation, constraints, negative results), not as a statement of what the product can do today.

🧪 A 30-week university research project Window: Sep 2026 – Apr 2027 Status: 🟡 unverified against code — the repo is built (apps/web Next.js 16 live at marketer.slashhub.hk, apps/api FastAPI, apps/mirofish); whether any capability is still gated is open

Framing note: "Marketing" in this context is the genre of the corpus (Cantonese-English marketing copy) and the time-series application (marketing-channel attribution), not a marketing-automation SaaS. The research track does not sell to marketers. It produces artefacts that may eventually feed the AI service.

  • Persona: researcher (intra-project; not yet exposed to commercial users)
  • Trigger: The researcher wants a quick Cantonese caption to demonstrate the fine-tuned model at a milestone
  • Preconditions:
    • The project is in the core-algorithms phase; the model is fine-tuned on a public HK corpus; the RAG pipeline is wired
    • The /generate route is up on a personal cloud deployment
    • No external users yet — the researcher is the test user
  • Steps:
    1. Opens research.platform.hk/generate (or localhost:8080/generate for local dev)
    2. Enters the brief
    3. The system loads the fine-tuned model + RAG
    4. Returns 3 candidates with CS stats
    5. Picks one, polishes slightly, exports for the supervisor demo
    6. Logs the choice (for the research feedback loop)
  • Outcome: 3 candidates in <3 seconds; CS stats attached
  • Side effects:
    • Corpus chunks referenced (RAG retrieval logged)
    • Evaluation cache entry created
    • marketer.campaign.generated event → sandbox
  • Edge cases:
    • Model hallucination: The researcher flags; the team reviews; the bad case is added to a held-out red-team set
    • RAG returns irrelevant chunks: Fallback to no-RAG; lower CS score; logged for retrieval-quality ablation
    • Compute budget alert: Hard cap; if a hosted API rate-limit is hit, the researcher pauses and resumes next day
  • Persona: sme (post-project)
  • Trigger: The SME has a daily CSV from social + delivery platforms: spend, impressions, clicks, conversions, revenue
  • Preconditions:
    • CSV has columns: date, channel, spend, impressions, clicks, conversions, revenue
    • ≥30 days of data
  • Steps:
    1. Opens research.platform.hk/attribution
    2. Uploads the CSV
    3. The system runs the composite pipeline (cubic-spline interpolation → CWT → DWT denoising → Kalman trend)
    4. Returns detected transients, a behavioural comparison vs baselines, and a plot
    5. Results are stored with the full pipeline config + metrics JSON
  • Outcome: The SME sees where their marketing was impactful vs the noisy daily series
  • Edge cases:
    • CSV has <14 days: System warns: "Sparse data; CWT may produce noise artefacts"; suggests more data
    • Column missing: Validation error; specific column name required
    • Currency mismatch: All monetary values in HKD; USD detected → user prompt
  • Important caveat:

    The output is behavioural characterisation, not forecasting. There is no claim of MAPE superiority over Prophet on sparse daily data — that would be methodologically unsupported.

  • Persona: researcher (the project lead + recruited external raters)
  • Trigger: 100 held-out test cases need human evaluation
  • Preconditions: Ethics committee approval; informed consent; pseudonymisation
  • Steps:
    1. The project lead recruits 2–3 raters (fellow students with native Cantonese + fluent English; not from the project team, to avoid bias)
    2. Each rater logs in to the evaluation panel
    3. Each is randomly assigned 50 of 100 cases (inter-rater overlap on 20 for κ)
    4. For each case, they rate on 5 dimensions (1–7 Likert):
      • Code-mix naturalness
      • Brand faithfulness
      • Fluency
      • Cultural appropriateness
      • Hallucination rate (inverse)
    5. Time per case: ~90 seconds
    6. After all 100 cases are rated, the data analyst computes:
      • Cohen's κ (2 raters on 20 overlap) for inter-rater agreement
      • Fleiss' κ (≥3 raters)
      • Per-dimension mean, SD, 95% CI (bootstrap)
      • Paired t-test + Wilcoxon signed-rank (model A vs model B) with Bonferroni correction
    7. Results published in the project thesis Chapter 5
  • Outcome: Statistically defensible human eval
  • Edge cases:
    • A rater has a conflict of interest: System blocks; alternate rater assigned
    • Ethics approval not yet granted: Switch to auto-metrics only (BLEU, ROUGE, CS, HKCanto-Eval) — still publishable
    • Raters disagree strongly — κ < 0.2: Adjudication session; flagged as borderline, results reported with caveat
  • Persona: researcher (the project lead + team)
  • Trigger: Final phase of the project
  • Steps:
    1. The team finalises the artefacts:
      • Public corpus (≥500 examples)
      • Trained model weights (Cantonese-English code-mixed NLG)
      • Signal-processing code (FFT + CWT + DWT + Kalman + composite)
      • Evaluation notebooks
    2. Licences:
      • Corpus → CC BY 4.0 / CC BY-SA 4.0 (open-licensed-derived portions)
      • Model weights → Apache 2.0
      • Signal code → Apache 2.0
      • Evaluation notebooks → Apache 2.0
    3. Mirrors to a public model hub + an academic repository + Zenodo for DOI
    4. The 5 hard constraints apply:
      • Foreground IP remains with the research team
      • The platform holds a non-exclusive, royalty-free, perpetual, worldwide commercial licence
      • Any UI referencing these artefacts must display attribution
      • The platform's billing does not charge for the artefacts
  • Outcome: Open artefacts; the platform has commercial rights; the team retains authorship + moral rights
  • Edge cases:
    • The supervisor requests confidentiality: A 14-day publication notice applies
    • Patent filing window: A 60-day window from the team's election
    • The platform is acquired: Licences transfer; the open licences survive change of control

End-to-end multi-product narratives. Each one is a real timeline over multiple days.

DayTimeEventProducts
109:14Sees a job post on the marketplace feedMarketplace
109:31Applies with a custom proposalMarketplace
311:02Status → hired; escrow fundedMarketplace, payment processor
516:30Drafts v1 in the project room; uses the SlashMarketer's AI first-draftMarketplace, Research
517:45Polishes the AI output; posts in #draftsStudio
710:00The client reviews; minor commentsStudio
714:00Posts v2; the client approvesStudio
809:00Milestone released; payment settles to the bank T+2Marketplace, payment processor
809:00Books auto-creates a draft sales invoiceBooks
818:00Issues the invoice to the client; sends via BooksBooks
1210:30The client pays; invoice status → paidBooks, payment processor
3023:00Month-end; reviews the Books P&LBooks
3023:30Sees YTD income: HKD 487,000; sets aside HKD 73,000 (15% standard rate) for taxesBooks
3023:45Asks the AI service: "What's my projected tax if I earn HKD 540k this year?"AI Service, Books
DayTimeEventProducts
Mon07:00Opens Branch A; greets staff; checks the Workforce shift boardWorkforce
Mon08:30Reads the AI daily-ops summary in SlackAI Service, Workforce, Books
Mon10:00Reviews 2 freelancer drafts; approves bothMarketplace, Studio
Mon14:00Posts next-week schedule (AI-drafted; reviewed + published)Workforce
Mon16:00Hires a new part-time waiter via the marketplaceMarketplace
Mon18:00Closes Branch A POS; reconciles via the in-house feedBooks
Wed10:00Branch B POS feed has a 1h gap; manual journal postedBooks
Thu14:00Bank feed flags 1 unmatched transaction; the bookkeeper resolvesBooks
Fri12:00A staff member calls in sick; Branch B manager finds a replacement via WorkforceWorkforce
Fri16:00Plans next week; publishes scheduleWorkforce
Fri18:00Closes Branch B; daily totals in dashboardWorkforce, Books
Sat09:00Reviews the week's sales vs plan; flags Branch B under-performanceAI Service, Books
Sun—(Day off; AI keeps watching)—
3023:59Month-end auto-close; reports ready by 02:00 next dayBooks, Workforce
DayTimeEventProducts
Sep 2809:00Opens the group consolidation workspaceHub
Sep 2809:30Closes Q3 for all 4 entities; books are lockedBooks
Sep 2811:00Inter-company reconciliation: 1 mismatch flagged by AIAI Service, Books
Sep 2814:00The CFO resolves the HKD 5,000 timing diffBooks
Sep 2816:00First consolidation pass: 2 eliminations need adjustmentBooks
Sep 2909:00The tax agent joins; reviews Q3 figures(external)
Sep 2914:00Tax provision computed: HKD 858,000 (two-tier)Books
Sep 3010:00Board pack draft: consolidated P&L, BS, CF, narrativeHub (project room), Books
Sep 3016:00Board meeting; 3 directors approveHub (project room)
Oct 109:00Board pack finalised; PDF exportedHub
Oct 114:00The CFO updates the 12-month rolling forecastAI Service, Books
Oct 116:00A subsidiary declares HKD 1.5M dividendBooks
Oct 1510:00Dividend paid; inter-company eliminated at next consolidationBooks
Oct 3116:00A driver is offboarded; IR56F filedWorkforce, tax authority
DayTimeEventProducts
109:00Weekly standup with the supervisor; aligns on this week's goals(ad-hoc)
110:00Reviews the auto-metrics dashboard (BLEU, ROUGE, CS); compares to last weekResearch
314:00Reruns a fine-tuning experiment with adjusted hyperparametersResearch
516:00Documents the experiment in the lab notebook (versioned)Research
811:00Submits a request to the data analyst: "Run the CWT pipeline on the new dataset"Research
1014:00Reviews the CWT output; identifies a new transient patternResearch
1510:00Drafts Chapter 4 of the thesis (related work)(writing)
2216:00Mid-month check-in with the supervisor; shows progress(ad-hoc)
2511:00Ethics committee meeting; presents the human-eval protocol(committee)
3023:00Month-end: reviews the burn rate against the compute budgetResearch
3023:30Asks the AI service: "Summarise this month's experimental findings in 3 bullets"AI Service

Multi-entity, HKFRS consolidation, intercompany, transfer pricing.

sequenceDiagram
    participant CFO as Group CFO
    participant Books as Books
    participant AI as AI Service
    participant TA as Tax agent
    CFO->>Books: close Q3 for all 4 entities
    Books->>AI: emit period.closed ×4
    AI->>AI: check IC balances
    AI-->>CFO: 1 mismatch (Sub A ↔ Sub B HKD 5,000)
    CFO->>Books: post reversing journal
    CFO->>Books: run consolidation
    Books->>Books: eliminations: IC receivables, IC payables, IC revenue/expense
    Books->>Books: NCI: 0 (100% owned)
    Books-->>CFO: consolidated P&L, BS, CF, SCE
    CFO->>TA: share for review
    TA-->>CFO: tax provision HKD 858,000 (two-tier)
    CFO->>Books: lock consolidation
    Books-->>CFO: snapshot stored; audit log entry

A typical HK group has 6 inter-company transaction types; each has its own workflow:

#TypeExampleTax treatment
1Management feesParent charges subs 5% of revenue for shared servicesTaxable at receiving end; deductible at paying end; transfer pricing required
2RentProperty sub charges Restaurant sub for warehouse useSame as #1
3DeliveryLogistics sub bills Restaurant sub for delivery servicesSame as #1
4LoansParent lends Restaurant sub HKD 5M @ 5%Interest taxable at Parent; deductible at Restaurant sub; thin cap rules apply if debt:equity > 1.5:1
5DividendsRestaurant sub pays HKD 1.5M to ParentNot subject to WHT (HK corp-to-HK corp)
6Cost sharingParent allocates IT costs pro-rata to subsOK if allocation method is consistent + arm's length

Each transaction type:

  • Has a journal template
  • Is auto-matched across entities during consolidation
  • Has TP documentation requirements
  • Has audit trail (which the CFO signed, when)

The CFO's TP cycle:

  1. Identify related-party transactions (system auto-detects from GL)
  2. Functional analysis (what does each entity do? what risks? what assets?)
  3. Method selection (CUP, RPM, CPM, PSM, TNMM)
  4. Bench-marking study (search for comparables; royalty stat, BvD)
  5. Position paper (conclusion + economic substance)
  6. Contemporaneous documentation (kept for 7 years per IRO §51C)
  7. Master file + local file (if MNC)

If the tax authority opens an enquiry (within 7 years), the CFO has the docs. Penalty for inadequate docs: up to HKD 50,000 + tax adjustment + 100% penalty tax.

The CFO needs to see cash across all 4 entities in one view:

Group cash position (2026-09-30)
─────────────────────────────────
Holdings      HKD    1,200,000   (parent reserves)
Restaurant    HKD    2,800,000   (operations)
Logistics     HKD      950,000   (working capital)
Property      HKD      650,000   (maintenance reserves)
─────────────────────────────────
TOTAL         HKD    5,600,000

They get this from Books → Group dashboard → Cash position widget. Drill down to per-entity.

Cross-entity cash sweep (optional, configured):

  • Each Friday, any entity with cash > HKD 500k above its target sweeps the excess to Holdings
  • Implemented as an inter-company loan that reverses on Monday
  • All journal entries are automated; the CFO just monitors

When the group acquires a new sub (e.g. a tech arm):

  1. Acquisition date: 2027-01-15
  2. The CFO opens /account/orgs/{id} → "Add entity"
  3. Enters: name, CR, date of acquisition, % owned
  4. HKFRS 3 acquisition accounting:
    • Fair value of consideration
    • Fair value of identifiable net assets
    • Goodwill = difference
  5. Pro-rated consolidation from acquisition date
  6. New cost-centre in Workforce
  7. New company in Books
  8. New sub-account in Marketplace (if they'll hire freelancers)
  9. Events: entity.added, entity.acquired

FailureDetectionRecovery
Onboarding incompleteThe marketplace prevents hiringThe employer is prompted to complete onboarding
Card declinedEscrow funding failshired reverts to pending_funding; auto-retry 3×; if all fail, next applicant
FPS file rejected by the bankBooks detectsThe bank file is re-generated; HR is notified
3rd-party API call failsHub recipe DLQAfter 3 retries → DLQ; the user is notified
Cross-border paymentThe payment processor handles FXFX rate + spread shown to the user before send
ConflictDetectionResolution
Email already exists in another productDedup key on signupOffer to link (single account), not duplicate
HKID already used in WorkforceHRIS dedupOffer to merge profiles
Same name in 2 productsPerson-graph dedupThe admin confirms "same person" via persons.merge
Multi-Org membershipHubEach Org has its own role; the user can be admin in one and member in another
Stale session (>90 days)Auth checkRe-auth required; tokens re-issued

When multiple deadlines fall on the same day (e.g. Sep 30 = Q3 close + 1 dividend):

DeadlineBuffer daysSystem behaviour
Q3 close (Books)14 days beforeDaily digest to the CFO
IR56B (year-end Apr 30)30 days beforeDaily digest to HR
Profits Tax (Aug 15 for Aug-31 FY-end)60 days beforeDaily digest to the tax agent
IR56F (1 month from departure)7 days beforeAuto-draft prepared
MPF filing (monthly)3 days beforeAuto-draft prepared
Annual return (anniversary)30 days beforeDaily digest to the company secretary

During the research window (Sep 2026 – Apr 2027):

  • marketer.* events route to a sandbox collection
  • Production recipes cannot consume them
  • A feature flag marketer_bridge_enabled defaults to false
  • Even if set true, the routing path checks event.source === 'marketer' && researchInProgress === true → sandbox
  • Logged in audit_log/ every time the flag is checked
  • Production enablement requires: project completion + supervisor sign-off + team consent

If a user sees data they shouldn't:

  1. Auto-detected by anomaly detection (e.g. user accesses >50 records outside their scope in 1h)
  2. Session auto-paused; user prompted to re-auth
  3. Security event logged
  4. The org admin reviews; can revoke or reinstate
  5. If confirmed breach → per-product audit trail; potentially regulatory notification if customer data was exposed

When 2 users edit the same record:

  • Last-write-wins with conflict detection
  • Both users see a banner: "John edited this 3s ago"
  • 1-click "discard my changes" or "view diff"

For group consolidation with 4 entities × 12 months × ~5k records:

  • Background job with progress %
  • Email on completion
  • If fails midway: resume from last checkpoint
  • 7-day expiry on download link

Mermaid sequence diagrams for the most important end-to-end flows.

sequenceDiagram
    autonumber
    participant F as Freelancer
    participant MK as Marketplace
    participant ST as Studio
    participant BK as Books
    participant PP as Payment Processor
    participant Bank as Bank
    F->>MK: applies to employer's job
    MK-->>F: hired (Day 3)
    F->>ST: works in project room; uses SlashMarketer's AI first-draft
    F->>MK: submits milestone
    MK->>Employer: review + approve
    MK->>PP: release escrow
    PP->>Bank: settle T+2 to freelancer's account
    MK->>BK: emit payment.released
    BK->>BK: auto-create sales invoice
    F->>BK: review + send invoice to client
    Client->>BK: pay via PP
    BK-->>F: invoice status = paid
sequenceDiagram
    autonumber
    participant S as SME
    participant Hub as Hub
    participant AI as AI Service
    participant WF as Workforce
    participant BK as Books
    participant MK as Marketplace
    Note over Hub,MK: 23:00 last day of month: recipe fires
    Hub->>WF: close shifts; generate payroll input
    Hub->>BK: pull payroll input; compute gross-to-net
    Hub->>MK: release pending freelancer payments
    Hub->>AI: invoke month-end-close summarizer
    AI->>WF: shift summary
    AI->>BK: bank rec summary
    AI->>MK: pending reviews
    AI-->>Hub: 1-page close report
    Hub-->>S: Slack post + email
    S->>BK: review + close period
    BK-->>S: month closed
sequenceDiagram
    autonumber
    participant C as CFO
    participant BK as Books
    participant AI as AI Service
    participant TA as Tax agent
    C->>BK: close Q3 for 4 entities
    BK->>AI: emit period.closed ×4
    AI->>AI: check IC balances
    AI-->>C: 1 mismatch flagged (Sub A ↔ Sub B HKD 5,000)
    C->>BK: post reversing journal
    C->>BK: run consolidation
    BK->>BK: eliminations
    BK-->>C: consolidated P&L, BS, CF, SCE
    C->>TA: review
    TA-->>C: tax provision HKD 858,000
    C->>BK: lock consolidation
    BK-->>C: snapshot; audit log
sequenceDiagram
    autonumber
    participant U as User
    participant AI as AI Service
    participant RS as SlashMarketer
    participant MK as Marketplace
    participant Hub as Hub
    U->>AI: "draft a Cantonese caption for an afternoon tea set"
    AI->>RS: POST /generate (bridge enabled, post-research)
    RS-->>AI: 3 candidates + CS stats
    AI-->>U: streamed candidates
    U->>AI: "post candidate #2 to Marketplace"
    AI->>MK: create job post with candidate #2
    MK-->>Hub: emit job.published
    Hub-->>U: analytics card "campaign attribution live next month"
    Note over Hub: marketer.campaign.generated → sandbox during research

To avoid misuse of SlashMarketer, the following are not use cases:

  • ❌ Marketing automation SaaS — SlashMarketer is a product site in public beta, not a marketing-automation SaaS
  • ❌ Confirmatory user study during the project — deferred unless ethics approval is granted
  • ❌ Production data flow during the project — marketer.* events route to sandbox; no production recipes
  • ❌ Commercial use of artefacts — requires project completion + supervisor sign-off + explicit team consent
  • ❌ Live ad-account ingestion — explicitly out of SlashMarketer scope
  • ❌ MAPE-superiority claim over Prophet on sparse daily data — methodologically unsupported; only behavioural characterisation is claimed

For the full set of constraints, see the IP framework in the hub's design docs.


Last reviewed: 2026-11-17 — framing moved to DEC-0225 (foundation services + separate product sites); §1 (marketplace) and §7 (research track) explicitly marked historical; the SlashMarketer gating claim marked 🟡 unverified and the platform.hk domain claim (never deployed) corrected.

Prior: 2026-10-09 — SlashMarketer §7 status reconciled to code: monorepo built, web live, FastAPI API; commercial enablement gated.

Prior: 2026-07-02 — Anonymized rewrite; removed all personal and company names; restructured with 12 focused sections; added "How this doc is organized" map; added day-in-the-life narratives; improved readability with consistent templates and shorter sentences throughout.