Changelog — Skill Weave Iteration
All notable changes to the Skill Weave project are documented in this file.
The format is based on Keep a Changelog.
[Phase 4] — 2026-07-08 — 通用化去耦合
Added
circuit_breaker.py— 纯 stdlib 实现的 CircuitBreaker 状态机(CLOSED/OPEN/HALF_OPEN),8 个公开方法完全兼容原 skill_weave 接口telemetry.py— 纯 stdlib 实现的 Telemetry JSONL 日志器,6 个公开方法(start_span/end_span/log_event/read_logs/stats/span),支持自动日志轮转tfidf_embedder.py— HashEmbedder 轻量文本嵌入(djb2 哈希 + 字符 n-gram + 128 维 + L2 归一化),作为无外部嵌入模型时的 dense fallbackchains.json/chains.yaml— 链定义配置文件,支持 JSON/YAML 两种格式,用户可通过编辑配置文件添加自定义链weave_chains.py新增_load_config()函数,模块加载时自动读取 chains.json,不存在则回退到硬编码默认值semantic_retriever.py新增_postprocess_ascii_abbrevs()后处理函数,从中英混合 token 中分离 ASCII 技术缩写(LoRA/BERT/GPT 等)_ASCII_ABBREVS集合:70+ 常见技术缩写词表
Changed
weave_chains.py导入改为本地模块:from circuit_breaker import CircuitBreaker/from telemetry import Telemetry,不再依赖skill_weave包的 CircuitBreaker/Telemetryinit_phase3()当embed_fn=None时自动创建 TF-IDF HashEmbedder 并重建 SemanticRetriever,确保 dense 检索始终可用tokenize()函数所有模式(jieba/fmm/bigram)统一应用 ASCII 缩写后处理
Renamed (去 Hermes 化)
hermes-ui-design→ui-design-systemhallmark→anti-ai-designmemory-maintenance→memory-concierge
Fixed
- Phase 3 SADFeedback bug:
confidence_threshold从 3.0 降到 2.0,单触发词匹配(score=2)不再触发不必要的 SAD 校正 - Phase 3 SADFeedback bug: 添加链切换保护,新链 score 未超过原链 +1.0 时保持原链
Performance
- Recall@10 从 93.94%(31/33)提升到 96.97%(32/33),TF-IDF 密集嵌入有效提升混合检索质量
Test Results
- Phase 3 集成测试:42/42 通过
- 基准路由测试:31/31 = 100%
- v0.4 集成测试:12/12 通过
Deliverables (6 files)
circuit_breaker.py— CircuitBreaker + CircuitStatetelemetry.py— Telemetry + RouteSpantfidf_embedder.py— HashEmbedder + create_embed_fnsemantic_retriever.py— 含 ASCII 缩写后处理weave_chains.py— 含 config loader + TF-IDF 集成 + 本地导入chains.yaml— 人类可读的链配置文件
[Phase 3] — 2026-07-08 — SAD 反馈闭环和语义检索
Added
semantic_retriever.py— FMM 分词器 + BM25 SparseIndex + 混合 SemanticRetriever(jieba/FMM/bigram 三级降级)sad_feedback.py— SADFeedback 迭代权重校正闭环dag_composer.py— TaskDecomposer + DAGComposer + DAGPlanweave_chains.py新增init_phase3()/route_task_v3()/compose_task()
Metadata
Release files for skill-weave-chains 0.1.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 |
|---|---|---|---|---|
| skill_weave_chains-0.1.0.tar.gz | 40.8 kB | Without provenance | Details for skill_weave_chains-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| skill_weave_chains-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for skill_weave_chains-0.1.0-py3-none-any.whl |
Total release size: 77.9 kB
Release files / skill_weave_chains-0.1.0.tar.gz
| Download URL | skill_weave_chains-0.1.0.tar.gz |
|---|---|
| Size | 40.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0aa1919e60775de493dceca976316300fb5a030d606c9a9414e4ec9ab67c922a
|
|
BLAKE2b-256 checksum How to use checksums |
969966cbfb93db6367c201bae6287a0db4717b3fc984f99a10d065947ae883d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / skill_weave_chains-0.1.0-py3-none-any.whl
| Download URL | skill_weave_chains-0.1.0-py3-none-any.whl |
|---|---|
| Size | 37.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
10a10f9e7777051b614cbfbf56e33833c5fe1cc904e808cb6246e2f17f6e9090
|
|
BLAKE2b-256 checksum How to use checksums |
345fdd2ba6f8d06610c127fb98c3f17748536248bbd29fd0e9d359a00e932144
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Security for skill-weave-chains 0.1.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.