Repository navigation
chore(docs): add cli next mode docs - #1466
Conversation
Greptile SummaryThe PR adds alpha documentation for Next mode and reorganizes ADRs to distinguish transition, Legacy, and imported Next decisions.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains. Important Files Changed
Reviews (2): Last reviewed commit: "chore: pr feedback" | Re-trigger Greptile |
There was a problem hiding this comment.
Pull request overview
Adds minimal but concrete documentation for the UDS CLI βNext modeβ (alpha) so users and contributors can discover it, understand why it exists, and follow the new bundle workflow while Legacy remains the default.
Changes:
- Expand user-facing docs/landing pages to call out Legacy vs Next modes and link to Next mode reference docs.
- Add a dedicated βUDS CLI Next Modeβ reference page covering capabilities, flags, and example workflows.
- Update contributor guidance and ADR organization to reflect the Legacy/Next transition and test tiers.
Reviewed changes
Copilot reviewed 35 out of 41 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| README.md | Adds CLI mode callout and a Next mode quickstart + mode-selection examples. |
| docs/reference/overview.mdx | Adds a reference-site entry card linking to the Next mode reference page. |
| docs/reference/next-mode.mdx | Introduces comprehensive Next mode reference documentation (concepts, capabilities, commands, flags, examples). |
| docs/index.mdx | Updates docs-site landing copy and adds a Next mode entry card. |
| docs/adr/next/0023-rooted-artifact-workspace-staging.md | New Next ADR documenting rooted workspace staging and security/operational tradeoffs. |
| docs/adr/next/0022-bundle-artifact-signing.md | New Next ADR documenting bundle signing approach and evidence storage. |
| docs/adr/next/0021-filesystem-trust-boundaries-for-commands.md | New Next ADR defining trusted vs untrusted filesystem boundaries and os.Root use. |
| docs/adr/next/0020-repository-package-structure.md | New Next ADR documenting repository structure and public/private Go package boundaries. |
| docs/adr/next/0019-separate-dev-deploy.md | New Next ADR defining separate dev deploy vs artifact deploy command surfaces. |
| docs/adr/next/0018-package-signature-verification.md | New Next ADR defining explicit per-package signature verification posture. |
| docs/adr/next/0017-hcl-file-function-scope.md | New Next ADR documenting file() evaluation/materialization behavior. |
| docs/adr/next/0016-uds-core-smoke-test-placement.md | New Next ADR defining UDS Core smoke test placement/tiering. |
| docs/adr/next/0015-multi-arch-bundle-distribution.md | New Next ADR describing multi-arch bundle distribution via root/child OCI indexes. |
| docs/adr/next/0014-integration-test-tiers.md | New Next ADR formalizing test tiers/tags/locations. |
| docs/adr/next/0013-deployer-package-hooks.md | New Next ADR documenting deploy hook extension points and concurrency considerations. |
| docs/adr/next/0012-library-logging-via-iostreams.md | New Next ADR documenting library logging via IOStreams. |
| docs/adr/next/0011-validation-at-public-library-entrypoints.md | New Next ADR documenting validation at public library boundaries. |
| docs/adr/next/0010-values-file-handling-for-bundle-deploy-from-artifact.md | New Next ADR documenting artifact values-file handling behavior and ordering. |
| docs/adr/next/0009-bundle-deploy-from-artifact.md | New Next ADR documenting artifact deploy flow, verification, and loader abstraction. |
| docs/adr/next/0008-bundle-reconfigure-operation.md | New Next ADR documenting reconfigure semantics and OCI-layer rewrite strategy. |
| docs/adr/next/0007-bundle-definition-and-value-files-in-oci-layout.md | New Next ADR documenting storing bundle definition/values as OCI artifact layers. |
| docs/adr/next/0006-opinionated-cli-settings.md | New Next ADR documenting configuration option set and defaults. |
| docs/adr/next/0005-interactivity.md | New Next ADR documenting non-interactive default and --prompt scope. |
| docs/adr/next/0004-logging-and-output-strategy.md | New Next ADR documenting stdout/stderr separation and result printing strategy. |
| docs/adr/next/0003-cli-command-structuring.md | New Next ADR documenting resource-first command structuring rationale. |
| docs/adr/next/0002-cli-architecture-patterns.md | New Next ADR documenting command options pattern, IOStreams, and testing approach. |
| docs/adr/next/0001-better-bundles-spec.md | New Next ADR documenting Better Bundles HCL spec and OCI layout concepts. |
| docs/adr/next/0000-record-architecture-decisions.md | New Next ADR establishing ADR usage for Next docs set. |
| docs/adr/legacy/0009-bundle-media-types.md | Fixes relative image link path to point at docs/.images. |
| docs/adr/legacy/0008-cli-output.md | Adds legacy ADR documenting stdout/stderr output expectations. |
| docs/adr/legacy/0007-caching.md | Adds legacy ADR documenting caching approach and tradeoffs. |
| docs/adr/legacy/0006-uds-engine-installation.md | Adds legacy ADR documenting UDS Engine installation decision. |
| docs/adr/legacy/0005-dev-mode.md | Adds legacy ADR documenting legacy dev mode decision. |
| docs/adr/legacy/0004-tui.md | Fixes relative image link path to point at docs/.images. |
| docs/adr/legacy/0003-bundle-create-arch.md | Fixes relative image link path to point at docs/.images. |
| docs/adr/legacy/0002-runner.md | Adds legacy ADR documenting UDS Runner decision and amendment. |
| docs/adr/legacy/0001-bundle-schema-tooling.md | Adds legacy ADR documenting initial bundle schema tooling decision. |
| docs/adr/0012-next-mode-transition.md | Adds transition ADR documenting Legacy/Next defaults and timeline. |
| docs/adr/0011-next-test-tiers.md | Adds transition ADR documenting Next test tiers/tasks/CI checks. |
| docs/adr/0010-legacy-next-coexistence.md | Updates transition ADR with clarified ADR locations and mode timeline notes. |
| CONTRIBUTING.md | Updates guidance for Legacy/Next coexistence, test tiering, and ADR locations. |
π‘ Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
There was a problem hiding this comment.
π‘ Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 166e64c981
βΉοΈ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with π.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@greptileai @codex review |
There was a problem hiding this comment.
π‘ Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0a218a023c
βΉοΈ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with π.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
ac3b216 to
f937f2e
Compare
f937f2e to
91a19c7
Compare
91a19c7 to
813fdde
Compare
bradclawsie
left a comment
There was a problem hiding this comment.
with caveats in discussion threads above, lgtm
Description
Updates documentation for next mode. There will be future documentation work to clean this up, but for now this is minimal amount of documentation we need to share.
docs/adr/legacy(and cleans up links)Related Issue
Relates to CLI-263
Type of change
Checklist before merging