Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
79 changes: 79 additions & 0 deletions .ripple/intents/latest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
{
"protocol": "ripple-change-intent",
"version": 1,
"id": "intent-mrg2yl90-414f539cae",
"createdAt": "2026-07-11T08:06:05.066Z",
"task": "Final Unblock Test",
"targetFile": "src/utils.ts",
"risk": "safe",
"tokenBudget": 4000,
"controlMode": "file",
"allowedSymbols": [],
"humanGate": "none",
"humanGateReason": [
"Trust policy loaded from .ripple/policy.json."
],
"boundaryRisk": "low",
"policySource": ".ripple/policy.json",
"policyMatches": [],
"policyExplanation": {
"protocol": "ripple-policy-explanation",
"version": 1,
"targetFile": "src/utils.ts",
"policySource": ".ripple/policy.json",
"policyExists": true,
"effectiveMode": "file",
"policyRisk": "none",
"humanGate": "none",
"humanRequired": false,
"allowPrMode": false,
"matchedRules": [],
"why": [
"Trust policy loaded from .ripple/policy.json.",
"Default control mode: file.",
"No path-specific policy rule matched this file."
],
"nextSteps": [
"Add a riskRules entry if this path needs a stronger trust boundary.",
"Use ripple plan to create a saved intent before editing."
]
},
"editableFiles": [
"src/utils.ts"
],
"contextFiles": [],
"allowedFiles": [
"src/utils.ts"
],
"expectedFiles": [
"src/utils.ts"
],
"expectedSymbols": [
"src/utils.ts::funcA",
"src/utils.ts::funcB"
],
"protectedContracts": [
"src/utils.ts::funcA",
"src/utils.ts::funcB"
],
"verificationTargets": [],
"verificationEvidence": [],
"readinessSnapshot": {
"status": "ready",
"enforcementLevel": "ci-gate-ready",
"canGuideAgents": true,
"canDetectDrift": true,
"canBlockInCi": true,
"policyExplicit": true,
"graphOk": true,
"gitOk": true,
"gitIgnoreOk": true,
"ciWorkflowOk": true,
"latestIntentOk": true,
"gaps": [],
"nextSteps": [
"Run ripple ci --base origin/main --github-annotations."
]
},
"why": "src/utils.ts is safe; it imports 0 file(s), is imported by 0 file(s), and has 2 tracked symbol(s). The plan prioritizes direct tests, contract importers, entry points, symbol callers, risky files, recent churn, and task term matches within the token budget."
}
2 changes: 2 additions & 0 deletions src/utils.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
// src/utils.ts
export function funcA(input: string): string {
// This is the function we plan to change.
return `Processed A: ${input}`;
//allowed
}

export function funcB(input: string): string {
// This function should NOT be changed.
return `Processed B: ${input}`;
//rouge
}
Loading