//! What: Internal native cli-git implementation, not yet the production executable. //! Why: The Rust rewrite preserves Git's own argument, repository and transaction semantics. //! //! In TS you'd write (pseudocode): //! ```ts //! // Internal modules used by the forthcoming native entry point and consumer verification. //! ``` /// The decision one invocation ends in: become Git, or print and exit. pub mod action; /// Variables added to every real-Git child: lock PID injection and the forward-target marker. pub mod child_environment; /// The one failure type for rejected configuration content or files. pub mod config_error; /// Repository-root discovery and bounded reading of `cli-git.config.jsonc`. pub mod config_file; /// Lazy configuration loading for known inspection versus mutation/ambiguous commands. pub mod config_loading; /// Whole-document JSONC validation into typed settings. pub mod config_parse; /// Validation of the `policies` section and per-policy options. mod config_policies; /// Typed settings and their defaults. pub mod config_schema; /// Key-naming typed readers over parsed JSONC values. mod config_values; /// JSONL event rendering for wrapper-made diagnostics. pub mod diagnostics; /// Worktree target classification for worktree-enforcing policies. pub mod effective_target; /// The per-invocation decision the thin executable performs. pub mod entry; /// Removal of wrapper-only escape-hatch flags before forwarding. pub mod escape_hatch; /// Starting real Git with unchanged arguments, streams and exit status. pub mod forwarding; /// Captured read-only real-Git queries over raw bytes. pub mod git_metadata; /// Git 2.56.0 global-argument boundaries over unchanged operating-system strings. pub mod global_arguments; /// Configuration of the repository one invocation selects. pub mod invocation_config; /// The `git cli-git` decision: help, retired commands, and direct `check`/`fix`. pub mod management; /// The `git cli-git` argument grammar. pub mod management_arguments; /// The fixed registry of shipped policies. pub mod policy_registry; /// PATH resolution of the real Git executable. pub mod real_git; /// Wrapper self-exclusion for one PATH candidate. pub mod real_git_candidate; /// Disposable fixtures shared by unit tests; never part of the release executable. #[cfg(test)] mod test_support; /// Repository and worktree identity as reported by real Git. pub mod worktree_identity; /// Git 2.56.0 `parse-options` tokenization of one command's argument region. pub mod command_options; /// Long-option matching: exact names, unique abbreviations and `no-` negation. mod command_options_long; /// Final-state and position questions over a tokenized region. pub mod command_options_query; /// Short-option clusters and their attached or following values. mod command_options_short; /// The shared decision of which bytes are an option's value. mod command_options_value; /// Real-Git fixtures and table oracles for command tests; never in the release build. #[cfg(test)] mod command_test_support; /// Differential harness over `git rev-parse --parseopt`; never in the release build. #[cfg(test)] mod command_test_parseopt; /// Table oracle over `--git-completion-helper-all`; never in the release build. #[cfg(test)] mod command_test_completion; /// Facts about the arguments after `git commit`. pub mod command_commit; /// The complete Git 2.56.0 option table of `git commit`. pub mod command_commit_table; /// The shared result and builder of transforms that add tokens to a command line. pub mod rule_argument_rewrite; /// Pure core of the index-against-`HEAD` check. pub mod rule_commit_index; /// Pure decision of the commit-only transform. pub mod rule_commit_only; /// User-facing diagnostics of the commit-only transform. pub mod rule_commit_only_message; /// Pure core of the merge, cherry-pick and revert conclusion check. pub mod rule_commit_sequencer; /// The Git 2.56.0 option table of `git push` and its facts. pub mod command_push; /// The Git 2.56.0 option table of `git status`, its facts and the advice-key reading. pub mod command_status; /// Pure decision of the atomic-push transform. pub mod rule_atomic_push; /// Pure decision of the status-hints transform. pub mod rule_status_hints; /// The Git 2.56.0 option table of `git add` and its bulk-staging facts. pub mod command_add; /// The Git 2.56.0 option table of `git clean` and its deletion facts. pub mod command_clean; /// The Git 2.56.0 option table of `git reset` and its mode. pub mod command_reset; /// `git stash` subcommand dispatch and wrapper-flag positions. pub mod command_stash; /// The Git 2.56.0 option tables of every `git stash` subcommand. pub mod command_stash_table; /// Branch-creation facts of `git branch`, `git checkout` and `git switch`. pub mod command_branch_create; /// Which action a tokenized `git branch` region selects. mod command_branch_mode; /// The complete Git 2.56.0 option table of `git branch`. pub mod command_branch_table; /// Explicit creation and the remote-guess candidate of `git checkout` and `git switch`. mod command_branch_target; /// The complete Git 2.56.0 option tables of `git checkout` and `git switch`. pub mod command_checkout_table; /// The Git 2.56.0 option groups of `git config`. pub mod command_config_table; /// The form and file scope of a `git config` region. pub mod command_config; /// Pure decision of the require-root policy. pub mod rule_require_root;