Files
bquarkz bc9fe8152c feat: promote draft decisions when creating plans
Promote referenced drafts deterministically with system provenance, causal
Plan links, supersession history and recovery from publication failures.
Preserve direct human approval and historical records.

Add JVM and native regression coverage and update the portable protocol.
Record the WRK-0007 importer decision and six-step plan, and complete
WRK-0008 with verification evidence.
2026-11-16 12:35:06 +00:00

711 B

schemaVersion, id, workId, title, decisions, steps, status, author, createdAt, revision, previousHash, updatedAt, updatedBy, changeReason, documentVersion
schemaVersion id workId title decisions steps status author createdAt revision previousHash updatedAt updatedBy changeReason documentVersion
1 PLN-0001 WRK-0008 Implementar promoção automática de DECs na criação de Plans
DEC-0001
OPEN codex 2026-11-16T11:52:04.328409Z 1 null 2026-11-16T11:52:04.328409Z codex Plan created 2

Implementar promoção DRAFT para ACCEPTED em PlanService.create, com origem SYSTEM_PLAN e humanApproved=false; preservar aprovação direta, supersessão, compatibilidade e histórico. Validar entradas antes de gravar, recuperar falhas ordinárias e diagnosticar interrupções. Verificar testes JVM, documentação e smoke nativo.