# seekdb - Doramagic AI Context Pack

> Purpose: pre-work context for the user's host AI. This pack does not prove that the project has been installed, run, or validated.

## Project

- canonical_name: `oceanbase/seekdb`
- capability: The AI-Native Search Database. Best for agent storage, it unifies vector, text, structured, and semi-structured data into a single engine. This all-in-one database makes agents smarter, easier to run, and more stable.
- expected_user_outcome: The AI-Native Search Database. Best for agent storage, it unifies vector, text, structured, and semi-structured data into a single engine. This all-in-one database makes agents smarter, easier to run, and more stable.

## Operating Boundaries

- Do not claim that the project has been installed, run, called through an API, or used on local files unless separate evidence proves it.
- Project facts must come from repo evidence, Claim Graph, or explicit source references.
- When a capability is not verified, mark it as unverified instead of completing it as fact.
- publish_status: `publishable`
- blocking_gaps: none

---

## Doramagic Context Augmentation

The following sections strengthen the repository context for a host AI. Human Manual data is a reading route, and pitfall notes become operating constraints.

## Human Manual Outline

Usage rule: this is only a reading route and salience signal, not factual authority. Concrete claims must still return to repo evidence or Claim Graph.

Host AI hard rules:
- Do not treat page titles, section order, summaries, or importance values as factual project evidence.
- When explaining the Human Manual outline, state that it is only a reading route or salience signal.
- Capability, installation, compatibility, runtime state, and risk claims must cite repo evidence, source paths, or Claim Graph.

- **Overview, Architecture & Build System**: importance `high`
  - source_paths: README.md, CMakeLists.txt, build.sh, build.ps1, src/observer/ob_server.cpp
- **Core SQL Engine, Storage & Log Service**: importance `high`
  - source_paths: src/observer/ob_server.cpp, src/observer/ob_server.h, src/observer/mysql/obmp_query.cpp, src/observer/mysql/obmp_connect.cpp, src/observer/omt/ob_multi_tenant.cpp
- **Vector, Full-Text, Hybrid Search & AI Service**: importance `high`
  - source_paths: src/share/change_stream/ob_change_stream_mgr.cpp, src/share/change_stream/ob_change_stream_dispatcher.cpp, src/share/change_stream/ob_change_stream_fetcher.cpp, src/share/change_stream/ob_change_stream_worker.cpp, src/share/change_stream/ob_cs_plugin_async_index.cpp
- **FORK/MERGE Sandboxes & Embedded SDKs**: importance `high`
  - source_paths: src/rootserver/fork_table/ob_fork_database_service.cpp, src/rootserver/fork_table/ob_fork_table_service.cpp, src/rootserver/fork_table/ob_fork_table_task.cpp, src/rootserver/fork_table/ob_fork_table_helper.cpp, src/rootserver/fork_table/ob_fork_table_info_builder.cpp

## Repo Inspection Evidence

- repo_clone_verified: true
- repo_inspection_verified: true
- repo_commit: `43146d070b5cdbe8498186f0a3bcb6544818770a`
- inspected_files: `README.md`, `docs/README.md`, `docs/blog/launch_blog_en.md`, `docs/blog/launch_blog_jp.md`, `docs/blog/launch_blog_zh.md`, `docs/developer-guide/en/README.md`, `docs/developer-guide/en/android.md`, `docs/developer-guide/en/build-and-run.md`, `docs/developer-guide/en/coding-convention.md`, `docs/developer-guide/en/coding-standard.md`, `docs/developer-guide/en/container.md`, `docs/developer-guide/en/contributing.md`, `docs/developer-guide/en/debug.md`, `docs/developer-guide/en/homebrew.md`, `docs/developer-guide/en/ide-settings.md`, `docs/developer-guide/en/logging.md`, `docs/developer-guide/en/memory.md`, `docs/developer-guide/en/mysqltest.md`, `docs/developer-guide/en/toolchain.md`, `docs/developer-guide/en/unittest.md`

Host AI hard rules:
- Without repo_clone_verified=true, do not claim that the source code has been read.
- Without repo_inspection_verified=true, do not write README, docs, or package-file conclusions as facts.
- Without quick_start_verified=true, do not claim that the Quick Start path has run successfully.

## Doramagic Pitfall Constraints

These rules come from Doramagic discovery, validation, or compilation findings. The host AI must treat them as operating constraints, not background notes.

### Constraint 1: Installation risk requires verification

- Trigger: Project evidence flags a installation risk. Review the linked source before relying on this workflow.
- Host AI rule: Reproduce the official install and quickstart path in an isolated environment.
- Why it matters: May increase setup, validation, or first-run risk for the user.
- Evidence: community_evidence:github | https://github.com/oceanbase/seekdb/issues/914
- Hard boundary: Do not present this pitfall as solved, verified, or ignorable unless later evidence explicitly closes it.

