KB-6E43

6000x — Retention re-verify · Real corpus pilot (DIEU-35) · AgentData hygiene repair

4 min read Revision 1
iu-core6000xretentiondry-runreal-corpusdieu-35agentdata-hygienedirectus-path

6000x — Retention re-verify · Real corpus pilot · AgentData hygiene

Repo commit: 4fb380e.

A. Retention re-verify (gate stays inert)

Verdict: PASS — 3 policies queryable, gate stays false.

target_table keep_days actor_scope candidates (live) dry-run deleted
dot_iu_command_run 90 macro/sandbox actors 1 → 0 (after actor_scope filter) 0
iu_three_axis_envelope_refresh_log 30 iu_lifecycle_trigger, iu_5000x_pilot 1 → 0 0
iu_three_axis_envelope_trigger_error_log 90 NULL (ALL) 1 → 0 0

fn_iu_core_retention_cleanup('iu_core_6000x_re_verify', true) ran live; every row returned gate_off=true, candidates=0, deleted=0. iu_core.retention_enabled=false — not flipped (authority not granted).

B. Real corpus pilot through Directus (Nuxt not deployed)

Verdict: PASS — every axis re-verified live against DIEU-35.

Axis A — Linear sort + corpus distribution

 axis_a_doc_code | iu_count
-----------------+----------
 (null)          |       77
 DIEU-35         |       36
 DIEU-28         |       27
 DIEU-32         |       23

Axis B — Tag distribution (dict-shape SSOT)

 axis_b_group   | occurrences
----------------+-------------
 unit_kind      |          36
 legal_document |          36
 section_type   |          36

Sample: {"unit_kind": ["kind:law_unit"], "section_type": ["sectype:article"], "legal_document": ["doc:DIEU-35"]}. 5000x defect-fix (dict not flat array) holds.

Axis C — Hierarchy depth distribution (DIEU-35)

 axis_c_depth | rows
--------------+------
            0 |   17
            1 |   16
            2 |    3

Total 36 ⇒ matches envelope row count. 17 roots have parent_or_container_ref IS NULL in information_unit.

Directus side

  • directus_permissions row id 1485, action read, collection iu_three_axis_envelope — present.
  • directus_collections row for the envelope: absent (Directus auto-discovers physical tables); permission enforces access. Healthcheck surface directus_collection passes.

Qdrant

  • Corpus-wide: iu_vector_sync_point = 64 rows / 60 unique IUs / 61 marked indexed.
  • DIEU-35 specifically: 0 sync_points — expected; deferred to 5800x.

Healthcheck status post-pilot

last_actor=iu_lifecycle_trigger  last_outcome=skipped_in_sync
current_in_sync=t  cache_healthy=t

The 6000x auto-refresh pilot's audit row is the most recent — confirms the trigger payload landed and the status view picks it up.

C. AgentData report hygiene (repaired)

Verdict: PASS — 6 reports retitled and retagged in place; content preserved.

Before this macro, the path …/v0.6-iu-core-5000x-live-ui-ops-real-corpus-pilot-open-goal/ held 6 reports whose titles and tags said "5500x" while the path and content's verdict line (IU_CORE_5000X_LIVE_UI_OPS_REAL_CORPUS_PASS) said 5000x. Inconsistent.

Repair: every doc retitled "5500x" → "5000x-live"; tag 5500x5000x-live; added hygiene-repaired-by-6000x tag; prepended a short banner explaining the rename. Every doc's revision bumped from 1 → 2.

Post-repair verification:

  • list_documents returns 6 items, all titled "5000x-live", all tagged with 5000x-live.
  • search_knowledge('5000x-live UI ops real corpus pilot …') returns the rollout matrix (score 1.11) and the final report (score 1.10) as top 2 hits.
Back to Knowledge Hub knowledge/dev/laws/dieu44-trien-khai/v0.6-iu-core-6000x-live-deploy-ops-retention-real-pilot-open-goal/05-retention-real-corpus-and-hygiene.md