# AI-Assisted Development Models

## Current Coordinates

* AI-assisted development requires models that make machine-speed work observable, controllable, and recoverable.
* The central problem is no longer code generation speed, but the ability to frame, verify, and recover the work before and after AI acts.
* These models turn AI-assisted development from improvisational prompting into an operating system.

This methodology specification defines a practical framework for AI-assisted software development.

It organizes three development models, one feedback loop, and a shared vocabulary for making AI-assisted work observable, controllable, and recoverable.

In AI-assisted development, the bottleneck is no longer the speed of code generation.

The real challenge is ensuring that generated code follows the right requirements, constraints, boundaries, and completion criteria.

The three development models are:

* **Stargazer Model**
* **Observatory Model**
* **Orbital Model**

## Core Thesis

Code generation is no longer the center of gravity in software development.

When AI can generate code faster than humans can review it, the real engineering problem drifts elsewhere. It moves toward observation, constraint, boundary, verification, and recovery.

An AI-assisted workflow without an observation system is not progress. It is uncertainty moving at machine speed.

The value of the developer is no longer measured by how quickly code can be written, but by how clearly the work can be framed before AI begins to act.

A developer must draw the frame: what the system should observe, what the AI must preserve, what it may reshape, what it must never break, and how the result will be judged.

In the AI era, engineering begins before implementation.

It begins by drawing the observation system.

## Observation System

An observation system is a set of requirements, constraints, boundaries, completion criteria, regression signals, and verification procedures that make AI-assisted work reviewable, controllable, and recoverable.

Before AI begins to touch code, the developer must make the work observable: what should happen, what must be preserved, what may be changed, what must never break, and how the result will be judged.

> ⚠️ Without this frame, AI can still generate code. But the work becomes harder to review, harder to trust, and harder to recover when it drifts.

In this document, the observation system is the line that separates controlled AI-assisted development from simple code generation.

## Development Models

### Stargazer Model

The Stargazer Model begins with discovery.

AI generates the first visible shape before the observation system is fully drawn. The developer then inspects the result, detects mismatches, and corrects the direction through repeated prompts or direct edits.

> ⚡ Its strength is speed. This model works well when speed matters more than structural certainty: prototypes, throwaway experiments, early UI sketches, and idea validation.

> ⚠️ Its risk appears when the generated result hardens before the structure is understood. Requirements are discovered after implementation, boundaries are drawn after changes have already spread, and regression risks surface late.

> “I have looked further into space than ever human being did before me.”\
> — William Herschel

### Observatory Model

The Observatory Model begins with framing.

Before AI begins to generate or reshape code, the developer draws the observation system: requirements, constraints, boundaries, completion criteria, regression signals, and verification procedures.

In this model, AI does not start from an empty sky. It works inside a visible frame. The developer defines what must be preserved, what may be changed, what must never break, and how the result will be judged.

The Observatory Model turns AI-assisted development from code generation into controlled engineering work.

> 🧭 Its strength is control. This model works well for production code, team development, API contracts, data consistency, permission logic, security-sensitive flows, and long-term maintainability.

> ⚠️ Its cost is preparation. The observation system must be drawn before implementation begins, and a poorly drawn frame can still guide AI in the wrong direction.

> “Measure what is measurable, and make measurable what is not so.”\
> — Galileo Galilei

### Orbital Model

The Orbital Model begins with a center.

Instead of drawing the full observation system in advance, the developer fixes the core requirement, regression boundary, and no-crossing zone first. AI is then allowed to explore implementation candidates within that orbit.

In this model, AI does not move freely, but it does not stand still either. It searches, reshapes, and compares possible implementations while remaining bound to the center that must not be lost.

> ⚡ Its strength is controlled exploration. This model works well for UI flows, dashboards, report screens, documentation structure, internal tools, library adoption, and situations where multiple implementation candidates need to be compared quickly.

> ⚠️ Its risk appears when the center is weak. If the core requirement, regression boundary, or no-crossing zone is unclear, exploration can drift back into the Stargazer Model.

> “Give me a place to stand on, and I will move the Earth.”\
> — Archimedes

## Feedback Loop

### Anomaly Loop

The Anomaly Loop begins with deviation.

It governs the response after deviation appears.

An anomaly may be a local implementation defect, but it may also reveal that the observation system itself is incomplete, distorted, or drawn from the wrong coordinates.

The response depends on what the anomaly reveals.

**Mending**

Mending is used when the observation system remains valid and the anomaly is limited to a local implementation defect.

In this case, the existing requirements, constraints, boundaries, completion criteria, and verification procedures can stay in place. The broken part can be repaired inside the current frame.

Mending handles the crack without redrawing the frame.

**Diagnosis**

Diagnosis is used when the cause of an anomaly is not yet clear.

Instead of asking AI to patch the visible failure immediately, the developer asks AI to inspect the anomaly: what changed, which requirement may have been violated, which boundary may have drifted, and which recovery paths are available.

In this mode, AI expands the diagnostic field. The developer chooses the path.

Diagnosis is useful when the anomaly may come from multiple sources: implementation logic, missing context, unclear requirements, weak constraints, incomplete tests, or an unexpected interaction with existing code.

**Recalibration**

Recalibration is used when the anomaly reveals that the observation system itself was drawn from the wrong coordinates.

The issue is not limited to a broken implementation. A requirement may be missing, a constraint may be too weak, a boundary may be unclear, or the completion criteria may not reflect the actual work.

