[BUG] Acquisition scope controls cross module privacy and miss navigation import #19

Closed
opened 2026-10-01 15:24:36 +02:00 by erikinkinen · 0 comments
Owner

Summary

Acquisition-scope controls compiled beneath the redirection fixture refer to
ScopeStart without importing it and read or mutate AcquisitionScope's private
root/current fields from a sibling module. These source references prevent the
authored control family from compiling at the affected revision.

Reproduction

Source-derived reproduction, not an executed compiler run: inspect the test
module tree in redirection_tests.rs, acquisition_scope/tests.rs and
acquisition_scope/component_tests.rs at the affected revision. ScopeStart is
not imported into that ancestry. AcquisitionScope declares root/current privately
in acquisition_scope.rs, while these controls are children of redirection_tests.
The existing node accessor supplies read-only observations. No test or build
command was run under the current execution waiver.

Expected and actual behavior

Expected: controls import the actual navigation enum, observe nodes through the
existing accessor and inject descriptive route faults without making original
custody fields public in production.

Actual, established from source: the enum reference lacks an import and direct
field accesses cross module privacy. No compiler diagnostics or runtime failure
is presented as executed evidence. Repair the imports and accessor usage, and
use a narrowly scoped test-only route fault injector for the negative control.

Environment and identity

  • Component repository/revision and Integration source graph: Vfsd e4af4b056b; Integration 00a17bcea0bb415d1b283c78998d9071a5334e02.
  • Image profile, digest and build/runtime configuration: test-only source; no image was built or run.
  • Hardware or VM, architecture, firmware and toolchain versions: no compiler or VM reproduction performed.
  • Input/session route and granted authority relevant to reproduction: host test-module compilation; no runtime caller authority is implicated.
  • Last known working revision, if known: not established by execution.

Evidence and prior checks

Source module declarations, the private AcquisitionScope fields, and their
sibling test references establish the mismatch. The repair retains the
independent original-custody controls and the negative route-refusal scenario.
Test execution, builds and CI observation remain deferred; no pass is claimed.

Tracking

Related work: retained cwd migration,
Vfsd review, and the
phase completion tracker.

Source resolution

Fixed in signed and pushed Vfsd b97a0ce9.
The control module imports ScopeStart explicitly and reads root/current through
the existing node accessor. The negative route-refusal control uses a narrow
cfg(test)-only current-mount fault injector; production owner fields stay private.
Original provider custody is unchanged by fault injection. All affected controls
remain present and unrun as part of the 41-control fixture migration. Closed as
source-complete under the testing/CI waiver; no compiler execution, test pass or
runtime publication is claimed. The broader migration remains in
Vfsd#16.

## Summary Acquisition-scope controls compiled beneath the redirection fixture refer to ScopeStart without importing it and read or mutate AcquisitionScope's private root/current fields from a sibling module. These source references prevent the authored control family from compiling at the affected revision. ## Reproduction Source-derived reproduction, not an executed compiler run: inspect the test module tree in redirection_tests.rs, acquisition_scope/tests.rs and acquisition_scope/component_tests.rs at the affected revision. ScopeStart is not imported into that ancestry. AcquisitionScope declares root/current privately in acquisition_scope.rs, while these controls are children of redirection_tests. The existing node accessor supplies read-only observations. No test or build command was run under the current execution waiver. ## Expected and actual behavior Expected: controls import the actual navigation enum, observe nodes through the existing accessor and inject descriptive route faults without making original custody fields public in production. Actual, established from source: the enum reference lacks an import and direct field accesses cross module privacy. No compiler diagnostics or runtime failure is presented as executed evidence. Repair the imports and accessor usage, and use a narrowly scoped test-only route fault injector for the negative control. ## Environment and identity - Component repository/revision and Integration source graph: Vfsd e4af4b056bde218658c773bece270ae55162d2c9; Integration 00a17bcea0bb415d1b283c78998d9071a5334e02. - Image profile, digest and build/runtime configuration: test-only source; no image was built or run. - Hardware or VM, architecture, firmware and toolchain versions: no compiler or VM reproduction performed. - Input/session route and granted authority relevant to reproduction: host test-module compilation; no runtime caller authority is implicated. - Last known working revision, if known: not established by execution. ## Evidence and prior checks Source module declarations, the private AcquisitionScope fields, and their sibling test references establish the mismatch. The repair retains the independent original-custody controls and the negative route-refusal scenario. Test execution, builds and CI observation remain deferred; no pass is claimed. ## Tracking Related work: [retained cwd migration](https://git.erikinkinen.fi/erix/vfsd/issues/16), [Vfsd review](https://git.erikinkinen.fi/erix/vfsd/pulls/3), and the [phase completion tracker](https://git.erikinkinen.fi/erix/integration/issues/65). ### Source resolution Fixed in signed and pushed [Vfsd `b97a0ce9`](https://git.erikinkinen.fi/erix/vfsd/commit/b97a0ce910971c57b63cc5bdf16aa9fcdcce5964). The control module imports ScopeStart explicitly and reads root/current through the existing node accessor. The negative route-refusal control uses a narrow cfg(test)-only current-mount fault injector; production owner fields stay private. Original provider custody is unchanged by fault injection. All affected controls remain present and unrun as part of the 41-control fixture migration. Closed as source-complete under the testing/CI waiver; no compiler execution, test pass or runtime publication is claimed. The broader migration remains in [Vfsd#16](https://git.erikinkinen.fi/erix/vfsd/issues/16).
erikinkinen added this to the Alpha 1 milestone 2026-10-30 09:35:18 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
erix/vfsd#19
No description provided.