feat(core): add ActionGateDebtContextProvider and cryptographic IDELedger - #13155
Open
AAH20 wants to merge 2 commits into
Open
feat(core): add ActionGateDebtContextProvider and cryptographic IDELedger#13155AAH20 wants to merge 2 commits into
AAH20 wants to merge 2 commits into
Conversation
Contributor
|
All contributors have signed the CLA ✍️ ✅ |
Author
|
I have read the CLA Document and I hereby sign the CLA |
Author
|
recheck |
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
Adds the native ActionGateDebtContextProvider and cryptographic ActionGateIDELedger under
core/context/providers/ActionGateDebtProvider.ts.Problem Solved
As developers and Forward Deployed AI Engineers prompt Continue in VS Code and JetBrains to refactor code, generate microservices, and edit files, engineering teams require in-IDE controls to:
never_equate_intent_to_approvalacross state-mutating file edits and terminal commands.AAG_KILL_SWITCHenvironment variables.Features Added
ActionGateDebtContextProvider:evaluateRefactor(): Evaluates diffs and outputs a normalized Production Readiness Score (0–100) with critical smell warnings.ActionGateIDELedger:recordRefactor(): Cryptographically links each in-IDE refactoring event into an immutable SHA-256 chain.verifyIntegrity(): Validates hash-chain continuity.Testing & Validation
core/context/providers/ActionGateDebtProvider.test.tswith unit tests validating clean refactor passes, dirty refactor debt rejections, and cryptographic ledger integrity.Upstream & Commercial Context
Maintained by A2Z SOC for AI Forward Deployed Engineering, In-IDE Refactoring Governance, and Technical Due Diligence.
For engineering organizations and investors requiring codebase due diligence or production debt triage: