Plan run as an alias for process

This commit is contained in:
2026-11-26 23:03:11 +00:00
parent be2846847b
commit 9dadd97ee6

View File

@@ -7,8 +7,10 @@ Implementation has not begun.
Provide `audita preflight` so operators and orchestration applications such as Provide `audita preflight` so operators and orchestration applications such as
Narratio can check a proposed processing invocation without executing its Narratio can check a proposed processing invocation without executing its
correction pipeline. The existing execution command is `audita process`; this correction pipeline. Retain the existing `audita process` command and add
feature does not rename it or introduce a `run` alias. `audita run` as an alias. Both names use the same processing command definition,
arguments, execution path, and outcome behavior; no separate implementation or
deprecation of `process` is intended.
Preflight accepts the same transcript argument and processing options, including Preflight accepts the same transcript argument and processing options, including
configuration, overlay, runtime glossary files, profile and collection selections, configuration, overlay, runtime glossary files, profile and collection selections,
@@ -29,8 +31,8 @@ diagnostics for the selected profiles. `--smoke=false` runs local checks only.
CommandKit reports which scope was checked and the outcome. No persistent CommandKit reports which scope was checked and the outcome. No persistent
preflight report format is required for this feature; callers can use exit status. preflight report format is required for this feature; callers can use exit status.
Ordinary `process` reuses shared preparation and proceeds to execution without Ordinary `process` (also invoked as `run`) reuses shared preparation and proceeds
adding smoke requests to every processing run. Native configuration inspection to execution without adding smoke requests to every processing run. Native configuration inspection
and individual PromptKit diagnostic commands remain available for their existing and individual PromptKit diagnostic commands remain available for their existing
purposes. purposes.
@@ -181,6 +183,8 @@ than maintaining an Audita copy of the smoke-test reference.
duplicate preparation and adjust error ownership with the new boundaries. duplicate preparation and adjust error ownership with the new boundaries.
2. Add `preflight` using shared processing argument definitions and the default-on 2. Add `preflight` using shared processing argument definitions and the default-on
`--smoke` flag. Wire it to local preparation without starting output sessions. `--smoke` flag. Wire it to local preparation without starting output sessions.
Register `run` as an alias of `process` using the existing command framework
and document it in command help and the CLI reference.
Resolve the quiet-destination decision before finalizing CLI behavior. Resolve the quiet-destination decision before finalizing CLI behavior.
3. Add the native smoke adapter and selected-profile orchestration. Reuse the 3. Add the native smoke adapter and selected-profile orchestration. Reuse the
existing PromptKit runtime and CommandKit reporting; preserve cancellation and existing PromptKit runtime and CommandKit reporting; preserve cancellation and
@@ -201,6 +205,9 @@ real credentials. Focus coverage on:
- Argument/configuration parity, including overlays, runtime glossaries, stage - Argument/configuration parity, including overlays, runtime glossaries, stage
overrides, profile fallback, and the selected quiet-mode rule. overrides, profile fallback, and the selected quiet-mode rule.
- A representative CLI invocation through `run` exercising the same processing
arguments and outcome behavior as `process`, without duplicating the processing
test suite for the alias.
- Shared normalized transcript/chunk/stage preparation, including an infeasible - Shared normalized transcript/chunk/stage preparation, including an infeasible
chunk count, and processing consumption of the prepared plan. chunk count, and processing consumption of the prepared plan.
- Local failures stopping before smoke calls; `--smoke=false` making none; default - Local failures stopping before smoke calls; `--smoke=false` making none; default