# Phase 2 shipped: Contracts and doctor

> Deployment discovery, strict native-file contracts, deterministic doctor diagnostics, and approved local reconciliation are available.


Phase 2 made local deployments and templates discoverable, diagnosable, and
safe to reconcile without contacting providers.

## What shipped

- Deterministic deployment discovery and target resolution.
- Strict parsing and validation of ainfra-owned contracts.
- Stable text and JSON doctor findings across supported scopes.
- Plan-before-write reconciliation for contained local artifacts.
- Negative tests for malformed, ambiguous, and unsafe inputs.

Read the complete
[Phase 2 development note](https://github.com/projectious-work/ainfra/blob/v1.x-dev/dev-notes/phase-02-contracts-and-doctor.md)
or inspect
[v1.0.0-alpha.2](https://github.com/projectious-work/ainfra/releases/tag/v1.0.0-alpha.2).


---
Source: https://projectious-work.github.io/ainfra/changelog/phase-2-contracts-and-doctor-shipped/index.md
