Skip to content

chore: delete the two orphaned crate husks left by the ACP port - #201

Open
Ukaykhingmarma28 wants to merge 2 commits into
pacifio:mainfrom
Ukaykhingmarma28:chore/remove-orphaned-atlas-agents
Open

chore: delete the two orphaned crate husks left by the ACP port#201
Ukaykhingmarma28 wants to merge 2 commits into
pacifio:mainfrom
Ukaykhingmarma28:chore/remove-orphaned-atlas-agents

Conversation

@Ukaykhingmarma28

@Ukaykhingmarma28 Ukaykhingmarma28 commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator

Follow-up sweep after the Zed ACP port (#198). Deletions only — no behaviour changes.

What's dead

The port replaced the old agent stack and deleted atlas-acp, atlas-agentkit, and the old atlas-agents/atlas-registry internals. Two crate directories outlived that deletion. Neither has a Cargo.toml — each is just a stray examples/ file importing crates that no longer exist, so neither can compile and nothing depends on either.

crates/atlas-agents/examples/backend_suite.rs — opens with use atlas_agents::{...}. Its only caller was package.json's acp:test, dead for exactly as long. On main today:

$ cargo run --manifest-path crates/atlas-agents/Cargo.toml --example backend_suite
error: manifest path `crates/atlas-agents/Cargo.toml` does not exist

Removing the example without the script would leave the dangling half behind, so both go.

crates/atlas-registry/examples/registry_e2e.rs — opens with use atlas_acp::{...} and use atlas_registry::RegistryStore. src-tauri/Cargo.toml:59 already states the situation in a comment: "atlas-acp, atlas-registry and atlas-agentkit are deleted." The directory outlived the statement. Nothing references this one at all — no dependency, no script, no CI job.

Checks

  • No remaining file references atlas-agents, atlas_agents, atlas-registry, atlas_registry, backend_suite, or registry_e2e as code. Remaining hits are prose in ARCHITECTURE.md (see below).
  • No CI job invokes acp:test.
  • package.json remains valid JSON; 19 scripts left.
  • bun run test — 43 files, 805 tests, all passing.
  • Pre-commit typecheck (both tsconfigs) passed on each commit.

Separate follow-up, already in progress

ARCHITECTURE.md still documents the pre-port stack in detail — AgentBackend at crates/atlas-agents/src/backend.rs, AgentManager at .../src/manager.rs, SessionActor at .../src/actor.rs, plus the crate table and the directory tree. crates/atlas-cersei/ARCHITECTURE.md has the same problem. Those paths were already stale before this PR, and rewriting the architecture docs is a bigger job than a dead-code sweep should smuggle in. That is coming as its own PR.

The Zed ACP port replaced the old stack, and `crates/atlas-agents` lost its
manifest and its `src/` along with it. What survived was a single tracked
example, `backend_suite.rs`, that opens with `use atlas_agents::{...}` — a
crate that no longer exists — inside a directory with no Cargo.toml. It could
not compile, and nothing depended on it.

`package.json`'s `acp:test` script was its only caller, and it has been dead
for exactly as long:

    $ cargo run --manifest-path crates/atlas-agents/Cargo.toml --example backend_suite
    error: manifest path `crates/atlas-agents/Cargo.toml` does not exist

Removing the example without the script would leave the dangling half behind,
so both go. Nothing else in the tree, and no CI job, references either.
Same shape as the atlas-agents husk in the previous commit, missed on the
first pass because the search was scoped to `atlas-agents`.

`crates/atlas-registry` has no Cargo.toml either. All that is left is
`examples/registry_e2e.rs`, which opens with

    use atlas_acp::{AcpEvent, AgentId, AgentRegistry, EventSink, SpecSource};
    use atlas_registry::RegistryStore;

— two crates the port deleted. `src-tauri/Cargo.toml` says as much in a
comment: "`atlas-acp`, `atlas-registry` and `atlas-agentkit` are deleted."
The directory outlived the statement.

Nothing references the example: no dependency, no npm script, no CI job.
@Ukaykhingmarma28 Ukaykhingmarma28 changed the title chore: delete the orphaned atlas-agents husk chore: delete the two orphaned crate husks left by the ACP port Aug 25, 2026
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