Deterministic Semantic Repairs Handoff
A local patch artifact for cleaning title display, enriching caveats, and preserving holds.
The Single Idea
The semantic repair queue now has a deterministic patch artifact. It does not make production claims; it creates local patch rows that can be replayed into runtime/title packet hardening after review.
01 · What Changed
Patch Rows, Not Runtime Mutation
The repo now has deterministic_semantic_repairs.py, a CLI command, and tests. The output is a separate validation artifact, so the source rows remain untouched.
02 · Live Artifact
Ignored Local Outputs
/srv/aina/aina-data-engine-room/artifacts/validation/deterministic_semantic_repairs_v1.json /srv/aina/aina-data-engine-room/artifacts/validation/deterministic_semantic_repairs_v1.jsonl /srv/aina/aina-data-engine-room/artifacts/provenance.jsonl
03 · Live Result
One Thousand Patch Rows
| Result | Count |
|---|---|
| Ready, no change | 240 |
| Deterministic patch ready | 726 |
| Hold for source mining | 34 |
| Packet-hardening after patch | 295 |
| Use with caveat after patch | 670 |
| Source-ref attach then rerun | 1 |
support associate - soma now repairs to Support Associate - Soma; sales manager repairs to Sales Manager; family law attorney stays held for source mining.04 · Validation
Green Checks
cd /srv/aina/aina-data-engine-room .venv/bin/python -m ruff check src tests .venv/bin/python -m pytest -q
Result: All checks passed. and 194 passed.
05 · Next Slices
Where to Continue
- Add a patch replay gate that writes patched rows to a separate local validation artifact.
- Promote the 295 packet-hardening-after-patch rows.
- Keep 670 caveat rows serviceable with fallback precision caveats.
- Mine source refs for the 34 holds.
- Attach the one source-ref candidate and rerun the semantic gate.
06 · Resume Commands
Regenerate The Chain
cd /srv/aina/aina-data-engine-room .venv/bin/aina-data-engine --root /srv/aina/aina-data-engine-room deterministic-semantic-repairs
Where to start
Start with patch replay, because the repair logic now exists but still writes only a safe sidecar artifact.