Skip to content

Move orchestrator into monorepo and reorganize SDK#232

Merged
retr0h merged 3 commits intomainfrom
refactor/remove-job-status-tui
Mar 8, 2026
Merged

Move orchestrator into monorepo and reorganize SDK#232
retr0h merged 3 commits intomainfrom
refactor/remove-job-status-tui

Conversation

@retr0h
Copy link
Collaborator

@retr0h retr0h commented Mar 8, 2026

Summary

  • Remove client job status BubbleTea TUI command, /job/status API
    endpoint, SDK QueueStats() method, and drop bubbletea dependency
  • Move orchestrator package from osapi-sdk into monorepo at
    pkg/sdk/orchestrator/
  • Rename pkg/sdk/osapi/ to pkg/sdk/client/ to follow Go naming
    conventions, update all imports across 137 files
  • Reorganize SDK docs into sdk/client/ and sdk/orchestrator/ with
    Docusaurus sidebar categories for Operations and Features
  • Create 14 operation examples and 13 feature examples with matching
    documentation
  • Add 4 new feature docs: Task Functions, Only If Changed, Failure
    Recovery, and Introspection (Explain/Levels/Validate)
  • Update guards docs with WhenWithReason(), cross-link related
    feature pages

Test plan

  • go build ./... passes
  • just go::unit — all unit tests pass
  • just go::vet — lint clean (0 issues)
  • just docs::build — Docusaurus builds successfully
  • 13 feature docs ↔ 13 feature examples (parity verified)
  • 14 operation docs ↔ 14 operation examples (parity verified)

🤖 Generated with Claude Code

The `client job status` command was a BubbleTea TUI that duplicated
data already available via `client health status`. Remove the command,
its `/job/status` API endpoint, SDK method, tests, and docs. This also
drops the bubbletea dependency. The internal `GetQueueSummary` method
is preserved as it powers health metrics and ListJobs status counts.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions
Copy link
Contributor

github-actions bot commented Mar 8, 2026

Thank you for contributing to this project! 😊🕹️

The TestJobStatus integration test exercised the removed
`client job status` CLI command and `/job/status` endpoint.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@codecov
Copy link

codecov bot commented Mar 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

Impacted file tree graph

@@           Coverage Diff            @@
##             main     #232    +/-   ##
========================================
  Coverage   99.93%   99.93%            
========================================
  Files         200      204     +4     
  Lines        7771     8212   +441     
========================================
+ Hits         7766     8207   +441     
  Misses          3        3            
  Partials        2        2            
Files with missing lines Coverage Δ
internal/audit/export/file.go 100.00% <ø> (ø)
internal/cli/ui.go 100.00% <100.00%> (ø)
pkg/sdk/client/agent.go 100.00% <ø> (ø)
pkg/sdk/client/agent_types.go 100.00% <ø> (ø)
pkg/sdk/client/audit.go 100.00% <ø> (ø)
pkg/sdk/client/audit_types.go 100.00% <ø> (ø)
pkg/sdk/client/errors.go 100.00% <ø> (ø)
pkg/sdk/client/file.go 100.00% <ø> (ø)
pkg/sdk/client/file_types.go 100.00% <ø> (ø)
pkg/sdk/client/health.go 100.00% <ø> (ø)
... and 14 more

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4018775...fde3a2e. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Move the orchestrator package from osapi-sdk into the monorepo at
pkg/sdk/orchestrator/. Rename pkg/sdk/osapi/ to pkg/sdk/client/ to
match Go naming conventions. Reorganize SDK docs and examples with
proper Docusaurus sidebar categories for operations and features.

Add comprehensive orchestrator documentation covering all public
APIs: task functions, only-if-changed, failure recovery, guards
with WhenWithReason, and plan introspection (Explain/Levels/Validate).

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@retr0h retr0h changed the title Remove client job status TUI and API endpoint Move orchestrator into monorepo and reorganize SDK Mar 8, 2026
@retr0h retr0h merged commit c931542 into main Mar 8, 2026
9 checks passed
@retr0h retr0h deleted the refactor/remove-job-status-tui branch March 8, 2026 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant