drift

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package drift wires the pkg/drift engine into `canary drift`: a fresh scan (matching `canary scan`'s own default-skip + .canaryignore behavior), drift detection, and a bounded, agent-friendly report. CANARY: REQ=CP-278; FEATURE="DriftCmd"; ASPECT=CLI; STATUS=TESTED; TEST=TestCANARY_CBIN_305_Execute_CodeDrift,TestCANARY_CBIN_305_SummaryLine_Format,TestCANARY_CBIN_305_Cmd_JSON,TestCANARY_CBIN_305_StrictShouldFail,TestCANARY_CBIN_305_Cmd_Strict_NoFindings_NoError,TestCANARY_CBIN_305_Cmd_Table_NoDrift,TestCANARY_CBIN_305_Cmd_TimestampEnv_StaleFlips; UPDATED=2026-08-29

Index

Constants

View Source
const DefaultLimit = 20

DefaultLimit bounds the requirement-grouped table by default; raise it with --limit when more is needed.

Variables

This section is empty.

Functions

func CreateDriftCommand

func CreateDriftCommand() *cobra.Command

CreateDriftCommand returns the `canary drift` command.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL