Repository navigation
refactor(syntropy): merge client.ts + kg-client.ts into shared callMcpTool (oc-hygiene #5) - #29
Conversation
… into shared callMcpTool (oc-hygiene #5) client.ts and kg-client.ts were near-byte-identical MCP-over-HTTP transports differing only in error-message labels. Extract callMcpTool(baseUrl, token, tool, args, { label, toolErrorLabel? }); callSyntropyTool + callKgTool become thin wrappers. McpToolResult is the type; SyntropyToolResult/KgToolResult are aliases — importers (tools.ts, kg-tools.ts, profile-context.ts, index.ts) unchanged. Behavior-preserving: label 'Syntropy'+toolErrorLabel 'MCP' / 'kg-mcp' reproduce the exact original error strings. client.test.ts + kg-client.test.ts (15) unchanged; sealed 38/38. Generated-With: Claude Code Co-Authored-By: openclaw <[email protected]> Co-Authored-By: Claude <[email protected]>
|
Warning Review limit reached
More reviews will be available in 40 minutes and 5 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the 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 credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate. 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, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
|
The formal models extracted constants ( This check is informational (not blocking merges yet). If this change is intentional, follow up by updating the formal models repo or regenerating the extracted artifacts there. |
…ssing-app-key, issue #29, devex openclaw#3116-B) Config-only workflow-gating: add a gate job surfacing GH_APP_PRIVATE_KEY presence as an output (secrets unavailable in if:, valid in step env) + gate the 3 App-token jobs (label/backfill-pr-labels/label-issues) via needs. Absent key => labeler jobs SKIP clean/green with a ::notice:: instead of failing red on every PR (which masked real CI failures); auto-labeling resumes when the .pem lands. Additive (+29/-1), YAML valid, no gate-strictness change. Corrects the non-working 'if: secrets.X != ""' pattern. CTO diff-verified; proportionate gating (no 4-reviewer QG for a workflow-gating change). Path-B SSH. Permanent fix (provision App .pem) tracked with principal via devex #29. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…sponse-stale-app-key, #29) Closes #29 — the labeler/auto-response/stale community-management workflows go from the phantom App 2729701 to the real org App syntropy-community-bot (app-id 4276364). Two commits: (1) guard-bridge — mirror the labeler gate-guard onto auto-response + stale (absent GH_APP_PRIVATE_KEY => skip-clean, not red); (2) activation — app-id 2729701->4276364 (zero 2729701 remains), + generous exempt-label sets, + days-before-*-stale=90d (ruling-3 atomic: activation + internal-work-protection inseparable, so stale can't auto-close blocked internal AIADLC items). Config-only workflow diff, CTO-verified. Path-B SSH (workflow-scope). Follow-down: 90d->normal after the internal-coordination-privacy (ruling-4) workstream separates internal from public. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Release-prep hygiene #5 of 8. Merges the two near-identical MCP-over-HTTP clients into callMcpTool(..., {label, toolErrorLabel?}); callSyntropyTool/callKgTool are thin wrappers; McpToolResult + Syntropy/KgToolResult aliases → zero importer changes. Behavior-preserving (label params reproduce exact original error strings); 15 client tests unchanged + sealed 38/38 unchanged + lint/format/tsgo clean. Re-anchored onto latest main. QGR 39d33f1. CTO code-reviewed + receipt-verified.