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
- Start Here: Read this README.md for structure understanding
- Check Use Cases: Review
/use-cases/before implementing features - Verify Database Schema: Always check
/database/SCHEMA-VERIFICATION.mdfirst - Update Documentation: Alongside code changes, not after
- Jekyll Compatibility: Escape
withtags - Mermaid Diagrams: Use
<div class="mermaid">not markdown code fences - Cross-References: Link related documentation sections
- Timestamps: Add proper timestamps following CLAUDE.md format
π― Priority Documentation Areas
- HIGHEST:
/architecture/system-overview.md- System architecture understanding - HIGH:
/core-systems/s-plings-io/- Director service (universal QR entry point) - HIGH:
/use-cases/- Requirements and business logic - MEDIUM:
/api/- Integration specifications - 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
/database/SCHEMA-VERIFICATION.md- Always read before database queries/architecture/system-overview.md- Understand the multi-service ecosystem/core-systems/s-plings-io/README.md- Universal QR entry point/use-cases/overview.md- Business requirements and user storiesCLAUDE.md- Development guidelines and agent usage instructions
π Documentation Standards
Required Elements
- Timestamps: Follow CLAUDE.md format with created/updated dates
- Jekyll Front Matter: Include layout, title, nav_order for navigation
- Target Audience: Specify who the documentation serves
- Cross-References: Link to related documents
- Examples: Include code examples and use cases
Jekyll Compatibility
- Liquid Syntax: Escape
{{ }}with{% raw %}{{ }} - Mermaid Diagrams: Use
<div class="mermaid">wrapper - Navigation: Files in
_config.ymlheader_pages appear in site menu
π Maintenance Notes
- Single Source of Truth: This README.md is the canonical structure reference
- Update Workflow: When structure changes, update this file first
- Agent Training: CLAUDE.md points agents here for detailed structure
- Live Site: Changes deploy automatically via GitHub Actions to docs.plings.io
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.