name: tenant_charter_drafting description: "Architectural synthesis and formalization of a sovereign Tenant's Charter and governing principles." system: agent_prompt agent_prompt: - "= identity.md" requires: - company_slug - company_name sections: - project - history - rag - message - instructions steps: - type: think model: power hint: | Construct the foundational architecture for the Tenant: {company_name}. 1. Map the core operational logic and authority boundaries. 2. Identify necessary anti-patterns to avoid (cascading dependencies). 3. Define the 'Constitutional Principles' specific to this unit's industry/niche. 4. Ensure the Charter enforces modularity and Occam’s Architecture. Focus on clinical, high-density structural definitions. - type: think model: default hint: | Review the architectural synthesis from Step 0. Refine the prose into a formal Charter document. Structure: - Identity & Purpose (The Problem Space) - Authority & Boundaries (What the Tenant governs) - Operational Protocols (How it interacts with the Genesis Node) - Success Metrics (Logic-based verification of mission achievement) - type: document filename: tenant-charter - type: package packet_type: CharterFinalization schema: status: "string" version: "string" charter_checksum: "string" hint: "Record the completion of the architectural drafting process." - type: close rag_update: true adjudication: enabled: true pass_threshold: 85 deliverable_type: coordination criteria: modularity: weight: 40 description: "Charter ensures the unit can operate without creating circular dependencies." precision: weight: 30 description: "Technical language is dense, clinical, and free of ambiguity." alignment: weight: 30 description: "Aligns with Crimson Leaf Genesis-level strategic objectives."