Dev - #7
Dev#7
Conversation
Merge from main to dev
Rebrand across the entire codebase: - Package name: soroban-sentinel → sorokeep - CLI binary: sentinel → sorokeep - Display name: Soroban Sentinel → Sorokeep - Data directory: ~/.soroban-sentinel/ → ~/.sorokeep/ - Database file: sentinel.db → sorokeep.db - Env var: SENTINEL_SLACK_TOKEN → SOROKEEP_SLACK_TOKEN - HTTP header: X-Sentinel-Signature → X-Sorokeep-Signature - Code identifiers: SentinelConfig → SorokeepConfig, SentinelLedgerEntryResult → SorokeepLedgerEntryResult, etc. 24 files changed across source, tests, docs, and CI. All 227 tests pass, TypeScript compiles clean. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (1)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
📝 WalkthroughWalkthroughThe pull request executes a complete rebranding of the Soroban Sentinel project to Sorokeep. This encompasses package metadata, CLI identity, type definitions, storage paths, integration messaging, and extensive documentation updates across 24 files, with no functional logic changes. ChangesSorokeep Rebranding
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 3❌ Failed checks (1 warning, 2 inconclusive)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 3
🤖 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 `@README.md`:
- Around line 358-362: Add a language specifier to the fenced code block that
shows the webhook header so the Markdown linter (MD040) passes and rendering
improves; update the block surrounding the example header string
"X-Sorokeep-Signature: sha256=a1b2c3d4e5f6..." to use a language tag (e.g.,
text) after the opening backticks (```text) instead of bare backticks (```) in
README.md.
- Around line 436-439: Update the ASCII diagram entry that currently reads
"~/.soroban- sorokeep/ sorokeep.db" so it matches the documented and
implemented path "~/.sorokeep/sorokeep.db"; edit the three lines in the README
ASCII box to replace the incorrect "~/.soroban-" fragment with "~/.sorokeep/"
(keeping the same visual alignment or adjusting spacing for the three-line
diagram format).
In `@src/commands/watch.ts`:
- Around line 54-55: The help text currently interpolates
formatContractID(contractId) into the 'sorokeep status' and 'sorokeep guard'
hints which truncates long IDs; update the console.log lines that build those
hints to use the raw contractId value instead of calling
formatContractID(contractId) (replace occurrences of
formatContractID(contractId) with contractId), and apply the same change to the
analogous hint(s) in the restore-related hint so all user-facing command
examples use the exact contractId.
🪄 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: Organization UI
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: 5ec7d9a4-42f3-4dec-843e-af608bb34f00
⛔ Files ignored due to path filters (1)
package-lock.jsonis excluded by!**/package-lock.json
📒 Files selected for processing (23)
.github/workflows/publish.ymlCONTRIBUTING.mdREADME.mdpackage.jsonsrc/alerts/slack.tssrc/alerts/webhook.tssrc/commands/alerts.tssrc/commands/costs.tssrc/commands/daemon.tssrc/commands/guard.tssrc/commands/restore.tssrc/commands/status.tssrc/commands/watch.tssrc/core/watch.tssrc/db/database.tssrc/index.tssrc/rpc/client.tssrc/utils/config.tstests/alerts/slack.test.tstests/alerts/webhook.test.tstests/commands/alerts.test.tstests/db/database.test.tstests/utils/config.test.ts
📜 Review details
🧰 Additional context used
🪛 LanguageTool
CONTRIBUTING.md
[style] ~10-~10: You have already used this phrasing in nearby sentences. Consider replacing it to add variety to your writing.
Context: ...first. If there's no issue for what you want to do, open one and describe the change be...
(REP_WANT_TO_VB)
[grammar] ~190-~190: Ensure spelling is correct
Context: ...commands like sorokeep status, the 85-135ms startup overhead of oclif is noticeable...
(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)
🪛 markdownlint-cli2 (0.22.1)
README.md
[warning] 360-360: Fenced code blocks should have a language specified
(MD040, fenced-code-language)
🔇 Additional comments (25)
tests/alerts/slack.test.ts (1)
57-57: LGTM!Also applies to: 61-61, 71-71, 78-79
tests/alerts/webhook.test.ts (1)
129-129: LGTM!Also applies to: 135-135, 138-138, 145-146, 159-159, 168-168
tests/commands/alerts.test.ts (1)
49-49: LGTM!Also applies to: 81-81, 111-111, 137-137, 170-170, 201-201
tests/db/database.test.ts (1)
317-317: LGTM!tests/utils/config.test.ts (1)
7-7: LGTM!package.json (1)
2-2: LGTM!Also applies to: 8-8, 30-30
src/utils/config.ts (1)
11-11: LGTM!Also applies to: 24-24, 29-30, 35-35, 38-38, 48-48, 66-66, 68-68, 82-82, 84-85
.github/workflows/publish.yml (1)
38-38: LGTM!src/rpc/client.ts (1)
20-20: LGTM!Also applies to: 23-23, 31-31, 38-38, 146-146
src/core/watch.ts (1)
2-2: LGTM!Also applies to: 21-21, 72-72, 83-83
src/alerts/slack.ts (1)
13-13: LGTM!Also applies to: 16-16, 23-24, 84-84, 112-112
src/alerts/webhook.ts (1)
12-12: LGTM!Also applies to: 27-27
src/index.ts (1)
17-18: LGTM!src/db/database.ts (3)
7-15: LGTM!
31-31: LGTM!
41-41: LGTM!src/commands/alerts.ts (2)
45-45: LGTM!
89-89: LGTM!src/commands/costs.ts (1)
22-22: LGTM!src/commands/daemon.ts (1)
38-38: LGTM!src/commands/guard.ts (2)
29-29: LGTM!
104-104: LGTM!src/commands/restore.ts (2)
26-26: LGTM!
80-80: LGTM!src/commands/status.ts (1)
22-22: LGTM!
The previous lock file had stale @emnapi entries that caused npm ci to fail in CI. Deleted and regenerated from scratch. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
No description provided.