mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2026-06-18 15:29:36 +00:00
- wiki/README.md: Wiki system guide with page templates and conventions - wiki/architecture.md: Dealix architecture wiki page - deployment-checklist.md: Enhanced with full pre-deploy, deploy, post-deploy, rollback procedures https://claude.ai/code/session_01LsnvBa7HwF5hs99VZbgLGj
4.1 KiB
4.1 KiB
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
- Choose the correct type from the list above.
- Create a new
.mdfile inmemory/wiki/using kebab-case naming:feature-flags.md,customer-acme.md. - Fill in all template fields. Do not leave any blank.
- Add at least one link in Related Pages pointing to an existing wiki page.
- Add the new page to
memory/indexes/master-index.mdunder the appropriate section. - 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
KnowledgeBrain.lint()marks pages asStale: trueifLast Updatedis older than 30 days.- Stale pages appear in the weekly review report.
- A reviewer either:
- Updates the page and sets
Stale: falsewith a newLast Updateddate. - 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 Updatedwithout content changes.
- Updates the page and sets
Quality Rules
- No page may exist without provenance. "Unknown" is not acceptable.
- Confidence must be justified:
highrequires 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 -->.