Skip to content

feat(goal): add cli discovery and installer support#172

Merged
birdmanmandbir merged 4 commits into
mainfrom
feat/goal-cli-discovery
Jun 11, 2026
Merged

feat(goal): add cli discovery and installer support#172
birdmanmandbir merged 4 commits into
mainfrom
feat/goal-cli-discovery

Conversation

@birdmanmandbir

@birdmanmandbir birdmanmandbir commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Summary

  • install the Organon goal CLI alongside src, web, skill, and project
  • add goal --help as an optional synthetic/runtime context discovery command for coder and reviewer agents
  • migrate Lenos goal creation/status reads to the goal CLI backend (goal add --status, goal update, goal status, goal get --json)
  • add draft/active/terminal status helpers so only active goals bind LENOS_GOAL and the exit gate
  • keep lenos run --goal active by default while TUI-created goals start as draft
  • update runtime goal prompts to prefer goal get, goal status complete, and goal status blocked

Behavior

  • Non-interactive --goal / --goal-file creates an immediately active session goal when no managed goal file exists.
  • If a managed goal already exists for the same session, explicit --goal / --goal-file uses goal update followed by goal status active; it does not use goal add --force.
  • Existing active goal files still bind into runtime as LENOS_GOAL.
  • Draft, complete, and blocked goal files do not reactivate runtime goal behavior.
  • TUI Open Goal still opens the session goal file; a missing file is created as draft and does not auto-run the agent unless it is active after editing.

Verification

  • go test ./...

@birdmanmandbir birdmanmandbir merged commit d312d46 into main Jun 11, 2026
10 checks passed
@birdmanmandbir birdmanmandbir deleted the feat/goal-cli-discovery branch June 11, 2026 06:28
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