diff --git a/THIRD_PARTY_NOTICES.txt b/THIRD_PARTY_NOTICES.txt index 5303eb2d..e6568efe 100644 --- a/THIRD_PARTY_NOTICES.txt +++ b/THIRD_PARTY_NOTICES.txt @@ -7605,6 +7605,28 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +======================================================================== +yaml 2.8.1 +License: ISC +Source package: node_modules/yaml + +LICENSE + +Copyright Eemeli Aro + +Permission to use, copy, modify, and/or distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright notice +and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF +THIS SOFTWARE. + + ======================================================================== yargs 15.4.1 License: MIT diff --git a/docs/M3-B4B-RELEASE-1.25.13.md b/docs/M3-B4B-RELEASE-1.25.13.md index 3714213d..ff4be1cf 100644 --- a/docs/M3-B4B-RELEASE-1.25.13.md +++ b/docs/M3-B4B-RELEASE-1.25.13.md @@ -21,6 +21,8 @@ 首构建使用固定 Node 启动 npm 后,其子命令仍命中系统 Node 16,失败原日志 `build-first.log` 保留;驱动给完整子进程 PATH 前插 Node 24,第二轮自然通过。初始快照脚本中文 file URL 路径错误未写出快照,改用 `fileURLToPath` 后冻结;工具错误和记录保留。构建现有大块提示保持,不以提示冒称失败。 +源码实现 `e306f40c` 已提交并普通推送,远端 SHA 相同。首独立源码 1398 输入与 30 编译 exact,真正 clean npm ci 138 包通过。首程序包成功生成后,登记检查发现打包器回写源码许可证而使工作树变脏,登记失败原件保留、首包未安装。现修为只在发行输出生成许可证,并补存 YAML ISC 文本和 notices;最终另提交来源、重新导出和打包,新证据使用 `.qa/m3-b4b-release-2026-11-11-r2/`,不覆盖首轮。 + ## 当前限制与验收边界 恢复载荷必须冻结具体来源和 schema2 兼容范围。未经适配的旧 schema1 程序不能在新结果产生后作为恢复目标;不能删除账本或降 schema。相同发行的独立恢复副本通过,也不能宣称恢复到不同旧业务实现。 diff --git a/licenses/yaml-2.8.1-LICENSE.txt b/licenses/yaml-2.8.1-LICENSE.txt new file mode 100644 index 00000000..e060aaa1 --- /dev/null +++ b/licenses/yaml-2.8.1-LICENSE.txt @@ -0,0 +1,13 @@ +Copyright Eemeli Aro + +Permission to use, copy, modify, and/or distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright notice +and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF +THIS SOFTWARE. diff --git a/progress.md b/progress.md index 0caac272..7803208f 100644 --- a/progress.md +++ b/progress.md @@ -2192,3 +2192,4 @@ New API研究阶段一234b76cc已提交;阶段二逐篇305正文/201接口全 2026-11-11 初始证据脚本将中文file URL误作路径,首执行ENOENT且未写快照;已改为fileURLToPath,错误保留在工具记录。 2026-11-11 构建首轮失败:npm子命令PATH命中Node16;构建驱动现前插固定Node24目录,保留build-first.log后另轮构建。当前正式只读health为1.25.12/PID63892,尚未激活新版。 2026-11-11 阶段2完成:Node24 build-second通过;13相关文件固定并发2,186/186、316246.0644ms、0跳过取消。版本1.25.13四入口(package/lock两处/diagnostics)一致,正式未激活。接下来限定提交76文件→已提交源码独立clean npm ci/重建→实际包/安装/UI。 +2026-11-11 首包生成后登记因打包器回写许可证而失败,未安装;修为输出目录生成,补YAML许可。packaging相关4/4通过,产品186项对应源码未改;首失败保留,最终独立证据另用-r2。 diff --git a/scripts/package.mjs b/scripts/package.mjs index eae73f74..078178bc 100644 --- a/scripts/package.mjs +++ b/scripts/package.mjs @@ -77,7 +77,10 @@ const notices = ['Agent Workbench third-party notices', '', 'Original product code is supplied for the project owner. Its redistribution terms are determined by the project owner.', 'Third-party components remain governed by their own licenses. Full available license texts are reproduced below and in licenses/.', '', 'The release does not contain Claude Code or Cursor client binaries or recovered application source.', '']; -const licenseRoot = path.join(root, 'licenses'); fs.mkdirSync(licenseRoot, { recursive: true }); +// License generation belongs to the release output. Packaging must not mutate +// committed inputs after freezing sourceCommit. +const licenseRoot = path.join(portableRoot, 'licenses'); +fs.cpSync(path.join(root, 'licenses'), licenseRoot, { recursive: true }); let licenseCount = 0; for (const [location, entry] of Object.entries(lock.packages).sort(([a], [b]) => a.localeCompare(b))) { if (!location.startsWith('node_modules/')) continue; @@ -105,10 +108,10 @@ notices.push('='.repeat(72), 'REA (rea-agents) ' + reaRuntime.version, 'License: fs.writeFileSync(path.join(licenseRoot, 'Node-' + nodeVersion + '-LICENSE.txt'), nodeLicenseText); notices.push('='.repeat(72), 'Node.js ' + nodeVersion, '', nodeLicenseText); notices.push('='.repeat(72), 'npm bundled with Node.js', 'Complete package and dependency licenses are retained under runtime/node_modules/npm/.', '', fs.readFileSync(path.join(npmRoot, 'LICENSE'), 'utf8')); -fs.writeFileSync(path.join(root, 'THIRD_PARTY_NOTICES.txt'), notices.join('\n')); -for (const output of [portableRoot, sourceRoot].filter(Boolean)) { - fs.cpSync(licenseRoot, path.join(output, 'licenses'), { recursive: true }); - fs.copyFileSync(path.join(root, 'THIRD_PARTY_NOTICES.txt'), path.join(output, 'THIRD_PARTY_NOTICES.txt')); +fs.writeFileSync(path.join(portableRoot, 'THIRD_PARTY_NOTICES.txt'), notices.join('\n')); +if (sourceRoot) { + fs.cpSync(licenseRoot, path.join(sourceRoot, 'licenses'), { recursive: true }); + fs.copyFileSync(path.join(portableRoot, 'THIRD_PARTY_NOTICES.txt'), path.join(sourceRoot, 'THIRD_PARTY_NOTICES.txt')); } function filesIn(directory, relative = '') {