Repository navigation
Retire hosted Agent bridge and move onboarding to Python CLI - #2
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 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".
agemo06
left a comment
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
💡 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".
agemo06
left a comment
There was a problem hiding this comment.
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.
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
micontrolnamespace returnAGENT_FEATURE_RETIREDwithout a network request.Validation
pnpm buildpnpm 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 --checkThis PR updates the existing compatibility package; it does not delete data or change staging/production.