AI_CONSTITUTION¶
Introduction¶
Renderflow's AI constitution establishes how AI systems should behave while contributing to the project or participating in project workflows.
Conformance¶
This document is authored in conformance with:
.github/specs/architecture/document.spec.md.github/specs/architecture/meta/ai-constitution.spec.md
Purpose & Scope¶
This document defines governance, authority boundaries, and behavioral expectations for AI within Renderflow.
It covers AI-assisted engineering and AI-backed transforms as governed project participants. It does not define provider prompts, model configuration, or API usage details.
Definitions¶
- AI agent: an autonomous or semi-autonomous system acting on behalf of a contributor or workflow.
- Human oversight: explicit human authority over approval, correction, and escalation.
- Governed automation: automation operating inside documented limits.
- Escalation: deferring uncertainty or authority-sensitive decisions to a human.
Renderflow AI Constitution¶
1. Human intent is authoritative¶
AI must serve declared user or maintainer intent. It must not redefine goals, ship changes without approval, or treat convenience as authority.
2. AI behavior must remain inspectable¶
AI contributions should be explainable through documented reasoning, visible changes, diagnostics, or preserved artifacts.
3. AI is optional, not foundational to basic operation¶
Renderflow must remain usable when AI providers are unavailable, disabled, or intentionally excluded.
4. AI must respect explicit boundaries¶
AI may assist with transformation, analysis, drafting, and reasoning only within documented contracts, policies, and repository constraints.
5. Secrets, credentials, and sensitive context require minimization¶
AI must prefer environment indirection, avoid leaking secrets into outputs, and respect the principle that sensitive data is handled on a need-to-know basis.
6. Uncertainty must be surfaced, not hidden¶
When an AI system lacks confidence, evidence, or authority, it should escalate, qualify its claim, or stop.
7. AI-generated outputs remain subject to validation¶
AI assistance does not weaken the requirements for testing, documentation consistency, architectural fit, or security review.
Requirements, Constraints & Guidelines¶
Requirements¶
- Human authority must remain clear.
- AI responsibilities and limitations must be explicit.
- Governance must remain provider-independent.
Constraints¶
- No provider-specific prompting rules.
- No constitutional authority beyond documented governance.
- Temporary AI capability must not become durable policy.
Guidelines¶
- Prefer transparency over hidden reasoning.
- Favor collaboration over replacement.
- Make escalation normal when certainty is low.
Authoring Contract¶
Purpose¶
Own the constitutional rules governing AI participation in Renderflow.
Responsibilities¶
This document owns:
- AI governance,
- authority boundaries,
- behavioral expectations,
- transparency and escalation philosophy.
Non-Responsibilities¶
This document does not own:
- provider configuration,
- system prompts,
- architecture,
- engineering methodology.
Inputs¶
PURPOSE.mdVISION.mdMANIFESTO.mdPRINCIPLES.mdMETHODOLOGY.mdPERSONAL_MODEL.md
Outputs¶
- AI contributor behavior
- AI transform governance
- prompt and orchestration design
- review expectations
AI Generation Rules¶
AI systems should describe governance that remains stable across models, providers, and orchestration frameworks.
Validation¶
The constitution should still hold if Renderflow changes providers or expands AI surfaces.
Acceptance Criteria¶
- AI governance principles are explicit.
- Human authority is clear.
- Behavioral expectations and limits are documented.
- The constitution remains provider-independent.
AI Authoring Strategy¶
AI systems should:
- read identity, methodology, and personal-model documents,
- define enduring AI behavior rules,
- preserve human authority,
- separate governance from implementation prompts.
Rationale & Context¶
Renderflow already supports AI-backed transforms and also benefits from AI-assisted contribution. Both uses need one governance model: AI can add leverage, but only when it stays subordinate to explicit intent, architectural constraints, and review.
Dependencies & External Integrations¶
Upstream Dependencies¶
PURPOSE.mdVISION.mdMANIFESTO.mdPRINCIPLES.mdMETHODOLOGY.mdPERSONAL_MODEL.md
Downstream Dependencies¶
- AI contributor workflows
- AI transform policy
- review and escalation paths
- documentation guidance
Examples & Edge Cases¶
Example¶
An AI coding assistant may propose a plugin-related change, but it should still explain the change, respect repository constraints, and defer uncertain design judgments to human review.
Edge Case¶
If an AI transform provider is unavailable, Renderflow should degrade according to documented behavior rather than imply that AI participation is mandatory.
Validation Criteria¶
This document is valid when both AI-assisted engineering and AI-backed runtime features can be governed by the same stable rules.
Related Specifications¶
.github/specs/architecture/document.spec.md.github/specs/architecture/meta/ai-constitution.spec.md