Scope the change
Compare committed changes from the merge base to your head commit. Withhold sensitive files and redact recognized credential patterns.
BOUNDED DIFFTHE CONTEXT YOUR PIPELINE IS MISSING
Connect code changes to the requirements behind them. Bring bounded AI review, reference validation, and optional memory into the CI pipeline you already use.
.NET 10 / OpenAI + Claude / Your CI
$ businessharness review \
--base origin/main --head HEAD
✓ Compare committed changes
✓ Bound and redact diff context
✓ Resolve configured references
“Reject expired access tokens.”
✓ Gate passedreview.json · review.md · review.sarif
$ businessharness scan \
--base origin/main --head HEAD
✓ Compare committed changes
✓ Scan added lines for credential patterns
✓ Write structured local reports
No credentials. No API calls.
✓ Scan completeCredential-pattern checks on this diff
$ businessharness memory-search \
--config C:/trusted/harness.policy.json \
--session pr:123 --query "token expiry"
✓ Select explicitly configured scope
✓ Recall bounded historical context
Carry the discussion forward.
✓ Context recalledMemory never authorizes approval
YOUR PIPELINE.
NO PLATFORM SWITCH.
01 / A MORE COMPLETE REVIEW
A change can look right and still miss the requirement. BusinessHarness connects the two, with explicit gates between model output and pipeline decisions.
Compare committed changes from the merge base to your head commit. Withhold sensitive files and redact recognized credential patterns.
BOUNDED DIFFDiscover references in PR or MR metadata. Resolve Jira tickets and configured JSON sources through trusted routing policy.
REFERENCE VALIDATIONUse OpenAI or Claude for structured review. Validate findings against added lines and require complete reference assessments.
STRUCTURED OUTPUTWrite JSON, Markdown, and SARIF reports. Enable host feedback when you choose. Keep review history with opt-in memory.
YOUR POLICY02 / DELIBERATE BOUNDARIES
AI review belongs inside your engineering process. BusinessHarness keeps its inputs, permissions, and decisions bounded.
Read the security modelNo shell, filesystem access, or tools for the review provider. Reviewed repository scripts are never run.
Missing, partial, or unverifiable reference assessments fail the gate. Local findings survive model output.
Local reports are the default. Optional GitHub and GitLab feedback checks fresh metadata before publishing.
Enable scoped MAGICore memory explicitly. Historical context cannot establish current correctness or approve a change.
03 / START SMALL
Build from source, then scan a local repository with two existing commits. Add an AI provider and reference sources when you’re ready.
Read the setup guideInitial implementation
Build from source today. Packages are not yet published to NuGet, a container registry, or an action marketplace. Repository access may be required.
git clone --recurse-submodules https://github.com/jihadkhawaja/BusinessHarness.git
cd BusinessHarness
dotnet restore BusinessHarness.slnx --locked-mode
dotnet build BusinessHarness.slnx -c Release --no-restore
dotnet run --project src/BusinessHarness.Cli -- scan `
--repo C:/code/my-project `
--base origin/main --head HEAD `
--output artifacts/scanA FEW PRACTICAL DETAILS
OpenAI’s Responses API and Claude’s Messages API, using compatible structured-output models you configure. You supply your own API credentials. A ChatGPT or Claude app subscription is not used for API access.
The offline scan makes no provider, host, or reference HTTP calls. An AI review sends bounded, redacted diff context, metadata, and resolved references to your selected provider. Redaction is heuristic; review your organization’s data and retention requirements before enabling it.
No. BusinessHarness supplements code review, tests, SAST, and your existing policy controls. Reference assessments are model judgments about supplied evidence, and some runtime requirements cannot be verified from a diff.
Free for individuals using it personally for non-commercial purposes. Commercial use and use by or on behalf of an enterprise or other organization require a separate paid license. Contact Jihad Khawaja for licensing, and see the repository’s full terms.
MAKE CONTEXT PART OF THE PIPELINE.