Create the Core Engine and plugin package structure and define the Plugin contract and registration metadata. #377
All Vouch review confidence checks passed
Residual risk 0.28 = Change Risk (0.47) × (1 − Review Confidence (0.41)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.47 · 291 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.340
Real PR Conversation Timeline
1 comments
"Review active on #377"
general
weight: 0.35
Yashbhu
<!--
- Thanks for submitting code to Oppiabot! Please fill out the following as part of
- your pull request so we can review your code more easily.
-->
Explanation
This PR establishes the initial Core Engine and Plugin Framework structure for the unified TypeScript-based Oppiabot architecture.
tracked by issue : https://github.com/oppia/oppiabot/issues/378#issue-5584987382
https://docs.google.com/document/d/1xk6LARVtFoi6xO-EoXSBAXP-vhBYQFvM94KRw1jDb9A/edit?tab=t.0
Changes
OppiabotPlugincontract and plugin registration metadata.PluginRegistryfor plugin registration and lookup.CoreEngineandPluginRegistry, with trigger-based plugin resolution and per-plugin failure isolation.Trigger,ExecutionContext, and configuration schema types required by the framework structure.src/plugins/andsrc/entrypoints/package structure for subsequent implementation work.Later PRs extend this: configuration-aware plugin resolution (#384) and result handling (#385). Runtime entrypoints and GitHub integration come in subsequent PRs.
Dependency Changes
package-lock.json— updated to record the development tooling added by this PR. It is already tracked in the repository and is committed so that dependency versions remain reproducible across local and CI installs.Stacking
Parent: none — this is the root of the stack (base:
master).Children: #379 — Execution Context.
New commits (review these)
725e152,ec98a65,389f560,abda95b,4bff2e8,24f1595,7586436,7706b3b,79e7d03,6705d47,5a16868,08a1697,0ee10e8,a6bbc84,ec58f02.Inherited changes (don't re-review)
Checklist
- You can find instructions for doing this here.