Knowledge Portal · engineering documentation

Skip to content

AI Development Environment

Status: Permanent — Engineering Operating System v1.0
Applies to: Every Architecture, Planning, Prompt Design, Implementation, Review, Hardening, and Freeze workflow
Authority: Canonical reference for Developer, ChatGPT Desktop, Cursor Agent, OpenAI Codex, and Repository collaboration
Baseline (runtime): v4.2-public-experience-platform
Target freeze (EOS): v5.0-ai-development-environmentrelease doc
Asset index: ENGINEERING_INDEX.md
Design authority: runtime/specification/archive/phase-10-ai-development-environment-specification.md
Runtime authority: runtime/specification/engineering-runtime-platform.md (ERP Core)


Purpose

This document is the official AI Development Environment / Engineering Operating System (EOS) v1.0 methodology for the ZAIXOS Engineering Platform (ZEP) repository.

Every future phase must follow this methodology. It complements — and does not replace — docs/architecture/ (what must be built) and docs/releases/ (frozen baselines).

Supporting operational documents live in docs/development/. This document is the root authority for AI-assisted workflow, terminology, context rules, and tool responsibilities. Runtime Constraints, Runtime Procedures, Runtime Workflows, Runtime Delegation, and Runtime Context Providers are indexed in ENGINEERING_INDEX.md and specified in runtime/specification/engineering-runtime-platform.md (ERP Core).


Engineering Stack

Permanent layering — governance first, runtime abstraction second, vendor implementation last:

EOS (Engineering Operating System)
  ↓  what engineering governance is
ERP Core (Engineering Runtime Platform)
  ↓  abstract runtime concepts — IDE-agnostic
Runtime Adapter
  ↓  maps ERP Core to native IDE files (Adapter v1: Cursor)
Native IDE Runtime
  ↓  session execution (constraints, procedures, enforcement)
Human Authority (Architect + Developer)
  ↓  approval, review, freeze, Git
LayerAuthority documentRole
EOSThis document + Phase 10 specMethodology, manifests, templates, Architect workflow
ERP Coreruntime/specification/engineering-runtime-platform.mdAbstract runtime components, validation, adapter interfaces
Runtime Adapteradapters/cursor-adapter-v1/profile.md (v1)Native paths, formats, capability mapping
Native IDEAdapter profile + IDE vendor docsSession injection and execution

Rule: ERP Core never embeds vendor-specific normative terms. Cursor is Adapter v1 only — not the runtime specification.


Official Terminology

Use these canonical terms in all development documentation, prompts, and reviews.

TermDefinition
Engineering Operating System (EOS)Permanent engineering governance — methodology, manifests, templates, lifecycle
Engineering Runtime Platform (ERP Core)IDE-agnostic runtime abstraction — constraints, procedures, workflows, delegation, enforcement, context
Runtime AdapterVendor-specific mapping of ERP Core to native IDE files and formats
Native IDE RuntimeSession-time execution layer (injection, procedures, enforcement)
Runtime ImplementationScoped code or documentation work executed via Runtime Adapter
Runtime Implementation ContextMaterial scoped for Runtime Implementation (indexing, @files, open editors)
Runtime ValidationManual and automated checks proving adapter parity with ERP Core and EOS manifests
ERP ReportFormat A or Format B deliverable from a Runtime Implementation pass
AI Development EnvironmentThe five-component collaboration system: Developer, Repository, ChatGPT Desktop, Runtime Adapter tools, OpenAI Codex
DeveloperHuman owner of approvals, freeze, releases, and Git decisions
RepositoryGit working tree — single source of truth for code, tests, and governance docs
ChatGPT DesktopArchitect tool — IDE integration, uploads, multi-modal review
ArchitectThe architecture/review role performed by ChatGPT Desktop (not Runtime Implementation agents)
Architect ContextAll material shared with ChatGPT Desktop for planning, specification, or review
Live ContextExactly one active editor tab shared via ChatGPT Desktop IDE bridge
Uploaded ContextFiles manually attached in ChatGPT Desktop
Visual ContextScreenshots, images, PDFs shared with ChatGPT Desktop
Text ContextPasted terminal output, logs, ERP reports, markdown snippets
Runtime Adapter v1 (Cursor)First supported Runtime Adapter — see adapters/cursor-adapter-v1/profile.md
Cursor AgentCursor-native prompt-driven implementation agent (Adapter v1)
OpenAI CodexAutonomous Implementation Agent inside Cursor (Adapter v1)
Autonomous Implementation AgentCodex's role — multi-step execution without per-step paste

