Skip to content

Commit 06f92ea

Browse files
mahabubul470claude
andcommitted
Phase 4: Trust + Policy + Cost + Anomaly governance
gpp-trust: SQLite agent scores, reviewed-outcome Bayesian scoring, status transitions (auto-merge/review-required/sandboxed/blocked), global + module overrides, event log. gpp-policy: .policy TOML parser, regex content rules + changeset rules, block/warn/audit severities, built-in secrets-scan/pci-dss/soc2 templates. gpp-cost: per-changeset cost records (micro-dollars), time/agent roll-ups, breakdown, weekly budgets+alerts, cost-per-survived-line. gpp-anomaly: large-changeset/unusual-scope/burst-activity detection, event log, resolution workflow, tunable thresholds. gpp-cli: trust/policy/cost/anomaly/audit commands; gpp promote now enforces content policies (block aborts pre-changeset) and records trust/cost/anomaly signals. ROADMAP Phase 4 marked done. 97 workspace tests pass; clippy + rustfmt clean. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent c595669 commit 06f92ea

16 files changed

Lines changed: 2674 additions & 43 deletions

File tree

Cargo.lock

Lines changed: 34 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ walkdir = "2"
6969
# Diff
7070
similar = "2"
7171

72+
# Regex (policy pattern rules)
73+
regex = "1"
74+
7275
# Tree-sitter
7376
tree-sitter = "0.24"
7477

crates/gpp-anomaly/Cargo.toml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ version.workspace = true
44
edition.workspace = true
55
license.workspace = true
66
repository.workspace = true
7-
description = "gpp-anomaly (stub — not yet implemented; see docs/ROADMAP.md)"
7+
description = "gpp agent behavior pattern detection & alerting"
88

99
[dependencies]
10+
rusqlite.workspace = true
11+
serde_json.workspace = true
12+
thiserror.workspace = true
13+
tracing.workspace = true
14+
15+
[dev-dependencies]
16+
tempfile.workspace = true

0 commit comments

Comments
 (0)