fufu-report-rules
体检指标参考区间与阈值判定的只读 MCP 连接器(WorkBuddy 连接器市场)。
- 需求:
docs/01-需求/20261124-REQ-只读MCP连接器立项-v1.0.md - 验证报告:
docs/03-测试/连接器上架前置验证报告_20261124.md
结构
mcp_rule_lookup/
├── connector-meta.json # 连接器元信息(source: fufu-report-rules)
├── mcp.json # stdio,uvx 拉起
├── icon.svg / README.md
├── skills/rule-lookup/SKILL.md
├── tools/export_snapshot.py # 快照导出(唯一真源=模块 core/)
└── src/fufu_report_rules/
├── server.py # FastMCP stdio:lookup_indicator / get_threshold / judge_indicator
├── judge.py # shim:vendor 装载 + 预置 _DB_ROWS(REQ 硬约束)
└── vendor/core/ # 模块 core 判定子树字节级快照 + MANIFEST.json(SHA256)
快照纪律
- 模块 core 是唯一真源:改了
core/threshold_judge.py或阈值 CSV 后必须重跑py -3 mcp_rule_lookup/tools/export_snapshot.py,然后--check校验。 vendor/core/__init__.py是生成态最小 glue(唯一例外于字节一致断言)。vendor/core/MANIFEST.json记录每文件 SHA256;tests/test_connector_shim.py会断言 快照与模块 core 一致,漂移即报警。
本地试跑
cd mcp_rule_lookup
py -3 -m pip install -e .
py -3 -m fufu_report_rules.server # stdio 起服务(或命令 fufu-report-rules)
已知边界
- vendor 快照不含
core/ports/**:data_guard的脏数据回写路径(连接器工具不触达) 如被误调用会 ImportError,工具层包装为明确报错。 - 判定入口依赖
judge.py预置tj._DB_ROWS=[]——这是与 core 内部命名的受控耦合, 行为测试锁定,勿删。 - v1 不支持儿童/青少年人群。
Metadata
Release files for fufu-report-rules 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fufu_report_rules-1.0.0.tar.gz | 81.8 kB | Without provenance | Details for fufu_report_rules-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fufu_report_rules-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for fufu_report_rules-1.0.0-py3-none-any.whl |
Total release size: 169.7 kB
Release files / fufu_report_rules-1.0.0.tar.gz
| Download URL | fufu_report_rules-1.0.0.tar.gz |
|---|---|
| Size | 81.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
21b2c899e180bf06894fcede1683cfd2e67d6598f3bdf055387ed0ef18dd6ce2
|
|
BLAKE2b-256 checksum How to use checksums |
68672516d5deccfe9bba78f4ba5a219f85c48f2c62b79e0ecf27f10f21790a8c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.2
|
Release files / fufu_report_rules-1.0.0-py3-none-any.whl
| Download URL | fufu_report_rules-1.0.0-py3-none-any.whl |
|---|---|
| Size | 87.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c3f291255f9acd24580b0752e1e4f99501c3f5d6691701ca9eff678342fdb718
|
|
BLAKE2b-256 checksum How to use checksums |
ba050dc3195f418c7221bd1a212bdb1d8bc3d0a90a94c610b1e38719a083f173
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.2
|
Security for fufu-report-rules 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.