Skip to content

[codex] Sync local uploads into backend CDE files#41

Merged
ActiveInAI merged 1 commit into
mainfrom
codex/cde-upload-sync-20260518
May 18, 2026
Merged

[codex] Sync local uploads into backend CDE files#41
ActiveInAI merged 1 commit into
mainfrom
codex/cde-upload-sync-20260518

Conversation

@ActiveInAI

Copy link
Copy Markdown
Owner

Summary

  • Sync module file uploads into the backend CDE file API when the current folder is backend-writable.
  • Persist source checksums on module CDE file create and refresh checksums when file content is replaced.
  • Deduplicate local-upload nodes against backend CDE metadata by module, parent, name, size, and checksum so refresh does not show duplicates.
  • Document the checksum field in the OpenAPI/module file integration contract.

Validation

  • bun run test -- lib/module-file-api-client.test.ts lib/business-workflow.test.ts
  • bun run test
  • bun run typecheck
  • bun run lint
  • bun run build
  • cargo fmt --check
  • cargo check -p architoken-harness-core
  • cargo test -p architoken-harness-core module_files
  • cargo test -p architoken-harness-core
  • python3 tools/production_readiness_contract.py
  • Local runtime smoke: create/list/update/trash module CDE file with checksum; /app/modules and /app/modules/digital_twin return 200; /app/digital-twin returns 404.

@ActiveInAI ActiveInAI force-pushed the codex/cde-upload-sync-20260518 branch from eae16e7 to 3c71cca Compare May 18, 2026 01:59
@ActiveInAI ActiveInAI merged commit 9a85f51 into main May 18, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant