# `zig_manifest_proposal`

Emits proposed native manifest bytes and a source transaction. Normally generated by [`zig_dependency_update`](/reference/prelude/zig_dependency_update).

| Attribute | Type | Required | Meaning |
| --- | --- | --- | --- |
| `source` | string | yes | Exact original manifest text |
| `proposed` | string | yes | Proposed native manifest text |
| `destination` | string | yes | Workspace-relative destination |
| `reads` | list | no | Semantic input preconditions, each containing `path` and `expected` |

The `deps` role accepts artifact producers. The `zig_manifest_proposal` provider exposes `proposed_manifest`, `transaction` and `artifact_root`. Outputs are `proposed.zon` and `transaction.json`.

The transaction names its destination, the exact original bytes' SHA-256 and the proposed bytes' BLAKE3. Its output path is relative to the separately supplied proposal directory. Read expectations use `{kind: "sha256", digest: "<raw SHA-256>"}` or `{kind: "absent"}`. The update resolver supplies the native manifest plus workspace, ancestor and package `struo.toml` preimages or observed absences. A manually declared proposal must supply its own semantic read set.

This target only writes declared outputs. A separate explicit source transaction must check both update preimages and semantic reads before publication; building or restoring this target does not change source files. Transaction read-set integration remains under verification.
