Skip to content

fix: record placeholder validation metadata - #12

Merged
Mby159 merged 1 commit into
mainfrom
fix/placeholder-restoration-validation
Jun 26, 2026
Merged

Mby159 merged 1 commit into
mainfrom
fix/placeholder-restoration-validation

Conversation

@Mby159

@Mby159 Mby159 commented Jun 26, 2026

Copy link
Copy Markdown
Owner

Summary

Adds lightweight placeholder integrity metadata after provider execution and before privacy restoration.

Records:

  • expected_placeholders
  • found_placeholders
  • missing_placeholders
  • unexpected_placeholders
  • mangled_placeholders

This is evidence-only validation:

  • no fuzzy recovery
  • no guessed repair
  • no change to exact placeholder restoration behavior
  • no MCP or routing rewrite

Tests

  • python -m pytest tests/test_placeholder_preservation.py -q
  • python -m pytest tests -q

Note: bare python -m pytest -q still collects legacy examples/ files with old import names (splitmind_core, splitmind_providers); this predates this change and is outside the CI tests/ scope.

@Mby159
Mby159 merged commit be8e34a into main Jun 26, 2026
5 checks passed
@Mby159
Mby159 deleted the fix/placeholder-restoration-validation branch June 26, 2026 16:41
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