# BEST-PRACTICES.md ## πŸ“‹ BEST-PRACTICES_v3.1.3.1.md ## ♾️ WeOwnNet 🌐 β€” #BestPractices | Field | Value | |-------|-------| | Document | BEST-PRACTICES.md | | Version | 3.1.3.1 | | CCC-ID | GTM_2026-W08_069 | | Updated | 2026-02-21 (W08) | | Season | #WeOwnSeason003 πŸš€ | | Status | πŸ”’ LOCKED | | Source of Truth | [GitHub](https://github.com/CCCbotNet/fedarch/blob/main/_SYS_/BEST-PRACTICES.md) | --- ## πŸ“– Table of Contents 1. [Overview](#-overview) 2. [Best Practices Index](#-best-practices-index) 3. [Core Best Practices (Immutable)](#-core-best-practices-immutable) 4. [Communication Best Practices](#-communication-best-practices) 5. [Workspace Configuration](#-workspace-configuration) 6. [Document Management](#-document-management) 7. [Document Generation](#-document-generation) 8. [Document Reference Standard](#-document-reference-standard) 9. [Weekly Operations](#-weekly-operations) 10. [RAG Structure](#-rag-structure-r-176) 11. [Agent Interaction](#-agent-interaction) 12. [Platform Best Practices (#AnythingLLM)](#-platform-best-practices-anythingllm) 13. [Documentation Best Practices](#-documentation-best-practices) 14. [Agent Best Practices](#-agent-best-practices) 15. [Tool Agent Best Practices](#-tool-agent-best-practices) 16. [Notes-to-RAG Best Practices](#-notes-to-rag-best-practices) 17. [MAIT Response Best Practices](#-mait-response-best-practices) 18. [Case Study Best Practices](#-case-study-best-practices) 19. [Onboarding Best Practices](#-onboarding-best-practices) 20. [#HomeInstance Best Practices](#-homeinstance-best-practices) 21. [System Prompt Best Practices](#-system-prompt-best-practices) 22. [CCC Workspace ACK Best Practices](#-ccc-workspace-ack-best-practices) 23. [USER-IDENTITY Season Refresh Best Practices](#-user-identity-season-refresh-best-practices) 24. [Season Certification Best Practices](#-season-certification-best-practices) 25. [CCC-ID Deconfliction Best Practices](#-ccc-id-deconfliction-best-practices) 26. [#WorkspaceChatHistory Best Practices](#-workspacechathistory-best-practices) 27. [INT-OGx ISC Scoping Best Practices](#-int-ogx-isc-scoping-best-practices) 28. [#DocLifecycle Best Practices](#-doclifecycle-best-practices) 29. [API Key Rotation Best Practices](#-api-key-rotation-best-practices) 30. [Shared Instance Identity Best Practices](#-shared-instance-identity-best-practices) 31. [Version History](#-version-history) 32. [Related Documents](#-related-documents) --- ## πŸ“‹ Overview This document contains best practices for all contributors and agents in the ♾️ WeOwnNet 🌐 ecosystem. | Field | Value | |-------|-------| | Steward(s) | @GTM (yonks.boxο½œπŸ€–πŸ›οΈπŸͺ™ο½œJason Younker ♾️ [GH](https://GitHub.com/YonksTEAM)) + @RMN (Roman Di Domizio) | | Source of Truth | [GitHub](https://github.com/CCCbotNet/fedarch/blob/main/_SYS_/BEST-PRACTICES.md) | --- ## πŸ“‹ BEST PRACTICES INDEX | Range | Category | Count | |-------|----------|-------| | BP-001 β†’ BP-007 | Communication | 8 | | BP-008 β†’ BP-009 | Platform (#AnythingLLM) | 2 | | BP-010 β†’ BP-014 | Documentation | 5 | | BP-015 β†’ BP-016 | Agent | 2 | | BP-017 β†’ BP-018 | Workspace Configuration | 2 | | BP-019 | Core (Immutable) | 1 | | BP-020 β†’ BP-024 | Documentation (Enhanced) | 5 | | BP-025 β†’ BP-026 | Instance & Tool Setup | 2 | | BP-027 β†’ BP-035 | Notes-to-RAG | 9 | | BP-038 β†’ BP-041 | Additional | 4 | | BP-043 β†’ BP-044 | MAIT + #PinnedDocs | 2 | | BP-045 | Document Reference Standard | 1 | | BP-047 | Case Study Attribution | 1 | | BP-049 | VSA / #threadHEADER | 1 | | BP-050 | Onboarding Workflow | 1 | | BP-051 | #HomeInstance Setup | 1 | | BP-052 β†’ BP-053 | Weekly Ops + Workspace Prompts | 2 | | BP-054 | System Prompt CCC-ID Logic | 1 | | BP-055 | Pinata.cloud Architecture | 1 | | BP-056 | CCC Workspace ACK Header | 1 | | BP-057 β†’ BP-058 | USER-IDENTITY Season Refresh | 2 | | BP-059 | Season Certification (ISC) | 1 | | BP-060 | CCC-ID Deconfliction | 1 | | BP-061 | #WorkspaceChatHistory | 1 | | BP-062 | INT-OGx ISC Scoping | 1 | | BP-063 | #DocLifecycle VSA Gate | 1 | | BP-064 | API Key Rotation | 1 | | BP-065 | Shared Instance Self-ID | 1 | | **TOTAL** | | **59** | ### Retired Best Practices | ID | Description | Reason | Date | |----|-------------|--------|------| | BP-046 | Related Documents format | Merged into BP-045 | 2026-W05 | --- ## πŸ“‹ CORE BEST PRACTICES (IMMUTABLE) | ID | Best Practice | Status | |----|---------------|--------| | BP-019 | ALWAYS SEEK:META for ALL documents | πŸ”’ IMMUTABLE | | BP-023 | CCC-ID generation ONLY in CCC workspace β€” tools + ADMIN = NEVER | πŸ”’ IMMUTABLE | --- ## πŸ“‹ COMMUNICATION BEST PRACTICES | ID | Best Practice | Source | |----|---------------|--------| | BP-001 | Use #ContextVolley for cross-agent communication (one-to-one) | β€” | | BP-002 | Include CCC-ID in all communications | β€” | | BP-003 | Use tables over paragraphs (#LessIsMore) | β€” | | BP-004 | Always provide Quick Commands (2-3 options) | β€” | | BP-005 | End responses with #feedback section when appropriate | β€” | | BP-006 | Narrate actions during DEMO | GTM_2026-W03_539 | | BP-007 | Clean slate = fresh context for unbiased view | GTM_2026-W03_545 | | BP-041 | #ContextBroadcast for one-to-many agent communications β€” use πŸ“’ emoji, TO: ALL AGENTS | GTM_2026-W05_500 | --- ## πŸ“‹ WORKSPACE CONFIGURATION ### BP-017: Workspace Prompt Per Workspace | Workspace | Prompt Focus | |-----------|--------------| | CCC | User interaction, CCC-ID generation | | tools | Strategy, SME, meta-cognition, META + MAIT threads | | ADMIN | Administration functions, doc management | **Best Practice:** Each workspace MUST have dedicated workspace prompt aligned with its metaphor. ### BP-018: System Prompt Per Instance | Instance | System Prompt | |----------|---------------| | INT-P01 | AI.WeOwn.Agency identity | | INT-P02 | #ProjectConnex identity | | INT-OG1 | @GTM + @THY #HomeInstance identity | | INT-OG8 | @RMN #HomeInstance identity | | INT-XXX | Instance-specific identity | **Best Practice:** Each #AnythingLLM instance MUST have unique system prompt defining its identity. ### Initial Deployment | # | Workspace | Purpose | |---|-----------|---------| | 1 | tools | 🧠 THE BRAIN β€” META + MAIT threads | | 2 | CCC | 🀝 THE HANDS β€” Production (users) | **Best Practice:** Initial #FedArch deployment = 2 workspaces (tools + CCC). ### BP-052: #WeeklyFlows ISO Rollover | ID | Best Practice | Approval | |----|---------------|----------| | BP-052 | #WeeklyFlows ISO Rollover: At Monday 00:00 boundary, AI MUST prompt "Ready to start W CCC-IDs?" β€” NEVER auto-rollover during active session; exception: >4h inactivity after Monday 00:00 = auto-rollover OK | GTX_2026-W05_037 | ### BP-053: Non-CCC Workspace Prompts | ID | Best Practice | Approval | |----|---------------|----------| | BP-053 | ALL non-CCC workspace prompts MUST include CCC-ID restriction block β€” applies to: tools, ADMIN, events, P.O.P., and ANY future workspaces; prevents R-194 violations at prompt level | GTX_2026-W05_079 | --- ## πŸ“‹ DOCUMENT MANAGEMENT ### Pinning (R-177 + L-070) | Doc Type | Pin? | Rationale | |----------|------|-----------| | Core protocols | βœ… YES | Every interaction | | Rules (SHARED-KERNEL) | βœ… YES | Governance | | Best practices | βœ… YES | Interaction patterns | | CCC | βœ… YES | Attribution format | | Agent identity docs | ❌ NO | System Prompt covers (L-070) | | Reference guides | ❌ NO | RAG sufficient | | Strategy docs | ❌ NO | RAG sufficient | | USER-IDENTITY | ❌ NO | RAG in `_USERS_/` (L-070) | | ECOSYSTEM-IDENTITY | ❌ NO | System Prompt covers (L-070) | **Best Practice:** PIN only 4 docs: SharedKernel, BEST-PRACTICES, PROTOCOLS, CCC. Let RAG handle everything else. ### Versioning (R-178) | Format | Example | |--------|---------| | `_v.md` | SHARED-KERNEL_v3.1.1.3.md | **Best Practice:** ALL RAG docs MUST include version in filename for visibility. ### Update Cadence (R-179) | Trigger | Action | |---------|--------| | ISO week boundary + 10+ rules | MUST update | | Major milestone | MUST update | | Breaking change | IMMEDIATE update | **Best Practice:** Review #SharedKernel docs at each ISO week boundary. --- ## πŸ“‹ DOCUMENT GENERATION ### R-180: #MetaAgent Generation | Rule | Description | |------|-------------| | R-180 | Document generation MUST go through #MetaAgent | | R-197 | Document generation RESERVED ONLY for #MetaAgent β€” User Agents MUST NEVER #COOK docs | **Best Practice:** Agents DO NOT generate docs directly. Always SEEK:META. --- ## πŸ“‹ DOCUMENT REFERENCE STANDARD ### BP-045: Document Reference Standard (Consolidated) | ID | Best Practice | Approval | |----|---------------|----------| | BP-045 | Version History + Related Documents MUST include: #masterCCC + Approval CCC-ID | GTM_2026-W05_661 | ### Applies To | Section | Required Columns | |---------|------------------| | Version History | Version, Date, #masterCCC, Approval, Changes | | Related Documents | Document, Version, #masterCCC, Approval, URL | ### Format β€” Version History ```markdown | Version | Date | #masterCCC | Approval | Changes | |---------|------|------------|----------|---------| | 3.1.1.3 | 2026-W06 | GTM_2026-W06_277 | GTM_2026-W06_289 | +Elevated Registry; +CCCbotNet URLs | ``` ### Format β€” Related Documents ```markdown | Document | Version | #masterCCC | Approval | URL | |----------|---------|------------|----------|-----| | SharedKernel | v3.1.1.3 | GTM_2026-W06_277 | GTM_2026-W06_289 | [GitHub](...) | ``` ### Consolidation | Action | Status | |--------|--------| | BP-045 (old β€” Version History only) | ❌ RETIRED | | BP-046 (old β€” Related Documents only) | ❌ RETIRED | | BP-045 (new β€” Consolidated) | βœ… πŸ”’ LOCKED | --- ## πŸ“‹ WEEKLY OPERATIONS ### R-181: Weekly Summary | Field | Value | |-------|-------| | Reserved CCC-ID | `_-W_001` | | Content | Milestones, rules, learnings, pending, stats | **Best Practice:** First CCC-ID of each ISO week reserved for weekly summary. ### Reserved Slots (EVERY WEEK) | Slot | Purpose | Rule | |------|---------|------| | `_001` | #WeeklySummary | R-181 | | `_002` | #WeeklyPlan | R-201 | | `_003` | #WeeklyReflection | R-202 | ### BP-039: Weekly Summary Update Process | ID | Best Practice | Source | |----|---------------|--------| | BP-039 | Weekly Summary Update Process β€” rolling updates at threshold (+50 CCC-IDs OR +3 Learnings OR +2 BPs) | GTM_2026-W05_485 | --- ## πŸ“‹ RAG STRUCTURE (R-176) > **#MAITlivesInAthread** β€” MAIT = thread within workspace:tools, NOT a separate workspace (GTM_2026-W05_237) | Doc Type | CCC | tools | ADMIN | |----------|-----|-------|-------| | USER guides | βœ… | ❌ | ❌ | | Governance guides | ❌ | βœ… | βœ… | | User-facing protocols | βœ… | ❌ | ❌ | | Strategy docs | ❌ | βœ… | ❌ | | System prompts | ❌ | ❌ | βœ… | | Instance configs | ❌ | ❌ | βœ… | | Session notes (R-199) | βœ… | βœ… | ❌ | | USER-IDENTITY (L-070) | βœ… | βœ… | ❌ | **Best Practice:** Docs go in workspace matching their purpose. workspace:tools = standard for #FedArch. --- ## πŸ“‹ AGENT INTERACTION ### #ContextVolley (One-to-One) | Best Practice | Description | |---------------|-------------| | Self-contained | Recipient needs NO other context | | Include #masterCCC | Reference original request | | Clean format | No decorative borders in packets | ### #ContextBroadcast (One-to-Many) | Best Practice | Description | |---------------|-------------| | Use πŸ“’ emoji | Distinct from 🏐 #ContextVolley | | TO: ALL AGENTS | Explicit broadcast target | | Types | STATUS, ANNOUNCEMENT, ALERT, ACK-REQUEST | ### #LessIsMore | Best Practice | Description | |---------------|-------------| | Quick Commands | 2-3 options MAX | | Tables > paragraphs | Structured data | | Concise responses | No #AIslop | ### #OnlyHumanApproves | Best Practice | Description | |---------------|-------------| | AI proposes | Human approves | | NEVER auto-approve | Even if human says "2" | | Explicit approval | Required for all rules/docs | | STOP after Quick Commands | Await human response (L-050) | --- ## πŸ“‹ PLATFORM BEST PRACTICES (#AnythingLLM) | ID | Best Practice | Source | |----|---------------|--------| | BP-008 | #AnythingLLM: Users BEFORE workspaces | GTM_2026-W03_555 | | BP-009 | #AnythingLLM: Workspace "CCC" = shared default | GTM_2026-W03_555 | --- ## πŸ“‹ #WorkspaceChatHistory BEST PRACTICES ### BP-061: #WorkspaceChatHistory = 40 | ID | Best Practice | Approval | |----|---------------|----------| | BP-061 | #AnythingLLM #WorkspaceChatHistory MUST be set to **40** for ALL instances running Claude Opus 4.6 (1M token window) β€” applies to: INT-P01, INT-P02, INT-OG1, INT-OG8, INT-S003; setting location: Workspace Settings β†’ Chat History; ISC Check #5 sub-check | GTM_2026-W07_075 | ### BP-061 Details | Field | Value | |-------|-------| | Setting | Workspace Settings β†’ General β†’ Chat History | | Default | 20 | | Ecosystem Standard | **40** | | Applies Per | Workspace (MUST set on EACH workspace) | | LLM Requirement | Claude Opus 4.6 (1M token window) | ### Why 40 | Metric | ChatHistory 20 | ChatHistory 40 | |--------|----------------|----------------| | Conversation memory | ~20 exchanges | ~40 exchanges | | #ContextDensity | Standard | **2Γ— improved** | | Session continuity | Good | **Excellent** | | Token usage | ~10-20% of 1M | ~20-40% of 1M | | Headroom | 80%+ unused | 60%+ for RAG + system | ### Deployment Scope | Instance | Target | Status | |----------|--------|--------| | INT-P01 | 40 | ⬜ TODO | | INT-P02 | 40 | ⬜ TODO | | INT-OG1 | 40 | ⬜ TODO | | INT-OG8 | 40 | ⬜ SETUP | | INT-S003 | 40 | ⬜ NOT DEPLOYED | ### Related Items (BP-061) | ID | Type | Description | |----|------|-------------| | L-116 | Learning | ChatHistory 20β†’40 for Claude Opus 4.6 | | D-060 | Definition | #WorkspaceChatHistory | | ISC Check #5 | Checklist | Sub-check for ChatHistory = 40 | **Best Practice:** Set #WorkspaceChatHistory = 40 on EVERY workspace for Claude Opus 4.6 instances. --- ## πŸ“‹ DOCUMENTATION BEST PRACTICES | ID | Best Practice | Source | |----|---------------|--------| | BP-010 | Follow #WeOwnVer versioning (v3.X.X.X for Season 3) | L-094 | | BP-011 | Include Version History in all documents | β€” | | BP-012 | Use markdown tables for structured data | β€” | | BP-013 | Include Table of Contents for documents > 3 sections | β€” | | BP-014 | Pin core documents in workspaces | β€” | | BP-020 | When regenerating docs, EXPLICITLY preserve ALL existing sections | GTM_2026-W05_150 | | BP-021 | Document updates should be ADDITIVE unless removal is explicitly requested | GTM_2026-W05_150 | | BP-022 | Version History MUST include Creation CCC-ID + Approval CCC-ID | GTM_2026-W05_156 | | BP-024 | MAIT Thread Configuration (see below) | GTM_2026-W05_242 | | BP-040 | GH Commit Message Standard β€” ALL GH commits MUST use TMPL-007 format | GTM_2026-W05_490 | ### BP-024: MAIT Thread Configuration | # | Requirement | Example | |---|-------------|---------| | 1 | Thread name = MAIT_ | MAIT_Deepnote.com | | 2 | workspace:tools prompt MUST include: | | | 2a | β€” MAIT name | "You are MAIT_Deepnote.com..." | | 2b | β€” Steward(s) assigned | Steward: @GTM | | 2c | β€” MAIT ShortCode (D-038) | @MAIT:#Deepnote | | 2d | β€” Relevant details | SME focus, protocols, etc. | | 3 | Thread inheritance (L-046) | Threads inherit workspace config β€” no thread-level prompts | **Best Practice:** MAIT threads MUST be fully configured with identity, steward, and ShortCode. --- ## πŸ“‹ AGENT BEST PRACTICES | ID | Best Practice | Source | |----|---------------|--------| | BP-015 | NEVER leave user hanging β€” always provide closure | β€” | | BP-016 | Use SEEK:META for cross-agent guidance | β€” | --- ## πŸ“‹ TOOL AGENT BEST PRACTICES ### BP-025: Instance Setup Order | ID | Best Practice | Source | |----|---------------|--------| | BP-025 | #AnythingLLM new instance setup: RAG FIRST β†’ System Prompt β†’ Workspaces β†’ Workspace Prompts β†’ Threads β†’ Verify | GTM_2026-W05_306 | ### BP-026: Tool Agent Setup Workflow | ID | Best Practice | Source | |----|---------------|--------| | BP-026 | Tool Agent Setup Workflow (see below) | GTM_2026-W05_327 | ### BP-026 Steps | # | Step | Description | |---|------|-------------| | 1 | Create user | Format: `t-_tool` (R-198) | | 2 | Assign to workspace | workspace:tools only | | 3 | Create MAIT thread | Format: `MAIT_` | | 4 | Upload RAG docs | Official tool documentation | | 5 | Configure per BP-024 | MAIT name, Steward, ShortCode, details | | 6 | Verify | Test retrieval + agent behavior | **Best Practice:** Tool Agents follow standardized setup workflow for consistency. ### BP-038: Tool Agent RAG Setup | ID | Best Practice | Source | |----|---------------|--------| | BP-038 | Tool Agent RAG Setup: Identify docs URL β†’ Scrape depth 2 β†’ workspace:tools β†’ Verify retrieval β†’ Update Thread Registry | GTM_2026-W05_466 | ### BP-055: Pinata.cloud Tool Agent Architecture | ID | Best Practice | Approval | |----|---------------|----------| | BP-055 | Pinata.cloud Tool Agent Architecture (Hybrid): MAIT = @MAIT:#Pinata (centralized INT-P01:tools); Accounts = per-org (weownnet-ipfs, burnedout-ipfs, yonksteam-ipfs) | GTM_2026-W06_020 | ### BP-055 Details | Component | Scope | Location | |-----------|-------|----------| | MAIT Thread | Centralized | INT-P01:tools | | ShortCode | @MAIT:#Pinata | INT-P01 | | Steward | @GTM | β€” | | Accounts | Per-org | weownnet-ipfs, burnedout-ipfs, yonksteam-ipfs | **Best Practice:** Hybrid architecture β€” centralized MAIT for knowledge, per-org accounts for isolation. --- ## πŸ“‹ NOTES-TO-RAG BEST PRACTICES > **R-199:** Session notes (calls, webinars, meetings) = RAG ONLY β€” NEVER push to GH ### Session Capture | ID | Best Practice | Source | |----|---------------|--------| | BP-027 | Set #masterCCC at session start | GTM_2026-W05_358 | | BP-028 | Capture notes in real-time (speaker + timestamp) | GTM_2026-W05_359–370 | ### Pre-Upload | ID | Best Practice | Source | |----|---------------|--------| | BP-029 | Sanitize tokens/sensitive data before RAG upload | GTM_2026-W05_381 | ### Upload Process | ID | Best Practice | Source | |----|---------------|--------| | BP-032 | Run `list:docs` before AND after RAG upload | @GTM_ADMIN | | BP-033 | Sync session notes to CCC + tools workspaces | @GTM_ADMIN | ### Verification | ID | Best Practice | Source | |----|---------------|--------| | BP-030 | Cross-agent verification for RAG uploads | GTM_2026-W05_388 | | BP-031 | Fresh session required after RAG upload | THY_2026-W05_018 | | BP-034 | Fresh session REQUIRED for RAG verification | THY_2026-W05_018 | | BP-035 | Include `status:RAG` in verification workflow | @GTM_ADMIN | ### Notes-to-RAG Workflow Summary | Phase | BPs | Description | |-------|-----|-------------| | Capture | BP-027, BP-028 | Set #masterCCC, real-time notes | | Sanitize | BP-029 | Remove tokens, sensitive data | | Upload | BP-032, BP-033 | Pre/post check, multi-workspace sync | | Verify | BP-030, BP-031, BP-034, BP-035 | Cross-agent, fresh session, status check | ### Related Documents (Notes-to-RAG) | Document | Purpose | |----------|---------| | GUIDE-005_Notes-to-RAG | Step-by-step workflow | | TEMPLATE_NOTES | Reusable notes template | | CASE-STUDY-001_Notes-to-RAG-Workflow | Full case study | --- ## πŸ“‹ MAIT RESPONSE BEST PRACTICES ### BP-043: MAIT Thread Identity Header | ID | Best Practice | Source | |----|---------------|--------| | BP-043 | MAIT responses MUST include thread identity header: ShortCode, Thread name, Steward, Instance | GTM_2026-W05_574 | ### MAIT Response Header Format All MAIT thread responses MUST begin with: ```markdown [] | @MAIT:# | INT-XXX | Field | Value | |-------|-------| | Thread | MAIT_ | | ShortCode | @MAIT:# | | Steward | @ | | Instance | INT-XXX | ``` ### Example β€” @MAIT:#connexOmni ```markdown [LDC] | @MAIT:#connexOmni | INT-P02 | Field | Value | |-------|-------| | Thread | MAIT_connexOmni | | ShortCode | @MAIT:#connexOmni | | Steward | @LDC | | Instance | INT-P02 | ## βœ… Response content here... ``` ### Why BP-043 Matters | Issue | Without BP-043 | With BP-043 | |-------|----------------|-------------| | Attribution | ❌ UNATTRIBUTABLE | βœ… Clear source | | Debugging | ❌ Which thread? | βœ… Explicit thread | | Audit trail | ❌ Ambiguous | βœ… Traceable | ### Related Items (BP-043) | ID | Type | Description | URL | |----|------|-------------|-----| | L-059 | Learning | MAIT responses without identity header are UNATTRIBUTABLE | β€” | | CASE-STUDY-003 | Case Study | MAIT Thread Identity Standard | [GitHub](https://github.com/CCCbotNet/fedarch/blob/main/_LEARNINGS_/case-studies/CASE-STUDY-003_MAIT-Thread-Identity-Standard.md) | ### BP-044: #PinnedDocs GH Push Workflow | ID | Best Practice | Source | |----|---------------|--------| | BP-044 | #PinnedDocs GH Push Workflow: GH push β†’ ADMIN updates RAG (ALL instances) β†’ Fresh session β†’ Verify | GTM_2026-W05_609 | --- ## πŸ“‹ CASE STUDY BEST PRACTICES ### BP-047: Case Study Attribution | ID | Best Practice | Approval | |----|---------------|----------| | BP-047 | "Discovered By" section MUST use table format: CCC, Contributor, Role, Context | GTM_2026-W05_670 | ### Format β€” Discovered By ```markdown ### Discovered By (BP-047) | CCC | Contributor | Role | Context | |-----|-------------|------|---------| | GTM | [yonks](https://GitHub.com/YonksTEAM) | Co-Founder / Chief Digital Alchemist | /dev #deployment call | | RMN | Roman Di Domizio | AI Platform Engineer | /dev #deployment call | ``` --- ## πŸ“‹ ONBOARDING BEST PRACTICES ### BP-049: #threadHEADER for Attribution | ID | Best Practice | Approval | |----|---------------|----------| | BP-049 | #threadHEADER (D-047) REQUIRED for all VSA and cross-workspace operations β€” inherits CCC + Username from TMPL-009_USER-IDENTITY | GTM_2026-W05_767 | ### BP-050: Onboarding Workflow | ID | Best Practice | Approval | |----|---------------|----------| | BP-050 | Onboarding Workflow: ADMIN creates user β†’ assigns workspaces β†’ uploads USER-IDENTITY to RAG β†’ #ContextVolley to CCC β†’ CCC ACKs β†’ #MetaAgent logs | GTM_2026-W05_789 | ### BP-050 Steps | # | Step | Owner | Description | |---|------|-------|-------------| | 1 | Create user | ADMIN | Format: `u-_user` (R-160) | | 2 | Assign workspaces | ADMIN | CCC, tools (standard) | | 3 | Create USER-IDENTITY | ADMIN | Use TMPL-009 | | 4 | Upload to RAG | ADMIN | `_USERS_/` folder | | 5 | #ContextVolley to CCC | ADMIN | Notify CCC workspace | | 6 | CCC ACKs | CCC Agent | Acknowledge new user | | 7 | #MetaAgent logs | #MetaAgent | Record onboarding | ### TMPL-009: USER-IDENTITY Template | Field | Required | Description | |-------|----------|-------------| | CCC | βœ… | 3-char contributor code | | Contributor | βœ… | Full name | | Username | βœ… | Format per R-160 | | Role | βœ… | ADMIN / DEFAULT | | Instance(s) | βœ… | Elevated instance assignments | | Workspace(s) | βœ… | Workspace assignments | | Season | βœ… | Current #WeOwnSeason (BP-058) | | Created | βœ… | ISO date | | Status | βœ… | ACTIVE / INACTIVE | | Notes | ⬜ | Optional context | ### USER-IDENTITY Storage (L-070) | Folder | Workspace | PIN? | |--------|-----------|------| | `_USERS_/` | CCC, tools | ❌ NO | **Best Practice:** USER-IDENTITY docs stored in `_USERS_/` folder (RAG) β€” NOT pinned. --- ## πŸ“‹ #HomeInstance BEST PRACTICES ### BP-051: #HomeInstance Setup | ID | Best Practice | Approval | |----|---------------|----------| | BP-051 | #HomeInstance Setup: Deploy β†’ System Prompt β†’ Workspaces β†’ #PinnedDocs (4 docs) β†’ Users β†’ Verify #ContextVolley | GTM_2026-W05_807 | ### BP-051 Steps | # | Step | Description | |---|------|-------------| | 1 | Deploy | #AnythingLLM instance at domain | | 2 | System Prompt | Configure per TMPL-006 | | 3 | Workspaces | Create CCC, tools (minimum) | | 4 | #PinnedDocs | Upload 4 docs (per R-204) | | 5 | Users | Create u-_user, a-_dev | | 6 | Verify | Test #ContextVolley to #MetaAgent | ### #PinnedDocs for #HomeInstance (R-204) | # | Document | Required | |---|----------|----------| | 1 | SharedKernel | βœ… YES | | 2 | BEST-PRACTICES | βœ… YES | | 3 | PROTOCOLS | βœ… YES | | 4 | CCC | βœ… YES | | **TOTAL** | **4** | | ### #HomeInstance Definition (D-048) | Field | Value | |-------|-------| | Term | #HomeInstance | | Definition | Primary personal #AnythingLLM instance for a contributor β€” participates in #FedArch via #ContextVolley; reports to #MetaAgent | ### #HomeInstance Verification | Check | Description | |-------|-------------| | #PinnedDocs | 4 docs uploaded | | System Prompt | Identity configured | | Workspaces | CCC + tools created | | Users | u-_user created | | #ContextVolley | Can reach #MetaAgent | --- ## πŸ“‹ INT-OGx ISC SCOPING BEST PRACTICES ### BP-062: INT-OGx ISC Check #5 Scoping | ID | Best Practice | Approval | |----|---------------|----------| | BP-062 | INT-OGx ISC Check #5 scoped to CCC workspace ONLY β€” BP-054 (CCC-ID logic) + BP-061 (#WorkspaceChatHistory = 40) REQUIRED; BP-053 (non-CCC restriction) RECOMMENDED but NOT enforced; Production instances (INT-Pxx, INT-Mxx, INT-Sxx) = ALL workspaces enforced | GTM_2026-W07_099 | ### ISC Check #5 β€” Instance-Type Scoping Matrix | Instance Type | CCC | tools | ADMIN | Other | |---------------|-----|-------|-------|-------| | INT-Pxx (Production) | βœ… ENFORCED | βœ… ENFORCED | βœ… ENFORCED | βœ… ENFORCED | | INT-Mxx (META) | βœ… ENFORCED | βœ… ENFORCED | βœ… ENFORCED | βœ… ENFORCED | | **INT-OGx (#HomeInstance)** | βœ… **ENFORCED** | 🟑 RECOMMENDED | 🟑 RECOMMENDED | 🟑 RECOMMENDED | | INT-Sxx (Seasonal) | βœ… ENFORCED | βœ… ENFORCED | βœ… ENFORCED | βœ… ENFORCED | ### Legend | Symbol | Meaning | |--------|---------| | βœ… ENFORCED | ISC Check #5 MUST PASS | | 🟑 RECOMMENDED | Best practice but NOT ISC enforced | ### Defense-in-Depth (INT-OGx) ``` Layer 1: R-194 (IMMUTABLE) β€” CCC-ID only in CCC workspace βœ… ENFORCED Layer 2: BP-054 (System Prompt) β€” Workspace-conditional logic βœ… ENFORCED Layer 3: BP-053 (Workspace Prompt) β€” Restriction block 🟑 RECOMMENDED ``` > INT-OGx has 2 of 3 layers enforced. Layer 3 = OG discretion. Acceptable risk for personal instances. ### Why BP-062 Matters | Issue | Without BP-062 | With BP-062 | |-------|----------------|-------------| | ISC burden | ❌ ALL workspaces for ALL instances | βœ… Scoped by instance type | | INT-OGx flexibility | ❌ Must configure all prompts | βœ… CCC only required | | Governance gap | ❌ None β€” R-194 + BP-054 protect | βœ… Same β€” defense-in-depth | | OG autonomy | ❌ Restricted | βœ… Personal domain = OG choice | ### Related Items (BP-062) | ID | Type | Description | |----|------|-------------| | L-117 | Learning | INT-OGx workspace prompt policy | | BP-053 | BP | Non-CCC restriction block (RECOMMENDED for INT-OGx) | | BP-054 | BP | System Prompt CCC-ID logic (REQUIRED for ALL) | | BP-061 | BP | ChatHistory = 40 (REQUIRED for CCC workspace) | | ISC Check #5 | Checklist | Instance-type scoped verification | **Best Practice:** INT-OGx = CCC workspace ENFORCED, all others RECOMMENDED. Production instances = ALL workspaces ENFORCED. --- ## πŸ“‹ SYSTEM PROMPT BEST PRACTICES ### BP-054: Workspace-Conditional CCC-ID Logic | ID | Best Practice | Approval | |----|---------------|----------| | BP-054 | System Prompt MUST include workspace-conditional CCC-ID logic table β€” prevents R-194 violations at instance level | GTM_2026-W06_046 | ### BP-054 Details System Prompt MUST include logic that: | Workspace | CCC-ID Behavior | |-----------|-----------------| | CCC | βœ… GENERATE new CCC-IDs | | tools | ❌ REFERENCE only (R-194) | | ADMIN | ❌ REFERENCE only (R-194) | | events | ❌ REFERENCE only (R-194) | | P.O.P. | ❌ REFERENCE only (R-194) | | ANY other | ❌ REFERENCE only (R-194) | ### System Prompt Template Block ```markdown ## πŸ“‹ CCC-ID GENERATION LOGIC | Workspace | CCC-ID | |-----------|--------| | CCC | βœ… GENERATE | | ALL OTHERS | ❌ REFERENCE ONLY | ### IF workspace = CCC Generate CCC-IDs per R-168, R-169 ### IF workspace β‰  CCC Use `[REF: ]` format ``` **Best Practice:** Prevents R-194 violations at the instance level by embedding logic in System Prompt. --- ## πŸ“‹ CCC WORKSPACE ACK BEST PRACTICES ### BP-056: CCC Workspace ACK Header | ID | Best Practice | Approval | |----|---------------|----------| | BP-056 | CCC workspace ACK responses MUST include sender identity header: `FROM: AI:@ @ INT-P01:CCC` β€” prevents UNATTRIBUTABLE responses | GTM_2026-W06_078 | ### BP-056 Details All ACK responses in CCC workspace MUST include: ```markdown 🏐 #ContextVolley | AI:@ β†’ AI:@ | |