V3 Content Audit — 2026-02-27
Scope
- Scanned active docs in
docs_hub_v3excluding06_BASELINE_ARCHIVE. - Focus: stale references, status consistency, duplicate files, placeholder quality.
Summary
- Legacy V2 references in active docs: 31 → 20 after consistency patch.
- Remaining 20 references are all in migration records under
99_MIGRATION/(expected). - Broken markdown links in active docs: 150 → 1 after remediation; remaining 1 is scanner false-positive on regex text in
02_SPECS/core/tenant_onboarding/01_db_schema.md. - Exact duplicate files in active docs: 10 → 0 after shared-template dedup (
02_SPECS/modules/_shared/DELIVERY_PACK_TEMPLATE.md+ module wrappers). - Major consistency risk remains:
FEATURE_STATUS_MATRIXandMODULE_INDEXrepresent different status semantics.
Findings & Proposed Actions
P0 — Status Model Consistency
- Issue:
03_TRACEABILITY/FEATURE_STATUS_MATRIX.mduses execution lifecycle (IN_PROGRESS,DONE, ...), while02_SPECS/MODULE_INDEX.mduses legacy plan completion semantics (✅/⚪/🟡). - Action Applied: Added explicit disclaimer in
MODULE_INDEX:- status is Legacy Plan Status,
- runtime execution truth is
03_TRACEABILITY/FEATURE_STATUS_MATRIX.md.
- Action Applied: Added SoT note directly in
03_TRACEABILITY/FEATURE_STATUS_MATRIX.mdto mark this file as authoritative for delivery/runtime status. - Action Applied:
- Added Legacy↔Runtime mapping block in both
02_SPECS/MODULE_INDEX.mdand03_TRACEABILITY/FEATURE_STATUS_MATRIX.md.
- Added Legacy↔Runtime mapping block in both
P1 — Legacy Reference Cleanup in Active Docs
- Issue: Several active operational docs still pointed to
docs_hub_v2paths. - Action Applied:
- Updated active docs to
docs_hub_v3structure in:04_OPERATIONS/05_PROJECT_OPERATING_SYSTEM.md04_OPERATIONS/06_ENGINEERING_RULES.md04_OPERATIONS/04_ROADMAP.md02_SPECS/workitems/WI-SEC-001__permissions_guard_hardening.md03_TRACEABILITY/WORKITEM_BOARD.md- plus DocHub title normalization in governance/architecture files.
- Updated active docs to
- Remaining: Legacy mentions exist only in migration docs (intentional historical records).
P2 — Duplicate Content Control
- Issue: 10 exact duplicates in module-level
DELIVERY_PACK.mdfiles. - Action Applied:
- Added shared template:
02_SPECS/modules/_shared/DELIVERY_PACK_TEMPLATE.md. - Replaced 10 duplicated packs with module-specific wrapper/index files referencing shared template.
- Benefit: lower drift and easier bulk updates.
- Added shared template:
P2 — Generated Placeholder Quality
- Issue:
05_GENERATED/backend_entity_manifest.mdstill contains manyTBDfields. - Action Applied:
- Added
WI-DOC-002in03_TRACEABILITY/WORKITEM_BOARD.mdfor manifest enrichment rules (collection mapping, owner module, confidence). - Added detailed workitem spec:
02_SPECS/workitems/WI-DOC-002__entity_manifest_enrichment.md(output schema, acceptance criteria, regenerate cadence). - Executed generator update in
v2/scripts/generate_manifests.jsand regenerated manifest at05_GENERATED/backend_entity_manifest.mdwith enriched columns (Owner Module,Source Path,Confidence).
- Added
- Execution Result (2026-02-27):
Collection/Table = TBD: 0 (from baseline mostly TBD)- Confidence distribution: HIGH=74, MEDIUM=3, LOW=24
- Current backlog focus shifts from missing collection info to LOW-confidence review queue.
- Action Applied:
- Completed LOW-confidence triage in
04_OPERATIONS/12_WI-DOC-002_LOW_CONFIDENCE_TRIAGE_2026-02-27.md. - Result:
24/24LOW rows are expected embedded schemas (_id:false), unresolved mapping count =0.
- Completed LOW-confidence triage in
- Action Applied:
- Added generator quality guard in
v2/scripts/generate_manifests.js:- hard-fail nếu row thiếu
Owner Modulehoặc confidence ngoàiHIGH|MEDIUM|LOW, - warning-only cho LOW rows có note khác
embedded schema (_id:false).
- hard-fail nếu row thiếu
- Added generator quality guard in
- Action Applied:
- Added CI workflow
.github/workflows/manifest-guard.ymlđể chạyv2manifest guard tự động trên pull request. - Added npm scripts trong
v2/package.json:generate:manifests,ci:manifest-guard. - Local validation passed:
npm.cmd run ci:manifest-guard.
- Added CI workflow
- Action Applied:
- Standardized GitLab enforcement with
.gitlab-ci.ymljobmanifest_guard(MR/default-branch pipelines). - Added branch protection runbook
04_OPERATIONS/13_BRANCH_PROTECTION_POLICY.mdto require successful pipeline before merge.
- Standardized GitLab enforcement with
- Action Applied:
- Added one-command verifier
v2/scripts/verify_gitlab_enforcement.js+ npm scriptverify:gitlab-enforcement. - Live verification result: all checks PASS (auth, merge gates, protected branch policy, manifest_guard presence).
- Added one-command verifier
Suggested Next Batch
- Optional: rotate temporary access token used during setup and keep verification command for periodic audits.