Skip to content

Feature/add claude#1409

Merged
alexcos20 merged 3 commits into
mainfrom
feature/add_claude
Jul 8, 2026
Merged

Feature/add claude#1409
alexcos20 merged 3 commits into
mainfrom
feature/add_claude

Conversation

@alexcos20

@alexcos20 alexcos20 commented Jul 8, 2026

Copy link
Copy Markdown
Member

Fixes # .

Changes proposed in this PR:

  • add claude instructions

Summary by CodeRabbit

  • Documentation
    • Added a new top-level guide with setup, build, test, configuration, architecture, and deployment information.
  • Chores
    • Added configuration for an external instructions repository.
    • Updated the project’s linked instructions content to a newer revision.
    • Set up a repository link for the agents instructions folder.

@coderabbitai

coderabbitai Bot commented Jul 8, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@alexcos20, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 55 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: b9a27220-69a3-4dd6-95e6-be4696b32722

📥 Commits

Reviewing files that changed from the base of the PR and between 849a4d5 and 2c4cd51.

📒 Files selected for processing (1)
  • CLAUDE.md
📝 Walkthrough

Walkthrough

This PR adds a new git submodule ai-instructions referenced via .gitmodules and pinned to a specific commit, creates a symlink .claude/agents pointing to ../ai-instructions/agents, and introduces a new CLAUDE.md documentation file describing repository setup and architecture.

Changes

AI Tooling Setup

Layer / File(s) Summary
Submodule configuration
.gitmodules, ai-instructions
Registers ai-instructions as a git submodule with its path and URL, and pins it to commit cb32f161f6c36dec6e087b75a1a8b2495033ff01.
Agent symlink and documentation
.claude/agents, CLAUDE.md
Adds a symlink from .claude/agents to ../ai-instructions/agents and a new CLAUDE.md file documenting prerequisites, build/test commands, configuration, architecture, and deployment references.

Estimated code review effort: 1 (Trivial) | ~5 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title is concise and matches the main change: adding Claude-related instructions to the repository.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/add_claude

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Removed specific repository path from guidance.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.claude/agents:
- Line 1: `.claude/agents` is only a symbolic link into the `ai-instructions`
submodule, so it will be empty on a fresh checkout unless the submodule is
initialized first. Update the bootstrap/setup flow to initialize
`ai-instructions` before anything reads `.claude/agents`, and make sure any
setup documentation or startup logic references the submodule initialization
step so the agents are available consistently.

In `@CLAUDE.md`:
- Line 5: The repository description in CLAUDE.md is hard-coded to a specific
checkout path, which makes it non-portable. Update the text to describe the repo
in a path-agnostic way using a repository-relative reference instead of
`/repos/ocean/ocean-node`. Keep the change limited to the top-level repository
description so it remains correct for any clone location.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: b3374aba-67fe-4299-8562-c3787fdd5daf

📥 Commits

Reviewing files that changed from the base of the PR and between 762874e and 849a4d5.

📒 Files selected for processing (4)
  • .claude/agents
  • .gitmodules
  • CLAUDE.md
  • ai-instructions

Comment thread .claude/agents
@@ -0,0 +1 @@
../ai-instructions/agents No newline at end of file

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🩺 Stability & Availability | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

printf 'Repo root: '; pwd
printf '\nTop-level files around .claude and submodules:\n'
git ls-files .claude .claude/agents .gitmodules ai-instructions 2>/dev/null || true

printf '\nContents of .gitmodules if present:\n'
if [ -f .gitmodules ]; then
  cat -n .gitmodules
else
  echo '(no .gitmodules file)'
fi

printf '\nInspect .claude and target path:\n'
ls -la .claude || true
if [ -e .claude/agents ] || [ -L .claude/agents ]; then
  printf 'symlink info: '
  readlink .claude/agents || true
  printf 'stat: '
  stat -c '%N' .claude/agents || true
fi

printf '\nDoes target exist in working tree?\n'
if [ -e ai-instructions/agents ] || [ -L ai-instructions/agents ]; then
  ls -la ai-instructions/agents || true
else
  echo 'ai-instructions/agents missing'
fi

printf '\nSearch for submodule bootstrap docs:\n'
rg -n --hidden --glob '!**/.git/**' 'submodule|git submodule|ai-instructions|claude/agents' README* .github .claude docs . 2>/dev/null | head -n 200 || true

Repository: oceanprotocol/ocean-node

Length of output: 1040


🏁 Script executed:

#!/bin/bash
set -euo pipefail

printf 'Root README / setup references:\n'
for f in README.md README* docs/* .github/*; do
  [ -e "$f" ] || continue
done

rg -n --hidden --glob '!**/.git/**' \
  'recurse-submodules|submodule update|submodule init|git clone --recurse-submodules|ai-instructions|\.claude/agents|agents -> ../ai-instructions/agents' \
  README.md README* docs .github .claude package.json . 2>/dev/null | head -n 200 || true

printf '\nTop-level tracked files mentioning submodule path:\n'
git ls-files | rg '(^|/)ai-instructions|^README|^docs/|^package\.json$|^\.github/' || true

Repository: oceanprotocol/ocean-node

Length of output: 1006


🏁 Script executed:

#!/bin/bash
set -euo pipefail

printf 'Search for explicit submodule bootstrap instructions:\n'
rg -n --hidden --glob '!**/.git/**' \
  'git submodule|submodule update|--recurse-submodules|recurse-submodules|submodule init|init --recursive|recursive clone' \
  README.md .github docs .claude package.json . 2>/dev/null | head -n 200 || true

printf '\nRelevant README excerpts:\n'
if [ -f README.md ]; then
  rg -n --hidden --glob '!**/.git/**' 'install|clone|setup|submodule|agent|claude' README.md | head -n 80 || true
fi

Repository: oceanprotocol/ocean-node

Length of output: 581


Bootstrap the ai-instructions submodule before relying on .claude/agents.
.claude/agents points into a git submodule, so a fresh clone won’t expose any agents until git submodule update --init (or equivalent setup docs) runs.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.claude/agents at line 1, `.claude/agents` is only a symbolic link into the
`ai-instructions` submodule, so it will be empty on a fresh checkout unless the
submodule is initialized first. Update the bootstrap/setup flow to initialize
`ai-instructions` before anything reads `.claude/agents`, and make sure any
setup documentation or startup logic references the submodule initialization
step so the agents are available consistently.

Comment thread CLAUDE.md Outdated
@alexcos20 alexcos20 merged commit 60c161b into main Jul 8, 2026
10 of 12 checks passed
@alexcos20 alexcos20 deleted the feature/add_claude branch July 8, 2026 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants