Skip to content

Resolve workspace aliases case-insensitively - #60

Merged
Dandre126 merged 6 commits into
mainfrom
cursor/workspace-alias-casefold-a695
Aug 22, 2026
Merged

Resolve workspace aliases case-insensitively#60
Dandre126 merged 6 commits into
mainfrom
cursor/workspace-alias-casefold-a695

Conversation

@Dandre126

@Dandre126 Dandre126 commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

Third-review P1 on the same branch. Rebased onto main after #59 and #61 (0d71a59). No version bump (0.7.10).

P1 this revision

  • src/dyro/console/assets/app.js:recommendedCommand no longer invents dyro --workspace <alias> doctor when overview left recommendation.command blank (fold-twin FAIL cards). Unique-alias --workspace ads still pass through a backend-provided command.
  • Operator harness covers the copy path (primary-copy / recommendedCommand), not only the JSON field: FAIL+empty under fold collision does not invent --workspace … doctor.
  • src/dyro/console/assets.py:ASSET_MANIFEST pin for app.js updated (fail-closed static shell).

Still fixed / do not regress

  • Unique casefold resolve; fold twins fail closed (including exact match)
  • Resolve does not rewrite the registry
  • Implicit JSON next / briefing / repair never advertise a fail-closed --workspace selector; colliding profile names use --root. Unique keeps canonical --workspace.
  • workspace default / workspace remove plan and apply share resolve; remove can still target each exact registered name when twins collide
  • Bridge workspace list loads each row by stored root
  • cli.py:cmd_console dry-run and apply share get_workspace (canonical unique fold; fail-closed collision)
  • Console overview / isolated list-by-root omit a colliding --workspace ad (empty command; IsolatedOverviewService._safe_command accepts omit)

Rebase

Preserved this PR’s scoped ads and #61’s ReadBudget / deadline_repair_commands. next_step.py:deadline_repair_commands fallbacks use scoped_briefing_command when a config is available.

Leave unmerged.

Open in Web Open in Cursor 

@vercel

vercel Bot commented Aug 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
dyro Error Error Aug 22, 2026 8:49pm
dyro-engineering-flow Error Error Aug 22, 2026 8:49pm

cursoragent and others added 5 commits August 22, 2026 20:43
Co-authored-by: Dandre Yang <Dandre126@users.noreply.github.com>
Co-authored-by: Dandre Yang <Dandre126@users.noreply.github.com>
Implicit next/briefing and console overview omit a colliding
--workspace selector (CLI uses --root). Console plan and apply share
get_workspace so unique fold prints the canonical name and twins
fail closed on both dry-run and apply.

Co-authored-by: Dandre Yang <Dandre126@users.noreply.github.com>
Create a line without publishing origin so implicit JSON next hits
repair commands and asserts those fields, not a false-green ready
or needs_line path.

Co-authored-by: Dandre Yang <Dandre126@users.noreply.github.com>
When overview blanks recommendation.command on fold-twin cards,
the operator copy path must not invent `dyro --workspace <alias>
doctor`. Unique-alias ads still pass through a backend-provided
command.

Co-authored-by: Dandre Yang <Dandre126@users.noreply.github.com>
The operator copy-path change edited packaged app.js without updating
ASSET_MANIFEST, so validate_assets fail-closed and CI could not start
the Console shell.

Co-authored-by: Dandre Yang <Dandre126@users.noreply.github.com>
@Dandre126
Dandre126 merged commit f62f00e into main Aug 22, 2026
9 of 11 checks passed
@Dandre126
Dandre126 deleted the cursor/workspace-alias-casefold-a695 branch August 22, 2026 21:23
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