Skip to content

Migrate released toolchain and retire core aliases / 迁移正式工具链并清理旧 core 调用 #28

Open

Description

@tiye

中文

关联 calcit-lang/calcit#1916:本应用是已具名的活跃消费者,当前 main 仍锁定 Calcit/procs 0.27.0,并有两处 merge-dynamic 和一处 w-log。需要完成正式新工具链与原业务合同迁移,而不是仅用源码零命中作为删除门槛。

已建立原正式 0.27.0 的 CLI/runtime 配对、双入口检查和 Vite 构建基线。现有未合并 0.28 分支保留完整,在新的隔离工作树整合其五项类型/回调迁移,不修改原 checkout。候选已升级到发布版 0.30.0-alpha.3 CLI/runtime 配对,三处旧名经过 dry-run 与 scoped revision 事务迁移。

最新进度(2026-10-15):已在真实使用边界保持 Bool/Number/String/Map、Number session key 和原 wire/storage 合同。现有 PR #29 已更新十个正式模块版本,消费已发布 Reel0.0.53 等依赖;严格 Caps、18 native/module 核验与 immutable 安装通过。双入口及完整 strict workflow 通过,诊断/建议为空;50 项 native/JS 共同测试各通过,另两项 native server-effect、JS/Vite 和原隔离真实 native WebSocket/Unit/持久化/退出回放在新图通过。Snapshot、CLI/procs alpha.3 配对和 npm 一小时隔离不变。

当前项目结构化查询核对117定义、52附带测试与27个import区域,本轮旧名无命中,不是依赖/宏生成或默认分支清零证明。旧图的完整浏览器证据保留,新图仍需完整交互重验;Text原组件的隔离真实页面已渲染,但完整弹窗未观察到,未标通过。实际Confirm尚未批准,不执行。最新HEAD review/comments/CI/CLEAN与精确main,以及完整依赖/宏/CI/docs和业务退场门槛保留,不关闭本issue。

验收

  • 保留原 wire/storage/operation 语义、部署路径、CI 保护及已有断言;客户端单 Enum 与原服务端 op/data 合同一致。
  • 精确正式 CLI/runtime/module 配对、严格 Caps 与不可变安装、双入口及全定义严格检查通过;如实记录仍有的依赖/require 提示,不以局部通过接受整个消费者。
  • 源码、imports、附带 tests/examples、宏生成代码及 CI/docs 中本轮退场调用均核对;保留可复现命令和范围。
  • 用户语义优先补 definition :tests:twig/updater、离线/重连、编辑/清除及操作形状在相关 native/JS 目标验证;本应用原无附带测试,零匹配不能算通过。
  • 正式配对 Vite 和隔离合成存储的浏览器/native 业务验证,不访问真实用户存储或提前生产部署。
  • PR 首段中文说明用户变化,后接独立中文/英文技术正文;最新 HEAD review/comments/CI/CLEAN 与精确 main 原 workflow 成功后才接受迁移。

不要求此 JS/native 应用改为 WASM,也不把其他消费者、归档 Lilac 或全部投影静态化写成已完成。

English

Related to calcit-lang/calcit#1916. Current main pins released Calcit/procs 0.27.0 with two merge-dynamic calls and one w-log call. Complete released-toolchain and business-contract migration, not syntax-only retirement clearance.

The original matched 0.27.0 toolchain, both entry checks and Vite baseline pass. Preserve the existing unfinished 0.28 branch and integrate its five typed/callback changes in a separate worktree. The candidate now pins the published 0.30.0-alpha.3 CLI/runtime pair; three aliases were migrated via dry-run/scoped-revision transactions. Real projection/use boundaries decode Bool, Number, String and route-key domains without changing wire/storage contracts or adding unsafe/type-widening bypasses.

Progress (2026-10-15): existing PR #29 upgrades ten published module pins, including released Reel0.0.53. Strict Caps, all18 native/module checks and immutable installation pass. Both entries/full strict, all50 native/JS common tests each, two native server-effect cases, JS/Vite and the original isolated real native WebSocket/Unit/persistence/exit replay pass on the new graph. Snapshot, published alpha.3 CLI/runtime pairing and the one-hour quarantine are unchanged. Structured queries cover117 definitions/52 tests/27 imports without this round's old names, not dependency/generated-macro/main clearance. Preserve old-graph browser evidence, but full new-graph browser revalidation remains. The actual Text component renders in an isolated real page; its complete popup is not observed and not accepted. Unapproved Confirm actions stay untouched. Latest-head review/comments/CI/CLEAN, exact-main, complete business and dependency/macro/CI/docs retirement gates remain; this issue stays open.

