docs: record agent server lifecycle integration
This commit is contained in:
1 parent
c2137c9f3f
commit
143aaec3d6
3 files changed
+71
-53
No files matched your search
@@ -0,0 +1,58 @@
|
||||
# Task: Integrate Agent Server sleep restart fix
|
||||
|
||||
## Identity
|
||||
|
||||
- Task ID: 20260901-integrate-agent-stall-4f2c8a91
|
||||
- Mode: Integration
|
||||
- Branch: main
|
||||
- Worktree: D:\Datas\OthersProjects\makelore
|
||||
- Base commit: 738eda14300b18beff826d87e0e043317ec5bb7d
|
||||
- Owner: codex
|
||||
- Status: Completed
|
||||
|
||||
## Scope
|
||||
|
||||
- Merge exact feature commit `12d7588c` into local `main`.
|
||||
- Preserve the already-integrated model-reasoning capability behavior.
|
||||
- Record the integration in canonical current state without changing Pi, Provider, packaging, or replay contracts.
|
||||
|
||||
## Intent And Constraints
|
||||
|
||||
- Pi `0.84.2` remains the sole Coding runtime and one Main-owned Agent Server remains the parent topology.
|
||||
- Background sleep must not stop work that begins during cleanup, and start racing stop must create one fresh server after stop settles.
|
||||
- Accepted and uncertain prompts must never be replayed automatically.
|
||||
- Stop on any merge conflict or semantic conflict; do not choose by merge order.
|
||||
- Do not package, install, deploy, push, or change dependencies in this integration task.
|
||||
|
||||
## Plan
|
||||
|
||||
1. Verify the exact source commit and a conflict-free merge tree against current `main`.
|
||||
2. Merge the source branch with an explicit merge commit.
|
||||
3. Record the integrated behavior and remaining installed-package gate in canonical current state.
|
||||
4. Run focused lifecycle tests, typecheck, lint, production build, and documentation drift checks.
|
||||
5. Commit integration memory, complete the task, and release ownership from a clean worktree.
|
||||
|
||||
## Outcome
|
||||
|
||||
- Verified source commit `12d7588b3ebd4d192c2e14ae285d4f6ddebeeb42` and conflict-free merge tree `63750df00cda0da00304725b6f0a8c17dd5e09b0` against current `main`.
|
||||
- Merged the exact source into local `main` as `c2137c9f3f2e05441064cc90bfeed115363ac04e` without conflict.
|
||||
- Preserved the already-integrated model-reasoning capability changes and the Pi `0.84.2` single-Agent-Server architecture.
|
||||
- Recorded the background-sleep recheck and serialized stop/start behavior in canonical current state.
|
||||
- No package, installation, deployment, push, dependency, Provider, or replay-contract change was performed.
|
||||
|
||||
## Verification
|
||||
|
||||
- `git merge-tree --write-tree HEAD 12d7588` returned conflict-free tree `63750df00cda0da00304725b6f0a8c17dd5e09b0` before merge.
|
||||
- Merged-main focused lifecycle run: 4 files / 9 tests passed.
|
||||
- `pnpm run typecheck`: passed.
|
||||
- `pnpm run lint:check`: zero errors and the repository's existing five warnings.
|
||||
- `pnpm test`: 216 files passed; 1,780 tests passed and 2 skipped.
|
||||
- `pnpm run build:vite`: Renderer, Electron Main, Preload, and utility production builds passed with existing build warnings only.
|
||||
|
||||
## Follow-ups
|
||||
|
||||
- Build, verify, and reinstall a Windows package from integrated `main`, then repeat the reported prompt-after-idle interaction. The currently installed application still contains the old lifecycle code.
|
||||
|
||||
## Promotion Candidates
|
||||
|
||||
- Resolved: recorded the exact source and merge commits, lifecycle behavior, no-replay invariant, and remaining installed-package gate in `.project-docs/30-worklog/current-state.md`. No ADR or architecture rewrite was needed because the fix enforces ADR-006.
|
||||
Reference in new issue
Block a user