Skip to content

cleanup: remove accidentally-nested amplifier-app-cli/ directory from PR #158#165

Merged
bkrabach merged 1 commit intomainfrom
cleanup/remove-nested-directory
Apr 20, 2026
Merged

cleanup: remove accidentally-nested amplifier-app-cli/ directory from PR #158#165
bkrabach merged 1 commit intomainfrom
cleanup/remove-nested-directory

Conversation

@bkrabach
Copy link
Copy Markdown
Collaborator

Problem

PR #158 (merge commit ca9362d, with earlier commit 8944aec) accidentally committed a full nested copy of the repo at amplifier-app-cli/ inside the repo root. Two levels of self-nesting, 340 stale files. This is the mirror of the amplifier-foundation cleanup (microsoft/amplifier-foundation#174).

Root cause

During a multi-agent development session, sub-agents used relative paths prefixed with the submodule name (e.g., amplifier-app-cli/amplifier_app_cli/main.py) while their cwd was already inside the submodule, creating nested paths like amplifier-app-cli/amplifier-app-cli/amplifier_app_cli/main.py.

Verification (nothing legit at risk)

  • pyproject.toml is identical between root and both nested copies
  • uv.lock is identical between root and both nested copies
  • Root source has the refactored ui/dashboard_renderer.py — this file does not exist in the nested copies, confirming nested snapshots are older, superseded state
  • Root main.py is the current refactored version; nested copies have the pre-refactor inline implementation

Changes

  • git rm -rf amplifier-app-cli/ — removes the entire nested tree (both levels, 340 files)
  • Adds /amplifier-app-cli/ to .gitignore to prevent recurrence

Follow-up

Closing these 4 stale Dependabot PRs (targeting nested paths that will not exist after merge): #159, #160, #161, #162.

The /config command feature from PR #158 is unaffected — this is pure cleanup of collateral pollution.

PR #158 (merge commit ca9362d, with earlier commit 8944aec) accidentally
committed a full copy of the repo at amplifier-app-cli/ inside the repo
root — TWO levels of self-nesting, 340 stale files. This is the mirror
of the amplifier-foundation cleanup (PR #174).

Root cause: sub-agents used relative paths prefixed with the submodule
name (e.g., 'amplifier-app-cli/amplifier_app_cli/main.py') while cwd was
already inside the submodule, creating the nested tree.

Verified no legit content at risk:
- pyproject.toml IDENTICAL between root and both nested copies
- uv.lock IDENTICAL between root and both nested copies
- Root source has refactored ui/dashboard_renderer.py which does NOT
  exist in nested copies — nested snapshots are older, superseded state
- Root main.py is the current refactored version

Also adds /amplifier-app-cli/ to .gitignore as a recurrence guard.

4 stale Dependabot PRs (#159, #160, #161, #162 — all targeting nested
/amplifier-app-cli paths) will be closed as no longer applicable.
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