Plings Documentation

Created: Tue 29 Jul 2025 07:14:58 CEST
Updated: Tue 29 Jul 2025 07:34:45 CEST - Updated file references after renaming and creation tasks
Document Version: 1.1 - Updated structure with latest file changes
Security Classification: Internal Technical Documentation
Target Audience: Developers, AI Agents, Technical Writers
Author: Paul WisΓ©n

Quick Navigation for AI Agents

This README serves as the primary navigation point for AI agents and developers working with Plings documentation. It provides the complete structure overview and placement guidelines.

Live Documentation Site: https://docs.plings.io

Directory Structure Overview

πŸ—οΈ Core Architecture

/architecture/
β”œβ”€β”€ README.md                           # Architecture overview and principles
β”œβ”€β”€ system-overview.md                  # HIGH-PRIORITY: Multi-service ecosystem, Director layer
β”œβ”€β”€ database_architecture.md            # Dual database design (PostgreSQL + Neo4j)
β”œβ”€β”€ technology-stack-decisions.md       # Technology choices and rationale
β”œβ”€β”€ solana-payment-architecture.md      # Blockchain payment integration
└── api-security-guidelines.md          # Security best practices

πŸ”§ Core Systems Documentation

/core-systems/
β”œβ”€β”€ README.md                           # Core systems overview
β”œβ”€β”€ s-plings-io/                        # ⭐ NEW: Director service documentation
β”‚   β”œβ”€β”€ README.md                       # Director overview (4 functions)
β”‚   β”œβ”€β”€ url-structure.md               # URL parameters and routing
β”‚   β”œβ”€β”€ verification-strategy.md       # Cached public key verification
β”‚   └── routing-logic.md               # Intelligent routing rules
β”œβ”€β”€ plings_identifier.md               # HD wallet identifier system
β”œβ”€β”€ spatial-relationships.md           # Object location tracking  
β”œβ”€β”€ ownership-handling.md              # Ownership and transfer logic
└── class-system.md                     # Object classification system

🌐 API Documentation

/api/
β”œβ”€β”€ README.md                          # API overview and integration guide
β”œβ”€β”€ api-endpoints.md                   # GraphQL schema and endpoints
β”œβ”€β”€ authentication.md                 # Authentication flows
β”œβ”€β”€ data-models.md                    # Core data structures
└── integration-examples.md           # Code examples and patterns

πŸ’Ύ Database Documentation

/database/
β”œβ”€β”€ README.md                          # Database overview (⚠️ READ SCHEMA-VERIFICATION.md FIRST!)
β”œβ”€β”€ SCHEMA-VERIFICATION.md             # 🚨 CRITICAL: Verified production schema
β”œβ”€β”€ neo4j-core-schema.md              # Graph database schema
β”œβ”€β”€ supabase-core-schema.md           # PostgreSQL schema (wallet-first)
β”œβ”€β”€ migration-strategy.md             # Database migration procedures
└── predicate-catalogue.md            # Relationship types catalog

πŸ“‹ Use Cases & Requirements

/use-cases/
β”œβ”€β”€ overview.md                        # Use case index
β”œβ”€β”€ workflow-create-object.md          # Object creation workflows
β”œβ”€β”€ workflow-scan-to-pay.md           # Commerce scanning flows
β”œβ”€β”€ workflow-lost-and-found.md        # Lost object recovery
└── requirements-analysis.md          # Business requirements

⚠️ IMPORTANT: Always check use cases before implementing features!

🎨 Frontend Documentation

/frontend/
β”œβ”€β”€ README.md                          # Frontend architecture overview
β”œβ”€β”€ component-architecture.md         # React component structure and patterns
β”œβ”€β”€ state-management.md              # State management patterns
β”œβ”€β”€ routing.md                        # Frontend routing system
└── admin/                            # Admin console documentation
    β”œβ”€β”€ README.md
    └── [admin-specific files]

πŸ”§ Development Guides

/development/
β”œβ”€β”€ README.md                          # Development setup overview
β”œβ”€β”€ getting-started.md                # Quick start guide
β”œβ”€β”€ api-integration.md               # Backend integration patterns
β”œβ”€β”€ testing-strategy.md              # Testing approaches
└── deployment.md                    # Deployment procedures

🎨 Brand & Design

/brand/
β”œβ”€β”€ design-system.md                  # Design system guidelines
β”œβ”€β”€ implementation-guide.md          # Implementation patterns
β”œβ”€β”€ requirements.md                  # Brand requirements
└── fonts/Poppins/                   # Font assets
    └── [Poppins font files]

πŸ€– Agent Workflow Guidelines

Documentation Placement Rules

Content Type Primary Location Secondary Location Notes
New Features /use-cases/ first Implementation in relevant system dir Always document requirements first
System Architecture /architecture/ Cross-reference in affected systems Include impact analysis
API Changes /api/ Update affected core systems Maintain backwards compatibility docs
Database Changes /database/ Update affected systems Always update SCHEMA-VERIFICATION.md
Frontend Components /frontend/ Include usage examples Document props and state management
s.plings.io Director /core-systems/s-plings-io/ Reference in architecture Critical routing service
Business Logic /core-systems/ Cross-reference in API docs Core system functionality

πŸ”„ Agent Development Workflow

  1. Start Here: Read this README.md for structure understanding
  2. Check Use Cases: Review /use-cases/ before implementing features
  3. Verify Database Schema: Always check /database/SCHEMA-VERIFICATION.md first
  4. Update Documentation: Alongside code changes, not after
  5. Jekyll Compatibility: Escape with tags
  6. Mermaid Diagrams: Use <div class="mermaid"> not markdown code fences
  7. Cross-References: Link related documentation sections
  8. Timestamps: Add proper timestamps following CLAUDE.md format

🎯 Priority Documentation Areas

  1. HIGHEST: /architecture/system-overview.md - System architecture understanding
  2. HIGH: /core-systems/s-plings-io/ - Director service (universal QR entry point)
  3. HIGH: /use-cases/ - Requirements and business logic
  4. MEDIUM: /api/ - Integration specifications
  5. MEDIUM: /database/SCHEMA-VERIFICATION.md - Current database state

πŸ” Finding Information Quickly

Common Agent Questions & Answers

Question Location File
How does QR scanning work? /core-systems/s-plings-io/ README.md + routing-logic.md
What’s the system architecture? /architecture/ system-overview.md
How do I integrate the API? /api/ README.md + integration-examples.md
What’s the database schema? /database/ SCHEMA-VERIFICATION.md (READ THIS FIRST!)
How do object relationships work? /core-systems/ spatial-relationships.md
What are the use cases? /use-cases/ overview.md
How does authentication work? /api/ authentication.md
What’s the frontend architecture? /frontend/ README.md

🚨 Critical Files for Agents

  1. /database/SCHEMA-VERIFICATION.md - Always read before database queries
  2. /architecture/system-overview.md - Understand the multi-service ecosystem
  3. /core-systems/s-plings-io/README.md - Universal QR entry point
  4. /use-cases/overview.md - Business requirements and user stories
  5. CLAUDE.md - Development guidelines and agent usage instructions

πŸ“ Documentation Standards

Required Elements

Jekyll Compatibility

πŸ”„ Maintenance Notes


This documentation structure reflects the Plings Universal Object Graph System’s sophisticated multi-service architecture with the s.plings.io Director layer as the intelligent routing hub for all physical object interactions.