{
  "authority": {
    "levels": {
      "developer": {
        "spend_limit": 50
      },
      "engineering-director": {
        "approves": [
          "architecture",
          "vendor"
        ],
        "spend_limit": 5000
      },
      "founder": {
        "approves": [
          "all"
        ],
        "spend_limit": 50000
      },
      "platform-lead": {
        "approves": [
          "deployment"
        ],
        "spend_limit": 500
      }
    }
  },
  "layers": {
    "autonomy": {
      "autonomyScope": "local",
      "defaultTrustScore": 70,
      "disabledWorkflows": [],
      "escalationThreshold": 50,
      "humanInLoopMode": "never",
      "maxConcurrentAgents": 10,
      "trustDecayRate": 0.05,
      "trustGrowthRate": 0.02,
      "trustMinimum": 20
    },
    "experience": {
      "consentRequired": true,
      "maxAutonomousComplexity": "complex",
      "oversightMode": "optional",
      "oversightThreshold": "epic",
      "progressiveDisclosure": true,
      "wcagLevel": "aa"
    },
    "frame": {
      "defaultAuthority": "system",
      "dependencyAuditEnabled": false,
      "frameworkComplianceEnabled": false,
      "invocationTracingEnabled": true,
      "roles": {
        "developer": {
          "read": [
            "*"
          ],
          "restricted": [],
          "write": []
        },
        "engineering-director": {
          "read": [
            "*"
          ],
          "restricted": [],
          "write": [
            "architecture",
            "vendor"
          ]
        },
        "founder": {
          "read": [
            "*"
          ],
          "restricted": [],
          "write": [
            "all"
          ]
        },
        "platform-lead": {
          "read": [
            "*"
          ],
          "restricted": [],
          "write": [
            "deployment"
          ]
        }
      },
      "trustThresholds": {
        "complex": 70,
        "epic": 85,
        "moderate": 60,
        "simple": 50
      }
    },
    "govern": {
      "auditDepth": "full",
      "complianceRegimes": [
        "NDPC",
        "AfCFTA",
        "COCOBOD"
      ],
      "enabled": true,
      "principles": []
    },
    "lang": {
      "bannedTerms": [
        "blockchain",
        "Web3",
        "crypto",
        "token",
        "decentralized",
        "NFT",
        "mining pool"
      ],
      "domainIntents": [],
      "injectionResistanceLevel": "standard",
      "intentConfidenceThreshold": 0.6,
      "outputAttribution": true,
      "terminology": {
        "AGX": "Agricultural Exchange",
        "AfCFTA": "African Continental Free Trade Area",
        "COCOBOD": "Ghana Cocoa Board",
        "CRX": "Commodity Resource Exchange",
        "DFI": "Development Finance Institution",
        "FIC": "Financial Intelligence Centre",
        "GCI": "Global Compliance Index",
        "NDPC": "National Data Protection Commission (Ghana)",
        "NDT": "Non-Destructive Testing",
        "POPIA": "Protection of Personal Information Act (South Africa)",
        "PvP": "Payment versus Payment",
        "RBI": "Risk-Based Inspection",
        "SGX": "Standards & Grading Exchange"
      }
    },
    "persona": {
      "crossSessionMemory": true,
      "defaultPersona": "system",
      "driftThreshold": 0.3,
      "personas": [
        {
          "domains": [],
          "expertise": [],
          "id": "developer",
          "name": "Developer",
          "role": "developer"
        },
        {
          "domains": [
            "deployment"
          ],
          "expertise": [],
          "id": "platform-lead",
          "name": "Platform-lead",
          "role": "platform-lead"
        },
        {
          "domains": [
            "architecture",
            "vendor"
          ],
          "expertise": [],
          "id": "engineering-director",
          "name": "Engineering-director",
          "role": "engineering-director"
        },
        {
          "domains": [
            "all"
          ],
          "expertise": [],
          "id": "founder",
          "name": "Founder",
          "role": "founder"
        }
      ],
      "sessionIsolation": true,
      "trustBoundary": "flexible"
    },
    "studio": {
      "artifactFormats": [
        "json",
        "html"
      ],
      "generationAttribution": true,
      "hashAlgorithm": "sha256",
      "provenanceChainEnabled": true,
      "provenanceRequired": true,
      "templatePaths": []
    }
  },
  "organization": {
    "formality": "formal",
    "industry": "Commodity Trade & Verification",
    "name": "GTCX",
    "size": "startup",
    "voice": "Technical, authoritative, institutional"
  },
  "syntax": {
    "commands": {
      "compliance-check": {
        "aliases": [
          "cc"
        ],
        "chain": [
          "scope-assessment",
          "gap-analysis",
          "remediation-plan",
          "evidence-bundle"
        ],
        "description": "Run compliance assessment against a standard",
        "format": "report",
        "parameters": {
          "standard": {
            "description": "Standard to check (ndpc, afcfta, cocobod)",
            "required": true,
            "type": "string"
          }
        },
        "produces": "compliance-assessment"
      },
      "ecosystem-review": {
        "chain": [
          "inventory",
          "assessment",
          "recommendations"
        ],
        "description": "Review AI operations across the GTCX ecosystem",
        "format": "report",
        "produces": "ecosystem-review"
      },
      "help": {
        "aliases": [
          "h"
        ],
        "description": "Command reference",
        "format": "document",
        "produces": "help"
      },
      "inspection-report": {
        "chain": [
          "scope",
          "findings",
          "remediation",
          "letter",
          "certificate"
        ],
        "description": "Generate inspection report (SIS Inspections pattern)",
        "format": "report",
        "parameters": {
          "asset": {
            "description": "Asset identifier",
            "required": true,
            "type": "string"
          },
          "standard": {
            "default": "API 510",
            "description": "Applicable standard",
            "type": "string"
          }
        },
        "produces": "inspection-report"
      },
      "platform-status": {
        "aliases": [
          "ps"
        ],
        "description": "Status report for a GTCX platform",
        "format": "report",
        "parameters": {
          "platform": {
            "description": "Platform name (agx, crx, sgx, veritas, pathways, ops)",
            "required": true,
            "type": "string"
          }
        },
        "produces": "status-report"
      },
      "retro": {
        "aliases": [
          "retrospective",
          "review"
        ],
        "chain": [
          "sprint-review",
          "reflect",
          "sprint-insights",
          "document"
        ],
        "description": "Sprint retrospective",
        "format": "document",
        "produces": "retrospective"
      },
      "status": {
        "aliases": [
          "s",
          "info"
        ],
        "description": "System status report",
        "format": "report",
        "produces": "status-report"
      },
      "trade-analysis": {
        "description": "Analyze trade corridor or commodity flow",
        "format": "analysis",
        "parameters": {
          "corridor": {
            "description": "Trade corridor (e.g., ghana-uae)",
            "type": "string"
          }
        },
        "produces": "trade-analysis"
      }
    },
    "lexicon": {
      "api-510": {
        "context": "standard reference",
        "meaning": "Pressure Vessel Inspection Code"
      },
      "dpia": {
        "context": "compliance",
        "meaning": "Data Protection Impact Assessment"
      },
      "ndt": {
        "context": "inspection methodology",
        "meaning": "Non-Destructive Testing"
      },
      "rbi": {
        "context": "inspection planning",
        "meaning": "Risk-Based Inspection"
      },
      "roo": {
        "context": "AfCFTA trade compliance",
        "meaning": "Rules of Origin"
      }
    }
  },
  "templates": {},
  "terminology": {
    "banned": [
      "blockchain",
      "Web3",
      "crypto",
      "token",
      "decentralized",
      "NFT",
      "mining pool"
    ],
    "glossary": {
      "AGX": "Agricultural Exchange",
      "AfCFTA": "African Continental Free Trade Area",
      "COCOBOD": "Ghana Cocoa Board",
      "CRX": "Commodity Resource Exchange",
      "DFI": "Development Finance Institution",
      "FIC": "Financial Intelligence Centre",
      "GCI": "Global Compliance Index",
      "NDPC": "National Data Protection Commission (Ghana)",
      "NDT": "Non-Destructive Testing",
      "POPIA": "Protection of Personal Information Act (South Africa)",
      "PvP": "Payment versus Payment",
      "RBI": "Risk-Based Inspection",
      "SGX": "Standards & Grading Exchange"
    },
    "preferred": {
      "BaselineOS": [
        "baseline os",
        "Baseline OS",
        "baseline-os"
      ],
      "TradePass": [
        "trade pass",
        "tradepass"
      ],
      "commodity": [
        "product",
        "good"
      ],
      "producer": [
        "farmer",
        "miner",
        "supplier"
      ],
      "verification": [
        "validation",
        "checking"
      ]
    }
  },
  "version": "1.0",
  "workflows": {
    "compliance_report": [
      "data-collection",
      "gap-analysis",
      "remediation",
      "evidence-export"
    ],
    "deployment": [
      "code-review",
      "ci-pass",
      "staging-verify",
      "production-deploy"
    ],
    "pilot_onboarding": [
      "org-config",
      "first-produce",
      "quality-review",
      "feedback"
    ]
  }
}
