fix(land): refuse mismatched hosted merge modes
Cloud now sends mergeMode, but the released land example discards it and chooses the repository config independently. An auto run with a shadow config can complete without a push and be interpreted by Cloud as landed.
Retain and validate the optional mode, and refuse mismatches against the pinned or persisted config before review, agent or push work and before terminal/already-advanced replays. Matching modes keep their existing behavior; local runs may omit the field. No runtime package or model gate changes, no npm release, and no deployment in this PR.
Validation (Node v22.22.2):
PATH=/Users/khaliqgant/.nvm/versions/node/v22.22.2/bin:$PATH npm --prefix examples/land run typecheck
PATH=/Users/khaliqgant/.nvm/versions/node/v22.22.2/bin:$PATH npm --prefix examples/land test
Both exit 0; 90 passed, 0 failed. With the four regression cases added before implementation, 3 failed and 1 passed. Commands and literal captured outputs: examples/land/evidence/hosted-mode/verification.md and its sibling transcripts. Hosted execution is not yet verified.
Human merge required; the land deployment owner handles redeployment after merge.
![Autofix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark-3x.png)
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Agent Relay sessions