Skip to main content

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 A plm-skill-packages per 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).

Foundation MVP-0 corpus qualification (FTR-2219 / US-2219-01)

plm_knowledge.foundation turns the bundled 146-document Markdown corpus, taken at an exact pinned commit SHA, into a reviewable, byte-reproducible qualification matrix under the versioned policy foundation-corpus-qualification/0.1.0. It is build-time governance, not a runtime search surface (retrieval stays out of scope for MVP-0).

  • Every candidate is classified included / excluded / invalid with a reason code; no candidate disappears from the matrix. Included documents carry qualified_seed authority.
  • Approved MVP-0 perimeter: plm / bpmn / ontology / data / rgpd are the included seed; customers is excluded sensitive and prompt_library is excluded out_of_scope. At the pinned seed revision the matrix is 146 candidates → 55 included / 91 excluded / 0 invalid (the 4 zero-byte category-index files are reason-coded empty).
  • Stable identity: document_id = "doc:" + sha256(NFC(source_relative_path)); content is EOL-normalized before hashing so content_sha256 is reproducible across checkouts. Canonical serialization is UTF-8 / LF / sorted-keys / compact JSON with no timestamps or absolute paths.
python scripts/qualify_foundation_corpus.py            # dry-run report (writes nothing)
python scripts/qualify_foundation_corpus.py --execute   # write the approved inventory
python scripts/qualify_foundation_corpus.py --check      # determinism gate: fail on any drift

The executed inventory lives in-repo at plm_knowledge/foundation/inventory/foundation-inventory.json and is consumed by downstream package-projection / integrity stories from the source tree. It is intentionally not shipped as wheel package-data, since the matrix enumerates the paths of perimeter-excluded sensitive documents.

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.py
  • 02_App/backend/services/issue_classification.py
  • 02_App/backend/agents/business_validator.py
  • 02_App/backend/skills/knowledge_pack_loader.py
  • 02_App/backend/skills/knowledge_search_engine.py

References

  • PRD §3 #6 — plm-knowledge product-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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plm_knowledge-1.3.0.tar.gz (290.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plm_knowledge-1.3.0-py3-none-any.whl (330.5 kB view details)

Uploaded Python 3

File details

Details for the file plm_knowledge-1.3.0.tar.gz.

File metadata

  • Download URL: plm_knowledge-1.3.0.tar.gz
  • Upload date:
  • Size: 290.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for plm_knowledge-1.3.0.tar.gz
Algorithm Hash digest
SHA256 8238647280da0ec4388bd4560966e5dc58b4a540969d454c9f6c51932bdb1730
MD5 394059769e2a252480b6d27a11136083
BLAKE2b-256 53c791b40b984c0e447e3146bf2fffaf443be46ce98a5044a2755207b9a199ed

See more details on using hashes here.

Provenance

The following attestation bundles were made for plm_knowledge-1.3.0.tar.gz:

Publisher: release-please.yml on plm-engine/plm-knowledge

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file plm_knowledge-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: plm_knowledge-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 330.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for plm_knowledge-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0a943ae9a4028ed1d015aceb77e47c51c17bcc0afd87a19550a8db8de2688455
MD5 1a05e2eb9c61d98f14219bb32bb06605
BLAKE2b-256 08bcf39e070a9ee4f24bcf9caaf3918f5626b21b71663472aeaee8461b162427

See more details on using hashes here.

Provenance

The following attestation bundles were made for plm_knowledge-1.3.0-py3-none-any.whl:

Publisher: release-please.yml on plm-engine/plm-knowledge

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

1.3.1

2 files

This release

1.3.0 This release

2 files

1.2.0

2 files

1.1.0

2 files

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page