Skip to content

refactor(project): shell out to project binary, drop write ops and team support#623

Merged
birdmanmandbir merged 20 commits into
mainfrom
feat/project-shell-out
Jun 6, 2026
Merged

refactor(project): shell out to project binary, drop write ops and team support#623
birdmanmandbir merged 20 commits into
mainfrom
feat/project-shell-out

Conversation

@birdmanmandbir

Copy link
Copy Markdown
Contributor

Replace direct TOML reads in internal/project with exec of the organon project CLI binary. Drop add/archive/unarchive/modify/delete/open commands from cmd/project.go — writes go directly to projects.toml. Drop all team-aware functions.

  • internal/project: store.go and token.go deleted, resolve.go shells out
  • cmd/project.go: only list and resolve remain; resolve keeps ttal enrichment
  • Daemon callers updated to use project.Get/project.List/project.Get callback
  • Statusline/test updated to use injectable resolveAliasFn
  • ~2.7k lines removed

…am support

Replace direct TOML reads in internal/project with exec of the organon
project CLI. Remove add/archive/unarchive/modify/delete/open commands
from cmd/project.go — writes go directly to projects.toml. Drop all
team-aware functions (ResolveProjectPathForTeam, etc.).

- internal/project: store.go and token.go deleted, resolve.go shells out
  to project binary via project list --json / project resolve
- cmd/project.go: only list and resolve remain; resolve keeps ttal
  enrichment (task_id, stage, owner)
- Daemon callers updated to use project.Get/project.List/project.Get
  callback instead of Store
- Statusline/test updated to use injectable resolveAliasFn
- cmd/jump.go shells out to project jump instead of internal/project+reporef
- internal/reporef removed — no remaining callers
- internal/project/GetProjectPath kept for tag.go use
…pact test output, make project shell-out injectable
@birdmanmandbir birdmanmandbir merged commit 7fa96c1 into main Jun 6, 2026
6 checks passed
@birdmanmandbir birdmanmandbir deleted the feat/project-shell-out branch June 6, 2026 10:57
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