Skip to content

fix: isolate module verification and refresh source provenance - #108

Merged
rldyourmnd merged 1 commit into
mainfrom
fix/module-verification-isolation-20260907
Sep 7, 2026
Merged

fix: isolate module verification and refresh source provenance#108
rldyourmnd merged 1 commit into
mainfrom
fix/module-verification-isolation-20260907

Conversation

@rldyourmnd

Copy link
Copy Markdown
Contributor

Consumer verification of the version-artifact update exposed stale generated source provenance: the new schema and source had landed without refreshing the development bundle lock and workflow provenance. Clean checkouts then failed context/assurance checks with GDS_CONTEXT_POLICY_SOURCE_DIGEST_MISMATCH. Regenerate the two affected outputs from staged canonical sources through the native plan/apply/verify transaction; committed-source context and the complete validation now pass.

Module verification also inherited the controller's ambient GDS_ESTATE_ROOT and discarded stdout. A module command now resolves its own checkout unless its declared command explicitly selects an estate. Failure diagnostics retain a redacted combined stdout/stderr tail, bounded during execution, so a go test assertion is visible rather than an empty diagnostic. Shell launch failures report an exit state instead of dereferencing a missing process state, and inherited output pipes have a bounded wait.

Validation: both new isolation/stdout regressions failed before the change and pass afterward; focused race tests cover command execution, timeouts, output bounds and launch errors; scripts/validate_go_core.sh --quick passed on the committed source (all Go tests, vet, build, lock/schema/contract/projection checks); 47 Python tests passed. Native projection plan, apply, verify and two byte-identical check results were recorded. Initial pre-regeneration and uncommitted-projection runs remain failures; the final result is from the complete committed source.

Signed-off-by: rldyourmnd <danil@nddev.it.com>
@rldyourmnd
rldyourmnd merged commit 378a056 into main Sep 7, 2026
7 checks passed
@rldyourmnd
rldyourmnd deleted the fix/module-verification-isolation-20260907 branch September 7, 2026 13:43
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