Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Unregistering an APX Project Should Not Erase Its APC Contract

Unregistering an APX Project Should Not Erase Its APC Contract A project can stop being active on one machine without stopping being a project. That distinction matters when you clean up an APX installation, move between computers, or register the wrong directory by mistake. The practical rule is simple: removing an APX project registration should remove the local runtime relationship, not the…

Unregistering an APX project does not erase its APC contract, despite popular misconceptions. The distinction between the two lies in their roles and lifetimes. APC represents the portable context layer, consisting of AGENTS.md and .apc/project.json files, while APX is the runtime and tooling layer responsible for registering projects with a local daemon.

The cleanup command for APX is designed to be narrow in scope. When you run apx project remove /path/to/repo, APX simply removes the local registration without deleting the project files, including AGENTS.md, .apc/project.json, agent definitions, skills, and shared MCP hints. Consequently, the project folder remains a valid APC project for other compatible tools like Codex or Claude Code.

APX also maintains machine-local state under ~/.apx/projects/apx_id/, which includes conversations, messages, task logs, cached data, routine state, and agent runtime memory. This runtime history is separate from the portable project definition and should not be confused with the APC contract.

If the project becomes relevant again in the future, registering it with apx project add . will restore the project in APX's registry. The stable apx_id in .apc/project.json identifies the project definition, ensuring that runtime history remains intact and separate from the project's portable context.

In summary, unregistering an APX project should not impact the project's APC contract and shared instructions. By keeping the two layers distinct, developers can maintain a clean boundary between project maintenance and runtime state management.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

More from Wednesday, 14 October 2026 →