docs(coding): record packaged runtime main promotion

This commit is contained in:
2026-09-01 11:26:41 +08:00
parent 42ea83c0cb
commit e1e4b570f9
4 changed files with 72 additions and 54 deletions

View File

@@ -5,8 +5,9 @@ This file is the integrated default-branch snapshot. Feature tasks record progre
## Integrated Through
- Packaged Pi Agent Server resolver fix source `7df245af5a04f62be48980831ff41987ba686009`
from task `20260901-local-runtime-unavailable-8b42c7f1` is integrated by task
`20260901-integrate-local-runtime-fix-9c4e2a71` through merge
from task `20260901-local-runtime-unavailable-8b42c7f1` is promoted to local
`main` by task `20260901-promote-local-runtime-main-a7c4e291` through verified
integration candidate `42ea83c0cbad52432eca99e4161e0360bef3e219` and source merge
`96402551f46d875ba3db0a2f625397aba2f332fb`. Electron Main now starts only the
shared Agent Server with Node's `import.meta.resolve` parent-URL capability enabled,
so the unchanged server script resolves `@earendil-works/pi-ai` from the explicit

View File

@@ -1,51 +0,0 @@
# Task: Integrate local runtime unavailable fix
## Identity
- Task ID: 20260901-integrate-local-runtime-fix-9c4e2a71
- Mode: Integration
- Branch: codex/20260901-integrate-local-runtime-fix-9c4e2a71-integrate-local-runtime-fix
- Worktree: D:\Datas\OthersProjects\makelore-worktrees\integrate-local-runtime-fix-9c4e2a71
- Base commit: 7f0e9310a7f394249fab3cadc5c82d70f91cbfeb
- Owner: codex
- Status: Ready for Integration
## Scope
- Integrate verified source commit `7df245a` for the packaged Pi Agent Server resolver failure onto the exact local `main` base.
- Promote the accepted source evidence into canonical current state, evidence, and the existing Windows Pi artifact commitment without changing ADR-006.
- Re-run the relevant product checks on the merged tree, commit the integration result, and fast-forward local `main` only when its worktree ownership is released.
## Intent And Constraints
- Preserve Pi `0.84.2` as the sole production runtime and keep Agent Server/runtime ownership in Electron Main.
- Do not change the Pi runtime bundle layout, dependency versions, Renderer/Provider contracts, recovery behavior, or add a compatibility fallback.
- Treat the currently installed application as pre-fix until a rebuilt artifact passes the existing publish/runtime/artifact/final proof and installed first-Conversation acceptance.
- Do not modify or release the separately owned `main` worktree while task `20260831-makelore-web-search-client-inspection-6b4d2e81` retains ownership.
## Outcome
- Verified source commit `7df245af5a04f62be48980831ff41987ba686009` contains only the packaged Agent Server launch fix, the production-shaped real-process regression, and its feature task record.
- Merged the source branch without conflicts as `96402551f46d875ba3db0a2f625397aba2f332fb` on the isolated integration branch.
- Omitted the duplicate source-owned task record from the promotion tip while preserving it unchanged on source commit `7df245af5a04f62be48980831ff41987ba686009`; the promoted tree therefore contains only the product fix, regression test, canonical memory, and this integration task's own record relative to `main`.
- Promoted the accepted evidence into `current-state.md`, `evidence-index.md`, and the existing Windows Pi artifact commitment. ADR-006 remains unchanged because runtime ownership, topology, version, and public contracts did not change.
- Prepared a verified fast-forward candidate for local `main`. Actual `main` promotion remains a separate ownership-gated step because task `20260831-makelore-web-search-client-inspection-6b4d2e81` still owns that worktree.
## Verification
- Source range inspection: exactly one source commit and three expected files relative to `main`; no unrelated source or project-memory change was present.
- Merge result: Git `ort` merge completed without conflicts.
- Integration focused tests: 4 files / 24 tests passed, including the production-shaped sibling-layout Agent Server startup through Electron Node.
- `pnpm run typecheck`: passed.
- `pnpm run lint:check`: passed with 0 errors and 5 pre-existing unrelated React warnings.
- `pnpm run build:vite`: passed for Renderer, Electron Main, Preload, and utility worker with existing bundle warnings only.
- The source task's full-suite evidence remains 215 files / 1,761 tests passed and 2 conditional skips; integration changed only canonical Markdown after the conflict-free source merge, so the full suite was not redundantly rerun.
## Follow-ups
- Release the completed `main` worktree owner only through the non-force task-context command, claim `main` with a separate integration task, and fast-forward it to this verified integration tip.
- Rebuild and install the Windows artifact, run the publish/runtime/artifact/final packaged proof, and confirm a first Coding Conversation no longer shows the runtime-unavailable projection.
## Promotion Candidates
- None. The source candidate was accepted and promoted by this integration task without semantic conflict.

