跳到正文
cccskills
免费在 GitHub 公开

abi-superpower-wdbx-cluster

WDBX cluster superpower. Raft/RPC plus signed membership, exact replication/read repair, deterministic placement/rebalance, and authenticated single-host multi-process proof.

中文简介正在准备中。当前显示原文说明。

donaldfilimon/abi星标 19(GitHub 19 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md5.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

WDBX moved out of this repository on 2026-08-22. It now lives in the sibling repo ../wdbx together with abi-compute, abi-foundation, abi-core, and abi-telemetry; abi consumes them by relative path. Source paths below therefore read ../wdbx/crates/.... Run WDBX-only tests from that repo (./tools/cargo.sh test --locked --manifest-path ../wdbx/Cargo.toml --workspace < /dev/null, run from the abi checkout), and abi's gate (./tools/check.sh) from here.

Under the Abbey System Constitution (docs/superpowers/specs/2026-08-22-abbey-system-constitution.md) WDBX is the provenance-aware episodic substrate, not a vector store. Most of the evidence half of its specification is unimplemented; the measured gap list is in docs/superpowers/specs/2026-08-22-wdbx-conformance-gap-analysis.md. Do not describe an episodic capability as Current on the strength of the vector-store features that do exist.

ABI Superpower: WDBX Cluster

Exposes WDBX cluster capabilities. Honest scope: exact committed-transaction replication/read repair, signed membership, rendezvous placement, verified resumable rebalance, and authenticated local processes are tested on one host. This is not a production multi-host distributed database.

Actions

status

Show in-process Raft state-machine status (single node that elects itself leader):

abi wdbx cluster status

demo

Run in-process consensus demo (election, quorum replication, failover):

abi wdbx cluster demo 3

serve

Serve a networked consensus RPC node:

abi wdbx cluster serve 8090 node1 127.0.0.1
  • Loopback (127.0.0.1) allowed by default
  • Non-loopback bind refuses to start without ABI_WDBX_CLUSTER_TOKEN
  • Optional peer allowlist via ABI_WDBX_CLUSTER_PEERS (comma-separated node IDs)

local-demo

Run the authenticated exact-data proof with 3–9 local processes:

abi wdbx cluster local-demo 3 --json

This proves single-host process/RPC behavior only, not real separate-host, hosted/Windows, or production operation.

RPC tests

Authenticated loopback vote/append coverage lives in the abi-wdbx test suite. There is no public rpc-test CLI subcommand.

Architecture

LayerSourceStatus
Raft Core../wdbx/crates/abi-wdbx/src/cluster.rsCurrent — leader election, majority-quorum replication, failover, quorum-loss detection
RPC Transport../wdbx/crates/abi-wdbx/src/cluster_rpc.rsPartial — real TCP RequestVote/AppendEntries, shared-secret frames, optional peer allowlist, loopback-tested
Exact data plane../wdbx/crates/abi-wdbx/src/{v2/replication,cluster/{replication,repair,rebalance,placement}}.rsCurrent — exact identity, conflict retention, stable fan-out, resumable plans
Signed membership../wdbx/crates/abi-wdbx/src/cluster/membership.rsCurrent — signed membership records and verification
CLI Surfacecrates/abi-cli/src/wdbx/cluster.rsCurrent — status/demo/local-demo/serve

Auth & Network

  • Shared-secret: ABI_WDBX_CLUSTER_TOKEN — required for non-loopback binds, included in RequestVote/AppendEntries frames
  • Peer allowlist: ABI_WDBX_CLUSTER_PEERS — optional comma-separated node IDs to restrict accepted peers
  • Transport: Raw TCP with line-delimited JSON frames (../wdbx/crates/abi-wdbx/src/net_line.rs)
  • TLS/mTLS: NOT implemented — deploy behind network policy/proxy for non-loopback

Gap to Production (§3.5 wdbx-north-star.mdx)

MissingRequired for Production
Multi-host deploymentTLS/mTLS or equivalent network policy
Production membership operationsSigned local records do not prove production control-plane operations
Production shardingLocal placement/replication APIs do not prove a production distributed database
Cross-host/hosted testsCurrent exact multi-process proof is single-host

Build and runtime boundary

abi-wdbx is a normal Rust workspace crate; there is no feat-wdbx switch or FeatureDisabled stub. The real CLI surface is abi wdbx cluster status|demo|local-demo|serve; rpc-test is not a public CLI subcommand.

Claim Boundary

Per docs/contracts/external-claims-audit.mdx and docs/spec/wdbx-north-star.mdx:

  • ✅ In-process Raft consensus (election, replication, failover)
  • ✅ Real TCP RPC transport with auth + peer allowlist
  • ✅ Exact committed-object quorum replication and conflict-preserving read repair
  • ✅ Signed membership, rendezvous placement, stable fan-out, verified resumable rebalance
  • ✅ Authenticated 3–9 process local demo
  • ❌ NOT production multi-host deployment
  • ❌ NOT production sharding despite local placement/replica APIs
  • ❌ The legacy cluster RPC itself has no TLS/mTLS; the separate gateway's local TLS/mTLS tests do not change that transport boundary
  • ❌ NOT production dynamic-membership operations; signed generation-checked membership records are locally tested data/control primitives

Present honestly — current evidence is exact and useful, but single-host scoped.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Maintain the Abbey / Aviva / Abi Discord system prompts in the Rust abbey-bot (`src/ask.rs`) and keep the hosted Grok bots (Grok Bot Abbey, Aviva Grok) in step with them. Use when the user says "improve grok bots", "abbey prompt", "persona prompt", "ask.rs", "system prompt", "tip floor", asks to change how Abbey/Aviva/Abi speak on Discord, or after an abbey-bot PR merges and the hosted bot's tip floor needs bumping. Runs as /abbey-system-prompt.

中文简介正在准备中。当前显示原文说明。

donaldfilimon/abi192026年10月27日 更新

Validate ABI docs and external collateral against repo evidence and docs/contracts/external-claims-audit.mdx. Use when auditing claims, scanning docs for unsupported QPS/sharding/FHE/AES language, checking one claim before publish, or re-confirming the external-claims audit. Agent procedure only — not a CLI or slash command. Pair with abi-doc-claims-sync when editing docs.

中文简介正在准备中。当前显示原文说明。

donaldfilimon/abi192026年10月27日 更新

Synchronize ABI Markdown and docs claims with executable behavior. Use before editing README, AGENTS.md, CLAUDE.md, GEMINI.md, docs/**/*.mdx, walkthroughs, changelogs, or any old ABI Markdown that mentions WDBX, MCP, GPU, clustering, compression, FHE, agents, or benchmarks.

中文简介正在准备中。当前显示原文说明。

donaldfilimon/abi192026年10月27日 更新

Plan and execute ABI repo work from the TODO board, roadmap/spec docs, stable Rust 1.99.1 constraints, and validation gates. Use when the user asks to find ABI todos/roadmaps, organize a large implementation from tasks/todo.md, or decide the next safe work slice. Distinct from the goals skill — that skill owns the persistent ledger tasks/goals.md; this skill plans from the active board and north-star specs.

中文简介正在准备中。当前显示原文说明。

donaldfilimon/abi192026年10月27日 更新

Validate ABI MCP JSON-RPC stdio and its custom loopback HTTP compatibility endpoint, including auth, limits, notifications, and shutdown.

中文简介正在准备中。当前显示原文说明。

donaldfilimon/abi192026年10月27日 更新

Review ABI's 16 compiled-in plugin fixtures, manifest validation, manual bundled registry, and real CLI/MCP run dispatch without claiming dynamic loading.

中文简介正在准备中。当前显示原文说明。

donaldfilimon/abi192026年10月27日 更新

查看 donaldfilimon 的全部技能

报告此技能的问题