docs: reconcile repository metadata truth (#58) #62
All Vouch review confidence checks passed
Residual risk 0.25 = Change Risk (0.57) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.57 · 650 lines diff across 8 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.388
Shallow Review Depth
shallow_review_depth
0.289
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #62"
general
weight: 0.35
Xander-Xai
Closes #58.
What the live metadata actually is
Re-read from the GitHub API on 2026-10-06 (
Xander-Xai/Beauty-Industry-RAG-QA-System):| Field | Live value | Changed by this PR? |
|---|---|---|
|
description| 277 chars — "Multimodal RAG QA for cosmetics regulation: hybrid retrieval, two-stage reranking, evidence gating that refuses unsupported answers, uint32 RBAC, evaluation and observability. FastAPI + Qdrant/Elasticsearch/Redis; evidence levels separate implemented from production-validated." | No ||
homepage|""(empty) | No ||
topics| 20:rag,retrieval-augmented-generation,llm,multimodal-rag,hybrid-search,reranking,evidence-gating,rbac,fastapi,qdrant,elasticsearch,redis,llm-evaluation,llmops,observability,docker,kubernetes,python,cosmetics,regulatory-compliance| No |The drift was one-directional: GitHub had already been changed and the document still described the old state.
docs/repository-metadata.mdrecorded a 239/241-character description ending...graded by evidence level., and a topic list containingbm25,hallucination-detectionandvector-searchwhile omittingpython,cosmeticsandregulatory-compliance. Neither matched the live repository. This PR moves the document onto the live values.Why keep the live values unchanged
Per the issue's decision principle, live metadata is preserved unless there is a factual error, an unverified runtime capability, a conflict with the README's canonical positioning, or a discoverability loss. Checked against the current tree, none applies:
uint32 RBACiscommon/auth.py's_MAX_UINT32 = 0xFFFFFFFFcontract;hybrid retrieval,two-stage rerankingandevidence gatingareretrieval/parallel_recall.py,retrieval/bi_encoder.py+cross_encoder_ensemble.py, andretrieval/evidence_gate.py;evaluation and observabilityare the RAGAS/benchmark harness and the metrics/alerts paths, allREPO_VERIFIED.separate implemented from production-validated, is a boundary statement (who is separated from whom), not a validation claim — and it was verified not to trip the existing guard.cosmetics,regulatory-compliance) that distinguish this repository from any other RAG project. Removing a live topic to "make a change" would have been the drift, not the fix.Explicitly not changed and not added:
open-telemetry(OTLP closed loop isPENDING),qwen/vllm/bge/clip(model-name-as-runtime-evidence),enterprise-(marketing).The 26 → 31 fact and its source
Source:
tests/deploy/test_k8s_manifests.py. It defines 31 module-leveltest_functions, andpytest tests/deploy/ --collect-only -qindependently reports31 tests collected. The AST derivation in the new guard is asserted equal to the collected count, so the two cannot silently diverge.26was stale in four current documents —README.md,docs/deployment-guide-k8s.md,docs/interview-walkthrough.md,docs/repository-metadata.md— whiledocs/deployment-guide-k8s.md:15anddocs/repository-truth-audit.md:184already said31. Two correct numbers sitting beside four wrong ones is precisely the drift class this repository's guard exists to catch, so restating a count in prose is no longer enough:check_k8s_static_check_countsinscripts/check_repo_consistency.pyderives the count from the test module viaastand rejects any stated count in any canonical document that disagrees — offline, no pytest invocation, no clock, no GitHub API.静态检查/static checksso ordinary Chinese prose (再加一项检查时) and unrelated figures (0440,golang:1.24-alpine3.22,fsGroup 1000) are not misread as counts.-26can never be read as26.tests/test_check_repo_consistency.py, including the derivation-vs-collection check, accepted/rejected phrasings, false-positive lines, missing-module and empty-module behaviour, and an end-to-end wiring assertion thatmain()actually calls the guard.Mutation check: deleting
test_committed_secret_is_named_as_an_examplemakes the guard fail on all six documents (states 31 ... but ... defines 30) and makestest_current_documents_state_the_static_check_count_the_module_definesfail. The test file was restored afterwards and carries no diff.Why homepage is still empty
homepageis""and stays"". There is no public deployment, no demo site and no demo video. The candidates were all rejected before: an online demo does not exist;frontend/has no Pages build and no publishable artifact, and without a real backend it would be a dead shell; localhost addresses mean nothing to an external reader and leak deployment shape; the README screenshot is a synthetic-data capture, so using it as a homepage would presentSYNTHETIC DEMOas a product; an off-repository doc site would break this repository's single-source-of-truth discipline. The three conditions that would permit setting it are unchanged. The empty value is now recorded as a decision, not as a field nobody filled in.One further correction
The packet claimed
scripts/check_repo_consistency.pydoes not cover this file. That was false:CANONICAL_DOCSincludesdocs/*.md, so the packet has always been in scope (link/anchor, path, Python-entrypoint, stale-governance, retired-topology, evidence-vocabulary and count guards). What the guard genuinely cannot do is read live GitHub values. The document now states that precise boundary instead of describing a gap that does not exist, and the checklist now separates which rows are machine-checked from which are manual read-backs.No evidence promotion
No capability, architecture, evidence level, benchmark framework or result, runtime behaviour, config value or release version changed. No new external validation artifact was produced.
config.json→system.versionstays2.3.0. The Kubernetes row staysREPO_VERIFIED(manifests + static checks) /PENDING(real cluster). The README was touched in exactly one place — a stale integer — and was not rewritten.Verification
Live-vs-document read-back, character for character: