What it is / 這是什麼
可下載、可執行的記憶索引層,讓你用 SCBKR 管理記憶並保留責任鏈。
We provide a downloadable, runnable memory indexing layer with explicit responsibility trace.
Open Memory Indexing Layer · 開放式記憶索引層
這個專案只做一件事:把記憶整理成 SCBKR 結構,並在進入決策前做責任鏈截斷。
This project focuses on one thing: structure memory with SCBKR and apply a responsibility-chain cutoff
before decision usage.
核心規則:沒有責任鏈,不進決策。
Core rule: No responsibility chain, no decision path.
Open indexing layer only · 僅開放索引層,不含封閉治理核心
可下載、可執行的記憶索引層,讓你用 SCBKR 管理記憶並保留責任鏈。
We provide a downloadable, runnable memory indexing layer with explicit responsibility trace.
不是完整治理引擎、不是封閉判斷核心、不是自動責任判定器。
It is not a full governance engine, not a closed judgment core, and not automatic responsibility adjudication.
cd main-root/starter-package
之後所有指令都在此資料夾執行。 All commands below run in this folder.
./run_open_layer.sh
會產生 generated/gate-report/decision-ready 三份輸出。 It generates three output files.
python3 services/scbkr_api_server.py \
--index ./memory-index/index.scbkr.decision-ready.json \
--port 9000
預設只回傳 decision-ready 記憶。 By default, only decision-ready memory is returned.
curl http://127.0.0.1:9000/health
curl -X POST http://127.0.0.1:9000/query -H "Content-Type: application/json" -d '{"query":"policy risk","top_k":3}'
直接把 JSON / 文字檔放進 memory-index/json/,先完成索引與責任鏈截斷。
Put JSON/text files into memory-index/json/ and run index + responsibility gate first.
先把 Google Drive 內容匯出到 memory-index/drive-import/ 再索引;目前是檔案匯入流程,不是 live API 直連。
Export Google Drive files to memory-index/drive-import/ first; this is file-import flow, not live API integration.
本地資料先經過 scbkr_human_gate.py,再由本地模型使用 decision-ready 索引。
Run local data through scbkr_human_gate.py, then feed decision-ready index to your local model.
curl http://127.0.0.1:9000/health
curl -X POST http://127.0.0.1:9000/query -H "Content-Type: application/json" -d '{"query":"policy risk","top_k":3}'
下載後可直接執行 open layer,先索引、再責任鏈截斷、再本地查詢。
Download and run immediately: index -> human gate -> local query.
沒有責任鏈,不進決策。/ No responsibility chain, no decision path.
Shen-Yao 888π / Wen-Yao Hsu
合作、授權與商業導入請透過創辦人窗口聯絡。 For collaboration, licensing, and commercial onboarding, contact the founder.
Visit Founder Website / 前往創辦人網站