fix(identifiers): reject unproven assignments
Assistant: codex Assistant-Model: gpt-5.6-sol Assistant-Session: 01a023c0-a0a3-7c03-b395-5a0d2757214d
This commit is contained in:
parent
055c6971ab
commit
4398167580
3 changed files with 26 additions and 2 deletions
|
|
@ -365,7 +365,14 @@ def _projection_migration_preflight(
|
|||
) -> dict[str, Any]:
|
||||
"""Require every replacement source and no replacement target per projection."""
|
||||
projections: list[dict[str, Any]] = []
|
||||
errors: list[dict[str, str]] = []
|
||||
errors: list[dict[str, str]] = [
|
||||
{
|
||||
"scope": str(mapping.get("record_id") or "unknown"),
|
||||
"reason": "projection-aware approval does not yet support UUID assignments",
|
||||
}
|
||||
for mapping in mappings
|
||||
if mapping.get("action") == "assign"
|
||||
]
|
||||
for raw_base in api_bases:
|
||||
api_base = raw_base.strip().rstrip("/")
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue