Use Cases
Concrete, persona-driven scenarios for every product. Freelancer / OPC / SME personas with end-to-end flows.
SlashOne
Your account, your subscription, your products
One account for the suite: one sign-in, one bill, one place to see every product you own.
Next.js 16 (web)NestJS 11 (api Phase 1-4)FirestorePostgresFraming 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); readecosystem.mdfor 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.
| § | Topic | Audience |
|---|---|---|
| 0 | The four user roles | All |
| 1 | Marketplace — 5 scenarios (historical) | Freelancers, employers |
| 2 | Books — 6 scenarios | Bookkeepers, CFOs |
| 3 | AI Service — 4 scenarios | Power users, ops |
| 4 | Hub — 5 scenarios | Admins, integrators |
| 5 | Studio — 3 scenarios | Teams |
| 6 | Workforce — 5 scenarios | HR, ops |
| 7 | SlashMarketer research track — 4 scenarios (historical framing) | Researchers |
| 8 | Day-in-the-life narratives | All |
| 9 | Group-specific scenarios | CFOs, controllers |
| 10 | Edge cases & error handling | Engineers |
| 11 | Cross-product workflow diagrams | All |
| 12 | Out-of-scope reminders | Researchers |
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.
| Role | What they do | What they care about |
|---|---|---|
| Freelancer | Independent contractor, runs a one-person business | Getting paid on time, no paperwork headaches, finding the next gig |
| SME owner | Runs a small business (e.g. 2 restaurants, 20 staff) | Two-branch payroll, MPF, taxes, marketing bandwidth, finding good help |
| Group CFO | Manages finances for a parent + 3+ subsidiaries | Consolidated reporting, inter-company, transfer pricing, group cash |
| Researcher | University research team producing open-source artefacts | LoRA 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:
- At 09:14, the freelancer opens the marketplace; the home feed shows 12 jobs ranked by AI match
- They click "Cha chaan teng afternoon-tea campaign — Cantonese + English copy" (HKD 12,000 budget, deadline 7 days)
- AI suggests a bid of HKD 10,500. The freelancer customises to HKD 11,000 + 2 revisions
- Submits at 09:31; status:
applied - The employer reviews 14 applicants over 2 days
- On day 3, status changes to
hired; the freelancer receives an email + in-app push - A project room auto-creates with 3 channels:
#brief,#drafts,#revisions - Escrow is funded: a payment processor holds HKD 11,000 in a destination charge
- Day 5: the freelancer posts v1 draft; employer comments inline
- Day 7: employer approves; status:
milestone_released - The payment processor settles to the freelancer's bank account T+2 business days
- 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:releasedpayments/{id}record- Event:
marketplace.payment.releasedto the hub - Both parties can rate each other
- Edge cases:
- Funding failure: If the payment processor declines,
hiredreverts topending_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
- Funding failure: If the payment processor declines,
- 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:
- The SME opens the marketplace → "Post a job" → selects template "Recurring content (weekly)"
- Fills the form: title, scope, deliverables (10 posts/week), budget HKD 8,000/week, deadline recurring
- AI shows: "HKD 6,500–9,500/week is the median for HK Cantonese social copy" (based on 240 similar jobs)
- Posts as recurring (no end date; cancel anytime with 7-day notice)
- Within 24h, 11 applicants apply
- The SME shortlists 3, hires one at HKD 7,500/week
- A project room auto-creates with template: weekly brief auto-posted each Monday 09:00
- The freelancer delivers on Tuesday 18:00 each week; the SME has until Thursday 18:00 to request revisions
- (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
- 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:
- Project room has 3 channels:
#brief,#drafts,#revisions - The guest consultant is invited via email link (token-based; no account needed); expiry 7 days
- The reviewer joins; the project room shows them as a guest with read-only on
#brief, write on#revisions - The freelancer pastes draft v3; the reviewer comments inline ("line 12 — '抵食' is HK slang but might be too colloquial for the regional campaign")
- The comment is auto-routed to the freelancer via push + email
- The freelancer revises → v4 → the reviewer approves
- A decision log entry is created
- v1 → v2 → v3 → v4 are versioned in
/projects/.../files/ - Once approved, status changes to
milestone_approved; payout auto-releases
- Project room has 3 channels:
- 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:
- The group posts a fixed-price job: "TP bench-marking study for FY2025 intra-group services"
- Budget HKD 80,000; requires: a certified accountant + TP specialist + ≥5 yrs HK experience
- 6 applicants; the group shortlists 2
- Hires consultant A at HKD 75,000; escrow funded
- NDA gate: Consultant must e-sign an NDA before joining the project room
- Project room has stricter access: IP-allowlisted; no guest links
- 3 weeks later, consultant A delivers a TP policy document, a bench-marking study, and a position paper
- The group reviews with the external tax agent; approves
- 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:
- The employer opens "Post a job" → fills title, scope, deliverables, deadline
- Enters a tentative budget of HKD 5,000
- 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."
- The employer adjusts to HKD 7,500
- 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:
- The freelancer opens Books; sees 3 active clients
- Clicks "New invoice" → picks client → fills lines:
- "Cantonese + English copy — September 2026" — HKD 12,000
- "Rush revision fee" — HKD 2,500
- System auto-fills: invoice number, date, due date (Net 30), tax (0% HK B2B service)
- The freelancer reviews, clicks "Send"; PDF generated; email sent with a payment link
- The client pays via the payment processor; status changes to
paid - The bank feed detects the deposit; auto-matches to the invoice; reconciles
- 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
- GL entry:
- 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
- Client disputes: Status reverts to
- 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:
- At 00:30 on day 1 of next month, the bookkeeper (or the system if auto-close is on) starts the month-end
- System runs automatic bank reconciliation for ~640 transactions across both branches
- 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)
- The bookkeeper reviews and approves 89% of suggestions; corrects 11% (e.g. classifies a HKD 3,200 supplier invoice as "Equipment — depreciable" not "Supplies")
- Posts adjusting entries: prepayments (rent), accruals (utilities), depreciation (HKD 8,400)
- Closes the month
- System auto-generates Statement of Profit or Loss + Statement of Financial Position for each branch (and combined)
- 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.exceptionevent; 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:
- Books auto-pulls Workforce data via the
workforce.payroll.run.completedevent - 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
- 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)
- MPF: 5% employer + 5% employee, capped at HKD 1,500 each
- 13th-month accrual: 1/12 of monthly basic, posted to
accrued_liability.13th_month - The admin approves; a bank file is generated
- Books posts the payroll journal entry (gross 268,500 = MPF-EE 26,800 + PAYE 21,700 + net FPS 220,000):
Dr Payroll Expense 268,500Dr MPF Employer 26,800Cr 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)
- 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)
- Payslips generated; staff receive via email + push
- The year-end IR56B batch is updated
- Books auto-pulls Workforce data via the
- 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:
- The CFO opens the group consolidation view
- 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)
- The CFO reviews; confirms all inter-company items are matched
- 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)
- System computes non-controlling interest (none — the parent owns 100% of all subs)
- Consolidated P&L, BS, CF, SCE generated
- Compares to prior period, budget, and the rolling 12-month forecast
- Two-tier Profits Tax computation for each entity (8.25% on first HKD 2M, 16.5% above)
- The external tax agent reviews; signs off
- 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
- Event:
- 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:
- The CFO opens the transfer pricing module
- 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
- 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
- The CFO reviews; the external tax agent reviews
- Files the documentation package internally (not filed with the tax authority; kept for 7 years per IRO §51C)
- 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:
- The CFO opens the subsidiary's books → "Actions" → "Declare dividend"
- System checks:
- Realised profits ≥ HKD 1.5M? Yes (cumulative realised profits HKD 4.2M)
- Does it prejudice solvency? No (current ratio 2.3)
- The CFO fills: dividend amount HKD 1,500,000; record date 2026-09-30; payment date 2026-10-15
- 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)
- The CFO signs the resolution
- On payment date:
Dr Dividend Payable 1,500,000 / Cr Bank 1,500,000in the subsidiary - On receipt:
Dr Bank 1,500,000 / Cr Dividend Income 1,500,000in the parent - Consolidation: dividend eliminated (intra-group)
- No Profits Tax impact at the subsidiary level (after-tax distribution)
- 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:
- Types: "draft a Cantonese + English caption for an afternoon tea set, HKD 38, 奶茶 + 蛋撻"
- The AI agent switches to the
cantonese-marketerskill (uses the SlashMarketer's model via internal tool call) - 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
- A: "食好嘢,飲好茶。KK 嘅 afternoon tea set 只需 HKD 38, 包你飲到正宗絲襪奶茶,食到新鮮出爐蛋撻 🍮"
- The AI service presents them in a side panel; the freelancer picks B, polishes, posts
- Event:
marketer.campaign.generatedemitted 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_enabledflag isfalse; 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:
- A hub recipe
daily-ops-summaryfires at 08:30 - The recipe triggers the AI agent
ops-summarizer - 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
- Workforce:
- 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."
- Slack-posted to
#opsand emailed
- A hub recipe
- 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:
- The CFO is working on Q3 consolidation
- The AI agent
consolidation-anomaly-detectorruns continuously - It detects: Subsidiary A's trial balance shows
IC Receivable — Subsidiary B 240,000but Subsidiary B's trial balance showsIC Payable — Subsidiary A 235,000(5,000 mismatch) - 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."
- The CFO clicks the suggestion; the system opens the bank rec at that date
- She finds the HKD 5,000 was a credit memo from Subsidiary B to Subsidiary A; posts the correct journal entry
- 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:
- A hub recipe
month-end-closefires (configurable: the SME sets it to 23:00 on the last day) - 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_closedevent
- AI monitors the chain; if any step fails, it pauses and reports
- On success, all 3 products' "Period" tab shows "Closed"
- A hub recipe
- 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:
- Visits
hub.platform.hk/welcome→ "Sign up" - Signs up with email + Google
- Hub auto-creates a personal workspace: "My Workspace" (renamable)
- Hub emits
workspace.createdevent - Lands on
/account/dashboard; sees 3 product cards - Clicks "Connect Marketplace" → OAuth flow → links to existing account (or creates new)
- Clicks "Connect Books" → creates a sole-proprietorship BR wizard
- Clicks "Connect Workforce" → "Skip — I'm solo"
- All products now share the same identity; the workspace has a single ID
- Visits
- 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:
- Signs up with their business email
- Picks "I'm a business"; creates an organization: "My F&B Group"
- Hub creates a workspace with 2 product slots pre-filled: Books, Workforce
- Connects Books:
- Imports their CR, directors, registered office
- Creates 2 "companies" in Books: one per branch
- Wires both to one chart of accounts
- 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
- Picks industry mode:
- Connects Marketplace:
- Creates a business profile
- Sets up auto-posting for recurring marketing gigs
- Connects Studio:
- 1-click; uses Marketplace auth
- Leaves the AI service on default (auto-on)
- 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:
- Signs up with 2FA mandatory
- Creates an organization: "My Holdings Group"
- Hub flags it as
group: true(auto-detected by CR pattern matching — 4 CR numbers entered in the next step) - Connects Books:
- 4 entities: Holdings, Restaurant, Logistics, Property
- Marks Holdings as
parent; others assubsidiary - Sets
consolidation_method: full(100% owned) - Imports COA + inter-company chart
- Connects Workforce:
- 1 organisation-wide HR account; 4 cost-centres matching the 4 entities
- 50 staff imported with cost-centre allocation
- Connects Marketplace:
- 1 group-level employer profile
- Sub-accounts for each entity (so each entity can hire its own freelancers)
- The AI service: enabled; agents:
consolidation-anomaly-detector,tp-documenter,group-cash-forecaster - 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:
- Opens
/account/recipes/new - Sets trigger:
marketplace.payment.releasedwith filteramount > 10000andlinked_to_workspace: true - Sets action:
slack.sendto#financewith a template - Sets condition:
books.invoice.paidwithin 24h of the same workspace - Tests with 1 historical event
- Saves; turns on
- Opens
- 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:
- The SME goes to
/account/api-keys/new - Names it: "External Payroll Push"
- Sets permissions:
workforce:shift:writeonly (read-only everything else is denied by default) - Sets IP allowlist
- Sets expiry
- Copies the key
- The 3rd-party calls
POST /v1/workforce/shiftswith the API key - Hub fans the call out to Workforce; Workforce validates and creates the shift
- Response: 201 Created
- Audit log entry recorded
- The SME goes to
- 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:
- Opens the project room in Studio
- Posts v3 draft in
#drafts - The client reviews; cursor presence shows them looking at line 7
- The client leaves an inline comment: "呢度 '抵食' 會唔會太口語?" (Will "抵食" be too colloquial here?)
- The freelancer sees it in real time; replies: "明白, 改 '高性價比' (more neutral)"
- They iterate to v4
- 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:
- Mondays 09:00, opens the "Marketing" project room
- Studio automatically pins:
- This week's brief (from the freelancer)
- Last week's performance (likes, reach, comments) from social + reviews
- 2 pending drafts
- The team runs a 15-min standup inside the embedded video room
- They co-edit the brief in real time
- 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:
- Opens a project room named "Board Pack — Q3 2026"
- Pins the draft consolidated P&L, BS, CF, KPI dashboard
- Invites 3 directors as reviewers (read-only)
- Directors leave inline comments; the system aggregates them by section
- The CFO addresses comments; marks resolved
- 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:
- Opens Workforce → branch shift planners
- 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
- The manager drags a swap: "Staff X ↔ Staff Y"
- System re-validates; OK
- Clicks "Publish"
- All 20 staff get push notifications; 1 SMS reminder
- 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:
- A staff member arrives at Branch A at 11:55
- Opens the Workforce mobile app; face recognition verifies (0.8s)
- Clock-in: 11:55; GPS: Branch A location
- The manager's attendance board updates in real time
- 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:
- Opens Workforce as Group Admin
- Sees 50 staff; each is allocated to a cost-centre (Restaurant / Logistics / Property / Holdco)
- 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
- Exports to Books; each cost-centre maps to a sub-ledger
workforce.payroll.run.completedevent ×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:
- A staff member resigns; last day 2026-10-31
- Opens the staff profile → "Offboard"
- 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
- The manager approves; a bank file is generated
- IR56F (Notice of Departure) is auto-generated with the HKID, last day, final pay
- Files with the tax authority within 1 month of last day (statutory deadline)
- 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:
- HR creates the worker; industry mode:
construction/CIS(Construction Industry Scheme) - The worker e-signs their contract in-app
- Submits: Green Card (safety card), CIS training cert, medical fitness
- System validates expiry dates; reminds before lapsing
- Assigned to a site + supervisor
- Daily: time tracking at site entry/exit
- Weekly: safety briefing attendance tracked
- Payroll: daily-rate × days worked; no overtime; CIS-specific tax
- HR creates the worker; industry mode:
- 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(seeecosystem.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/webNext.js 16 live atmarketer.slashhub.hk,apps/apiFastAPI,apps/mirofish); whether any capability is still gated is openFraming 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
/generateroute is up on a personal cloud deployment - No external users yet — the researcher is the test user
- Steps:
- Opens
research.platform.hk/generate(orlocalhost:8080/generatefor local dev) - Enters the brief
- The system loads the fine-tuned model + RAG
- Returns 3 candidates with CS stats
- Picks one, polishes slightly, exports for the supervisor demo
- Logs the choice (for the research feedback loop)
- Opens
- Outcome: 3 candidates in <3 seconds; CS stats attached
- Side effects:
- Corpus chunks referenced (RAG retrieval logged)
- Evaluation cache entry created
marketer.campaign.generatedevent → 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
- CSV has columns:
- Steps:
- Opens
research.platform.hk/attribution - Uploads the CSV
- The system runs the composite pipeline (cubic-spline interpolation → CWT → DWT denoising → Kalman trend)
- Returns detected transients, a behavioural comparison vs baselines, and a plot
- Results are stored with the full pipeline config + metrics JSON
- Opens
- 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:
- The project lead recruits 2–3 raters (fellow students with native Cantonese + fluent English; not from the project team, to avoid bias)
- Each rater logs in to the evaluation panel
- Each is randomly assigned 50 of 100 cases (inter-rater overlap on 20 for κ)
- For each case, they rate on 5 dimensions (1–7 Likert):
- Code-mix naturalness
- Brand faithfulness
- Fluency
- Cultural appropriateness
- Hallucination rate (inverse)
- Time per case: ~90 seconds
- 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
- 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:
- 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
- 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
- Mirrors to a public model hub + an academic repository + Zenodo for DOI
- 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
- The team finalises 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.
| Day | Time | Event | Products |
|---|---|---|---|
| 1 | 09:14 | Sees a job post on the marketplace feed | Marketplace |
| 1 | 09:31 | Applies with a custom proposal | Marketplace |
| 3 | 11:02 | Status → hired; escrow funded | Marketplace, payment processor |
| 5 | 16:30 | Drafts v1 in the project room; uses the SlashMarketer's AI first-draft | Marketplace, Research |
| 5 | 17:45 | Polishes the AI output; posts in #drafts | Studio |
| 7 | 10:00 | The client reviews; minor comments | Studio |
| 7 | 14:00 | Posts v2; the client approves | Studio |
| 8 | 09:00 | Milestone released; payment settles to the bank T+2 | Marketplace, payment processor |
| 8 | 09:00 | Books auto-creates a draft sales invoice | Books |
| 8 | 18:00 | Issues the invoice to the client; sends via Books | Books |
| 12 | 10:30 | The client pays; invoice status → paid | Books, payment processor |
| 30 | 23:00 | Month-end; reviews the Books P&L | Books |
| 30 | 23:30 | Sees YTD income: HKD 487,000; sets aside HKD 73,000 (15% standard rate) for taxes | Books |
| 30 | 23:45 | Asks the AI service: "What's my projected tax if I earn HKD 540k this year?" | AI Service, Books |
| Day | Time | Event | Products |
|---|---|---|---|
| Mon | 07:00 | Opens Branch A; greets staff; checks the Workforce shift board | Workforce |
| Mon | 08:30 | Reads the AI daily-ops summary in Slack | AI Service, Workforce, Books |
| Mon | 10:00 | Reviews 2 freelancer drafts; approves both | Marketplace, Studio |
| Mon | 14:00 | Posts next-week schedule (AI-drafted; reviewed + published) | Workforce |
| Mon | 16:00 | Hires a new part-time waiter via the marketplace | Marketplace |
| Mon | 18:00 | Closes Branch A POS; reconciles via the in-house feed | Books |
| Wed | 10:00 | Branch B POS feed has a 1h gap; manual journal posted | Books |
| Thu | 14:00 | Bank feed flags 1 unmatched transaction; the bookkeeper resolves | Books |
| Fri | 12:00 | A staff member calls in sick; Branch B manager finds a replacement via Workforce | Workforce |
| Fri | 16:00 | Plans next week; publishes schedule | Workforce |
| Fri | 18:00 | Closes Branch B; daily totals in dashboard | Workforce, Books |
| Sat | 09:00 | Reviews the week's sales vs plan; flags Branch B under-performance | AI Service, Books |
| Sun | — | (Day off; AI keeps watching) | — |
| 30 | 23:59 | Month-end auto-close; reports ready by 02:00 next day | Books, Workforce |
| Day | Time | Event | Products |
|---|---|---|---|
| Sep 28 | 09:00 | Opens the group consolidation workspace | Hub |
| Sep 28 | 09:30 | Closes Q3 for all 4 entities; books are locked | Books |
| Sep 28 | 11:00 | Inter-company reconciliation: 1 mismatch flagged by AI | AI Service, Books |
| Sep 28 | 14:00 | The CFO resolves the HKD 5,000 timing diff | Books |
| Sep 28 | 16:00 | First consolidation pass: 2 eliminations need adjustment | Books |
| Sep 29 | 09:00 | The tax agent joins; reviews Q3 figures | (external) |
| Sep 29 | 14:00 | Tax provision computed: HKD 858,000 (two-tier) | Books |
| Sep 30 | 10:00 | Board pack draft: consolidated P&L, BS, CF, narrative | Hub (project room), Books |
| Sep 30 | 16:00 | Board meeting; 3 directors approve | Hub (project room) |
| Oct 1 | 09:00 | Board pack finalised; PDF exported | Hub |
| Oct 1 | 14:00 | The CFO updates the 12-month rolling forecast | AI Service, Books |
| Oct 1 | 16:00 | A subsidiary declares HKD 1.5M dividend | Books |
| Oct 15 | 10:00 | Dividend paid; inter-company eliminated at next consolidation | Books |
| Oct 31 | 16:00 | A driver is offboarded; IR56F filed | Workforce, tax authority |
| Day | Time | Event | Products |
|---|---|---|---|
| 1 | 09:00 | Weekly standup with the supervisor; aligns on this week's goals | (ad-hoc) |
| 1 | 10:00 | Reviews the auto-metrics dashboard (BLEU, ROUGE, CS); compares to last week | Research |
| 3 | 14:00 | Reruns a fine-tuning experiment with adjusted hyperparameters | Research |
| 5 | 16:00 | Documents the experiment in the lab notebook (versioned) | Research |
| 8 | 11:00 | Submits a request to the data analyst: "Run the CWT pipeline on the new dataset" | Research |
| 10 | 14:00 | Reviews the CWT output; identifies a new transient pattern | Research |
| 15 | 10:00 | Drafts Chapter 4 of the thesis (related work) | (writing) |
| 22 | 16:00 | Mid-month check-in with the supervisor; shows progress | (ad-hoc) |
| 25 | 11:00 | Ethics committee meeting; presents the human-eval protocol | (committee) |
| 30 | 23:00 | Month-end: reviews the burn rate against the compute budget | Research |
| 30 | 23:30 | Asks 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:
| # | Type | Example | Tax treatment |
|---|---|---|---|
| 1 | Management fees | Parent charges subs 5% of revenue for shared services | Taxable at receiving end; deductible at paying end; transfer pricing required |
| 2 | Rent | Property sub charges Restaurant sub for warehouse use | Same as #1 |
| 3 | Delivery | Logistics sub bills Restaurant sub for delivery services | Same as #1 |
| 4 | Loans | Parent lends Restaurant sub HKD 5M @ 5% | Interest taxable at Parent; deductible at Restaurant sub; thin cap rules apply if debt:equity > 1.5:1 |
| 5 | Dividends | Restaurant sub pays HKD 1.5M to Parent | Not subject to WHT (HK corp-to-HK corp) |
| 6 | Cost sharing | Parent allocates IT costs pro-rata to subs | OK 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:
- Identify related-party transactions (system auto-detects from GL)
- Functional analysis (what does each entity do? what risks? what assets?)
- Method selection (CUP, RPM, CPM, PSM, TNMM)
- Bench-marking study (search for comparables; royalty stat, BvD)
- Position paper (conclusion + economic substance)
- Contemporaneous documentation (kept for 7 years per IRO §51C)
- 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):
- Acquisition date: 2027-01-15
- The CFO opens
/account/orgs/{id}→ "Add entity" - Enters: name, CR, date of acquisition, % owned
- HKFRS 3 acquisition accounting:
- Fair value of consideration
- Fair value of identifiable net assets
- Goodwill = difference
- Pro-rated consolidation from acquisition date
- New cost-centre in Workforce
- New company in Books
- New sub-account in Marketplace (if they'll hire freelancers)
- Events:
entity.added,entity.acquired
| Failure | Detection | Recovery |
|---|---|---|
| Onboarding incomplete | The marketplace prevents hiring | The employer is prompted to complete onboarding |
| Card declined | Escrow funding fails | hired reverts to pending_funding; auto-retry 3×; if all fail, next applicant |
| FPS file rejected by the bank | Books detects | The bank file is re-generated; HR is notified |
| 3rd-party API call fails | Hub recipe DLQ | After 3 retries → DLQ; the user is notified |
| Cross-border payment | The payment processor handles FX | FX rate + spread shown to the user before send |
| Conflict | Detection | Resolution |
|---|---|---|
| Email already exists in another product | Dedup key on signup | Offer to link (single account), not duplicate |
| HKID already used in Workforce | HRIS dedup | Offer to merge profiles |
| Same name in 2 products | Person-graph dedup | The admin confirms "same person" via persons.merge |
| Multi-Org membership | Hub | Each Org has its own role; the user can be admin in one and member in another |
| Stale session (>90 days) | Auth check | Re-auth required; tokens re-issued |
When multiple deadlines fall on the same day (e.g. Sep 30 = Q3 close + 1 dividend):
| Deadline | Buffer days | System behaviour |
|---|---|---|
| Q3 close (Books) | 14 days before | Daily digest to the CFO |
| IR56B (year-end Apr 30) | 30 days before | Daily digest to HR |
| Profits Tax (Aug 15 for Aug-31 FY-end) | 60 days before | Daily digest to the tax agent |
| IR56F (1 month from departure) | 7 days before | Auto-draft prepared |
| MPF filing (monthly) | 3 days before | Auto-draft prepared |
| Annual return (anniversary) | 30 days before | Daily 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_enableddefaults tofalse - Even if set
true, the routing path checksevent.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:
- Auto-detected by anomaly detection (e.g. user accesses >50 records outside their scope in 1h)
- Session auto-paused; user prompted to re-auth
- Security event logged
- The org admin reviews; can revoke or reinstate
- 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.
Continue reading
Ecosystem
7-product portfolio + 3-layer positioning + relationship map. The strategic view of what each product is, who it serves, and how they relate.
~8 min read
System Layout
Multi-monorepo shape, standardized tooling, deployment topology, and the 9-pillar enterprise blueprint.
~10 min read
Domains
Domain mapping (.hk / .space) and CORS allowlist. Every product site, frontend + backend URLs, dev stack.
~3 min read