Dynamics 365 / Dataverse
Agent-first solution orchestration on top of Microsoft's pac CLI. Deterministic receipts, plan locking, drift detection, and destructive intent gating — without replacing your existing ALM toolchain.
What You Get
Deterministic Receipts
Every pack apply produces a timestamped artifact bundle: before/after snapshots, manifest.json, compare.json, raw pac logs, and SUMMARY.md.
Plan Locking
Plans record a baseline fingerprint (SHA-256 of the remote manifest) and a toolchain fingerprint. Apply fails fast if either drifts.
Drift Detection
Run g-gremlin dynamics drift at any time to compare your local solution folder against the remote environment.
Destructive Intent Gating
--force-overwrite and --allowDelete are dual-key gated: declare intent in destructive.yaml AND enable in pack.yaml.
Smoke Assertions
Define post-apply checks: solution exists, version >= X, table exists, workflow active. Failed assertions exit non-zero.
Full pac Log Capture
Raw stdout/stderr from every pac subprocess call is saved to pac_logs/ inside the artifact bundle.
Example Flows
$ g-gremlin dynamics doctor --json
✓ pac CLI: 1.35.6
✓ Auth: admin@contoso.com (Public)
✓ Solutions: 12 found
Status: ok
$ g-gremlin dynamics snapshot --solution MySolution --out ./baseline
Snapshot written to ./baseline
49 files | entity: 5 form: 12 view: 8 workflow: 3 webresource: 15 other: 6
$ g-gremlin dynamics pack plan .
+3 files -1 file ~5 changed
entity: +1 ~2 | webresource: -1 ~1 | form: ~2
$ g-gremlin dynamics pack apply . --yes
Applied. Artifacts: ./artifacts/20260128T153000Z/
SUMMARY.md written.
Dynamics MCP Server
NewGive Claude Desktop, Cursor, or Windsurf direct Dataverse access with 16 MCP tools. Query tables, describe schemas, and create/update/delete records and tables — all behind plan-hash verification.
See the MCP Server →Ready to try it?
Start with the Agent free trial. Run your first Dynamics snapshot in under five minutes.