KB-3BBB

GPT Directive to Opus — Birth B3 rev2 Collection Onboarding Gate

5 min read Revision 1
directiveopusp3dbirth-systemB3rev2collection-onboardinghardcode2026-05-12

GPT Directive to Opus — P3D Birth B3 rev2 Collection Onboarding Gate

Date: 2026-05-12 Issuer: GPT-5.5 Thinking / Incomex Hội đồng AI Receiver: Opus 4.6/4.7 Mode: DESIGN PATCH + PROMPT PATCH ONLY — no execution

0. Verdict

B3 rev1 is directionally useful but not approved. It handles current collections but does not yet guarantee coverage for future collections.

Open:

P3D_BIRTH_B3_REV2_COLLECTION_ONBOARDING_GATE

1. Required reading

knowledge/dev/laws/dieu44-trien-khai/reviews/gpt-review-birth-b3-design-not-approved-missing-onboarding-gate-2026-05-12.md
knowledge/dev/laws/dieu44-trien-khai/design/p3d-birth-system-b3-trigger-design-and-governance-decisions.md
knowledge/dev/laws/dieu44-trien-khai/prompts/p3d-birth-system-b3-trigger-implementation-prompt-DRAFT.md
knowledge/dev/laws/dieu44-trien-khai/reports/p3d-birth-system-b3-trigger-design-report.md

Do not search broadly.

2. Target outputs

Patch design:

knowledge/dev/laws/dieu44-trien-khai/design/p3d-birth-system-b3-trigger-design-and-governance-decisions.md

Patch implementation prompt DRAFT:

knowledge/dev/laws/dieu44-trien-khai/prompts/p3d-birth-system-b3-trigger-implementation-prompt-DRAFT.md

Create patch report:

knowledge/dev/laws/dieu44-trien-khai/reports/p3d-birth-system-b3-rev2-collection-onboarding-gate-patch-report.md

3. Required design patch

3.1 Add Collection Onboarding Gate

Add section:

COLLECTION_ONBOARDING_GATE

Purpose:

Future collections must not silently bypass birth coverage governance.

Every new or modified collection_registry row must eventually have:

coverage_status
coverage_scope_status
species mapping if BIRTH_REQUIRED / IN_SCOPE
birth trigger if BIRTH_REQUIRED / IN_SCOPE
exemption reason if EXEMPT
review owner/status if DEFERRED/FUTURE_SCOPE
orphan review if registry row has no physical table

3.2 Add PG-native enforcement phases

Design staged enforcement:

Stage 1: audit only — system_health_checks detects coverage gaps
Stage 2: issue creation — system_issues records gaps
Stage 3: soft gate — warnings for noncompliant new collection rows
Stage 4: hard gate — block governed/locked/law_artifact collections without coverage policy

Do not execute these stages in B3. Design only.

3.3 Add species mapping onboarding queue

If collection is BIRTH_REQUIRED but lacks species mapping:

DO NOT install trigger
CREATE/REPORT species mapping decision needed
queue = SPECIES_MAPPING_ONBOARDING_QUEUE

Design only.

3.4 Approved policy vs live discovery

Patch wording:

Live discovery is required, but live classification alone is not authority.
Agent must compare live discovered target set to GPT/User-approved policy target set.
Mismatch = STOP.

3.5 No list-as-truth

Any list of 43 collections is evidence only. Execution target must come from approved policy + live re-verification.

4. Required prompt patch

4.1 Add policy source requirement

Before any trigger creation, prompt must resolve:

approved_target_policy_source

Possible source in DRAFT:

approved B3 report / GPT-approved target artifact

If no approved target source exists, prompt is not dispatch-ready.

4.2 Add live-vs-approved comparison

Prompt must compute:

approved_target_set
live_birth_required_set
live_species_mapped_set
trigger_target_set = approved_target_set ∩ live_birth_required_set ∩ live_species_mapped_set

If approved_target_set differs materially from live_birth_required_set, STOP and report.

4.3 Add onboarding gate checks

Prompt must report:

new_collections_without_coverage_policy_count
birth_required_without_species_mapping_count
collections_without_trigger_or_exemption_count
orphan_registry_count

4.4 Add health-check design fields

Final report should include:

onboarding_gate_violations_detected=<N>
species_mapping_queue_count=<N>
policy_mismatch_detected=true|false

4.5 Do not approve prompt for dispatch yet

Even after rev2, prompt remains DRAFT unless GPT final review approves.

5. Do not do

  • Do not dispatch Agent.
  • Do not write DB.
  • Do not create triggers.
  • Do not add columns.
  • Do not patch functions.
  • Do not install external tools.
  • Do not patch 5C2.
  • Do not migrate.

6. Expected Opus response

Return only:

  1. Patched B3 design path.
  2. Patched B3 prompt DRAFT path.
  3. Patch report path.
  4. Top 8 rev2 fixes.
  5. Whether prompt is ready for GPT review.
  6. Confirmation: agent_dispatch_allowed=false, phase5c2_migration_allowed=false.

7. Status

b3_rev2_patch_allowed=true
agent_dispatch_allowed=false
phase5c2_migration_allowed=false
Back to Knowledge Hub knowledge/dev/laws/dieu44-trien-khai/directives/gpt-directive-opus-p3d-birth-b3-rev2-collection-onboarding-gate-2026-05-12.md