Skip to content

workstreams: Bring along files into organizations and Fold with Undo - #2778

Merged
santoshkumarradha merged 11 commits into
santosh/workfrom
wave-n-bring-fold
Nov 17, 2026
Merged

santoshkumarradha merged 11 commits into
santosh/workfrom
wave-n-bring-fold

Conversation

@santoshkumarradha

@santoshkumarradha santoshkumarradha commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

Summary

Bring along → upload bytes + file provenance + task links
Fold → move tasks/files/decisions → remove source → guarded Undo

Organization imports carry Files, non-Factory tasks and threads; to brings a chat's limited package into an existing destination. from_chat preserves attachment provenance without changing the maker. Imports use the existing upload envelope rather than the 1 MiB JSON-only limit.

Fold requires governance on both sides, keeps destination people/rules, and refuses working tasks or nested sources until resolved. A durable receipt protects Undo from overwriting later work. The older parent-only Fold door uses the same complete move. Manual, protocol and change entry are included. Desk companion #593 is merged.

Evidence

  • Before: Fold rejected fold_into; imports omitted Files, and the ordinary JSON cap rejected large uploads.
    After: fresh HTTP tests pass for complete Fold/Undo, later-edit protection, task identities, upload bytes, provenance, and a 2 MiB upload.
  • Latest-trunk make build and fresh focused proof pass. Earlier vet and changelog checks pass.
  • The owner lane's clean-rebase exception is applied. The full queued pr-ready did not run.

Merge Danger

Door: one-way

Fold receipts use a new table; an older build cannot Undo them. Content remains in the destination, and this build can restore it while the receipt matches.

Blast Radius: workstreams

santoshkumarradha and others added 11 commits November 17, 2026 16:39
@santoshkumarradha

Copy link
Copy Markdown
Member Author

Local proof on head 9ca1d2f, cleanly rebased onto the updated santosh/work:

  • make build: pass.
  • make test-focus PKGS=./internal/factory/serve RUN='TestFold|TestImportBrings|TestAChildFoldsBack' TEST_FLAGS=-count=1: pass, fresh.
  • Earlier make vet and make changelog-check: pass.
  • Local standards/spec review completed; fixes include the older Fold door, atomic receipts, live-document moves with compensation, attachment provenance, preserved task links, and the upload-sized request decoder.
  • Companion desk do: a delivery the gate could not judge is never ok #593 is merged with its production build, touched UI/browser checks, full workstreams Rust suite and core wire/fmt/Clippy proof posted there.

The full pr-ready stayed queued on the shared lock and did not run. Only this lane's waiting process was stopped. Applying the exact owner lane rule: "After a clean rebase onto a moved trunk, build plus focused tests is enough." This merge uses that exception, not a claim that the full gate passed.

@santoshkumarradha
santoshkumarradha marked this pull request as ready for review November 17, 2026 21:42
@santoshkumarradha
santoshkumarradha merged commit bba7e6b into santosh/work Nov 17, 2026
1 check passed
@santoshkumarradha
santoshkumarradha deleted the wave-n-bring-fold branch November 17, 2026 21:42
@santoshkumarradha

Copy link
Copy Markdown
Member Author

Correction to the earlier proof note: changelog-check had rejected the unsupported surface label desk; my earlier pass claim was incorrect. Follow-up #2786 corrects both entries to the supported app label. Its fresh check reports 935 entries, all well formed. Runtime build/focused proof remains valid; full pr-ready did not run.

ZeroPoint95 pushed a commit that referenced this pull request Nov 24, 2026
…2778)

Bring along carries upload bytes, attachment provenance and task links into organizations. Fold moves work into another workstream, removes the source and keeps a guarded Undo receipt. The older parent-only door uses the same behavior.

Local proof: build and fresh focused HTTP tests pass after clean rebase onto updated santosh/work, under the owner's explicit clean-rebase exception. Earlier vet and changelog checks pass. Full queued pr-ready did not run. Desk companion #593 is merged.

Assisted-by: CodeAF
Co-Authored-By: CodeAF <[email protected]>
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