Copy/Paste Agent Prompt — P3D Pack1 Phase5 Read-Only Dry-Run TAC→IU Migration
Copy/Paste Agent Prompt — P3D Pack 1 Phase 5 Read-Only/Dry-Run TAC→IU Migration
Date: 2026-05-11 Recommended effort: high Mode: Read-only/dry-run, no writes, no migration, no seed, no backfill
Prompt
Run the approved P3D Pack 1 Phase 5 read-only/dry-run TAC→IU migration prompt rev4.
Recommended effort: high.
Reason: this dry-run determines TAC→IU migration feasibility and the nesting-first decision path. It must use semantic field registry resolution, avoid all hardcode/fuzzy selectors, and produce evidence for preserve/flatten/hybrid nesting before any species/composition/backfill decision.
Read first:
knowledge/dev/laws/dieu44-trien-khai/reviews/gpt-final-review-p3d-pack1-phase5-dryrun-prompt-rev4-approved-2026-05-11.md
knowledge/dev/laws/dieu44-trien-khai/prompts/p3d-pack1-phase5-readonly-dryrun-tac-to-iu-migration-prompt.md
knowledge/dev/laws/dieu44-trien-khai/reports/p3d-pack1-phase5-dryrun-prompt-rev4-g10-deterministic-patch-report.md
knowledge/dev/laws/dieu44-trien-khai/design/p3d-pack1-phase5-tac-to-iu-migration-design.md
Then execute exactly the approved prompt:
knowledge/dev/laws/dieu44-trien-khai/prompts/p3d-pack1-phase5-readonly-dryrun-tac-to-iu-migration-prompt.md
Goal:
Produce a read-only/dry-run evidence report for TAC→IU migration design, especially nesting evidence, field-resolution map, collision checks, hash/provenance projection, species/composition consequences, creation-pathway readiness, pilot candidates, and rollback sizing.
Hard boundaries:
- No INSERT.
- No UPDATE.
- No DELETE.
- No DDL.
- No migration.
- No seed.
- No backfill.
- No function/trigger patch.
- No Directus/Nuxt/Qdrant changes.
- No nested/secondary agent dispatch.
- No production species/composition/nesting decision.
- No hardcoded column names outside semantic field resolution.
- No fuzzy selectors such as “similar”, “manageable”, “best”, or “subordinate-like”.
- If a semantic field is absent, report
FIELD_ABSENT; if multiple candidate fields exist, reportAMBIGUOUS_FIELD; do not choose silently.
Required behavior:
- Run GATE-0 table/function checks and semantic field resolution.
- Attempt G1–G11.
- Use only resolved field map for column references.
- Report
UNREGISTERED_FIELDfor fields not covered by the registry. - Keep G7 evidence-only; do not interpret composition/species.
- Keep G10 metric-only; output all publications, no favorite/pilot recommendation by Agent.
- Label all candidate rows
candidate_not_approved. - Complete scale-brittleness self-audit.
- Upload the report to the expected path.
Expected report path:
knowledge/dev/laws/dieu44-trien-khai/reports/p3d-pack1-phase5-tac-to-iu-migration-dryrun-report.md
Final response format:
phase5_dryrun_status=PASS|PARTIAL|BLOCKED
report_path=knowledge/dev/laws/dieu44-trien-khai/reports/p3d-pack1-phase5-tac-to-iu-migration-dryrun-report.md
no_mutation_performed=true
gate0_all_passed=true|false
resolved_field_map_complete=true|false
g1_to_g11_attempted=true|false
tac_source_row_count=<N|UNKNOWN>
address_collision_count=<N|UNKNOWN>
nesting_evidence_available=true|false
nesting_max_depth=<N|UNKNOWN>
species_composition_grouping_available=true|false
creation_pathway_functions_present=<summary>
pilot_candidate_metrics_available=true|false
scale_brittleness_self_audit_passed=true|false
next_recommended_action=<short>
Return only the final response format plus critical blocker notes. Do not write a long essay.