Not loaded · from tec-knowledge-base
When working on any app within the TEC ecosystem — before modifying code, architecture, or CLAUDE.md — load the app's Institutional Charter (C-100→C-115 infra apps + C-124→C-131 user-layer apps) to understand its engineering authority, security model, and P0/P1/P2 gaps.
Claude Code won't load this skill
It ships in tec-knowledge-base at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
Before modifying any TEC app, consult its Institutional Charter. Charter > CLAUDE.md > Code.
C-00 Platform Constitution ← supreme
↓
C-67 Source of Truth Matrix
↓
ADRs (C-64: ADR-001→ADR-007)
↓
App Institutional Charter (C-100→C-115 + C-124→C-131) ← must read FIRST per app
↓
App CLAUDE.md
↓
Code
If Charter conflicts with CLAUDE.md → Charter wins. If CLAUDE.md conflicts with Code → CLAUDE.md wins.
Deployed column = the fleet SSoT (
architecture/app-fleet.yaml): 🟢 Live · 🟡 Live · financial mechanics gated · ⚪ Planned (not deployed). Each charter's header still declares the full runtime Truth State (mostly[Future Vision]); its## Deployment Statussection is the live V0/V1 ([Runtime Verified]).
| Charter | App | System Role | Deployed |
|---|---|---|---|
| C-100 | Hub | System of Access — Control Plane | 🟢 Live |
| C-101 | Commerce | System of Production (Reference Impl) | 🟢 Live |
| C-102 | Assets | Digital Asset Infrastructure | 🟢 Live |
| C-103 | Ecommerce | Consumer Marketplace | 🟢 Live |
| C-104 | TEC AI | System of Reasoning | ⚪ Planned ([Planned State]) |
| C-105 | Analytics | System of Intelligence | 🟢 Live |
| C-106 | Life | System of Record (Personal) | 🟢 Live |
| C-107 | Connection | Economic Relationship Infrastructure | 🟢 Live |
| C-108 | Explorer | Economic Discovery Infrastructure | 🟢 Live |
| C-109 | Nexus | System of Coordination | 🟢 Live |
| C-110 | SYSTEM | System of Governance | 🟢 Live |
| C-111 | ALERT | Notification Hub / System of Risk | 🟢 Live |
| C-112 | NX | Opportunity Exchange (repurposed, ADR-010) | 🟢 Live |
| C-113 | FundX | Capital Coordination Infrastructure | 🟡 Live · pools gated |
| C-114 | Estate | Real Estate Coordination | 🟢 Live |
| C-115 | DX | Developer Platform / System of Construction | 🟢 Live |
| C-124 | NBF | Business Foundation Runtime | 🟢 Live |
| C-125 | Epic | Creation Runtime | 🟢 Live |
| C-126 | Legend | Reputation Runtime | 🟢 Live |
| C-127 | Elite | Excellence Runtime | 🟢 Live |
| C-128 | VIP | Premium Experience Runtime | 🟢 Live |
| C-129 | Insure | Risk Protection Runtime | 🟡 Live · escrow gated |
| C-130 | Titan | Enterprise OS Runtime | 🟢 Live |
| C-131 | Brookfield | Infrastructure Runtime | 🟡 Live · investment/REITs gated |
Every charter must map its app to a stage in this cycle:
Settlement → Record → Reasoning → Access → Construction → Production → Economic Activity → Settlement
↑ |
└───────────────────────────────────────────────────────────────────────────────────────────┘
Hub → System of Access
Commerce → System of Production (reference implementation)
Assets → Digital Asset Infrastructure
Ecommerce → Consumer Marketplace → Economic Activity
Analytics → System of Intelligence → feeds Reasoning
Life → System of Record → Settlement (personal)
TEC AI → System of Reasoning
Nexus → System of Coordination → connects all layers
When working on any TEC app — load the charter FIRST:
Hub / tec-app → C-100
Commerce / tec-commerce → C-101
Assets / tec-assets → C-102
Ecommerce / tec-ecommerce → C-103
TEC AI → C-104
Analytics → C-105
Life → C-106
Connection → C-107
Explorer → C-108
Nexus → C-109
SYSTEM → C-110
ALERT → C-111
NX (Opportunity Exchange, ADR-010) → C-112
FundX → C-113
Estate → C-114
DX → C-115
NBF / tec-nbf → C-124
Epic / tec-epic → C-125
Legend / tec-legend → C-126
Elite / tec-elite → C-127
VIP / tec-vip → C-128
Insure / tec-insure → C-129
Titan / tec-titan → C-130
Brookfield / tec-brookfield → C-131
Every charter contains:
Never implement a feature in a charter-covered app without first reading its Engineering Updates Required section. Adding a feature that conflicts with a P0 gap is a platform violation.
P0: INTERNAL_SECRET must be set on Railway (NEW-B — ops task)
P1: BFF-first rule — all wallet/payment fetches via /api/bff/*
P1: PAL (Pi Abstraction Layer) — PiRuntime.* replaces window.Pi.*
P2: Hub analytics dashboard
P0: Merchant identity ALWAYS from tec_user cookie — never from request body
P1: Tests ≥ 60% (all BFF routes + payment handler)
P1: ADR-007 guard on every payment button
P2: Analytics integration with tec-analytics-service
P0: Asset ownership ALWAYS from tec-asset-service — never derive client-side
P1: Tests ≥ 60%
P1: ADR-007 guard before every Pi payment
P2: Creator identity tied to Pi username from tec_user cookie
P0: isHubNavigation() in 4 files — DO NOT REMOVE
P1: Tests ≥ 60% (useCart + BFF routes + payment handlers)
P1: PI_SANDBOX=false verified in production
P2: Pi App ID documented
When a charter and the app's CLAUDE.md disagree:
| Scenario | Resolution |
|---|---|
| Charter says "payment via Mode 1 only" but CLAUDE.md allows Mode 2 | Charter wins — update CLAUDE.md |
| CLAUDE.md has new pattern not in charter | Check if it violates charter authority boundary. If not → fine. If yes → update charter first |
| Charter says P0 gap exists but code already fixed it | Update charter Truth State + Engineering Updates section |
| Charter defines a phase (e.g., Phase 2) for a feature | Do NOT implement in Phase 0 — charter gates apply |
When a new app needs a charter:
templates/new-charter/ scaffold[Future Vision] for new appsRequired when:
[Planned State] → [Current State])Protocol:
docs(charter): C-1XX — [app name] [change summary]Hub (C-100) — SSO authority for all apps
├── Commerce (C-101) — reads Hub SSO cookies
├── Assets (C-102) — reads Hub SSO cookies
└── Ecommerce (C-103) — reads Hub SSO cookies
tec-core-backend → provides runtime to all 4 current apps
tec-ui → shared design system for all 4 current apps
tec-auth → auth package consumed by all 4 current apps
tec-sdk → BFF SDK consumed by all 4 current apps
TEC AI (C-104) → will consume: Hub SSO + Analytics data
Analytics (C-105) → will consume: events from ALL apps
Life (C-106) → will consume: Hub SSO + Payment history
Connection (C-107) → will consume: Life data + Analytics
Explorer (C-108) → will consume: Commerce data + Location
| Document | What It Tells You |
|---|---|
| C-00 | Platform Constitution — supreme authority |
| C-47 | Kernel Spec — P6 Fail Closed + 10 Forbidden behaviors |
| C-67 | Source of Truth Matrix — authority hierarchy |
| C-57 | Master Index — find any document |
| C-76 | ADR-007 — Pi payment ownership (Mode 1 vs 2) |
| C-64 | ADR system (ADR-001→ADR-007) |
| C-68 | Domain Ownership Matrix |
| C-71 | Financial Integrity Spec (DECIMAL(20,8)) |
□ Read the app's Institutional Charter (C-100→C-115 + C-124→C-131)
□ Check Engineering Updates — are there P0/P1 gaps blocking this work?
□ Verify the change doesn't violate the Charter's Authority Boundary
□ Check Truth State — is this feature in scope for current phase?
□ Verify ADR-007 guard is present if touching any payment handler
□ Check cross-charter dependencies — does this affect other apps?
□ After implementing: update charter if Truth State or gaps changed
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: commands: Invalid input, agents.0: Invalid string: must start with "./", agents.0: Invalid string: must end with ".md", agents.1: Invalid string: must start with "./", agents.1: Invalid string: must end with ".md", agents.2: Invalid string: must start with "./", agents.2: Invalid string: must end with ".md", skills: Invalid input, author: Invalid input: expected object, received string
.claude-plugin/plugin.json: commands: Invalid input, agents.0: Invalid string: must start with "./", agents.0: Invalid string: must end with ".md", agents.1: Invalid string: must start with "./", agents.1: Invalid string: must end with ".md", agents.2: Invalid string: must start with "./", agents.2: Invalid string: must end with ".md", skills: Invalid input, author: Invalid input: expected object, received string
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
16 skills in this plugin
/bff-patternsWhen writing or modifying any BFF route (/api/bff/*) in any TEC app — enforce BFF-first rule, createHandler pattern, auth cookie reading, CSRF protection, and proper gateway proxying./community-marketingWhen building or growing the TEC community on Pi Network channels (Pi Chat, Pi Forum, Telegram, Discord) — apply community-first growth, ambassador programs, and trust-building frameworks./content-strategyWhen creating content for TEC platform — blog posts, social content, Pi community updates, developer docs, or onboarding materials — apply Pi-native content frameworks and audience segmentation.