Legacy term: Context File referred to Runtime Implementation Context in older documentation. Use Runtime Implementation Context unless citing legacy text.


AI Development Environment Overview

┌──────────────────────────────────────────────────────────────────────┐
│                  Repository (source of truth)                           │
└───────────────────────────────┬──────────────────────────────────────┘

     ┌──────────────────────────┼──────────────────────────┐
     │                          │                          │
     ▼                          ▼                          ▼
┌─────────────┐      ┌──────────────────┐      ┌─────────────────────┐
│  Developer  │      │ ChatGPT Desktop  │      │   ERP Runtime Layer │
│             │◀────▶│    (Architect)   │      │  Adapter → Native   │
└─────────────┘      └──────────────────┘      │  IDE (Adapter v1)   │
                                               └─────────────────────┘
ComponentAuthority level
DeveloperFinal approval — architecture, implementation, freeze, releases, Git
ChatGPT DesktopArchitecture authority — specifications, reviews, prompt design
Runtime Adapter + Native IDERuntime Implementation — no architecture authority
RepositorySource of truth — overrides chat assumptions

Official Context Hierarchy

Architect Context for ChatGPT Desktop follows this permanent priority:

Live Context

Uploaded Files

Images / PDFs

Copied Specifications

Conversation History

General Knowledge

Rules

RuleDetail
Live Context = one tabExactly one active editor tab via IDE bridge; switching tabs replaces Live Context immediately
Uploaded files extend Architect ContextAdditional Primary documents must be uploaded — not assumed from prior tabs
Runtime indexing is independentNative IDE runtimes use repository indexing, @files, @folders — ChatGPT does not
ChatGPT never indexes repositoriesNo automatic full-repo access; only explicit sharing counts as reviewed

Governance document priority (within Uploaded / Live)

When choosing which file to share first:

Release Docs → Architecture Docs → Development Docs → Implementation Files → External References

If Release Docs conflict with Conversation History, Release Docs win. If Specifications conflict with implementation, Specifications win (until formally revised by Architect).

Runtime Implementation Context (separate channel)

Runtime Implementation Context for Runtime Adapter / Native IDE sessions includes:

  • Repository indexing
  • Open editors
  • @files / @folders
  • Selections
  • Terminal output
  • Git history (when available)

ChatGPT does not consume Runtime Implementation Context unless Developer copies it into Text Context.

Legacy term: Implementation Context and Cursor Context — use Runtime Implementation Context.


Official AI Responsibilities

Developer

ResponsibilityDetail
Architecture approvalAccepts or rejects Architect recommendations before implementation
Implementation approvalReviews Runtime Implementation output before sharing with Architect
FreezeExecutes backup, commit, tag, push on Architect instruction only
ReleasesOwns release doc hash update timing with Architect guidance
Git decisionsFinal authority on destructive or out-of-scope Git operations

ChatGPT Desktop (Architect)

ResponsibilityDetail
ArchitectureModule design, boundaries, contract-first patterns
SpecificationsPhase architecture specs — design-only before code
ReviewsRESPONSE_TEMPLATE.md after every implementation pass
PlanningScope, baseline verification, non-goals
Prompt generationRuntime Implementation prompts for approved specifications
DocumentationMethodology, release doc guidance, governance alignment

