feat: add addi-decisioning plugin with validating-decisioning-e2e-tests skill - #47
Closed
mcsanchez-addi wants to merge 1 commit into
Closed
Conversation
andriperalt
reviewed
Sep 3, 2026
andriperalt
left a comment
There was a problem hiding this comment.
Update CODEOWNERS so that Decisioning team owns the plugin
…ts skill Adds a new Addi-specific plugin under `plugins/addi-decisioning/` that ships the `validating-decisioning-e2e-tests` skill. Given a Notion page URL that lists decisioning E2E test scenarios, the skill queries the staging `legacy_loan_application` JSONB rows over a local port-forward using AWS RDS IAM auth, applies a fixed rulebook (APR bands, guarantee provider/rate, learning population, IDV tokens, rejection statuses, allyName presence), and prints a per-row verdict table before optionally writing the results back into the Notion `Result` column. - New plugin metadata + README under `plugins/addi-decisioning/`. - SKILL.md under `plugins/addi-decisioning/skills/validating-decisioning-e2e-tests/`. - Top-level `skills/validating-decisioning-e2e-tests` symlink following the same pattern as every other skill in this marketplace. - Registered in `.factory-plugin/marketplace.json` with category `qa`. - Cross-linked from the root `README.md`. Read-only against the DB. Never edits Notion without explicit user confirmation. Never persists the RDS IAM token. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
mcsanchez-addi
force-pushed
the
feat/add-addi-decisioning-plugin
branch
from
September 4, 2026 14:55
3d88746 to
ac6c9b9
Compare
Author
|
Done in ac6c9b9 — added |
andriperalt
reviewed
Sep 4, 2026
There was a problem hiding this comment.
Why are you leaving this here outside the plugin?
Author
|
Closing in favor of https://github.com/AdelanteFinancialHoldings/factory-addi-plugins/pull/39 — Addi is landing this plugin in the org-internal marketplace instead. |
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.
What
Adds a new plugin
addi-decisioningthat ships thevalidating-decisioning-e2e-testsskill.Given a Notion page URL that lists Decisioning E2E test scenarios (rows with
application-id, expectedOffers result, andallyName), the skill:originations_v3_sas.legacy_loan_applicationon the staging Aurora cluster through a local port-forward (localhost:15432) using AWS RDS IAM auth.STANDARD_BELOW_USURY(< 0.3),LBL_BAND(> 0.4),ZERO(= 0/null).FGA,FGA 0.00(rate=0/null),NONE.LP,non-LP.HARD_IDV,SOFT_IDV,PHONE_VERIFICATION,EMAIL_VERIFICATION,HIGH_SCRUTINY,VALIDATION_CALL) — allyName presence only.REJECTED_BY_HARDCUTS/REJECTED_BY_POLICY(status must beNULLorREJECTED).allyNamesubstring check on the raw JSONB.Case | Application ID | Expected | Status | Verdicttable plus a failure breakdown.Resultcolumn vianotion-update-page.Why
Every Decisioning deploy today requires manually clicking through ~12 Notion rows per phase and running JSONB lookups by hand. This skill turns the whole batch into a single command, standardizes the ruleset (APR bands, FGA vs NONE guarantee, LP/non-LP, IDV tokens, rejection statuses), and produces an auditable verdict per row.
Layout
Follows the same shape as every other plugin (
security-engineer,debugging,code-review, etc.). Registered in.factory-plugin/marketplace.jsonunder categoryqaand cross-linked from the rootREADME.md.Safety
PGPASSWORDand unset after the query.Install / Invoke
Auto-activates when the user pastes a
decisioning-e2e-quickpay-*Notion URL, or explicit via/validating-decisioning-e2e-tests.Testing done
loan/creditChecknodes forREJECTED_BY_*scenarios,FGA 0.00interpretation) are exercised in the rulebook.AdelanteFinancialHoldings/platformmonorepo underai-native-backend-jvm/.agents/skills/and is being upstreamed here unchanged.