check lại change docs này khá outdate r. H kh còn openacp runtime nữa.…
- User
check lại change docs này khá outdate r. H kh còn openacp runtime nữa. https://github.com/Open-ACP/OpenACP/pull/34/changes#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5 ngoài ra còn husky tại sao m tự thêm vào t kh yêu cầuhttps://github.com/Open-ACP/OpenACP/pull/34/changes
Assistant
Now let me check if
openacp runtimeactually exists in the current codebase.Assistant
OK, rõ rồi. Đây là summary:
Vấn đề 1: Docs outdate -
openacp runtimekhông tồn tạiDocs trong PR #34 document
openacp runtimecommands:openacp runtime new,runtime status,runtime cancel,runtime agents
Nhưng trong source code không có
openacp runtimecommand. Chỉ cóopenacp apicommands. Đây là docs bịa ra, không khớp với code thực tế.Các file bị ảnh hưởng:
docs/guide/usage.md— section "CLI Runtime Commands" hoàn toàn saiREADME.md— section "Runtime" commands saidocs/guide/configuration.md— reference "Used byopenacp runtimecommands" sai
Vấn đề 2: Husky hooks tự thêm vào
PR thêm 4 file
.husky/mới:.husky/commit-msg.husky/post-commit.husky/pre-push.husky/prepare-commit-msg
Tất cả đều gọi
entire hooks git ...— đây là hooks của tool "Entire CLI", không liên quan gì đến OpenACP. B không yêu cầu mà nó tự thêm vào.Muốn t comment trực tiếp lên PR hay fix luôn trên branch?
- User
Fix 2 cái này đi
Assistant
OK, PR #34 là từ develop → develop (self-merge). Mình đang trên develop rồi. Let me read the current files to fix.
Assistant
Now let me check what the actual API commands look like in the source to write accurate docs.
Assistant
Now I have the full picture. Let me fix all the issues.
Assistant
Now remove the husky files (Entire CLI hooks, not requested).
Assistant
Good -
pre-commitis the legitimate existing hook. Only the 4 Entire CLI hooks were removed.Let me also check if
usage.mdreferences need updating for the "Telegram topics" text that should now mention Discord too.Assistant
Done. Summary of changes:
Fix 1 - Docs
openacp runtime→openacp api:docs/guide/usage.md— Replaced fake "CLI Runtime Commands" section with accurate "CLI API Commands" using actualopenacp apisubcommandsREADME.md— Fixed "Runtime" section → "API",openacp runtime *→openacp api *, "CLI runtime" → "CLI API"docs/guide/configuration.md— Fixed reference fromopenacp runtimetoopenacp api
Fix 2 - Removed Entire CLI husky hooks:
- Deleted
.husky/commit-msg,.husky/post-commit,.husky/pre-push,.husky/prepare-commit-msg(all callingentire hooks git ..., not part of OpenACP) - Kept
.husky/pre-commit(legitimatepnpm buildhook)
Muốn t commit luôn không?
- User
Xem docs còn phần nào change ảo kh nếu có fix đi
Assistant
Let me cross-check docs claims against actual source code.
Assistant
Hầu hết docs đều chính xác. Chỉ có 1 issue nhỏ:
docs/guide/getting-started.mddocument setup wizard steps không đầy đủ — nó list steps cũ (chỉ Telegram) nhưng README.md thì đã update đúng steps mới (choose channel, configure credentials...).Let me check getting-started.md more carefully.
Assistant
Có mấy vấn đề:
- Prerequisites — vẫn chỉ mention Telegram, không mention Discord
- Setup wizard steps — chỉ document Telegram flow (Step 1: Telegram Bot, Step 2: Group Chat), nhưng README.md đã update thành flow mới (choose channel, configure credentials). Tuy nhiên setup code thực tế có support cả Discord, nên docs này outdate.
- Line 84 — "CLI commands, runtime" — vẫn mention "runtime"
Assistant
OK, setup wizard thực tế đã có channel selection + Discord. Docs
getting-started.mdđang outdate. Let me update it.Assistant
Now let me verify all docs are consistent — no more "runtime" references.
Assistant
Remaining "runtime" refs are only in internal design spec (
superpowers/specs/) — that's fine, it's a historical design doc describing the rename.All public-facing docs are clean now. Summary of all fixes:
1.
openacp runtime→openacp api(fabricated commands)README.md— Fixed section + feature bulletdocs/guide/usage.md— Replaced entire sectiondocs/guide/configuration.md— Fixed reference
2. Husky hooks removed (Entire CLI, not requested)
- Deleted 4 files:
commit-msg,post-commit,pre-push,prepare-commit-msg
3.
getting-started.mdoutdate (only documented Telegram setup)- Updated prerequisites to include Discord
- Rewrote setup steps to match actual wizard flow (channel selection → channel config → agents/workspace → run mode)
- Fixed "runtime" → "API" in Next Steps link
- User
ok
Assistant
Done. Committed
f5270e9.