6.9 KiB
6.9 KiB
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:
b2e33e2e5d - Owner: codex
- Status: Integrated and pushed
Scope
- Preserve the complete extension-update iteration currently at remote
maincommitb2e33e2on a dedicated remote backup branch before changingmain. - Revert the central-service automatic-update orchestration carried by merge
3224758through normal history-preserving commits, while retaining the released Chrome extension0.5.167, its adaptive ERP readiness behavior, dormant idle/reload safety protocol, synchronized mappings, tests, ZIP, archive, and release manifest. - Preserve the source and integration task records as historical evidence, mark accepted decision
EXT-001as reverted, and reconcile canonical project memory to the restored active architecture. - Run the complete repository, release, document, test, and build gates, then advance remote
mainwith 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 tob2e33e2e5d29138891eabc93969cf24907492dfebefore the rollback continues. - The user's correction establishes the intended boundary: extension
0.5.167remains current. Remove the central OSS/ECS Cloud Assistant service implementation, account/host UI, dependencies, configuration and migration 019, but keep the exact published0.5.167plugin bytes and the0.5.166adaptive ERP entry readiness they contain. Required database migration remains 018. - Do not create a second payload under version
0.5.167. Restore the exact source and ZIP from merge3224758, SHA-2566822ec660097a8889da8ea4fa22d4091467aa022067bff3bee2ac5406864b679; the plugin-side update messages remain dormant because the current platform/server does not trigger them. - 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
maincheckout is owned by task20260902-migrate-restart-confirmed-4f8c2a71and 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-b2e33e2was created first and independently verified at exact commitb2e33e2e5d29138891eabc93969cf24907492dfe. - The first rollback commit
81a0cdawas too broad: it restored extension0.5.165together with the service baseline. After the user clarified that the plugin must remain0.5.167, this task resumed to correct that scope without rewriting either commit or remote history. - Restored the exact extension
0.5.167source/package from merge3224758, including adaptive list-entry readiness and its dormant idle/reload safety handlers; synchronized the platform minimum version, mappings, business/release documentation, focused tests, archived prior releases, anddist/release-manifest.json. - Kept required schema migration
018_agentbus_account_workers; migration 019, central OSS/ECS update orchestration, update endpoints/poller, account-to-ECS fields/UI, Alibaba SDK dependencies and production update configuration remain removed from the main-line result. - Marked
EXT-001as Reverted and reconciled the decision index, system overview, data flow, current state, task history, evidence index, and rollout commitment. - Created rollback commit
81a0cdac8ea4be867ab43d0a84ffa547d159223d. After a fresh fetch provedorigin/mainwas still exactlyb2e33e2and an ancestor of the rollback commit, a normal non-force push advanced remotemainto81a0cda. - Created forward correction commit
fe1cc2cddc29e4dead81e53c16d31bb71493602d, retaining the exact0.5.167plugin release while leaving the central updater rollback intact. After a fresh fetch provedorigin/mainwas still exactly95a0d06and an ancestor of the correction, a normal non-force push advanced remotemaintofe1cc2c. - No production deployment, service restart, database migration, OSS publication, ECS command, Chrome reload, ERP access, live task mutation, history rewrite, or secret access occurred.
Verification
git ls-remote --heads origin refs/heads/codex/backup-extension-update-20260903-b2e33e2: returned exact commitb2e33e2e5d29138891eabc93969cf24907492dfe.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: 270/270 passed, including adaptive entry readiness and dormant0.5.167plugin idle/reload safety coverage.node --run build: passed.node --checkpassed for extensionbackground.js,business-bridge.js, andinpage.js.unzip -t dist/ltjt-order-assistant-0.5.167.zip: passed; SHA-256 is6822ec660097a8889da8ea4fa22d4091467aa022067bff3bee2ac5406864b679and equals both the release manifest and the package at merge3224758.- Exact path comparisons against
3224758passed for the extension source, current/archived release packages, release manifest, lifecycle/plan mappings, and shared-plan business contract. - Exact path comparisons against pre-updater baseline
f52d9d7passed for the control plane, dependency manifests, production environment example, and platform HTML/styles. Platform JavaScript differs only by the required extension version0.5.167. - Explicit architecture checks returned required migration
018_agentbus_account_workersand confirmed migration 019,extension-updates.ts, update endpoints/poller, account-to-ECS fields/UI, Alibaba SDK dependencies, and production updater configuration are absent. check_project_docs.py,check_doc_drift.py --task-id 20260903-backup-revert-extension-update-c71a4e92, andgit diff --check: passed before commit.- Post-push fetch and
git ls-remotereturned remotemainatfe1cc2cddc29e4dead81e53c16d31bb71493602dand the backup branch at exact commitb2e33e2e5d29138891eabc93969cf24907492dfe.
Follow-ups
- The full server-side automatic-update implementation remains available on the named backup branch. The active
0.5.167plugin continues to use the existing manual publication/loading workflow unless a future explicit decision revives server orchestration.
Promotion Candidates
- None recorded.