Compile typed command runners
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Implement the optional integration modules and captured registration API
|
||||
|
||||
Status: implementation in progress. Stages 1 through 4 are complete; subsequent work follows the ordered roadmap.
|
||||
Status: implementation in progress. Stages 1 through 5 are complete; subsequent work follows the ordered roadmap.
|
||||
Execute the stages in order. Each stage is sized as a separate Luna coding-agent
|
||||
assignment. This document authorizes no publication or changes to sibling
|
||||
repositories.
|
||||
@@ -289,9 +289,14 @@ operational/usage outcomes respectively. Root tests pass.
|
||||
and writer failures. Backend parse errors become neutral usage diagnostics;
|
||||
public results must not expose Cobra/pflag types.
|
||||
|
||||
**Completion evidence:** factories/checks/handlers execute only on the selected
|
||||
ordinary path; target callbacks remain untouched by help/version. Writer failure
|
||||
and wrapped wiring classifications retain causes. Stage 7 completes routing.
|
||||
**Completion evidence — complete:** command payloads now compile into typed
|
||||
invocation closures without `any` input handoffs. Conversion precedes input
|
||||
materialization; omitted factories preserve the exact zero value. Public handlers
|
||||
receive only `Invocation` and their typed input, while help uses a narrow private
|
||||
presentation context through the same capture/compiler path. The path-name special
|
||||
case for help is gone. Focused execution, pointer-zero-value, help/version callback
|
||||
isolation, writer-failure, and wrapped-error tests pass. Stage 7 remains responsible
|
||||
for routing snapshot/session consolidation.
|
||||
|
||||
## Stage 6: Make batch installation the sole registry mutation path
|
||||
|
||||
|
||||
Reference in New Issue
Block a user