diff --git a/CHANGELOG.md b/CHANGELOG.md index 726057bc..ebd06952 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,29 +5,29 @@ ## [Unreleased] -### Added - -- #621: Add explicit task collaborators and responsibilities, validated dependency graphs, acceptance-based readiness, scoped delivery context and immutable execution snapshots with live project/review inspection. -- Versioned project task briefings: server-owned goal/task requirements and acceptance criteria enter execution and persist for conversation/review inspection, with stale-plan protection and preserved retry/approval bindings (#619). -- #617:接力任务支持可选本步要求,以及与模型输入一致的交接快照;可查看前序结果来源、裁剪和过滤提示,共享现有上下文预算并去除重复来源。新增本地记录字段,降级旧版本前请备份工作区。 +## [0.6.0] — 2026-10-21 ### Added -- #615: Show per-task execution progress in project cards, schedule rows, and the task editor. Reuse live stage events and exact persisted snapshots, recover on reconnect, and keep completed execution separate from delivery acceptance. -- #466:审批队列和详情展示可选 Jev 老化建议(`nudge` / `wait` / `discuss-close`),仅为文案。出站载荷只有 `{ createdAt, now, decision.kind, risk }`。overlay 不得隐藏 pending high,不得 POST decision,点击只打开事项。过期仍走现有 clock helpers。`ROLEWEAVE_LAYA_ENABLED` 默认关。https://github.com/bytefolk/roleweave/issues/422 +- #621: Add explicit task collaborators and responsibilities, validated dependency graphs, acceptance-based readiness, scoped delivery context and immutable execution snapshots with live project/review inspection. +- #619: Add versioned project task briefings: server-owned requirements and acceptance criteria enter execution and persist for conversation/review inspection, with stale-plan protection and preserved retry/approval bindings. +- #617: Add optional per-step relay requirements and persisted handoff snapshots matching model input, with source identities, filtering/truncation notices and shared context budgets. New local record fields can be rejected by older strict readers; retain a workspace backup for downgrades. +- #615: Show per-task execution progress in project cards, schedule rows and the task editor. Reuse live stage events and exact persisted snapshots, recover on reconnect and keep completed execution separate from delivery acceptance. +- #467: Add project-level, opt-in delivery preflight. Explicit versioned document references are checked for structure, broken links, version conflicts and modification time, without reading document bodies, calling Laya, changing goal status/health or issuing an overall acceptance decision. +- #466: Show optional approval aging advice in the queue and details when the default-off Laya integration is enabled. Advice uses only creation time, current time, decision kind and risk; it cannot hide high-risk pending approvals or submit a decision. ### Fixed -- Explain Codex ChatGPT-login model rejections with localized recovery and distinguish model catalog discovery from verified access (#613). -- #615: Validate Windows process ancestry by creation time so reused parent PIDs cannot attach unrelated processes to the packaged-app smoke test or its cleanup tree. -- #611: Preserve complete Codex employee questions and thread context on Windows by sending prompts through stdin. Chinese, multiline and long requests no longer lose their content through `.cmd` launchers; input-pipe failures produce a typed error. -- #609: Refresh the Codex employee model picker from the installed CLI's model catalog, preserve saved selections, and show stale/unavailable fallback status instead of silently relying on an outdated disk cache. +- #613: Explain Codex ChatGPT-login model rejections with localized recovery and distinguish catalog discovery from verified inference access. Keep the saved model and billing mode unchanged. +- #615: Validate Windows process ancestry by creation time so reused parent PIDs cannot attach unrelated processes to packaged-app smoke tests or their cleanup tree. +- #611: Preserve complete Codex employee questions and thread context on Windows by sending prompts through stdin. Chinese, multiline and long requests retain their content through command launchers; input-pipe failures produce a typed error. +- #609: Refresh the Codex employee model picker from the installed CLI catalog, preserve saved selections and show stale or unavailable fallback status when discovery fails. ## [0.5.0] — 2026-10-16 ### Added -- #467:Goals 详情新增项目级 opt-in 的“交付预检”。用户为每条验收标准显式选择带版本 `DocRef` 的文档材料;预检只核对引用结构、断链、版本冲突和 mtime,不读取正文、不调用 Laya、不写 `goal.status` / `goal.health`,也不会产生整体通过结论。Refs #422。- Buyer delivery acceptance details in the existing approval contract; refined shared-resource browsing and image previews; CXO company scenarios, execution teams and collaboration runbooks. +- Buyer delivery acceptance details in the existing approval contract; refined shared-resource browsing and image previews; CXO company scenarios, execution teams and collaboration runbooks. - 网盘面板支持直接选择并上传文件到 Mem,单文件最大 32 MiB,成功或去重后刷新清单;Windows 桌面向 WSL 控制面传送文件字节,文件路径留在桌面主进程。 diff --git a/README.md b/README.md index 7211e94d..9ffa54f0 100644 --- a/README.md +++ b/README.md @@ -25,20 +25,20 @@ For example, an open-source maintenance team can have a repository owner with th The [CXO reference library and company scenarios](examples/cxo-company/README.md) provide 25 optional functional roles, a three-role starter company, a nine-role product company and a nineteen-role delivery company with fourteen professional roles. Four team runbooks demonstrate product, engineering, marketing and delivery coordination through existing group routes, explicit handoffs and operator-controlled review/repair. The synthetic tasks deliver read-only plans and code drafts, not a deployed product. -The v0.5.0 source adds local WorkBuddy and Qwen Office client connections, improves Agent readiness checks, and refines employee settings, organization search, project layouts and rich conversation replies. See the [v0.5.0 notes](docs/releases/v0.5.0.md) for the release changes and [continuing work with an AI team](docs/thread-context-and-collaboration.md) for usage and limits. +The v0.6.0 source adds versioned task briefings and collaboration dependencies, traceable relay handoff notes, per-task execution progress, opt-in delivery preflight and approval aging advice. It also refreshes the Codex model catalog, explains account-specific model rejection, and preserves complete prompts on Windows. See the [v0.6.0 notes](docs/releases/v0.6.0.md) for the release changes and [continuing work with an AI team](docs/thread-context-and-collaboration.md) for usage and limits. Workspace auto-open diagnostics remain best-effort: an unavailable stderr stream does not turn a diagnostic write into a failed startup. The current source restores an accessible workspace you previously opened and honors explicit workspace overrides. Otherwise, it starts without a workspace; it does not create or open a demo automatically. This empty first-launch behavior ships with v0.2.0. ## Download -RoleWeave is an **early preview**. This source targets **v0.5.0**. The versioned downloads below become available when publication completes; use the [latest published release](https://github.com/bytefolk/roleweave/releases/latest) until then. +RoleWeave is an **early preview**. This source targets **v0.6.0**. The versioned downloads below become available when publication completes; use the [latest published release](https://github.com/bytefolk/roleweave/releases/latest) until then. | Platform | Download | | --- | --- | -| macOS, Apple Silicon | [DMG installer](https://github.com/bytefolk/roleweave/releases/download/v0.5.0/roleweave-0.5.0-arm64.dmg) · [ZIP archive](https://github.com/bytefolk/roleweave/releases/download/v0.5.0/roleweave-0.5.0-arm64.zip) | -| Windows, x64 | [EXE installer](https://github.com/bytefolk/roleweave/releases/download/v0.5.0/roleweave-0.5.0-x64.exe) | +| macOS, Apple Silicon | [DMG installer](https://github.com/bytefolk/roleweave/releases/download/v0.6.0/roleweave-0.6.0-arm64.dmg) · [ZIP archive](https://github.com/bytefolk/roleweave/releases/download/v0.6.0/roleweave-0.6.0-arm64.zip) | +| Windows, x64 | [EXE installer](https://github.com/bytefolk/roleweave/releases/download/v0.6.0/roleweave-0.6.0-x64.exe) | -See the [v0.5.0 release notes](docs/releases/v0.5.0.md) for changes and upgrade guidance and [all releases](https://github.com/bytefolk/roleweave/releases) for published packages. Intel Mac and Linux installers are not included in this release target. +See the [v0.6.0 release notes](docs/releases/v0.6.0.md) for changes and upgrade guidance and [all releases](https://github.com/bytefolk/roleweave/releases) for published packages. Intel Mac and Linux installers are not included in this release target. **Installation notes:** macOS packages are not Apple Developer ID-signed or notarized, and the Windows installer is not Authenticode-signed. Your operating system may show a security prompt on installation or first launch. The macOS update manifest has a separate cryptographic signature; this does not provide Apple code-signing trust. Windows updates use the HTTPS release feed and the installer's SHA-512 checksum, without publisher verification. Users of older Org Workbench development builds need to install RoleWeave manually once. Existing unsigned Windows builds that disable in-app installation also need one manual upgrade to a build containing this update change. diff --git a/apps/desktop/package.json b/apps/desktop/package.json index cc0ff3ab..074b7867 100644 --- a/apps/desktop/package.json +++ b/apps/desktop/package.json @@ -1,6 +1,6 @@ { "name": "@roleweave/desktop", - "version": "0.5.0", + "version": "0.6.0", "description": "Electron shell for RoleWeave. Spawns the local control plane and renders the org tree via a whitelisted IPC bridge.", "license": "Apache-2.0", "private": true, diff --git a/apps/desktop/renderer/test/delivery-preflight-panel.test.tsx b/apps/desktop/renderer/test/delivery-preflight-panel.test.tsx index 06fb6c76..a08c3ec4 100644 --- a/apps/desktop/renderer/test/delivery-preflight-panel.test.tsx +++ b/apps/desktop/renderer/test/delivery-preflight-panel.test.tsx @@ -102,8 +102,9 @@ describe("DeliveryPreflightPanel (#467)", () => { ); expect(await screen.findByTestId("delivery-preflight-panel")).toBeInTheDocument(); - expect(await screen.findByText("criterion-1")).toBeInTheDocument(); - fireEvent.click(await screen.findByRole("checkbox", { name: /Release evidence.*asset-release/ })); + const material = await screen.findByRole("checkbox", { name: /Release evidence.*asset-release/ }); + expect(screen.getByText("criterion-1")).toBeInTheDocument(); + fireEvent.click(material); fireEvent.click(screen.getByTestId("delivery-preflight-run")); await waitFor(() => expect(api.resolveDocRef).toHaveBeenCalledWith(doc.docRef)); diff --git a/docs/releases/v0.6.0.md b/docs/releases/v0.6.0.md new file mode 100644 index 00000000..163e0dfb --- /dev/null +++ b/docs/releases/v0.6.0.md @@ -0,0 +1,39 @@ +# RoleWeave 0.6.0 + +RoleWeave 0.6.0 adds versioned task briefings and collaboration dependencies, traceable relay handoff notes, per-task execution progress, opt-in delivery preflight and approval aging advice, and improves Codex reliability. It includes the eight commits after v0.5.0 through main revision `b69b9d8a2a0271b0084e38670e1add22b1454640`; the preparation commit synchronizes release versions and documentation. [Release record #623](https://github.com/bytefolk/roleweave/issues/623) tracks review, exact source checks, publication and independent asset verification. + +## Changes + +- Project briefings: capture server-owned goal/task requirements and acceptance criteria before execution, preserve the same versioned snapshot in conversations and human review, and reject stale plans before a model call. Retries and approval resumes retain their task/plan binding (#619, #620). +- Task collaboration: record explicit collaborators, responsibilities and same-project dependencies. Validated dependency graphs and current delivery/acceptance evidence gate execution; project views refresh current readiness while execution snapshots remain fixed. Recording a reviewer does not dispatch them or give them acceptance authority (#621, #620). +- Relay handoffs: add optional per-step requirements and inspect persisted handoff notes alongside timeline replies. Snapshots identify the preceding completed results actually included in model input and disclose filtering, truncation and omitted sources. Relay sources share existing context budgets, avoid duplicate history and do not imply approval or acceptance (#617, #618). +- Project progress: follow the latest task attempt in project cards, schedule rows and the task editor. Live execution stages and persisted snapshots recover after reconnect. Stage counts describe execution phases, not a percentage of work completed or time remaining; completed execution still requires delivery acceptance (#615, #616). +- Delivery preflight: enable a project-level check and explicitly select versioned document references for acceptance criteria. The check reports reference structure, broken links, version conflicts and modification time. It does not read document bodies, call Laya, change goal status/health or issue an overall acceptance decision (#467, #508). +- Approval aging: the existing default-off Laya integration can add advisory nudge, wait or discuss-close text to pending approvals. Only creation time, current time, decision kind and risk are submitted. Advice never hides pending high-risk items, grants/denies approval or changes expiry rules (#466, #506). +- Codex models: query the installed CLI catalog, offer explicit refresh, preserve saved model choices and show fallback status when discovery fails. A catalog entry or recommendation does not establish account entitlement. When ChatGPT login rejects a model, the conversation and picker provide recovery guidance; RoleWeave does not silently change the model or switch to API billing (#609, #610, #613, #614). +- Codex prompts on Windows: pass the complete employee prompt and thread context through stdin so command launchers preserve Chinese, multiline and long requests. Input-pipe failures return a typed error (#611, #612). +- Windows package checks: verify process ancestry against creation times so reused parent process IDs cannot bring unrelated processes into smoke-test cleanup (#615, #616). + +## Compatibility and upgrade + +This remains a pre-1.0 preview. Back up the workspace before upgrading the per-user desktop application. New readers accept older records, and existing workspace identities, history and settings are retained. + +**Breaking compatibility note for downgrades:** relay handoffs and project collaboration add optional `GroupMessage.relaySteps`, `TurnRecord.relayHandoff`, `TurnRecord.taskBriefing`, and `GoalWorkItem.participants` / `dependsOn` fields to local records. Older strict readers can reject those records. Keep the 0.6.0 workspace intact if reverting the app; use a copy of a pre-upgrade backup or a separate workspace with v0.5.0. Do not strip stored handoff evidence to simulate compatibility. + +Existing local Agent installations, sign-ins and model/service entitlements remain operator-managed. Delivery preflight and approval advice do not replace human delivery acceptance or approval. Laya advice stays disabled unless the existing integration is explicitly enabled. + +## Downloads and validation + +- macOS Apple Silicon: `roleweave-0.6.0-arm64.dmg` and `roleweave-0.6.0-arm64.zip`. +- Windows x64: `roleweave-0.6.0-x64.exe`. +- Intel Mac, Linux and native mobile installers are not included. + +The existing distribution channel is unchanged: macOS packages are not Apple Developer ID-signed or notarized, and Windows packages are not Authenticode-signed. The macOS app verifies a separately signed update manifest, downloads updates in the background and replaces the app on normal exit. Windows verifies the installer checksum against the HTTPS feed and requires confirmation. Publication advances both public update feeds. + +Existing v0.4.0/v0.5.0 clients can use the normal update flow. Older Windows builds that disable in-app installation need one manual upgrade. Native builds, packaged startup/layout, installer metadata and artifact integrity are checked in CI. User-machine installation, uninstallation, cross-version updates and real provider entitlement require separate product validation. + +## Publisher handoff + +Follow the [ByteFolk release process](https://github.com/bytefolk/.github/blob/main/RELEASING.md): independent approval of the final preparation head, protected squash merge, exact merged-commit checks, unused-version and main-ancestry checks, and release-tag protection readback. An eligible actor creates one annotated v0.6.0 tag at the recorded commit after those gates pass. + +The existing release workflow freezes these notes from that commit, builds both native distributions, signs the macOS update manifest, verifies the draft inventory and publishes last. Stop on a failed gate. Before publication, revert preparation through a reviewed source change if needed. After publication, keep the 0.6.0 workspace intact and use immutable v0.5.0 with a pre-upgrade backup copy or a separate workspace if necessary; correct defects in a new patch version; never replace released assets or move/reuse a tag. diff --git a/package-lock.json b/package-lock.json index 24ecd3c5..cab6488f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "roleweave", - "version": "0.5.0", + "version": "0.6.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "roleweave", - "version": "0.5.0", + "version": "0.6.0", "hasInstallScript": true, "license": "Apache-2.0", "workspaces": [ @@ -87,7 +87,7 @@ }, "apps/desktop": { "name": "@roleweave/desktop", - "version": "0.5.0", + "version": "0.6.0", "license": "Apache-2.0", "dependencies": { "@antv/g6": "5.1.1", diff --git a/package.json b/package.json index 838b0f16..aa967b32 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "roleweave", "private": true, - "version": "0.5.0", + "version": "0.6.0", "repository": { "type": "git", "url": "git+https://github.com/bytefolk/roleweave.git"