system-prompts-and-models-o.../salesflow-saas/memory/wiki
Claude 2ad8cd02bd
feat: Add Tier-1 investor deck, chatbot personality, help center
Investor Deck (12 slides, bilingual):
- Problem, Solution, Market ($652M→$1.46B), Product, Technology
- Business model (59/149/225 SAR), GTM, Competition matrix
- Revenue projections (5→5000 clients), Ask (2-5M SAR pre-seed)

Chatbot Personality Guide:
- Core identity, language rules, greeting preferences
- 6 response templates (greeting, pricing, demo, support, marketer, competitor)
- Escalation rules, cultural considerations, forbidden actions
- Saudi-specific: titles, Ramadan, business hours

Help Center (20+ articles, Arabic):
- Getting Started (5 guides with step-by-step)
- Features Guide (8 detailed articles)
- Account & Billing (4 articles)
- FAQ (10 common questions with answers)

https://claude.ai/code/session_01LsnvBa7HwF5hs99VZbgLGj
2026-04-12 02:09:02 +00:00
..
architecture.md feat: Add Second Brain wiki system + enhanced deployment checklist 2026-04-11 08:14:20 +00:00
chatbot-personality.md feat: Add Tier-1 investor deck, chatbot personality, help center 2026-04-12 02:09:02 +00:00
glossary.md feat: Add knowledge brain, memory engine, tool receipts, session continuity 2026-04-11 08:19:56 +00:00
help-center.md feat: Add Tier-1 investor deck, chatbot personality, help center 2026-04-12 02:09:02 +00:00
README.md feat: Add Second Brain wiki system + enhanced deployment checklist 2026-04-11 08:14:20 +00:00

Dealix Wiki System — Second Brain

Purpose

The wiki is the canonical knowledge layer for Dealix. Every important decision, architecture choice, customer insight, and operational pattern lives here in structured, linkable pages. AI agents and human contributors both read and write to this wiki.

Page Template

Every wiki page must follow this frontmatter structure:

# Page Title (عنوان الصفحة)

**Type**: architecture | product | gtm | customer | operations | security | tooling | glossary
**Summary**: One-line English summary
**Summary_AR**: ملخص بسطر واحد بالعربية
**Key Facts**:
  - Fact 1
  - Fact 2
  - Fact 3
**Provenance**: Where this knowledge came from (e.g., "ADR-001", "Customer interview — Acme Corp", "Claude session 2026-04-10")
**Confidence**: high | medium | low
**Related Pages**: [page1](./page1.md), [page2](./page2.md)
**Last Updated**: 2026-04-11
**Stale**: false

---

(Page body goes here — use headers, bullet lists, code blocks, diagrams as needed.)

Field Definitions

Field Required Description
Type Yes Category for indexing. Must match one of the defined types.
Summary Yes English one-liner. Max 120 characters.
Summary_AR Yes Arabic one-liner. Max 120 characters.
Key Facts Yes 3-7 bullet points capturing the essential knowledge.
Provenance Yes Source of the information. Links to ADRs, sessions, interviews, docs.
Confidence Yes high = verified by multiple sources or production data. medium = single reliable source. low = inferred or speculative.
Related Pages Yes At least one link to another wiki page. Orphan pages are flagged by lint.
Last Updated Yes ISO date of last meaningful update.
Stale Yes true if page has not been reviewed in 30+ days.

How to Create a Page

  1. Choose the correct type from the list above.
  2. Create a new .md file in memory/wiki/ using kebab-case naming: feature-flags.md, customer-acme.md.
  3. Fill in all template fields. Do not leave any blank.
  4. Add at least one link in Related Pages pointing to an existing wiki page.
  5. Add the new page to memory/indexes/master-index.md under the appropriate section.
  6. If the page summarizes a decision, also create or link to an ADR in memory/adr/.

Linking Conventions

  • Use relative paths: [Architecture](./architecture.md)
  • Link to ADRs: [ADR-001](../adr/001-multi-tenant.md)
  • Link to memory sections: [Launch Plan](../growth/launch-plan.md)
  • Cross-reference inside page body using inline links, not footnotes.
  • Every page should have at least 2 outbound links.
  • When mentioning a glossary term for the first time, link to [glossary](./glossary.md).

Review Schedule

Cadence Action
Weekly Run KnowledgeBrain.lint() to detect stale pages (>30 days without update), orphan pages (no inbound links), missing provenance, and duplicates.
Bi-weekly Review all low confidence pages. Upgrade to medium if verified, or archive if obsolete.
Monthly Review master index for completeness. Ensure every active service, integration, and process has a wiki page.
Per release Update architecture and product pages affected by the release.

Stale Page Protocol

  1. KnowledgeBrain.lint() marks pages as Stale: true if Last Updated is older than 30 days.
  2. Stale pages appear in the weekly review report.
  3. A reviewer either:
    • Updates the page and sets Stale: false with a new Last Updated date.
    • Archives the page by moving it to memory/wiki/archive/ and removing it from the master index.
    • Confirms the page is still accurate and bumps Last Updated without content changes.

Quality Rules

  • No page may exist without provenance. "Unknown" is not acceptable.
  • Confidence must be justified: high requires a link to source material.
  • Arabic summaries are mandatory. Dealix is Arabic-first.
  • Pages must not exceed 500 lines. Split large topics into sub-pages.
  • Code examples must be tested or marked with <!-- untested -->.