lib/cmetrics/docs/ai/dependency-update.md
Update a Git submodule revision without mixing dependency implementation changes into CMetrics.
Use for lib/cfl and lib/fluent-otel-proto revisions.
.gitmodules, the current recorded revision, candidate commits/tags,
and the dependency's release notes or diff.Update only the gitlink unless CMetrics requires a separate adaptation. Keep adaptations explicit and avoid editing the submodule as uncommitted content.
Run scripts/agent-verify.sh, relevant codec tests, and compiler/platform checks
affected by the dependency. For memory or performance changes, follow the
specialized workflows. Validate downstream consumers after CMetrics passes.
Report old/new revisions, included upstream changes, CMetrics adaptations, standalone results, downstream results, and landing order.
Stop if the revision is not available upstream, includes unexplained generated changes, requires an undocumented compatibility break, or cannot be tested in the owning dependency first.