Acceptance: retain wire/storage/operations/deployment/CI and assertions; prove matched formal toolchain, strict Caps/immutable install, both entries and all-definition strict checking with honest remaining dependency/import warnings; audit source/imports/attached regions/generated macros/CI/docs; add reviewable attached semantic tests for relevant native/JS twig/updater/lifecycle/editor/operation contracts (zero original attached tests is not a pass); complete matched Vite and synthetic-storage browser/native business verification; deliver a user-facing-Chinese plus separated bilingual PR and accept only after latest-head review/comments/green CI/CLEAN and exact-main workflows. No WASM conversion, archived-Lilac upgrade, whole-projection static claim or other-consumer clearance.

Activity

  1. tiye commented on Oct 13, 2026

    @tiye
    MemberAuthor

    中文

    导航投影已改为真实解码的 Bool / Option 视图,保留访客缺失计数、显式 nil 和零的原显示语义;原 Map/EDN 不变。离线判断移到在线字段读取之前,移除 store/session 两处旧 unsafe。导航 props 使用两字段具名 record 与已发布 EventHandler,经 Respo 原有 record props 接口处理,不填充几十个伪默认字段或回退成无类型 props。

    六项 definition :tests 经原统一运行器在正式 0.29.3 native/JS 全部通过,导航四个定义严格检查无诊断。完整应用仍有文本/表单/存储字段、其他 props 和旧谓词等问题;全定义报告还含跨 entry 宿主不匹配,需按真实目标核对,不能把局部导航通过当整体验收。尚未提交可验收 PR,不提前部署或关闭任务。

    English

    Decode navigation projection into Bool / Option, preserving missing/nil/zero display and original Map/EDN wire shape. Check offline before reading online fields and remove the two store/session unsafe casts. Use a two-field nominal props record with the released EventHandler through Respo existing record-props contract, not synthetic defaults or untyped props.

    All six attached semantic tests pass the original unified runner on released matched 0.29.3 native/JS; all four navigation definitions pass strict checking without diagnostics. Full application text/form/storage/other-props/legacy-predicate work remains; all-definition reports also contain cross-entry host mismatches requiring real-target interpretation. No whole-app acceptance, ready PR, deployment or closure yet.

  2. tiye commented on Oct 13, 2026

    @tiye
    MemberAuthor

    本地正式 0.29.3 双入口严格检查(含原 CI flag)、28 项 native / JS 定义测试及 JS/Vite 构建已通过;154 个 require/refer 冗余 marker 已受保护清理。已修复并隔离回放访客、登录保存、文章与段落编辑投影的真实边界问题,未放宽旧质量预算。完整宿主业务 / 持久化 / 依赖退休证据仍待完成,暂不把迁移标成验收完毕;Calcit require 提示在 calcit-lang/calcit#2044。 / Local released 0.29.3 dual-entry strict checks (including existing CI flags), 28 native/JS attached tests and builds passed; guarded edits removed 154 redundant import markers. Isolated replay verified the repaired guest/login/article/paragraph projection paths, without increasing the old quality budget. Complete host/business, persistence and retirement evidence remain pending; this migration is not yet accepted. Compiler advice is tracked in calcit-lang/calcit#2044.

  3. tiye commented on Oct 13, 2026

    @tiye
    MemberAuthor

    最新本地增量已通过 32 项 native/JS 共享 :tests、双入口原 CI 严格检查和构建;真实双客户端回放覆盖编辑、拖放、取消弹窗、profile 数字 SID、退出清理与持久化重启。未执行不可逆的 UI Confirm,删除 updater 有纯内存正/负回归。新合并 core require 提示精确 main 已验收。依赖已跟随正式 Markdown0.4.51/UI0.7.36/Respo0.16.118;高亮合同仍被模块 #74 阻塞,旧计数基线决定待用户确认,不提前关闭本任务。 / Latest local increment passes 32 shared native/JS tests, original strict CI entry checks and builds. Real dual-client replay exercised editing/drag ordering, popup cancellation, numeric profile SIDs, logout and persistence restart. Irreversible UI Confirm was not executed; pure updater deletion regressions cover success/missing targets. Dependencies use released versions; the highlight contract remains blocked on Respo/respo-markdown.calcit#74 and the legacy counter-baseline decision awaits the user. This consumer is not yet fully accepted.

  4. tiye commented on Oct 13, 2026

    @tiye
    MemberAuthor

    中文

    按用户明确批准,候选迁移分支删除了 CI 已不再执行的 config/calcit-quality.cirru(Dynamic / unsafe 数量基线),并在 README 明确验收方式。没有增加预算、放宽类型合同或修改严格检查与测试门禁。

    删除后使用正式 Calcit 0.29.3 再次验证:客户端和服务端 --check-only --warn-dyn-method 均通过,定义内测试 32/32 通过,git diff --check 通过。此前的 native / 生成 JS 共享回放保留,不将本次文档和数据文件清理描述为新增 JS 回放。

    这只完成过期基线清理,不代表整个消费者迁移通过。Markdown 0.4.51 自定义高亮回调的执行与显示回归继续在 Respo/respo-markdown.calcit #74 修复;未验收业务项仍保留。

    English

    Following explicit user approval, the migration candidate removes the unused config/calcit-quality.cirru Dynamic / unsafe count baseline and documents the semantic acceptance gates. No budget increase, type-contract relaxation, strict-check change, or test-gate removal is included.

    Revalidated with stable Calcit 0.29.3 after removal: client and server --check-only --warn-dyn-method pass, all 32 definition-attached tests pass, and git diff --check passes. Previously completed native / generated-JS shared replay evidence is retained; this cleanup is not claimed as a new JS replay.

    This completes only obsolete-baseline cleanup, not the entire consumer migration. The Markdown 0.4.51 custom-highlighter invocation/rendering regression remains tracked in Respo/respo-markdown.calcit #74, along with outstanding business acceptance items.

  5. tiye commented on Oct 13, 2026

    @tiye
    MemberAuthor

    中文

    0.30.0 继续聚焦 #1916 的具名消费者和逐项退场,不增加类型/工具/WASI 重构前置。

    • Tabletwo 已越过旧投影 Bool 阻塞:本地正式 0.29.3 双入口严格检查、32 项 native/JS 定义回放、编辑/拖放/持久化重启等业务回放通过。用户已批准删除 CI 不再使用的旧数量基线;本地提交 d456841,严格/语义门禁未放宽。Tabletwo 仍未完整验收或提交迁移 PR。
    • Markdown 已发布 0.4.52,包含 #75 的 checked-map 修复,不包含高亮恢复。新的 PR #76 基于该最新 main,保留严格解码,恢复实际 callback/code/lang/HTML 行为及默认文本/Cirru 路径。当前 HEAD ee45423237d9953c666747d70ebbd94e5c50c551。
    • 最新依赖上的本地完整 strict、294 全定义、117 公开定义、8/8 native 与 JS 附带测试(原共享 runner,0 exclusions)、14 渲染测试、MathML/incremental/生产构建均通过。真实浏览器验证回调 markup 与原源码转义;系统剪贴板读回未确认,不计为通过。
    • 高亮模块 milestone 已纠正为 0.4.53;PR 当前 CI/review 门禁尚未完成,未合并或发版。完成后 Tabletwo 才升级正式 patch 并复验。

    接着核对具名消费者的源码、附带内容、宏/依赖内部与文档,处理 #1916 逐项符合条件的删除;保留尚未证明的兼容边界,不把保留兼容冒充完成迁移。最后完成 Calcit 最终回归、0.30.0 发布及中文成果 Discussion。

    English

    Keep 0.30.0 focused on #1916's named consumers and per-entry retirement, without adding type/tool/WASI refactors as prerequisites. Tabletwo has passed the former projection-Bool blocker: released 0.29.3 strict entries, 32 native/JS attached cases and editing/drag/persistence replay pass locally. Explicitly approved unused-count-baseline removal is committed at d456841, with unchanged strict/semantic gates; full acceptance and a migration PR remain pending.

    Released Markdown 0.4.52 contains #75 checked-map repairs, not highlight restoration. PR #76, HEAD ee45423237d9953c666747d70ebbd94e5c50c551, preserves those upstream checks while restoring callback invocation/rendering and default plain/Cirru behavior. Latest-dependency local strict, 294 definitions, 117 public definitions, 8 attached cases per native/JS backend with the original runner/no exclusions, 14 rendering cases, MathML/incremental and production build pass. Browser markup/escaping is verified; system clipboard contents are not claimed verified.

    Correct the existing highlight milestone to 0.4.53 because 0.4.52 already shipped. PR CI/review are still pending, with no merge or release yet; Tabletwo must consume/replay the accepted stable patch. Then complete the named-consumer source/attached/macro/dependency/documentation audit and eligible #1916 removals, followed by final Calcit regression, stable 0.30.0 and the Chinese outcome Discussion.

  6. tiye commented on Oct 14, 2026

    @tiye
    MemberAuthor

    中文

    Markdown #76 已合并并完成正式 0.4.53 发布,精确 main/tag CI 成功;Tabletwo 已正常安装并验证实际代码高亮和刷新后自动登录。

    Tabletwo 本地提交 0d89f23 保存受检凭据/投影/宿主边界及 Recollect 已发布的真实 EDN patch codec;双入口检查、42 项 native/JS 共享回放及生产构建通过。完整 strict 仅剩 #2046 的 core update-in 回调泛型证明阻塞;迁移 PR、完整宿主验收与宏/依赖退场证据仍待完成。未删除旧 API、未关闭本 issue、未发布 0.30.0。

    English

    Markdown PR #76 is merged and stable 0.4.53 is published with exact-main/tag CI success. Tabletwo installs it normally; actual highlighting and reload auto-login pass.

    Local Tabletwo commit 0d89f23 preserves checked credential/projection/host boundaries and uses the published Recollect codec for real EDN patches. Both entry checks, 42 native/JS shared cases and production build pass. Full strict retains only core update-in blocker #2046. Consumer PR/full host acceptance and macro/dependency retirement evidence remain pending; no old API removal, issue closure or 0.30.0 release.

  7. tiye commented on Oct 14, 2026

    @tiye
    MemberAuthor

    继续 #1916 / 0.30.0:本地新增消息删除的真实 payload/id/Map 校验与根 updater 返回协议校验,保留 Number session key、原分派及未知操作行为。正式 0.29.3 工具链双入口检查、47 项 native / JS 共享测试和 JS 生成通过。Calcit #2050 尚未合并/发布,完整 strict 与整体业务验收仍未完成;不是迁移完成声明。 / Continued #1916 / 0.30.0: local checked message-removal inputs and the root updater result boundary preserve numeric session keys, dispatch and unknown-operation behavior. Paired published 0.29.3 entry checks, 47 native/JS shared tests and JS generation passed. Calcit #2050 remains unreleased; full strict and complete business acceptance are still pending.

  8. tiye commented on Oct 14, 2026

    @tiye
    MemberAuthor

    中文

    PR #29 已对齐十个正式模块版本并启用原 Caps 严格模式;新 HEAD Actions 全绿。原 18 个模块/工具链、双入口完整 strict、50 项 native/JS 同源测试、两项 native server-effect、构建及隔离真实 native WebSocket/Unit/持久化/退出回放均通过,Snapshot 不变。README 已收敛为实际使用说明,不重复迁移流水。

    当前分支 source/tests/imports 核对无本轮旧名,不等于依赖或 macro 展开完整验收。新图完整浏览器、实际 Confirm、Text 完整弹窗仍未完成;原 Text 组件隔离页面已渲染,但点击后完整窗口未观察到,没有用 mock/无报错代替。实际 review、comments/CI/CLEAN、精确 main 与 #1916 原完整门槛保留,暂不关闭或合并。

    English

    PR #29 converges ten published module pins and enables existing strict Caps mode; latest-head Actions pass. All18 module/toolchain checks, both entries/full strict,50 native/JS common tests, two native server-effect cases, builds and isolated real native WebSocket/Unit/persistence/exit replay pass with unchanged Snapshot. README now explains actual usage instead of repeated migration history.

    Current branch source/tests/imports have no matches for this round's old names, not complete dependency/generated-macro acceptance. Full new-graph browser, actual Confirm and complete Text popup remain unaccepted. The unchanged Text component renders in an isolated real page, but its complete popup is not observed; no mock/error-free claim substitutes it. Keep actual review, comments/CI/CLEAN, exact-main and every original #1916 gate, without closure or merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions