GPT Final Approval — 23-P3D4B Prompt rev2
GPT Final Approval — 23-P3D4B Prompt rev2
Date: 2026-05-08
Reviewer: GPT-5.5 Thinking / Incomex Hội đồng AI
Reviewed:knowledge/dev/laws/dieu44-trien-khai/prompts/23-p3d4b-directus-dot-notification-readonly-exposure-prompt.mdrev2
Verdict
APPROVED FOR DISPATCH.
P3D4B rev2 is sufficiently bounded for a non-executable DOT package review run. It does not create a PG view, does not mutate Directus, and does not produce apply-ready SQL/DOT artifacts.
Accepted rev2 state
- P3D4B is review/design only.
- Non-executable SQL sketch only.
- Non-executable DOT outline only.
- Điều 43/DOT overlap inventory is required and bounded.
- Điều 43 schema blockers must not be fixed in P3D4B.
- Existing role reuse is preferred.
- View scope must be decided: HISTORY/ACTIONABLE/PAIR.
- Payload strategy must be decided: OMIT_RAW_PAYLOAD/SANITIZED_REFS.
- read_count/latest_readers rules are deterministic and do not create counters.
- No raw payload/body exposure.
- No Directus item-level permission change.
- No Nuxt code.
- No Hermes.
- No Codex dispatch.
- Go/no-go gate for P3D4C exists.
Dispatch instruction
Đọc prompt từ KB rồi thực hiện:
knowledge/dev/laws/dieu44-trien-khai/prompts/23-p3d4b-directus-dot-notification-readonly-exposure-prompt.md
Mục tiêu:
P3D4B là DOT package review only, không implementation.
1. Read mandatory laws + P3D context.
2. Inventory Điều 43 / existing DOT conventions, bounded.
3. Draft candidate PG view sketch as NON-EXECUTABLE SKETCH only.
4. Draft candidate Directus DOT outline as NON-EXECUTABLE outline only.
5. Decide view_scope and payload_strategy.
6. Assess Điều 43 reuse/overlap risk.
7. Create package review note:
knowledge/dev/laws/dieu44-trien-khai/design/23-p3d4b-directus-dot-notification-readonly-exposure-package-review.md
8. Upload report:
knowledge/dev/laws/dieu44-trien-khai/reports/23-p3d4b-directus-dot-notification-readonly-exposure-report.md
Upload report kể cả FAIL/CRITICAL.
Hard boundaries for Agent
- No PG mutation.
- No Directus mutation.
- No Directus permission change.
- No executable CREATE VIEW script.
- No executable DOT package.
- No Nuxt code.
- No Hermes production.
- No Codex dispatch without explicit user approval.
- No IU body content.
- No raw payload exposure unless separately reviewed.
- No Điều 43 schema repair.
- No duplicate DOT/counting convention.
- No secret/token creation or disclosure.
Expected PASS evidence
Report should include:
phase_status=PASS;dieu43_dot_inventory=PASS|LIMITED;dieu43_inventory_depth=KB_ONLY|KB_AND_TOOLING|LIMITED;existing_dot_conventions_checked=PASS;reusable_dot_template=FOUND|NOT_FOUND|UNCLEAR;reusable_counting_pattern=FOUND|NOT_FOUND|UNCLEAR;dieu43_blockers_summary=<short text>;overlap_risk=LOW|MEDIUM|HIGH;recommendation=READY_FOR_IMPLEMENTATION_PROMPT|NEEDS_DIEU43_ALIGNMENT|DEFERRED;candidate_view_defined=PASS;view_scope=HISTORY|ACTIONABLE|PAIR;candidate_dot_outline_defined=PASS;role_strategy=REUSE_EXISTING|NEW_ROLE_RECOMMENDED|UNKNOWN;payload_strategy=OMIT_RAW_PAYLOAD|SANITIZED_REFS;metadata_only=true;no_body_content=true;no_pg_mutation=true;no_directus_mutation=true;no_directus_permission_change=true;no_executable_sql=true;no_executable_dot=true;no_nuxt_code=true;no_codex_dispatch=true;no_secret_creation=true;no_dieu43_schema_repair=true;assembly_first_compliant=true;go_nogo_gate=GO|NOGO;next_required_packbased on recommendation.
Important interpretation
If Điều 43/DOT inventory is LIMITED but no conflict is found, P3D4B may still recommend READY only if it clearly documents assumptions and mitigation. If overlap cannot be assessed, recommendation should be NEEDS_DIEU43_ALIGNMENT or DEFERRED.
If READY, the next step is still not execution. It is a separate P3D4C implementation prompt review.
Next after Agent report
If P3D4B PASS and recommendation is READY_FOR_IMPLEMENTATION_PROMPT, review the candidate package and then draft P3D4C implementation prompt. P3D4C must still be separately reviewed before dispatch.
If NEEDS_DIEU43_ALIGNMENT, pause notification exposure and reconcile DOT/schema conventions with Điều 43.