KB-3A01 rev 2

KG/dot-kg Discovery — 12 Full MCP-Readable Checkpoint

5 min read Revision 2
kgdot-kgcheckpointmcp-readable2026-06-04

12 — Full MCP-Readable Checkpoint

Macro: KG_DOT_PROCESS_DISCOVERY_AND_DOCUMENT_BUILDING_PILOT Date: 2026-06-04 · Mode: EXECUTION_MODE · Status: PARTIAL (both branches done; owner/operator only). Channels: query_pg RO + ssh contabo → docker exec postgres psql -U directus RW + KB upload_document.

Final status by workstream

WS output status
Live state / SSOT doc 01; 36-vs-18 resolved; safety baseline clean DONE
A KG content cluster map doc 02 (16 IUs) DONE
B D1 KG cluster document published + read-back PASS DONE
C dot-kg evidence graph doc 04 (36 DOTs/18 pairs) DONE
D D2 dot-kg SOP/runbook published + read-back PASS DONE
E Process Discovery Engine v1 doc 06 (9-stage, generic) DONE
F Discovery views 6 views LIVE, 0 births, MCP read-back PASS DONE
G dot-kg scoring/readiness doc 08 (strong_candidate_structural) DONE
H RP/UI impact doc 09 (6 routes + 5 components, patch-ready) DONE
I Next macro doc 10 (#5 correlation design) DONE

Live mutation: YES — 6 read-only views (0 PG-schema births) + KB authoring births (disclosed)

PG views: 0 birthsbirth_registry 1,158,132 before == after == post-commit; rehearsed BEGIN/ROLLBACK net-zero. KB authoring: the 16 published documents created 16 knowledge_documents provenance births (species ai_support) + auto entity_labels (counter → ~1,158,148) — document provenance via normal KB ingestion, NOT process/taxonomy/approval births. Views: v_process_discovery_evidence_graph(113), _candidates(17), _orphan_components(84), _quality_score(17), _drift_signals(17), _birth_ready_queue(17). Rollback: 6 DROP VIEW (/tmp/process_discovery_views_rollback.sql). Apply SQL: /tmp/process_discovery_views.sql.

Key facts (live)

  • 36 DOT_KG_* = 18 producer (on-demand, orphaned from inventory) + 18 verifier (cron/dual, in inventory). 0 executions. execution_engine=pg_function, no script_path. Pairing in dot_tools.paired_dot matches law §7 matrix.
  • Law Điều 39 v2.3: "36 DOT (18 cặp), 10 quy trình A–J, 0 hardcode." Golden rule: AI proposes, human approves TBox. Trust survival gate. KG owner NOT registered in governance_registry.
  • 16 KG IUs (all draft) in dieu39-knowledge-graph-law.md; IU 10649925 = #7-36-dot-kg = bridge; knowledge_graph topic tags 10.
  • System-wide: 103 DOT_*, 0 executed; 30 on-demand inventory-invisible. Engine covers 17 candidates / 14 DOT families + job:cut + 2 workflows — generic, not hardcoded.
  • Scores: job:cut = verified_candidate (90, BIRTH_READY_PENDING_OWNER); dot:kg = strong_candidate_structural (50, BLOCKED_NEEDS_RUNTIME_AND_CORRELATION); nrm/doc/kb strong-structural; schema/collection/etc weak.

Documents

  • D1: knowledge/dev/design/knowledge-graph/d1-knowledge-graph-curated-cluster-2026-06-04.md (read-back PASS).
  • D2: knowledge/dev/sop/dot-kg/d2-dot-kg-process-family-sop-runbook-2026-06-04.md (read-back PASS).
  • Report: knowledge/dev/reports/architecture/kg-dot-process-discovery-and-document-building-pilot-2026-06-04/ (docs 00–12).
  • Short checkpoint: knowledge/dev/reports/architecture/checkpoint-kg-dot-process-discovery-pilot-2026-06-04.md.

dot-kg readiness

strong_candidate_structural — start+end+pairing present; missing runtime, cross-DOT correlation, KG events, owner. Recommendation: stay candidate; build correlation+runtime; split into 10 law-defined processes A–J at birth, not one blob; register owner first.

RP/UI impact

6 API routes + 5 components patch-ready on the live views; inventory trigger-filter fix recommended (one view). No Nuxt math, no fake official process, no pivot_definitions insert. Deploy operator-gated.

Next macro

Primary: PROCESS_DISCOVERY_CORRELATION_ID_AND_RUN_ID_DESIGN. Parallel: RP_UI deploy · D1_D2 expand · DOT registration prep (job:cut).

Exact blocker

None for next macro. Full dot-kg birth: declare KG events + add process_run_id correlation + enable DOT execution + register KG owner (Đ37) + owner birth admission. No engineering blocker to discovery.

Forbidden-action audit: CLEAN

No DOT executed · no process born/canonized · AX-PROCESS still CANDIDATE · no approval approved · no IU edit · no source-tag delete · no broad birth/governance change · no dot-pivot-update · no hardcode · no unverified "verified" claim · both branches completed.

Back to Knowledge Hub knowledge/dev/reports/architecture/kg-dot-process-discovery-and-document-building-pilot-2026-06-04/12-gpt-mcp-readable-checkpoint.md