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.