Harden agents: risk-tiered autopilot, dedup spec, grounding tests - #368
Merged
Merged
Conversation
Guest-facing agents never auto-execute. Money-moving agents require max(configThreshold, 0.92). Ops agents keep the configured threshold. Co-authored-by: telivity-otaip <telivity-otaip@users.noreply.github.com>
Similarity scores only shortlist candidates. Final merge authority is three-way: same, maybe (human + field disagreements), or different. Co-authored-by: telivity-otaip <telivity-otaip@users.noreply.github.com>
Add false-clear edges for small $-amounts, inverse percent scaling, and suggestion filtering. Align domain-4 lodging doc with same/maybe/different. Co-authored-by: telivity-otaip <telivity-otaip@users.noreply.github.com>
telivity-otaip
marked this pull request as ready for review
September 24, 2026 06:06
CI reported 2407 passed tests across 281 files; update README badge and docs/test-stats.json so the stale-count gate passes. Co-authored-by: telivity-otaip <telivity-otaip@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Hardens HAIP agents without putting TypeSafe (or any third-party AI SDK) into the public repo.
guest_comms/review_responsenever auto-execute; money-moving agents requiremax(configThreshold, 0.92); ops keep the configured threshold.4-2+ domain-4 doc: similarity only shortlists; final outcome is same / maybe (human) / different. No merge module.$12,100↛1%, suggestion filtering).Not in this PR: TypeSafe-backed review meaning. That stays out of public
haip(Cloud-only if pursued later). Keyword review path unchanged.Test plan
agent-autopilot-tiers+agent.serviceunit testsgrounding.spec.ts(16 tests)docs/test-stats.jsonsynced to CI actual counts (2407 / 281)