feat: ship concurrent collaboration harness

Implement frozen concurrent responses, Agent-negotiated V4 discussion work, strict durable receipts and recovery, validated runtime phase UI, and the animated return-to-bottom control. Prepare the 0.1.2 prerelease metadata and documentation.\n\nChecks before commit: frontend 299/299; desktop 1270/1270; deterministic eval 6 cases/18 results; web and desktop renderer builds; desktop pack; staged and unstaged diff checks.
This commit is contained in:
Ryder Sun committed 2026-08-17 11:35:32 +08:00
1 parent ccf0372954
commit ec6674d96a
154 files changed
+25789 -1166

No files matched your search

+50 -19
View File
@@ -1,29 +1,60 @@
# Changelog
## Unreleased public MVP release candidate
## 0.1.2 - 2026-08-17 (Meldwork-V1.0.2 prerelease candidate)
### Highlights
### Collaboration Harness V4
- Hardened durable group orchestration, crash recovery, Human Gates, Agent controls, and bounded run traces.
- Added validated image, media, document, code, Office, and archive attachments through picker, paste, and drag-and-drop flows.
- Added read-only staging when an Agent lacks native support for a selected attachment type.
- Removed the superseded Role Review module and kept review as a bounded two-Agent group workflow.
- Completed Agent, Knowledge, mock Cloud, and Channel framework contracts while keeping production Cloud and Channel connectors disabled by default.
- Changed the repository license to the Meldwork Non-Commercial Source License, with commercial use requiring separate written permission.
- Set the permanent macOS Bundle ID to `com.rydersun.meldwork` before the first public release.
- Upgraded Electron from 39.8.5 to 39.8.10 and refreshed vulnerable development-only transitive dependencies; complete frontend and desktop dependency audits now report zero known vulnerabilities.
- Replaced the legacy group reply label with Concurrent Responses while preserving the existing `manual` persistence and IPC value.
- Freezes one shared task snapshot before Scheduler leases, keeps every selected Agent in the batch, isolates same-batch replies, and commits completed replies in stable member order.
- Starts Auto Discussion with independent parallel proposals instead of assigning the first Agent as the primary author and every later Agent as a review-only participant.
- Lets the selected Agents challenge proposals and negotiate one responsibility graph. Harness validates unanimous agreement on the normalized plan, dependencies, permissions, and participant coverage instead of privately assigning the work.
- Runs distinct agreed work packages, selects one synthesis writer, and binds independent verification to the current candidate Artifact. Contradictions remain tracked issues until resolved.
- Adds strict structured collaboration receipts, bounded Artifact/Evidence references, compact delivery watermarks, phase-and-slot operation IDs, serialized Human Gates, and idempotent crash recovery.
- Preserves V1 manual, V2 Auto Discussion, and V3 Task Graph records on their legacy parsers and executors.
### Agent Runtime
- Normalizes supported CLI output into streaming answer deltas, plans, status, tool lifecycle events, warnings, and terminal results without exposing raw commands, local paths, secrets, or chain-of-thought.
- Improves Hermes streaming and tool-event capture while preserving its read-only SQLite final-result watermark and sanitized stdout fallback.
- Improves OpenClaw stream and tool-event normalization in the Connector protocol and keeps its managed runtime state, Provider secret handling, and permission policy isolated.
- Strips collaboration control blocks from user-visible messages, live deltas, durable traces, and later Agent context; invalid or missing required receipts fail the current phase.
### Interface
- Shows real collaboration phases for parallel divergence, cross-Agent challenge and negotiation, responsibility-based work, convergence, and independent verification.
- Adds group-scoped unlimited-mode confirmation and state-driven motion with keyboard, Escape, `aria-live`, narrow-layout, and reduced-motion support.
- Adds an animated return-to-bottom control to group and direct conversation timelines.
- Moves Agent message copy actions into the compact footer action row and hardens long-name, timestamp, and narrow-screen layout behavior.
- Keeps legacy round-zero trace labels neutral instead of relabeling historical responses as concurrent work.
### Durability And Safety
- Records V4 phases, batches, slots, attempts, frozen snapshots, dynamic roles, result references, delivery watermarks, commit state, and typed Gate state in the Run Ledger.
- Allows safe read-only recovery, requires a Human Gate before retrying an ambiguous writable slot, rejects late results after stop, and resumes batch commits idempotently.
- Keeps workspace writes opt-in. Concurrent replies, proposals, challenges, negotiated work, and verification remain read-only; only the synthesis writer receives write authority when enabled.
- Restricts renderer snapshots to validated phase, participant, role, progress, and Gate fields. Prompts, executable paths, native Session references, internal snapshot IDs, and unrestricted tool payloads remain main-process only.
### Packaging And Distribution
- Sets the desktop package version to `0.1.2` with permanent Bundle ID `com.rydersun.meldwork`.
- Produces Apple silicon DMG and ZIP prerelease candidates using ad-hoc signing. This is not Apple Developer ID signing or notarization and may require Open Anyway on first launch.
- Keeps `dist:public` as the fail-closed future formal-distribution path requiring a Developer ID identity, Hardened Runtime, complete Apple notarization credentials, and post-sign validation.
- Uses the Meldwork Non-Commercial Source License; commercial use requires prior written permission.
### Verification
- Frontend tests: 237 passed.
- Desktop tests: 842 passed.
- Web and Electron renderer builds passed without the previous 500 kB chunk warning.
- Apple silicon package validation and exact packaged direct/group attachment acceptance passed.
- Public distribution still requires Developer ID signing and Apple notarization.
- Release-candidate frontend tests: 299/299 passed; the exact final commit will be rerun before publication.
- Release-candidate desktop tests: 1270/1270 passed with zero failures or cancellations; the exact final commit will be rerun before publication.
- Release-candidate deterministic Eval Harness: 6 cases and 18 results passed; the exact final commit will be rerun before publication.
- Web and Electron renderer builds and `pack` passed on the release-candidate tree; they will be rerun from the exact final commit before publication. `dist` remains pending for that commit.
- Fresh DMG and ZIP SHA-256 values are intentionally not recorded until the exact final `dist` build completes.
- `codesign --verify --deep --strict` passed for a pre-final ad-hoc signed app; the exact final app must be verified again, and `spctl` rejection remains expected without Developer ID signing and notarization.
- A pre-final packaged candidate passed Codex, Claude Code, and Hermes streaming/tool lifecycle acceptance; final-source artifacts still require release verification.
- Exact packaged OpenClaw streaming/tool lifecycle acceptance and packaged Auto Discussion end-to-end acceptance remain unverified and are not release claims.
## 0.1.0 Private Preview 1 - 2026-08-03
This private preview packages the current Meldwork MVP for internal evaluation on Apple silicon Macs.
This private preview packages the initial Meldwork MVP for internal evaluation on Apple silicon Macs.
### Highlights
@@ -37,12 +68,12 @@ This private preview packages the current Meldwork MVP for internal evaluation o
### Distribution
- macOS Apple silicon: DMG and ZIP artifacts.
- Private preview only. The application is ad-hoc signed and not notarized with an Apple Developer ID.
- Windows and Intel Mac release artifacts are not included in this preview.
- Private preview only. The application was ad-hoc signed and not notarized with an Apple Developer ID.
- Windows and Intel Mac release artifacts were not included.
### License
Meldwork is source-available under PolyForm Noncommercial 1.0.0. Commercial use requires a separate written agreement.
Meldwork was source-available under PolyForm Noncommercial 1.0.0 for this historical preview. Commercial use required a separate written agreement.
### Verification