Fetching metadata from the HF Docker repository...
-
feat: proposal archive/restore governance, knowledge derived status, documents live polling, yellow archive UI
-
fix: complete knowledge lifecycle and activity pagination
-
feat: topic_relevance validation rule using hybrid retrievalβ
New rule operator: topic_relevance
- Embeds proposal title+value using sentence-transformers
- Computes cosine similarity against existing workspace knowledge
- Below threshold β FAIL β human review required
- Empty workspace β always passes (first docs define topic)
- Configuration: {value: 0.3} where value is similarity threshold (0-1)
This prevents off-topic documents from auto-committing to a workspace.
Example: HR document uploaded to Cardiology workspace β low similarity
to existing heart-related knowledge β triggers review.
Backend:
- validation.py: _validate_topic_relevance method
- schemas/rule.py: added topic_relevance to allowed operators + validation
Frontend:
- Settings form: Topic Relevance option with threshold input
- Rule cards show similarity threshold
- Glossary updated
README:
- Updated Validation Engine section with 4th operator documentation
-
feat: human-readable proposal labels + glossary on every pageβ
1. Proposal types renamed for stakeholders:
- CREATE β New Discovery
- UPDATE β Contradiction
- DELETE β Retraction
- MERGE β Consolidation
- SPLIT β Refinement
2. Shared label system (utils/labels.js):
- PROPOSAL_TYPE_LABELS
- WORKFLOW_STATUS_LABELS
- KNOWLEDGE_STATUS_LABELS
- KNOWLEDGE_TYPE_LABELS
3. Glossary component on every page:
- Collapsible 'Show glossary' toggle
- Page-specific term definitions
- Dashboard: metrics terminology
- Documents: processing states
- Document Workspace: proposal types + approve/reject
- Knowledge: types, statuses, evidence
- Search: hybrid search, confidence
- Workflows: pipeline stages
- Activity: event types
- Settings: rule operators
No backend changes β labels are frontend-only, enums stay stable.