View File

@@ -0,0 +1,68 @@
# Task: Promote packaged Pi runtime fix to main
## Identity
- Task ID: 20260901-promote-local-runtime-main-a7c4e291
- Mode: Integration
- Branch: main
- Worktree: D:\Datas\OthersProjects\makelore
- Base commit: 7f0e9310a7f394249fab3cadc5c82d70f91cbfeb
- Owner: codex
- Status: In Progress
## Scope
- Fast-forward the exact verified packaged Pi Agent Server resolver candidate
`42ea83c0cbad52432eca99e4161e0360bef3e219` from local `main` base
`7f0e9310a7f394249fab3cadc5c82d70f91cbfeb`.
- Preserve the candidate's product tree and accepted canonical facts while keeping
source and intermediate integration task records on their owning branches.
- Complete the task-aware documentation gate and release `main` ownership from a clean
worktree; do not push, publish, package, or deploy.
## Intent And Constraints
- Pi `0.84.2` remains the only production Coding runtime; Electron Main remains the
Agent Server owner, and the bundle layout, Provider/Renderer contracts, recovery
behavior, and public APIs remain unchanged.
- The currently installed client predates this fix. Local source integration must not
be represented as a rebuilt or installed-package acceptance result.
- Concurrent Task Gate passed after the previous clean, ready feature owner of `main`
was released non-forcibly. This task exclusively owns `main` and the Integration Lock.
- Planning and Integration Gates passed using the source outcome, verified candidate,
current-state, ADR-006, evidence index, commitment ledger, and exact Git ancestry;
no semantic conflict or human product-direction decision was present.
## Outcome
- Fast-forwarded local `main` from `7f0e9310a7f394249fab3cadc5c82d70f91cbfeb`
to verified integration candidate `42ea83c0cbad52432eca99e4161e0360bef3e219`
with no merge conflict or replay.
- Promoted the packaged Pi Agent Server resolver fix and production-shaped regression
to local `main`; canonical current state and evidence now identify this promotion task.
- Omitted the duplicate intermediate integration task record from the promotion tip;
it remains recoverable unchanged at candidate `42ea83c0cbad52432eca99e4161e0360bef3e219`,
while the source task record remains at source `7df245af5a04f62be48980831ff41987ba686009`.
## Verification
- Pre-promotion ancestry check passed: local `main` was an ancestor of the candidate,
with `0` main-only and `3` candidate-only commits.
- `git merge --ff-only` succeeded and placed `main` at exact candidate `42ea83c` before
this promotion ledger commit.
- Candidate verification carried forward unchanged: 4 focused files / 24 tests passed;
typecheck passed; lint passed with 0 errors and 5 pre-existing warnings; Vite/Electron
Main/Preload/utility build passed. Source full suite passed 215 files / 1,761 tests with
2 conditional skips.
- Final product-tree equality, task-aware drift, clean status, and exact `main` tip are
pending the promotion ledger commit.
## Follow-ups
- Rebuild and install the Windows artifact, run the publish/runtime/artifact/final
packaged proof, and confirm the first Coding Conversation no longer reports local
runtime unavailable.
## Promotion Candidates
- None recorded.

View File

