# Full Organization Model deploy contract

## Why this note exists

The deployment contract now requires SDK projects to deploy the full canonical `organizationModel`, not the internal `resourceGovernanceModel` projection. The SDK and API now parse deployment snapshots with `OrganizationModelSchema` before overlay validation or persistence, so partial governance projections will fail before they can become active deployment snapshots.

This fixes the class of production failures where an active deployment persisted only `systems`, `resources`, `topology`, `entities`, and `actions`, then the runtime resolver failed because referenced `roles`, `goals`, and `navigation` were absent.

## Applies to

All template-derived projects with an `operations/src/index.ts` deployment spec and a `core/config/organization-model.ts` canonical model.

## Required actions

1. Pull the new package baselines after the release train publishes:
   - `@elevasis/core`
   - `@elevasis/sdk`
2. Ensure `operations/src/index.ts` imports and passes the canonical full `organizationModel` from `@core/config/organization-model`.
3. Keep `resourceGovernanceModel` only for local compatibility assertions or profile assembly. Do not pass it as `DeploymentSpec.organizationModel`.
4. Redeploy the operations bundle so the active platform deployment persists a full model snapshot:
   - dev: `pnpm -C operations deploy`
   - prod: `pnpm -C operations deploy:prod`

## Verification

- `pnpm -C operations check`
- `pnpm -C core test -- organization-model`
- Confirm the active deployment Organization Model snapshot parses and includes full domains such as `roles`, `goals`, and `navigation`.
- Confirm acquisition/list or other OM-backed routes no longer fail with `MODEL_PARSE_FAILED`.

## Not handled by /git-sync

`/git-sync` can propagate template guidance and package baselines, but it does not install dependencies, publish packages, deploy the operations bundle, or verify the active platform deployment snapshot. Each derived project must run install/deploy and production smoke checks after syncing.
