Revert "merge: integrate extension auto-update"

This reverts commit 322475860a, reversing
changes made to f52d9d7413.
This commit is contained in:
inman committed 2026-09-03 16:45:14 +08:00
1 parent b2e33e2e5d
commit 81a0cdac8e
47 files changed
+169 -3108

No files matched your search

@@ -0,0 +1,57 @@
# Task: Back up and revert extension update iteration
## Identity
- Task ID: 20260903-backup-revert-extension-update-c71a4e92
- Mode: Integration
- Branch: codex/20260903-finalize-extension-update-a6c4e192-finalize-extension-update
- Worktree: /Users/inmanx/Documents/lwltAPI-finalize-extension-update-a6c4e192
- Base commit: b2e33e2e5d29138891eabc93969cf24907492dfe
- Owner: codex
- Status: Planning
## Scope
- Preserve the complete extension-update iteration currently at remote `main` commit `b2e33e2` on a dedicated remote backup branch before changing `main`.
- Revert merge commit `3224758` through a normal history-preserving commit, restoring the active product source, migration boundary, extension release, and governed artifacts to the pre-iteration `f52d9d7` baseline.
- Preserve the source and integration task records as historical evidence, mark accepted decision `EXT-001` as reverted, and reconcile canonical project memory to the restored active architecture.
- Run the complete repository, release, document, test, and build gates, then advance remote `main` with a normal non-force push.
## Intent And Constraints
- The user explicitly requested a branch backup followed by rollback of this plugin-update iteration. This supplies the required human decision to reverse accepted architecture and product behavior.
- The exact backup ref is `codex/backup-extension-update-20260903-b2e33e2`; it must resolve remotely to `b2e33e2e5d29138891eabc93969cf24907492dfe` before the rollback continues.
- Roll back both commits carried by merge `3224758`: adaptive ERP entry readiness (`500034b`, extension `0.5.166`) and central OSS/ECS Cloud Assistant updates (`f08aac0`, migration 019 and extension `0.5.167`). The restored current release is extension `0.5.165` with required migration 018.
- Use `git revert`, not a force push or history rewrite. Keep prior task records and the reverted ADR so the decision trail remains auditable and recoverable from the backup branch.
- The local `main` checkout is owned by task `20260902-migrate-restart-confirmed-4f8c2a71` and contains its untracked task record. Do not alter, adopt, stash, reset, or clean that worktree.
- Do not deploy, restart, migrate a database, access ERP, publish to OSS, invoke Cloud Assistant, reload Chrome, mutate live tasks, or inspect secrets.
## Outcome
- Remote backup branch `codex/backup-extension-update-20260903-b2e33e2` was created first and independently verified at exact commit `b2e33e2e5d29138891eabc93969cf24907492dfe`.
- Reverted merge `3224758` in the isolated Integration worktree while retaining both source task records and the former integration record. Product source, dependencies, migration readiness, extension source, release package, mappings, tests, and operational documentation now match the pre-iteration `f52d9d7` tree exactly.
- Restored extension `0.5.165`, release ZIP SHA-256 `14f3150ab26d99131e32321ddc805a85550438bc2810a1e20921f7922b25aaac`, and required schema migration `018_agentbus_account_workers`; removed active migration 019 and the central OSS/ECS update implementation from the main-line result.
- Marked `EXT-001` as Reverted and reconciled the decision index, system overview, data flow, current state, task history, evidence index, and rollout commitment. Final rollback commit and remote `main` synchronization remain pending.
## Verification
- `git ls-remote --heads origin refs/heads/codex/backup-extension-update-20260903-b2e33e2`: returned exact commit `b2e33e2e5d29138891eabc93969cf24907492dfe`.
- `npm ci --no-audit --no-fund`: completed from the restored lockfile.
- `node --run check:repo`: 10/10 passed, including exact release-set hashes and extension ZIP/source equality.
- `node --run check`: passed.
- `node --run test:control-plane`: 162/162 passed.
- `node --run test:legacy`: 268/268 passed.
- `node --run build`: passed.
- `node --check` passed for extension `background.js`, `business-bridge.js`, and `inpage.js`.
- `unzip -t dist/ltjt-order-assistant-0.5.165.zip`: passed; SHA-256 equals the restored release manifest.
- Explicit version check returned source/release/artifact `0.5.165` and required migration `018_agentbus_account_workers`.
- `git diff --exit-code f52d9d7 -- . ':(exclude).project-docs'`: passed, proving the active product tree exactly matches the pre-iteration baseline.
- `check_project_docs.py`, `check_doc_drift.py --task-id 20260903-backup-revert-extension-update-c71a4e92`, and `git diff --check`: passed before commit.
## Follow-ups
- None planned. The reverted implementation remains available only on the named backup branch unless a future explicit decision revives it.
## Promotion Candidates
- None recorded.