Skip to content

MBTI64-ZH32-EN32-V8_5-V5-RUNTIME-DUPLICATE-SECTION-SUPPRESSION-01#2578

Merged
fermatmind merged 1 commit into
mainfrom
codex/mbti64-v85-v5-runtime-duplicate-section-suppression-01
Jul 1, 2026
Merged

MBTI64-ZH32-EN32-V8_5-V5-RUNTIME-DUPLICATE-SECTION-SUPPRESSION-01#2578
fermatmind merged 1 commit into
mainfrom
codex/mbti64-v85-v5-runtime-duplicate-section-suppression-01

Conversation

@fermatmind

Copy link
Copy Markdown
Owner

What changed

  • Suppress legacy MBTI64 personality sections from the public API when V8.5/V5 first-class sections are present.
  • Sanitize V8.5 module bodies at runtime so visible Evidence boundary: blocks are not emitted in body_md or payload_json.body.
  • Stop newly promoted V8.5 modules from appending evidence/source ledger text into visible body copy while preserving evidence in payload metadata.
  • Added focused regression coverage for V8.5 public section suppression, evidence metadata preservation, and legacy compatibility when V8.5 sections are absent.

Why

The repaired V8.5/V5 package is live, but public runtime still exposes both first-class V8.5 sections and old legacy sections. English pages also surfaced repeated Evidence boundary: body text. This PR keeps backend CMS authority intact while cleaning the public API/main reading path.

Validation

  • php artisan test tests/Feature/Console/PersonalityMbti64CmsRevisionPromoteCommandTest.php --filter='test_write_promotes_only_fixed_v8_5_v5_bilingual_sixty_four_subset|test_public_detail_keeps_legacy_sections_when_v8_5_sections_are_absent' --display-warnings
  • php artisan test tests/Feature/Console/PersonalityMbti64CmsRevisionPromoteCommandTest.php --display-warnings
  • bash scripts/ci_verify_mbti.sh
  • php artisan route:list --path=api/v0.5/personality
  • git diff --check

Intentionally deferred

  • No CMS writes.
  • No live promotion.
  • No publish/index/search.
  • No sitemap/llms mutation.
  • No frontend fallback content.
  • Production deploy and runtime smoke remain separate gated tasks.

Repository rule impact

Backend public API remains the content authority. This PR narrows runtime response shaping only; it does not introduce frontend editorial content or replace CMS/backend authority.

@fermatmind fermatmind merged commit 10779c6 into main Jul 1, 2026
15 checks passed
@fermatmind fermatmind deleted the codex/mbti64-v85-v5-runtime-duplicate-section-suppression-01 branch July 1, 2026 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant