Skip to content

Retire hosted Agent bridge and move onboarding to Python CLI - #2

Merged
hongzexin merged 4 commits into
mainfrom
codex/mecontrol-retirement-dev-20261024
Oct 24, 2026
Merged

hongzexin merged 4 commits into
mainfrom
codex/mecontrol-retirement-dev-20261024

Conversation

@hongzexin

@hongzexin hongzexin commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Problem

The old hosted MiControl/OpenClaw bridge created dedicated authorization sessions, polled mention tasks, dispatched shared tools/skills, and could send automatic room replies. That execution path is being retired in DEV so users can work from their own Agent tools.

Change

  • Keep the root TypeScript package as a migration compatibility shim only: setup/status/bootstrap now point to the Python CLI and never create auth sessions, poll legacy endpoints, or send automatic replies.
  • Remove the dead browser-auth transport, gateway execution bridge, legacy setup argument parser, and generated artifacts.
  • Preserve ordinary CHEK login, business APIs, room collaboration, human @ notifications, evidence/reviews/scoring/sharing, and EGO workflows.
  • Keep the Python CLI operation registry current with the DEV OpenAPI surface (621 operations) and make the retired micontrol namespace return AGENT_FEATURE_RETIRED without a network request.
  • Replace stale auth/setup documentation with the own-Agent migration guide for Cursor, Codex, Claude Code, ChatGPT, and 豆包.

Validation

  • pnpm build
  • pnpm test (14 passed)
  • python -m pytest -q tests (27 passed)
  • python scripts/check_registry_drift.py --allow-missing-optional (621 operations, 6 services)
  • git diff --check

This PR updates the existing compatibility package; it does not delete data or change staging/production.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-24T20:06:00.786511Z 32fc6f4 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@hongzexin hongzexin changed the title 统一个人 Agent 接入指南,停用已退役插件轮询 Retire hosted Agent bridge and move onboarding to Python CLI Oct 24, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: af1f7c529e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread README.md Resolved

@agemo06 agemo06 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed head af1f7c5. Requesting changes for a reproduced compatibility regression.

[P2] Preserve existing business-command identities when regenerating the registry
File: packages/chek-cli/cli_anything/frontend_app/generated/registry.json:71644-71650 (also :54641).
The base maps vehicle.vehicles.editsPost to POST /api/vms/api/vehicles/{id}/edits, but this head reassigns that same name to POST /api/vms/api/vehicles/edits (create vehicle), moving the old operation to editsPost2. The existing command chek call vehicle.vehicles.editsPost --path id=veh_example --data '{"diffPayload":{"ops":[]}}' --dry-run now succeeds with exit 0 and targets the creation endpoint: id is silently ignored. Existing edit scripts therefore send to the wrong business operation after this upgrade. Likewise, crowd.public.egoDatasetOrders --path order_id=order_example now resolves to the order list instead of that order detail. These are ordinary business APIs that this retirement promises to preserve. Keep stable method-to-endpoint mappings (or explicit compatibility aliases), give new operations distinct names, and add before/after regression coverage. Rejecting unused path arguments would also prevent silently accepting a misrouted command. All reproductions here used dry-run; no backend writes were made.

Documentation: the existing unresolved README finding is confirmed. Both README.md and README.en.md still contain old per-service figures. Current registry resource/operation counts are auth 26/94, backend-app 25/104, backend-saas 16/91, crowd 21/267, humanoid 7/25, vehicle 6/40 (total 101/621). Please synchronize both tables.

Validation: independent Python suite 27 passed; micontrol runs/detail/create each return AGENT_FEATURE_RETIRED with request_api mocked to forbid network; shipped dist registration/setup/bootstrap smoke passed without network and cleared synthetic legacy credentials. CI TypeScript build/14 tests and Python/drift checks are green, but do not cover the command-identity regression above.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 98de19be38

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/commands.ts Resolved

@agemo06 agemo06 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-reviewed head 32fc6f4. The blocking findings from my previous review are fixed; approving this revision.

Independent validation: 28 Python tests passed. Both prior dry-run reproductions now target the original item-specific endpoints with the supplied vehicle/order ID. Compared all 453 surviving operation names against the PR base: none changed HTTP method or path. Generator collision fixtures also preserve the two old names while assigning distinct names to the new operations. Both README coverage tables match the 101 resources / 621 operations registry.

Also verified the shipped dist setup command for both chek-cli and legacy memor-upload configuration: the existing ordinary token is preserved, retired session/device fields are cleared, output masks the synthetic token, and no network request occurs. This addresses the token-preservation comment despite its still-unresolved UI flag.

Current-head CI passed: TypeScript build and 15 tests, Python 28 tests, registry drift (621 operations / 6 services), and CodeQL. No remaining blocking findings. This approval supersedes my earlier changes-requested review; merge/deployment remain separate.

@hongzexin
hongzexin merged commit 8fc0a8c into main Oct 24, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants