Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions docs/command-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ command-specific exceptions.
`basectl` exposes `-v` as the public command-level debug switch. Direct
`base_cli` package standard options such as `--debug`, `--quiet`, `--log-file`,
`--config` and `--environment` are private to Python package execution and are
rejected by `basectl`. Use `basectl --keep-temp <command>` when temporary run
files must be preserved for diagnosis; they are removed by default.
rejected by `basectl`. Use `basectl -x <command>` to enable Bash xtrace before
the command runs. Use `basectl --keep-temp <command>` when temporary run files
must be preserved for diagnosis; they are removed by default.

## Stability Tiers

Expand Down
5 changes: 5 additions & 0 deletions docs/execution-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ public executable directory: `$BASE_HOME/bin`.
`basectl` is responsible for deciding what kind of invocation the user asked
for. It then delegates runtime setup to `base_init.sh`.

Wrapper diagnostics are consumed before command dispatch. Use `-v` for
command-level DEBUG logging, `-x` for Bash xtrace, `--debug-wrapper` for early
wrapper DEBUG logging, `--utc-wrapper` for wrapper/runtime timestamps in UTC,
and `--keep-temp` to preserve temporary run files.

At a high level, `basectl` can:

- start a Base-enabled interactive Bash shell
Expand Down
6 changes: 3 additions & 3 deletions docs/stability-tiers.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,6 @@ When a user-facing workflow starts depending on an internal surface, promote
that surface deliberately by documenting its tier and adding a focused test or
contract row.

The wrapper-level `basectl --keep-temp <command>` flag is public and stable; it
is intentionally separate from the rejected direct `base_cli` package options
listed above.
The wrapper-level `basectl -x <command>` and `basectl --keep-temp <command>`
flags are public and stable; they are intentionally separate from the rejected
direct `base_cli` package options listed above.
Loading