mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-12 19:55:14 +02:00
[pitboss] phase 02: M2 — Python end-to-end excellence with all hardening baked in
This commit is contained in:
parent
894f587b60
commit
0bf39047b9
50 changed files with 4167 additions and 170 deletions
22
src/cli.rs
22
src/cli.rs
|
|
@ -440,6 +440,28 @@ pub enum Commands {
|
|||
verify: bool,
|
||||
},
|
||||
|
||||
/// Submit feedback on a dynamic verification verdict (§21.2).
|
||||
///
|
||||
/// Records a correction or confirmation for a finding's verdict in the
|
||||
/// local telemetry log. Requires `--features dynamic`.
|
||||
#[cfg_attr(not(feature = "dynamic"), command(hide = true))]
|
||||
VerifyFeedback {
|
||||
/// Stable finding ID (16-char hex, shown in `nyx scan --verify` output).
|
||||
finding_id: String,
|
||||
|
||||
/// Mark this verdict as wrong and record a reason.
|
||||
#[arg(long, conflicts_with = "right")]
|
||||
wrong: Option<String>,
|
||||
|
||||
/// Confirm this verdict is correct.
|
||||
#[arg(long, conflicts_with = "wrong")]
|
||||
right: bool,
|
||||
|
||||
/// Upload feedback to Nyx telemetry (not yet implemented; reserved).
|
||||
#[arg(long)]
|
||||
upload: bool,
|
||||
},
|
||||
|
||||
/// Manage project indexes
|
||||
Index {
|
||||
#[command(subcommand)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue