TracePulse PLM Knowledge product-line — BM25 retrieval, RAG, business rules, lifecycle FSM, knowledge-pack manifests (Wave 6.5 Conv B / PRD §3 #6). Full description in README.
Project description
plm-knowledge
TracePulse PLM Knowledge product-line. Wave 6.5 Conv B sibling-package carve per PRD §3 #6.
Scope (PRD §3 #6 verbatim — 4 sub-layers)
| Sub-layer | Source | Carve disposition |
|---|---|---|
| Foundation | 01_Dictionnaries/** (146 .md files at repo root) + plm_taxonomy + plm_evaluation_grids |
Path stays at repo root through Wave 6.5 per Decision #171 = (c) defer relocation to Wave 7. plm_knowledge.foundation_loader is a thin reader that resolves the path through config.dictionnaries_path (already configurable); no git mv of the dictionary tree. |
| Rule & Policy | 02_App/backend/services/issue_classification.py + 02_App/backend/agents/business_validator.py |
Lifted via git mv to 02_App/plm-knowledge/plm_knowledge/{issue_classification,business_validator}.py. Re-export shims at every old monolith path. |
| Retrieval | 02_App/backend/services/rag_service.py + 02_App/backend/skills/knowledge_pack_loader.py + 02_App/backend/skills/knowledge_search_engine.py (BM25) |
Lifted via git mv to 02_App/plm-knowledge/plm_knowledge/{rag_service,knowledge_pack_loader,knowledge_search_engine}.py. Re-export shims at every old monolith path. |
| Operational | V1 placeholder per D-LOCKED-15 + Decision #172 = (a) keep in-process state V1 | plm_knowledge.operational exposes a stable but inert public surface so downstream callers can target the future operational telemetry hooks without an interface bump. |
Public surface (frozen V1 — KNOWLEDGE_PACKAGE_VERSION = "v1.0.0-wave6.5")
- The 5 lifted modules at top level of the package (
rag_service,issue_classification,business_validator,knowledge_pack_loader,knowledge_search_engine). plm_knowledge.foundation_loader— thin reader for the Foundation layer (path resolution + .md enumeration).plm_knowledge.operational— V1 placeholder (per D-LOCKED-15 + Decision #172).plm_knowledge.lifecycle— 4-state FSM aligned verbatim with PRD §8.11.3 (mirror of Wave 6.5 Conv Aplm-skill-packagesper Decision #167).plm_knowledge.manifests— YAML manifest loader (mirror of Decision #168 precedent — YAML + filesystem; no SQL, no admin UI in V1).plm_knowledge.contracts— wire-contract Pydantic v2 frozen models for the public surface (Decision #160 interface-freeze pattern).plm_knowledge.registry— manifest+lifecycle registry exposed to the kernel (capability registry callers).
Lifecycle FSM (PRD §8.11.3 verbatim — Decision #167 mirrored)
draft ──► released ──► deprecated ──► retired
│
└──► (terminal)
States are strictly forward-flowing; the FSM rejects skip
transitions, out-of-terminal moves, and unknown states. Mirrors the
4-state contract in plm_shared.capability_registry.
Transitional dependency note (Wave 6.5 → Wave 7 Extraction)
Lifted code retains its existing from services.X / from agents.base_agent /
from config import settings imports. These resolve at runtime in the
backend process via PYTHONPATH (also via pip install -e ../plm-knowledge
declared in 02_App/backend/requirements.txt); sibling tests configure
tests/conftest.py to extend sys.path. Wave 7 Extraction physically
separates the repos and at that point inbound deps refactor to
ports/Protocols. Pattern matches Wave 6.5 Conv A plm-skill-packages
precedent verbatim.
Re-export shims
The following monolith paths are thin re-export shims pointing to the canonical sibling-package modules. They keep legacy callers working through Wave 7 Extraction (drop after 90-day soak per US-DC.1).
02_App/backend/services/rag_service.py02_App/backend/services/issue_classification.py02_App/backend/agents/business_validator.py02_App/backend/skills/knowledge_pack_loader.py02_App/backend/skills/knowledge_search_engine.py
References
- PRD §3 #6 —
plm-knowledgeproduct-line definition - PRD §8.11.3 — 4-state capability lifecycle FSM
- WAVE-6-READINESS-SWEEP.md §11.2 — Wave 6.5 conv-by-conv
- W6.5-CONV-A-FOLLOWUPS.md — Wave 6.5 Conv B warm-up
- Decisions #170-#173 — Wave 6.5 Conv B Q-W6.5B-* answers
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file plm_knowledge-1.0.0.tar.gz.
File metadata
- Download URL: plm_knowledge-1.0.0.tar.gz
- Upload date:
- Size: 36.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b8f6b04169d081be389a23bf3ae2dece734a109e7596ff6cb47bd5c0cf51257
|
|
| MD5 |
51977416079be122e58928588753464a
|
|
| BLAKE2b-256 |
81fbb5a6b465db9caaaee35b42db35fb8b97fd474d21548dd62f4296637e9862
|
File details
Details for the file plm_knowledge-1.0.0-py3-none-any.whl.
File metadata
- Download URL: plm_knowledge-1.0.0-py3-none-any.whl
- Upload date:
- Size: 35.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0511c453736b9c408c58504545f28820c9d5612eb336e2522893df8c01ac7e57
|
|
| MD5 |
23bdd3150746564b49bfd35ae9cec534
|
|
| BLAKE2b-256 |
6b3901b9763f4f3d08a271008a074e9efea8f7a31bc4686d41b2e5530319de4d
|