Skip to content

fix(host): the command line refuses what it can't do and names restored copies apart - #585

Merged
iamnbutler merged 3 commits into
mainfrom
fix-cli
Oct 22, 2026
Merged

iamnbutler merged 3 commits into
mainfrom
fix-cli

Conversation

@iamnbutler

Copy link
Copy Markdown
Contributor

Command line gaps from the map. Map ids: ^433 ^437 ^844 ^455 ^377 ^826 ^821 ^893 ^361 ^363.

  • ^433, ^437: ace agents and ace desktop accept only on or off; anything else (or nothing) prints the usage and exits 1 instead of silently turning the setting off.
  • ^844, ^455 (Q260): ace restore names a copy whose name is taken <name>-1, <name>-2, … like Finder. The restored store's own metadata still named the original and wins on open, so restore commits the new name there with a rename.
  • ^377, ^826: ace new --model checks the model like ace model does (This model is unavailable. Add its provider key first.), sharing one checkModel.
  • ^821: an unknown command says Unknown command <x> and prints the help even with no channel argument.
  • ^893: ace logs --since bogus fails with what --since takes instead of matching every line.
  • ^361: ace project access <name> accepts the name a project was opened as (case-insensitive), after a folder and a GitHub owner/name; two projects with one name ask for the folder.
  • ^363: a successful unshare prints The team|<login> no longer sees it through a share.

Smoked with the CLI against an isolated loopback host (4431): each refusal above printed and exited 1; on/off still worked; --model openai/gpt-5-mini was accepted; --since 10m filtered; project access palette-lab and Palette-Lab listed access; restoring one backup twice gave cli-one-1 and cli-one-2, and ace info cli-one-1 reports that name from the channel itself. The unshare success line wasn't exercised: it needs a team directory, which this smoke didn't set up.

Built in Ace

No. Built with Claude Code (fix-train worker) in a lane, outside Ace, as part of the map-lead fix train. Tracked under #5.

…ed copies apart

ace agents and ace desktop take only on or off, ace new --model refuses a model this host can't
run like ace model does, an unknown command says so even without a channel, ace logs refuses an
unreadable --since, ace project accepts a project's name, and unsharing confirms. A restored
backup whose name is taken becomes <name>-1, <name>-2 (Q260), in the catalog and the channel's
own metadata.

Why: apps/host/src/backup.ts#function restore | a restored store's MetadataDoc wins on open, so a new name must be committed there with a rename, not only in the catalog
@iamnbutler
iamnbutler merged commit 5e811e0 into main Oct 22, 2026
1 check passed
@iamnbutler
iamnbutler deleted the fix-cli branch October 22, 2026 15:18
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.

1 participant