@@ -4,7 +4,7 @@ Use this index for searchable, traceable evidence records.
| Date | Topic | Status | Source | Detail |
|---|---|---|---|---|
| 2026-09-01 | Makelore Code packaged Agent Server Pi AI resolver fix | Integrated locally; rebuilt Windows artifact and installed-client acceptance pending | Source `7df245a`, source task `20260901-local-runtime-unavailable-8b42c7f1`, merge `9640255`, integration task `20260901-integrate-local-runtime-fix-9c4e2a71` | The installed Electron Node process reproduced `ERR_MODULE_NOT_FOUND` for the present `@earendil-works/pi-ai@0.84.2` because the optional `import.meta.resolve` parent URL was inactive and lookup began beside `resources/resources/pi-agent-server.mjs`. Enabling that capability only for the Main-owned Agent Server made the exact differential pass without changing the runtime closure. A production-shaped sibling-layout Electron test went red before and green after; 24 focused tests, 1,761 full unit tests / 2 conditional skips, typecheck, lint with 0 errors, and Renderer/Main/Preload/utility build passed. This does not claim that the currently installed old package is fixed or that a rebuilt final artifact has passed release proof. |
| 2026-09-01 | Makelore Code packaged Agent Server Pi AI resolver fix | Integrated on local `main`; rebuilt Windows artifact and installed-client acceptance pending | Source `7df245a`, source task `20260901-local-runtime-unavailable-8b42c7f1`, merge `9640255`, verified candidate `42ea83c`, main promotion task `20260901-promote-local-runtime-main-a7c4e291` | The installed Electron Node process reproduced `ERR_MODULE_NOT_FOUND` for the present `@earendil-works/pi-ai@0.84.2` because the optional `import.meta.resolve` parent URL was inactive and lookup began beside `resources/resources/pi-agent-server.mjs`. Enabling that capability only for the Main-owned Agent Server made the exact differential pass without changing the runtime closure. A production-shaped sibling-layout Electron test went red before and green after; 24 focused tests, 1,761 full unit tests / 2 conditional skips, typecheck, lint with 0 errors, and Renderer/Main/Preload/utility build passed. This does not claim that the currently installed old package is fixed or that a rebuilt final artifact has passed release proof. |
| 2026-08-30 | MakeLore AI Design Living Form V2 hard cutover | Integrated locally with matching server source; production data cutover and Provider activation pending | Client source `b0b5a602b501308a23eb27e2f51a5169b9e46b1e`, server source `b5351d54f595ce8eb873593e462e4a556bea0b05`, integration task `20260830-integrate-marketplace-design-client-main-9d5f3b82`, ADR-007 | Replaces nested V1 Conversations, Briefs, editable provider Prompt, mutable Quote PATCH, and local semantic fallback with one current Direction, one Living Form/Specification authority, stable operations, immutable Quote confirmation, and Main-owned V2 transport. Client source passed typecheck, lint with zero errors, 1,425 unit tests, Vite/Electron build, and 2 Electron E2E tests. Server source passed 2,626 tests / 31 skipped under UTF-8 mode. No production database cutover, real paid Provider request, deployment, or publication occurred. |
| 2026-08-30 | MakeLore curated Plugin Marketplace Release A | Integrated locally; XMA-01 live acceptance PASS; production trust activation HOLD | Source `40df677a31ff7651f962151eb84b925987781c03`, source task `20260828-plugin-marketplace-client-5f8b3d72`, integration task `20260830-integrate-plugin-marketplace-client-6e3b9d82` | R7 Standards/Spec passed with zero findings. XMA-01 passed 12/12 using real PostgreSQL, signed-in packaged MakeLore, Operations-published temporary-key packages, A/B account isolation, immutable install/update/freeze/rollback, project/Agent/Pi materialization, lifecycle invalidation, pricing-only ETag change, Data Service 10 tools/14 operations and zero Token Point transactions. Final Windows installer was 208,235,670 bytes with SHA-256 `738A2F6573C502281787F418EA666C6E62C287CA0EC13C6EB22369DAB0B3FFFA`. The official Ed25519 public key was not supplied, so the production trust store correctly remains fail closed; no deployment or production publication occurred. |
| 2026-08-26 | Makelore Code Pi hard cutover、后台运行 ownership 与 Works user-context Provider 修复 | 本地 `main` 已集成Windows 最终安装包与 packaged proof Pass真实 Provider/macOS/native Linux 非 Pass | 集成交付 `48a9189`、实现 `a098266`、任务 `20260826-fix-pi-model-provider-8d4c2a71` / `20260826-integrate-pi-provider-fix-6e4c2a91``docs/pi-runtime-release-runbook.md` | OpenCode production runtime/package/plugin/fallback 已删除Pi `0.84.2` 是唯一 runtime。未解析 Conversation 现在 validate→persist resolved model→prepareexact Works `works square AI gateway did not return one-api user context` 会失效缓存 credential、以非重试 Provider-auth failure 结束且不自动 replay`agent_end willRetry:false` 不再被 `agent_settled` 覆盖成 completed。聚焦 47/47、related 54/54、projector 12/12、181 files / 1541 full unit + pressure、typecheck、lint、Vite build、Windows Electron 4/4、publish/runtime/artifact/Pi/subagent/final packaged proof 通过。NSIS 208,162,564 bytesSHA-256 `A02F79FCD3273FB0B013450492DC788B6E5ED7BBC1007468FB83BE949B8CB30D`未签名final app.asar SHA-256 `A8394D0F7324B27D2C95469ABD4E2A39C739EABCC6D8B41E1D65BA4B41FB9D39`。真实 Provider 是 Explicitly Waived / Accepted Risk 且 `realTurnVerified=false`macOS x64/arm64 与 native non-WSL Linux 未验收。 |