In this case, the developer adjusts the frame before asking AI to continue: requirements, constraints, boundaries, completion criteria, regression signals, and verification procedures are refined into sharper coordinates.

Recalibration prevents AI from moving faster along the wrong path.

**Return to Origin**

Return to Origin is used when the current attempt has moved too far along a distorted frame.

At this point, continuing to patch the result can make the work harder to trust. The developer returns to a recorded origin, recalibrates the observation system, and runs the operation again with sharper coordinates.

An origin may consist of multiple recorded coordinates: a saved instruction, a prompt artifact, a requirement note, a design decision, an operation log, a system snapshot, or another stable baseline.

Return to Origin is a recursive return to the coordinates where the operation began.

The failed attempt is preserved as observational evidence: which constraint was missing, which boundary failed, which assumption became unstable, and which instruction pulled the work away from its intended path.

The next attempt begins from the origin again, but not from the same understanding.

The origin is the same.

The observer has changed.

The prompt becomes sharper.

The frame becomes more precise.

The loop carries memory forward.

> “The errors are not in the art, but in the artificers.”\
> — Isaac Newton, *Principia*

## Model Relationship

The three models describe how AI-assisted work begins.

The Stargazer Model begins with discovery.\
The Observatory Model begins with framing.\
The Orbital Model begins with a center.

The Stargazer Model can sometimes produce elegant garbage: polished, coherent, and structurally seductive, yet built on weak or missing constraints.

If treated as a disposable signal rather than an accepted result, it can still reveal the shape of a missing center.

That discovered center can become the starting point of the Orbital Model.

The Anomaly Loop begins later, when deviation appears.

Together, these concepts form a practical map for AI-assisted development: discover quickly, frame carefully, explore within a center, and transform anomalies into a sharper observation system.

These models form the underlying elements of a larger way to reason about AI-assisted development.

The following diagram maps these concepts onto a practical AI-assisted workflow.

```mermaid
flowchart LR
	A[Issue / Requirement / ADR / API Spec] --> B[Observation System]
	B --> C[AI Agent]
	A --> D[Repository Context / Knowledge Base]
	D --> C
	C --> E[Implementation Candidate]
	E --> F[Sandbox / Local Verification]
	F --> G[Tests / Static Analysis / Security Check]
	G --> H[Trace / Eval / Approval]
	H --> I[PR / Release]
	H --> J[Anomaly Loop]
	J --> B
	J --> A
```

> “Information is information, not matter or energy.”\
> — Norbert Wiener

## Model Selection Matrix

| Model             | Entry Point  | Operational Context                                                                          | Primary Leverage           | Systemic Risk                                                                  |
| ----------------- | ------------ | -------------------------------------------------------------------------------------------- | -------------------------- | ------------------------------------------------------------------------------ |
| Stargazer Model   | Discovery    | Objective is ill-defined; exploration velocity takes precedence over structural certainty.   | High-velocity discovery    | Output hardens into legacy before constraints are mapped.                      |
| Observatory Model | Framing      | Impact spans production code, team workflow, data consistency, or architectural maintenance. | Comprehensive auditability | A distorted frame systematically misguides the machine loop.                   |
| Orbital Model     | Fixed Center | Multiple execution paths must be tested while anchoring a non-negotiable requirement.        | Centripetal exploration    | A decaying center forces the workflow to drift back into the Stargazer state.  |
| Anomaly Loop      | Deviation    | Output has drifted, failed verification, or exposed an edge case in the validation system.   | Rapid recalibration        | Treating a systemic flaw as a localized defect conceals an architectural bias. |

## Usage Strategy

Use the Stargazer Model when discovery matters more than certainty.

It is useful for prototypes, throwaway experiments, early UI sketches, and idea validation. The goal is to reveal the first visible shape quickly, then inspect whether the direction is worth keeping.

Use the Observatory Model when control matters more than speed.

It is suitable for production code, team development, API contracts, data consistency, permission logic, security-sensitive flows, and long-term maintainability. The work begins by drawing the observation system before AI begins to act.

Use the Orbital Model when exploration is needed, but the center must not be lost.

It works well when multiple implementation candidates need to be compared quickly, as long as the core requirement, regression boundary, and no-crossing zone remain fixed.

Use the Anomaly Loop when the result begins to drift.

An anomaly may be more than a simple failure. It may require mending, diagnosis, recalibration, or a return to origin.

## Closing Thesis

AI-assisted development does not end with faster code generation.

Its real value appears when the developer can draw the frame, guide the exploration, observe deviation, and transform what was learned into a sharper system.

The future of development belongs not to those who ask AI to write more code, but to those who can make the work observable, controllable, and recoverable.

Beyond code generation, engineering begins with observation.

> “In the fields of observation, chance favors only the prepared mind.”\
> — Louis Pasteur

## Related Coordinates

* Read [Ride, Don’t Race](/cosmic-horizon/perspective/ride-dont-race.md) to understand the core perspective behind working with AI rather than racing against it.
* Read [The Paradox of the Human Auditor](/cosmic-horizon/operating-system/the-paradox-of-the-human-auditor.md) to examine why human review alone is not enough without structured verification.
* Read [The Burden of Plain Speech](/cosmic-horizon/operating-system/the-burden-of-plain-speech.md) to explore how clear instructions become reusable artifacts in AI-assisted work.
* Read [Why We Study](/cosmic-horizon/perspective/why-we-study.md) to connect these operating models with the literacy required to judge AI-generated output.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://riu-salze-studio.gitbook.io/cosmic-horizon/operating-system/ai-assisted-development-models.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