Runtime Implementation (Adapter v1: Cursor Agent / Codex)

ResponsibilityDetail
Repository understandingWorkspace indexing and navigation via Runtime Adapter
ImplementationScoped changes within authorized Runtime Implementation prompts
NavigationCross-file edits within prompt scope
RefactoringStructural changes when explicitly prompted
Project-wide editsMulti-file updates under Developer + Architect authorization

Adapter v1 native tools: Cursor Agent (prompt-driven) · OpenAI Codex (autonomous, terminal-heavy).

Repository

ResponsibilityDetail
Source of truthCode, tests, docs/architecture/, docs/development/, docs/releases/

Official Development Workflow

Canonical lifecycle for every phase:

Idea

Architecture

Specification

Prompt Design

Implementation

Review

Hardening (if required)

Freeze

Release

Stage reference

StagePrimary AISecondary AIContext sourceExpected deliverables
IdeaDeveloperChatGPT DesktopConversation; optional Visual/TextProblem statement, scope hypothesis
ArchitectureChatGPT DesktopDeveloperLive Context: architecture doc; Upload: release docApproved direction, constraints, non-goals
SpecificationChatGPT DesktopDeveloperLive Context: spec or MODULE_BOUNDARIES.md; Upload: reference platformArchitecture Specification (no code)
Prompt DesignChatGPT DesktopArchitect prior outputs; governance refsReady-to-paste Runtime Implementation prompt
ImplementationRuntime Adapter (Native IDE)Developer monitorsRuntime Implementation Context: @files, @folders, indexingCode, tests, ERP report (Format A)
ReviewChatGPT DesktopDeveloper deliversText Context: ERP report; Upload: tests/config; Live: key fileRESPONSE_TEMPLATE (nine sections — ERP v1.0), Decision
HardeningRuntime Adapter (Native IDE)ChatGPT DesktopRuntime Implementation Context per hardening promptCorrective/additive changes, updated ERP report
FreezeDeveloperChatGPT Desktop instructsText: git status, test output; Upload: release draftBackup, commit, tag, push per GIT_FREEZE_PROCEDURE.md
ReleaseChatGPT Desktop validatesDeveloper executesUpload: final docs/releases/{version}.mdTagged baseline, remote verified, next phase declared

Hardening repeats Implementation → Review until Decision is Approved. See DEVELOPMENT_WORKFLOW.md for the Architecture Review Loop.

Tool selection at Runtime Implementation

SituationPreferred native tool (Adapter v1)
Architecture-sensitive, tight scopeCursor Agent
Repetitive, multi-step, terminal-heavyOpenAI Codex (after architecture approval)
Documentation-only phaseCursor Agent (or Codex with doc folder scope)

Capability Matrix

Canonical comparison — ChatGPT Desktop (Architect) vs Runtime Implementation native tools (Adapter v1: Cursor Agent · OpenAI Codex).

CapabilityChatGPT DesktopCursor AgentOpenAI Codex
Repository indexingNoYesYes
Active editor access (Live Context)Yes — one tabYes — multiple tabsYes — via Cursor
Multi-file contextNo (Upload only)YesYes
Uploaded filesYesN/AN/A
ImagesYesPartialPartial
PDFsYesLimitedLimited
MarkdownYes (Live/Upload/Text)YesYes
Architecture reviewYes — authorityNoNo
ImplementationNoYesYes
Autonomous executionNoLimitedYes — primary
TerminalNoYesYes
GitNoOn Developer requestWhen authorized in task
TestingNoYesYes
PlanningYes — architecturePrompt-scopedYes — plan mode
Background executionNoLimitedYes
Prompt generationYes — authorityNoNo

Official Best Practices

Architecture work

  • Keep architecture documents as Live Context during Architecture and Specification stages.
  • Upload additional documents manually when multiple files are required — never rely on tab switching alone.
  • Architecture decisions always originate from ChatGPT Desktop (Architect).

