feat(engine): wire historical replay into Phase 7 calibration loop - #3225
Conversation
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-07-04 20:40:12 UTC
⏸️ Suggested Action - Manual Review Review summary Nits — 5 non-blocking
Review context
Contributor next steps
Signal definitions
🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
Summary
Closes #3014.
Adds the pure engine contract for Phase 7 calibration loop wiring in
@jsonbored/gittensory-engine. The historical-replay composite score (from objective-anchor, pairwise-judge, and structured gate-verdict inputs) is combined alongside the live pr_outcome-derived accuracy signal instead of silently replacing it. The loop tracks a combined calibration-accuracy metric anchored to the documented 62% baseline, records provenance per source, recommends replay-run cadence, and fail-closes autonomy-level increases when the replay harness is missing, stale, degraded, unavailable, or below the configured threshold.Changed files
packages/gittensory-engine/src/phase7-calibration-loop.tspackages/gittensory-engine/test/phase7-calibration-loop.test.tspackages/gittensory-engine/src/index.tspackages/gittensory-engine/README.mdScope
type(scope): short summaryConventional Commit format.CONTRIBUTING.mdand does not reintroduce GitHub Pages, VitePress,site/, orCNAME.Linked issue: #3014.
Validation
git diff --checknpm run actionlintnpm run typechecknpm run test:ci— run before push (~8 min).npm audit --audit-level=moderate