Skip to main content

Review Agents and Policy Gates for Forge — parallel reviewers, cascading heuristics, severity-based blocking.

Project description

forge-review

Review Agents and Policy Gates for the Forge agent harness.

Define parallel reviewers (heuristic and LLM-based), cascade them for efficiency, and gate mutations or run results with severity-based policy decisions (P0–P3).

Installation

pip install forge-review
# With spec-constraint reviewer:
pip install forge-review[spec]

Quick start

from forge_review import ReviewRunner

runner = ReviewRunner()
result, decision = await runner.pre_merge(run_result)
if not decision.allowed:
    raise RuntimeError(decision.reason)
print(f"Review passed — {len(result.findings)} finding(s)")

Severity levels

Level Meaning Blocks by default
P0 Critical — security risk, data loss Yes
P1 Error — run quality issue Yes
P2 Warning — informational concern No
P3 Info No

Technical debt

See DEVLOG.md for DT entries introduced in Phase 5.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

forge_review-0.2.0.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

forge_review-0.2.0-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file forge_review-0.2.0.tar.gz.

File metadata

  • Download URL: forge_review-0.2.0.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for forge_review-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b26e1b175d72b220ca72ffbfa1c105124f3d0d6765e63cc4ff9c2e065c869f4c
MD5 1ba8a1b97d295b3933fc63f7a1b63d7d
BLAKE2b-256 8e7bee0a6015ffada2b33db71fb7d9445617353d323ec1c6c51678f1bca094f8

See more details on using hashes here.

File details

Details for the file forge_review-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: forge_review-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for forge_review-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fa5a5c16c9a82a823bd33ba3d08def24d1464abae757505ea7a6196037d28128
MD5 1172181a9792022e8a6c2e31d6e91f36
BLAKE2b-256 60e27cd5471462e9b4d30f301aefdbb6d1b001be7d3dd0f67d96a30f74e8aeda

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page