Repository navigation
refactor(onboarding): move the onboarding crate under crates/ - #13087
Merged
Merged
Conversation
The production CLI depended on examples/onboarding-tui, so the library that `nemoclaw onboard` runs lived beside sample deployment files. Move it to crates/nemoclaw-onboarding with its history, and point the CLI, workspace, source packaging, Docker context, change detection, and documentation links at the new location. No crate or duplicate remains under examples/. Paths that resolved through examples/ now name it: build.rs and the example journey tests read ../../examples, and the fixtures that included the onboarding template and managed-ollama.yaml use the new depth. The standalone nemoclaw-onboarding binary stays in the crate; it is a 117-line consumer of `author`. The determinator rules that mapped examples/onboarding-tui to its package are gone: a crate under crates/ maps to its package by default. The source roots drop the old entry because `crates` already covers the crate. The second part of #12524, replacing the TUI Step enum with EditableField, no longer applies: the wizard now asks JourneyQuestion values from nemoclaw-authoring, and neither type exists on v1. Validation: before and after the move, `cargo test --locked -p nemoclaw-onboarding -p nemoclaw-build -p nemoclaw-cli` passed the same 272 tests, including all 44 generated example journeys. `cargo ci` (fmt, strict Clippy, build, 1,384 workspace tests, schema, bundle, lifecycle) and `cargo run -p nemoclaw-build -- fern check` pass. Refs #12524
cv
enabled auto-merge (squash)
October 13, 2026 07:35
Contributor
This was referenced Oct 13, 2026
sandl99
added a commit
that referenced
this pull request
Oct 15, 2026
…sher build Signed-off-by: San Dang <[email protected]> #13087 moved examples/onboarding-tui under crates/ and removed the same copy from the Ollama proxy image. The publisher image still copied it, so the hosted Agent images build failed before compiling.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The production CLI depends on
examples/onboarding-tui, so the library behindnemoclaw onboardsits beside sample deployment files. This PR moves it tocrates/nemoclaw-onboardingand keeps its git history. Nothing is left underexamples/.Changes
.dockerignore, the Ollama proxyDockerfile, and four docs links now usecrates/nemoclaw-onboarding.SOURCE_ROOTSdropsexamples/onboarding-tui, sincecratesalready includes the crate. Thenemoclaw-buildtest fixtures follow the new path.examples/onboarding-tuito its package. A crate undercrates/maps to its package by default.examples/:build.rs,example_reaches_review, and the test fixtures that read example templates now resolve../../examples.nemoclaw-onboardingstays in the crate as a thin consumer ofauthor.The issue also asked to replace the TUI
Stepenum withEditableField. That no longer applies: the wizard already asksJourneyQuestionvalues fromnemoclaw-authoring, and neitherStepnorEditableFieldexists onv1.Validation
cargo test --locked -p nemoclaw-onboarding -p nemoclaw-build -p nemoclaw-clipassed the same 272 tests before and after the move, including all 44 tests generated from the example deployment files.cargo cipassed every step: fmt, Clippy, build, 1,384 workspace tests, schema, bundle, and lifecycle.cargo run --locked -p nemoclaw-build -- fern checkreported 0 errors and 1 warning; I didn't check whether the warning predates this change.Closes #12524