Runtime Implementation work

  • Allow the Runtime Adapter to use repository indexing and @ references during implementation.
  • Use OpenAI Codex only after architecture approval — never before Specification is accepted (Adapter v1).
  • Review all Runtime Implementation output before sharing ERP report with Architect.
  • Prefer Cursor Agent for boundary-sensitive platform modules (Adapter v1).

Review and freeze

  • Never freeze code that has not passed Architecture Review with Decision: Approved.
  • Paste ERP reports as Text Context — they are not automatically visible to Architect.
  • Freeze Git is Developer-only on Architect instruction — even if a native tool ran git during a task.

Context hygiene

  • Confirm which tab is Live Context before requesting Architect review.
  • Close unrelated IDE tabs to reduce Runtime Implementation Context noise.
  • Label pre-existing issues explicitly in ERP reports.

Permanent Rules

These rules are immutable unless changed through an explicit documentation phase.

#Rule
1ChatGPT never assumes repository state — verify via Text Context (git status, test output)
2Runtime Implementation never becomes the architecture authority
3Autonomous agents never become the architecture authority
4Live Context is temporary — one active tab; not retained on switch
5Uploaded files become conversation context — persist in chat; Live Context does not
6Repository remains the source of truth
7Specifications override implementation — until Architect revises specification
8Frozen architecture cannot be bypassed — see FREEZE_POLICY.md
9Architecture precedes implementation — no implementation prompt before approved Specification
10No freeze without Approved — Architecture Review Loop must exit with Decision: Approved
11Developer owns freeze Git — Architect instructs timing only
12ERP reports require Architect review — Runtime Implementation output is not self-approved

Future AI Integration

Distinction: This section covers development tooling (ChatGPT Desktop, Runtime Adapters, native IDE agents). The product AI architecture — AI workers, Platform Contract consumption, and the three-layer knowledge model — is defined separately in AI-Native Platform Architecture (ANPA).

New AI tools may be added as Runtime Adapters without redesigning EOS or ERP Core.

A new assistant must document only:

FieldQuestion answered
ResponsibilityWhat work it performs (architecture vs implementation vs execution)
Context capabilitiesLive, upload, indexing, terminal, etc.
Workflow stageWhich canonical stage(s) it participates in
Authority levelWhether it can approve architecture, implementation, or freeze

Integration procedure:

  1. Add the tool to the Capability Matrix in this document
  2. Update CHATGPT_CURSOR_COLLABORATION.md role table
  3. Update DEVELOPMENT_WORKFLOW.md stage table if workflow changes
  4. Do not weaken Permanent Rules or architecture governance

New tools default to implementation authority only unless explicitly promoted through architecture review.


DocumentRole
ENGINEERING_INDEX.mdCanonical index of EOS and ERP assets
runtime/specification/archive/phase-10-ai-development-environment-specification.mdEOS v1.0 design authority
runtime/specification/engineering-runtime-platform.mdERP Core design authority
adapters/cursor-adapter-v1/profile.mdRuntime Adapter v1 profile (Cursor)
../technical/TECHNICAL_ARCHITECTURE.mdProduct AI architecture methodology (ANPA) — separate from development tooling
DEVELOPMENT_WORKFLOW.mdOperational lifecycle, baseline verification, review loop
CONTEXT_FILE_POLICY.mdArchitect and Implementation Context delivery rules
CHATGPT_CURSOR_COLLABORATION.mdRole boundaries and collaboration flow
RESPONSE_TEMPLATE.mdArchitect review response format
PHASE_CHECKLIST.mdPre-baseline and Git freeze checklist
GIT_FREEZE_PROCEDURE.mdDeveloper Git commands at freeze

Repository is truth. Architect designs. Runtime Adapter implements. Developer approves and freezes.

ZAIXOS Knowledge Portal — public engineering docs at /docs · Staff operations at /admin