Skip to content

Separate Rust integration and TypeScript lab project state ownership #104

Closed

Description

@ElbertePlinio

Problem

The Rust integration CLI and TypeScript lab use overlapping project state paths under PICKFORGE_HOME. A real Android pass for #93 found that pickforge init refuses a project after lab runs already exist under that project's state directory.

The documented happy path runs pickforge init before the lab, so it passes, but command order should not corrupt or make otherwise-owned Pickforge state mutually exclusive.

Expected

  • Reproduce both orders with the same canonical project and isolated PICKFORGE_HOME: Rust init → lab run and lab run → Rust init
  • Define one versioned project-state layout with non-overlapping ownership for Rust integration receipts/backups and TypeScript lab runs/sessions
  • Preserve existing alpha.1/alpha.2 state in place; never silently migrate, delete, or overwrite it
  • Both tools detect legacy layout and either coexist safely or report an exact manual action
  • Concurrent first use is atomic and cannot create partial ownership
  • Add upgrade/order/concurrency tests and a real isolated-home smoke
  • Document the layout and compatibility policy

This blocks stable in #89 because normal command order cannot be a hidden prerequisite. Refs #89 and #93.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions