Skip to content

docs(integrations): make Raft canonical#436

Open
wey-gu wants to merge 1 commit into
mainfrom
agent/rename-slock-to-raft
Open

docs(integrations): make Raft canonical#436
wey-gu wants to merge 1 commit into
mainfrom
agent/rename-slock-to-raft

Conversation

@wey-gu

@wey-gu wey-gu commented Jul 14, 2026

Copy link
Copy Markdown
Member

Summary

  • rename the canonical orchestrator integration ID from slock to raft
  • keep slock as an explicit registry alias and retain the legacy slock-daemon originator
  • update worker-ID examples and tests to use raft:* by default

Verification

  • python3 -m json.tool integrations.json
  • uv run --with pytest pytest nowledge-mem-codex-plugin/tests/test_codex_plugin.py -q (55 passed)
  • uv run --with pytest pytest tests/plugin_e2e/test_key_plugins_e2e.py -q -k registry_connect_contract_points_agent_prompts_to_universal_skill (1 passed)

Parent tracking PR will update the community submodule pointer after this child commit.

Summary by CodeRabbit

  • New Features

    • Added the Raft integration to shared connection settings.
    • Updated integration displays, documentation links, installation guidance, and worker identification to use Raft naming.
    • Retained slock as a backward-compatible alias.
  • Bug Fixes

    • Improved conversation capture behavior so Raft-managed sessions are excluded while legacy Slock sessions remain supported.
  • Documentation

    • Updated integration and environment-variable guidance with Raft examples and compatibility notes.

@coderabbitai

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 76044e4a-2208-4fcd-9ac0-12e66dc09a1a

📥 Commits

Reviewing files that changed from the base of the PR and between 9a289be and b945052.

📒 Files selected for processing (7)
  • README.md
  • integrations.json
  • nowledge-mem-codex-plugin/README.md
  • nowledge-mem-codex-plugin/hooks/nmem-stop-save.py
  • nowledge-mem-codex-plugin/tests/test_codex_plugin.py
  • shared/behavioral-guidance.md
  • tests/plugin_e2e/test_key_plugins_e2e.py

📝 Walkthrough

Walkthrough

The Raft integration is now the primary registry identity, with slock retained as an alias. Documentation, Codex originator handling, host-agent identifiers, and end-to-end tests were updated to reflect the migration.

Changes

Raft identity migration

Layer / File(s) Summary
Integration registry and documentation contract
integrations.json, README.md, shared/behavioral-guidance.md
Registers raft as the integration ID, retains slock as an alias, updates installation guidance and documentation URLs, and uses raft:<uuid> as the primary worker ID format.
Codex originator filtering
nowledge-mem-codex-plugin/README.md, nowledge-mem-codex-plugin/hooks/nmem-stop-save.py, nowledge-mem-codex-plugin/tests/test_codex_plugin.py
Documents and tests delegated conversation handling for raft-daemon while preserving legacy slock-daemon support.
End-to-end identity validation
tests/plugin_e2e/test_key_plugins_e2e.py
Updates Pi smoke tests to validate Raft host-agent metadata, context arguments, registry membership, and Slock alias placement.

Estimated code review effort: 2 (Simple) | ~10 minutes

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: making Raft the canonical integration name.
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 docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch agent/rename-slock-to-raft

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.

@hawkingrei
hawkingrei marked this pull request as ready for review July 14, 2026 06:38
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.

1 participant