### Constraint 2: Installation risk requires verification

- Trigger: Project evidence flags a installation risk. Review the linked source before relying on this workflow.
- Host AI rule: Reproduce the official install and quickstart path in an isolated environment.
- Why it matters: May increase setup, validation, or first-run risk for the user.
- Evidence: community_evidence:github | https://github.com/oceanbase/seekdb/issues/892
- Hard boundary: Do not present this pitfall as solved, verified, or ignorable unless later evidence explicitly closes it.

### Constraint 3: Installation risk requires verification

- Trigger: Project evidence flags a installation risk. Review the linked source before relying on this workflow.
- Host AI rule: Reproduce the official install and quickstart path in an isolated environment.
- Why it matters: May increase setup, validation, or first-run risk for the user.
- Evidence: community_evidence:github | https://github.com/oceanbase/seekdb/issues/921
- Hard boundary: Do not present this pitfall as solved, verified, or ignorable unless later evidence explicitly closes it.

### Constraint 4: Installation risk requires verification

- Trigger: Project evidence flags a installation risk. Review the linked source before relying on this workflow.
- Host AI rule: Reproduce the official install and quickstart path in an isolated environment.
- Why it matters: May increase setup, validation, or first-run risk for the user.
- Evidence: community_evidence:github | https://github.com/oceanbase/seekdb/issues/920
- Hard boundary: Do not present this pitfall as solved, verified, or ignorable unless later evidence explicitly closes it.

### Constraint 5: Installation risk requires verification

- Trigger: Developers should check this installation risk before relying on the project: Query times out on new standby after switchover during dump on primary
- Host AI rule: Before packaging this project, run the relevant install/config/quickstart check for: Query times out on new standby after switchover during dump on primary. Context: Observed during installation or first-run setup.
- Why it matters: Developers may fail before the first successful local run: Query times out on new standby after switchover during dump on primary
- Evidence: failure_mode_cluster:github_issue | https://github.com/oceanbase/seekdb/issues/921
- Hard boundary: Do not present this pitfall as solved, verified, or ignorable unless later evidence explicitly closes it.

### Constraint 6: Installation risk requires verification

- Trigger: Developers should check this installation risk before relying on the project: v1.3.0
- Host AI rule: Before packaging this project, run the relevant install/config/quickstart check for: v1.3.0. Context: Observed when using node, python, windows
- Why it matters: Upgrade or migration may change expected behavior: v1.3.0
- Evidence: failure_mode_cluster:github_release | https://github.com/oceanbase/seekdb/releases/tag/v1.3.0
- Hard boundary: Do not present this pitfall as solved, verified, or ignorable unless later evidence explicitly closes it.

### Constraint 7: Installation risk requires verification

- Trigger: Project evidence flags a installation risk. Review the linked source before relying on this workflow.
- Host AI rule: Reproduce the official install and quickstart path in an isolated environment.
- Why it matters: May increase setup, validation, or first-run risk for the user.
- Evidence: community_evidence:github | https://github.com/oceanbase/seekdb/issues/922
- Hard boundary: Do not present this pitfall as solved, verified, or ignorable unless later evidence explicitly closes it.

### Constraint 8: Installation risk requires verification

- Trigger: Project evidence flags a installation risk. Review the linked source before relying on this workflow.
- Host AI rule: Reproduce the official install and quickstart path in an isolated environment.
- Why it matters: May increase setup, validation, or first-run risk for the user.
- Evidence: community_evidence:github | https://github.com/oceanbase/seekdb/issues/902
- Hard boundary: Do not present this pitfall as solved, verified, or ignorable unless later evidence explicitly closes it.

### Constraint 9: Installation risk requires verification

- Trigger: Project evidence flags a installation risk. Review the linked source before relying on this workflow.
- Host AI rule: Reproduce the official install and quickstart path in an isolated environment.
- Why it matters: May increase setup, validation, or first-run risk for the user.
- Evidence: community_evidence:github | https://github.com/oceanbase/seekdb/issues/906
- Hard boundary: Do not present this pitfall as solved, verified, or ignorable unless later evidence explicitly closes it.

### Constraint 10: Configuration risk requires verification

- Trigger: Developers should check this configuration risk before relying on the project: v1.1.0
- Host AI rule: Before packaging this project, run the relevant install/config/quickstart check for: v1.1.0. Context: Observed when using python, docker, macos
- Why it matters: Upgrade or migration may change expected behavior: v1.1.0
- Evidence: failure_mode_cluster:github_release | https://github.com/oceanbase/seekdb/releases/tag/v1.1.0
- Hard boundary: Do not present this pitfall as solved, verified, or ignorable unless later evidence explicitly closes it.
