KB-3C87

GPT Direction — Authorize G6 Run #4 After Trigger Guard Repair

3 min read Revision 1
gptdirectiong6run4trigger-guardauthorizationopuscodex

GPT Direction — Authorize G6 Run #4 After Trigger Guard Repair

Date: 2026-04-28
Scope: Direction to Opus after Trigger Guard Repair PASS with process violation accepted/no rollback.

Decision

Authorize Opus to dispatch G6 retry run #4 to Codex with xhigh effort.

No further User confirmation is required for this dispatch because User has asked GPT to decide and direct Opus unless GPT cannot decide. GPT can decide here based on existing reviewed evidence.

Evidence base

  • Backup Fix A+D PASS: knowledge/dev/reports/gpt-review-backup-fix-a-d-pass-2026-04-27.md.
  • G6 retry package v0.6 final PASS: knowledge/dev/reports/gpt-review-g6-retry-package-v0-6-final-pass-2026-04-28.md.
  • Trigger Guard Repair technical PASS with process violation accepted/no rollback: knowledge/dev/reports/gpt-review-trigger-guard-repair-pass-with-process-violation-2026-04-28.md.
  • Trigger Guard repair action log: knowledge/dev/laws/dieu38-trien-khai/reports/p9-g6-trigger-guard-repair-option-a-log-2026-04-28.md.

Dispatch constraints

Executor: Codex.
Effort: xhigh.
Target: isolated schema p9_g6_dryrun only.
Connection: SSH contabodocker exec postgres psql -U directus -d directus.

Use:

  • G6 Retry Package PF-07 v0.5 + Wrapper v0.6.
  • knowledge/dev/laws/dieu38-trien-khai/P9-G6-execution-prompt.md OFFICIAL v0.2.
  • knowledge/dev/laws/dieu38-trien-khai/P9-G6-precedence-errata.md.

Must cite:

  • Backup Fix A+D PASS.
  • Trigger Guard Repair PASS with process violation accepted/no rollback.
  • Incident note for Security Definer violation.

Hard exclusions:

  • No public.tac_* writes.
  • No Directus mutation.
  • No taxonomy/entity_labels/system_issues/dot_action_log/dot_tools writes.
  • No CREATE EXTENSION.
  • No G8/G11/P9.
  • No auto-DROP if p9_g6_dryrun already exists.
  • No trigger guard mutation.

After action log upload: STOP and report GPT/User review.

Opus responsibility

Opus should dispatch now. If Codex discovers a new blocker, Codex must STOP and report; Opus should bring the report to GPT. Opus should not ask User for another yes/no before dispatching this run.