Complete documentation reconciliation and final review

This commit is contained in:
2026-10-07 18:32:44 +00:00
parent eaf0c8f004
commit 3871d83748
5 changed files with 73 additions and 43 deletions

View File

@@ -17,17 +17,16 @@ The root lowers registered command metadata into the internal adapter's neutral
bridge. The adapter returns raw parsed values and neutral syntax-failure data;
the root prepares typed input, invokes application/standard handlers, and
coordinates outcomes and diagnostic delivery. Application callbacks and their
supported error identity remain in the root's typed contracts rather than
crossing the backend bridge. Context and streams are passed to the adapter for
its parsing and help operations.
supported error identity are handled in the root through its typed contracts.
Context and streams are passed to the adapter for its parsing and help operations.
## `internal/cobra`
This package owns the Cobra-specific command tree, argument/flag parsing,
and help rendering. It translates neutral command metadata and parsed values into a bridge
result consumed by the root package. It does not import `commandkit` and does not
own registry policy, public command declarations, provider loading, or standard
inspection report rendering.
and help rendering. It translates neutral command metadata and parsed values
into a bridge result consumed by the root package. It does not import `commandkit`
and does not own registry policy, public command declarations, provider loading,
or standard inspection report rendering.
## External implementation boundaries