KB-4C84

GPT No-Hardcode Review — B3-F Design + Dry-Run Prompt — Patched — 2026-05-12

3 min read Revision 1
p3dbirth-systemb3fno-hardcodegpt-reviewpatched2026-05-12

GPT No-Hardcode Review — B3-F Design + Dry-Run Prompt — Patched — 2026-05-12

Scope reviewed

Reviewed and patched:

  • knowledge/dev/laws/dieu44-trien-khai/design/p3d-birth-system-b3f-onboarding-gate-design.md
  • knowledge/dev/laws/dieu44-trien-khai/prompts/p3d-birth-system-b3f-onboarding-gate-dryrun-prompt-DRAFT.md

Verdict

Status: APPROVED_FOR_B3F0_DRYRUN_AFTER_NO_HARDCODE_PATCHES

B3-F0 dry-run may proceed after GPT no-hardcode patches. B3-F1 soft gate remains blocked until sibling-scope policy is materialized in PG or another approved policy store.

Hardcode risks found and patched

1. Fallback sibling list risk

Original dry-run logic could be misread as treating the 3 approved sibling collections as an embedded truth if dot_config policy was absent.

Patch:

  • Fallback scope is now only an expected snapshot for dry-run comparison.
  • SIBLING_POLICY_NOT_IN_PG must be reported as a WARN gap.
  • sibling_policy_materialization_required=true must be reported if no policy artifact exists.
  • B3-F1 must not proceed until policy is materialized.

2. Function-only sibling policy risk

Patched earlier and reaffirmed: sibling policy must include both function and collection scope. Function-only acceptance is forbidden.

3. Coverage policy blind spots

Dry-run now reports:

  • UNCLASSIFIED_COVERAGE_POLICY
  • DEFERRED_WITHOUT_OWNER

This prevents unknown/deferred policy states from silently passing as compliant.

4. Stale count risk

Description-policy counts must be live informational values only. No stale count should be carried forward.

Patched revisions

  • B3-F design patched through revision 6.
  • B3-F0 dry-run prompt patched through revision 7.

Execution constraints

B3-F0 remains read-only:

  • No INSERT/UPDATE/DELETE.
  • No DDL.
  • No trigger/function/policy/species mutation.
  • KB report upload is required.

Governance status

b3f0_dryrun_allowed=true
b3f1_soft_gate_allowed=false_until_policy_materialized_and_dryrun_reviewed
b3f2_hard_gate_allowed=false
phase5c2_migration_allowed=false
next_recommended_action=AGENT_RUN_B3F0_DRYRUN_WITH_REV7_OR_LATEST
Back to Knowledge Hub knowledge/dev/laws/dieu44-trien-khai/reviews/gpt-no-hardcode-review-b3f-design-dryrun-prompt-patched-2026-05-12.md