Skip to content

gald3r constraint

All CLI commands

Declare and enforce ad-hoc, per-project rules on agent writes.

gald3r constraint [flags]

gald3r constraint add

Add a new constraint to CONSTRAINTS.md's Constraint Index

gald3r constraint add [RULE] [flags]

Command flags include --approved-by, --commit-enforcement-file, --description, --description-file, --json, --rule-file, --severity.

gald3r constraint archive

Archive a constraint with a reason, retaining its definition and evidence.

gald3r constraint archive ID [flags]

Command flags include --approved-by, --json, --reason, --type.

gald3r constraint check

Check a proposed path and/or action against declared constraints

gald3r constraint check [PATH] [flags]

Command flags include --action, --json, --operation, --path.

gald3r constraint delete

Delete a constraint row from CONSTRAINTS.md

gald3r constraint delete CONSTRAINT_ID [flags]

Command flags include --json.

gald3r constraint list

List effective constraints (static CONSTRAINTS.md rows + any live directive overlay)

gald3r constraint list [flags]

Command flags include --json, --scope, --status.

gald3r constraint migrate

Migrate CONSTRAINTS.md onto the split index+per-record-file layout (--split)

gald3r constraint migrate [flags]

Command flags include --dry-run, --json, --split.

gald3r constraint propose

Record explicit corrections and draft constraints for later user confirmation.

gald3r constraint propose [flags]

Command flags include --json, --observations-json, --session-id.

gald3r constraint regenerate-index

Rebuild CONSTRAINTS.md's Constraint Index table from a SELECT over artifact_records.

gald3r constraint regenerate-index [flags]

Command flags include --apply, --json.

gald3r constraint show

Show the full record for CONSTRAINT_ID

gald3r constraint show CONSTRAINT_ID [flags]

Command flags include --json.

gald3r constraint update

Update an existing constraint row in CONSTRAINTS.md (repairs a corrupted index cell)

gald3r constraint update CONSTRAINT_ID [flags]

Command flags include --approved-by, --commit-enforcement-file, --description, --description-file, --json, --rule, --rule-file, --severity, --text.