← Back to Pull requests

fix: populate HOOK.md with actual hook and capability documentation #69

Merged
xDarkicex merged 1 files (105 lines) on May 04, 2026 08:00 UTC
View on GitHub
xDarkicex xDarkicex commented on May 03, 2026 08:37 UTC
Author

Summary


  • Replaces the stub HOOK.md with actual documentation covering all plugin hooks, capabilities, and CLI commands

  • Documents three lifecycle hooks (before_reset, session_end, gateway_stop)

  • Documents memory capability (promptBuilder + runtime)

  • Documents context engine methods (bootstrap, ingest, assemble, compact, afterTurn)

  • Documents CLI registration structure
  • Test plan


  • HOOK.md frontmatter is valid (name + description)

  • All registered hooks from src/index.ts are documented

  • All context engine methods from src/context-engine.ts are documented
  • Diff: 105 lines (+97 / -8) across 1 files Reviewer: fuller-stack-dev Review duration: 1403m
    All Vouch review confidence checks passed
    Residual risk 0.03 = Change Risk (0.31) × (1 − Review Confidence (0.92)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.31 · 105 lines diff across 1 files
    0.31
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.96 · 1 substantive comment(s)
    0.96
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    91%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.279
    Real PR Conversation Timeline
    3 items
    coderabbitai[bot] coderabbitai[bot] commented on May 03, 2026 08:37 UTC
    Bot

    <!-- This is an auto-generated comment: summarize by coderabbit.ai -->
    <!-- This is an auto-generated comment: rate limited by coderabbit.ai -->

    [!WARNING]

    ## Rate limit exceeded

    > @xDarkicex has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 40 minutes and 53 seconds before requesting another review.

    > To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing.

    > <details>

    <summary>⌛ How to resolve this issue?</summary>

    > After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

    > We recommend that you space out your commits to avoid hitting the rate limit.

    > </details>

    >

    <details>

    <summary>🚦 How do rate limits work?</summary>

    > CodeRabbit enforces hourly rate limits for each developer per organization.

    > Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

    > Please see our FAQ for further information.

    > </details>

    > <details>

    <summary>ℹ️ Review info</summary>

    > <details>

    <summary>⚙️ Run configuration</summary>

    > Configuration used: defaults

    > Review profile: CHILL

    > Plan: Pro

    > Run ID: dfa0544f-6f94-43c6-a39d-a796d1649ea3

    > </details>

    > <details>

    <summary>📥 Commits</summary>

    > Reviewing files that changed from the base of the PR and between 19ff7eff6ff28470908447873fe641fb111c0979 and 34a6e375d49ffd87f87809376e0c5d3d056d8041.

    > </details>

    > <details>

    <summary>📒 Files selected for processing (1)</summary>

    > * HOOK.md

    > </details>

    > </details>

    <!-- end of auto-generated comment: rate limited by coderabbit.ai -->

    <!-- finishing_touch_checkbox_start -->

    <details>
    <summary>✨ Finishing Touches</summary>

    <details>
    <summary>🧪 Generate unit tests (beta)</summary>

  • <!-- {"checkboxId": "f47ac10b-58cc-4372-a567-0e02b2c3d479", "radioGroupId": "utg-output-choice-group-unknown_comment_id"} --> Create PR with unit tests

  • <!-- {"checkboxId": "6ba7b810-9dad-11d1-80b4-00c04fd430c8", "radioGroupId": "utg-output-choice-group-unknown_comment_id"} --> Commit unit tests in branch fix/populate-hook-md
  • </details>

    </details>

    <!-- finishing_touch_checkbox_end -->

    <!-- tips_start -->

    ---

    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.

    <details>
    <summary>❤️ Share</summary>

  • X

  • Mastodon

  • Reddit

  • LinkedIn
  • </details>
    <!-- review_rate_limit_status_start -->
    <sub>Review rate limit: 0/1 reviews remaining, refill in 40 minutes and 53 seconds.</sub>
    <!-- review_rate_limit_status_end -->

    <sub>Comment @coderabbitai help to get the list of available commands and usage tips.</sub>

    <!-- tips_end -->

    fuller-stack-dev fuller-stack-dev approved these changes on May 04, 2026 03:28 UTC
    Approved Reviewer

    Reviewed the documentation update against the registered hook/capability surface; no blocking issues found.

    Assignees
    xDarkicex xDarkicex
    Labels
    risk: low confidence: 91.9% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 30.9% (LOW) · Higher = larger blast radius
    30.9%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 91.9% · Lower = rushed or shallow review
    91.9%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 2.5% · Safe to merge
    2.5%