Context
build_pending_ops_summary (src-tauri/src/commands/settings.rs) hand-parses pending-op payload JSON with a hardcoded flag list, because PendingOpPayload is private to driven-core::executor.
Cross-reference comments exist on both sides today to keep the two in sync manually, but drift has already happened once: client_op_uuid was missing from the hand-parsed list until PR #279's final commit added it.
Ask
Expose the PendingOpPayload struct (or a purpose-built pub summary view) from driven-core, so build_pending_ops_summary derives its field list from the single source of truth in driven-core::executor instead of a hand-maintained parallel list in src-tauri.
Reference
PR #279 (fix(core): stream the resumable-upload resume instead of buffering the whole file) - deferred hardening item from its multi-agent review, which found and fixed the client_op_uuid drift.
Context
build_pending_ops_summary(src-tauri/src/commands/settings.rs) hand-parses pending-op payload JSON with a hardcoded flag list, becausePendingOpPayloadis private todriven-core::executor.Cross-reference comments exist on both sides today to keep the two in sync manually, but drift has already happened once:
client_op_uuidwas missing from the hand-parsed list until PR #279's final commit added it.Ask
Expose the
PendingOpPayloadstruct (or a purpose-builtpubsummary view) fromdriven-core, sobuild_pending_ops_summaryderives its field list from the single source of truth indriven-core::executorinstead of a hand-maintained parallel list insrc-tauri.Reference
PR #279 (fix(core): stream the resumable-upload resume instead of buffering the whole file) - deferred hardening item from its multi-agent review, which found and fixed the
client_op_uuiddrift.