Repository navigation
Preserve inert ReqIF workflow and revision metadata - #677
Conversation
Signed-off-by: transitrix <automation@transitrix.com>
Signed-off-by: transitrix <automation@transitrix.com>
|
Independent review of initial head Head |
|
Independent re-review: APPROVE for exact head The original data-loss/partial-output reproducers and decoded duplicate JSON keys now refuse before destination creation. Fresh actual-CLI probes also preserve JSON-like state strings and repeated keys in separate sibling objects without false duplicate rejection. Unsupported export refuses rather than silently changing data. Expanded integrity tests, notation/manifest/diff checks and exact-head CI pass. Approval covers the bounded converter and supported YAML dialect; no third-party interoperability or full ReqIF schema certification is asserted. |
ReqIF export/import previously dropped documented workflow and revision metadata even when ordinary object values survived. Preserve object workflow_state/revision/revisions and relation recorded_target_revision using a versioned, namespaced tool-extension payload. Existing exports without metadata retain their original shape.
Known malformed payloads, unknown fields/targets, duplicate bindings/JSON keys, values outside the supported lossless YAML dialect and unsupported versions fail before import writes. Documentation describes this bounded mapping and removes stale lifecycle-command guidance; no package-managed lifecycle or suspect-link behavior is introduced.
Validation: the expanded CLI integrity suite passes real disk export/import, nested snapshots, Unicode/escaped strings, empty/zero values, namespace-prefix changes and nine malformed-payload refusal cases, including nested arrays, empty-map list items and duplicate/escaped JSON keys. The same suite fails against the original converter with the expected data-loss findings. Independent ElementTree parsing checks XML structure/namespaces. Notation lint, 114 notation tests, publish manifest, ADL and diff hygiene pass. Third-party interoperability and full ReqIF schema conformance were not tested; no package release is included.