mirror of
https://github.com/niels-emmer/myace.git
synced 2026-09-13 23:53:30 +02:00
[PR #96] [MERGED] Fix CLI adapter drift and offline-fallback documentation claims #96
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
github-mirrors/myace#96
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/niels-emmer/myace/pull/96
Author: @niels-emmer
Created: 8/14/2026
Status: ✅ Merged
Merged: 8/14/2026
Merged by: @niels-emmer
Base:
main← Head:docs/audit-cli-adapter-parity-and-fallback-claims📝 Commits (1)
0988379fix: correct CLI adapter drift and fallback-mechanism doc claims📊 Changes
9 files changed (+216 additions, -50 deletions)
View changed files
📝
README.md(+4 -2)📝
cli/myace_cli/adapters/claude_code.py(+32 -11)📝
cli/myace_cli/adapters/cursor.py(+24 -21)➕
cli/tests/test_claude_code_adapter.py(+75 -0)➕
cli/tests/test_cursor_adapter.py(+42 -0)📝
docs/architecture.md(+12 -6)📝
docs/extending.md(+12 -7)📝
docs/invariants.md(+6 -2)📝
docs/plans/starter-collections-improvements.md(+9 -1)📄 Description
Summary
A documentation audit following #95 turned up two real discrepancies —
not just stale wording, but a genuine code/docs mismatch:
1. The CLI's own adapter copies had silently drifted.
cli/myace_cli/adapters/claude_code.pyandcursor.pyare meant to be kept in sync with their backend counterparts (perdocs/extending.md), but they still had the exact bugs #95 fixed on the backend side — no agent frontmatter, an invented.claude/workflows/path, wrong Cursor frontmatter fields, numbered.mdcfiles, and the legacy.cursorrules. Fixed both to matchbackend/app/adapters/{claude_code,cursor}.py, and addedtest_claude_code_adapter.py/test_cursor_adapter.py(there wasn't coverage for either before — onlytest_opencode_adapter.pyexisted).2. Four docs claimed a working offline-fallback feature that doesn't exist.
README.md,docs/architecture.md,docs/invariants.md, anddocs/extending.mdall stated thatcli/myace_cli/adapters/is used as a fallback whenmyace pullcan't reach the server. Checkingcli/myace_cli/sync.pyshowspull_profile()always calls the backend's/profiles/compileendpoint directly, with no try/except or fallback path — and nothing inmain.py/sync.pyimportsmyace_cli.adaptersat all. The package is real, tested, and (for those 3 targets) correctly maintained, but it's dead code today. Corrected all four doc locations to say so plainly rather than implying a feature that isn't there.Also fixed
docs/plans/starter-collections-improvements.md's## Statusline, which still read "Not started" despite the plan being mostly complete and merged.Test plan
Ran for real in fresh venvs this time (not just logic-traced):
ruff check .clean,pytest28/28 passing (including the 2 new test files)ruff check .clean,pytest202/202 passingtsc -b --noEmitclean,vitest run19/19 passing🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.