Evi/add claude contracts#1794
Conversation
📝 WalkthroughWalkthroughAdded workspace-specific documentation files: a new contract integration guide at Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Suggested labels
Poem
🚥 Pre-merge checks | ✅ 1 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Tip Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs). Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@contracts/AGENTS.md`:
- Around line 58-66: The markdown code fence containing the verification flow
(the block starting with "User submits proof" and showing the sequence through
verifySelfProof, Hub V2, onVerificationSuccess, and customVerificationHook)
lacks a language specifier causing lint warnings; update the opening fence to
include a language (e.g., change ``` to ```text) so the fenced block becomes a
proper "text" code fence and re-run linting to ensure the warning is resolved.
| ``` | ||
| User submits proof | ||
| → Integrator contract (extends SelfVerificationRoot) | ||
| → calls verifySelfProof(proofPayload, userContextData) | ||
| → encodes scope + configId + proof → calls Hub V2 | ||
| → Hub validates: register proof, DSC proof, vc_and_disclose proof | ||
| → Hub calls back onVerificationSuccess(output, userData) | ||
| → Integrator's customVerificationHook() runs | ||
| ``` |
There was a problem hiding this comment.
Add language specifier to code fence.
The verification flow diagram is missing a language specifier, which triggers linting warnings.
🔧 Suggested fix
-```
+```text
User submits proof
→ Integrator contract (extends SelfVerificationRoot)As per coding guidelines, markdown files should follow proper formatting conventions.
🧰 Tools
🪛 markdownlint-cli2 (0.21.0)
[warning] 58-58: Fenced code blocks should have a language specified
(MD040, fenced-code-language)
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.
In `@contracts/AGENTS.md` around lines 58 - 66, The markdown code fence containing
the verification flow (the block starting with "User submits proof" and showing
the sequence through verifySelfProof, Hub V2, onVerificationSuccess, and
customVerificationHook) lacks a language specifier causing lint warnings; update
the opening fence to include a language (e.g., change ``` to ```text) so the
fenced block becomes a proper "text" code fence and re-run linting to ensure the
warning is resolved.
|
Closing — stale (7 weeks), superseded by current contract work. |
Description
A brief description of the changes, what and how is being changed.
Tested
Explain how the change has been tested (for example by manual testing, unit tests etc) or why it's not necessary (for example version bump).
How to QA
How can the change be tested in a repeatable manner?
Summary by CodeRabbit