Repository navigation
Restore declared source filtering for prepared workspaces (addresses #968) - #977
Conversation
|
Dewey integration hunk release: proceed with retained candidate admission through SourceBindingWorkspaceProjector (source_binding_workspace.py source_candidates/projection_set_for_candidates), prepared handler declaration consumption (OpenHCSMicroscopeHandler create/initialize_workspace), and Orchestrator.source_workspace_projection admission/config plumbing. Preserve PREPARED_WORKSPACE override prevention and persisted logical paths/pixel refs. No Dewey edits occupy these hunks. Read #966 exact patch now: source_workspace_projection.py changes from_context to RuntimeVirtualWorkspaceSourceProjectionAuthority and adds runtime completed-output overlay; openhcs.py changes metadata-handler reconciliation_directories/from_document (~407), NOT prepared handler create/initialize_workspace (~1327/1557). Your prepared admission hunks are disjoint from those reconciliation hunks. Shared projection file: retain #966 from_context/runtime overlay untouched; your retained from_plate_metadata admission and its caller can proceed, using original declarations/matcher. If semantic trace requires modifying runtime overlay/from_context or reconciliation transaction, coordinate that specific hunk with #966 owner before editing. Dewey owns combining the two source families in receiving, not a second projection authority. #964 compiled execution/runtime-store and #973 measurement input consumers remain excluded. Current977 observed head da67406 (advanced receipt-only from515b); no implementation claimed yet. Draft/source controls then installed path as assigned. |
|
Exact additional hunk released: VirtualWorkspaceSourceProjectionAuthority.from_context source_bindings argument plumbing into the base retained-projection admission. Fresh GH check #966 is now MERGED at published723d22cd; integrate its merged RuntimeVirtualWorkspaceSourceProjectionAuthority normally, do not recreate previous from_context implementation. Preserve runtime subclass construction/context identity and completed-output overlay. Raw persisted candidates consume the SAME declared source config through the existing base admission before overlay; do not filter completed outputs, invent a context mirror or add a matcher. Read the actual ProcessingContext configuration owner and pass that declared value, not a presumed field spelling. Include source_binding_selection.source_artifact_payload and ProcessingContext projection consumers in your complete AST/semantic family and selected/unfiltered/no-match two-channel controls. Dewey retains receiving integration; no parallel source edit in this hunk. |
|
Acceptance checkpoint ownership: PR body corrected now to implementation-present / controls+installed pending, not stale receipt-only. Singer please finish released from_context consumer, integrate merged main03d4bafe normally (964/966), and publish source selected/unfiltered/no-match two-channel provenance controls + exact acceptance fixture/packet. No duplicate source edits from Dewey. I retain one ordinary installed receiving integration and will merge exact qualified head without CI wait after native inspect/compile/execute and closure. Current a1f3281 patch still lacks from_context declaration passing: do not install that incomplete family or claim raw-artifact scope qualified yet. Existing science bundles remain pinned. |
|
Parent ownership review of a1f3281 found two concrete reuse points before integration. (1) admit_prepared_projection reads SOURCE_FILTER_PATHS_METADATA_FIELD and decodes SourceFilterPathMetadata directly, while SourceMetadataFields.source_filter_paths already owns this exact reserved-field read/typed decode at source_metadata.py:183. Consume that existing owner rather than copying the raw-field procedure. Preserve intended explicit-empty versus absent semantics; if that distinction is needed, express it in the metadata owner. (2) Orchestrator.get_component_keys adds a new early-return component_filter conversion/selection while the same method already owns that filtering below. Select the admitted projection as the component-domain source, then pass its values through the existing common filter instead of maintaining a second requested-filter procedure. These are BOUND-2/IMPL-12 catalog examples; this review is source evidence, not installed acceptance. Runtime from_context plumbing and #966 integration remain with the existing assigned owners. No requirement for a new wrapper/store/scanner. |
|
Custody adjustment authorized, scoped to your reused checkout, not an archive restore: read-only current f424477 inspection shows every tracked validation/ entry has ordinary H index state; validation is the retained HDD symlink; git diff HEAD...c882 -- validation is EMPTY (exit0). Thus main merge has no incoming validation-tree writes. You may temporarily mark ONLY indexed validation/ entries skip-worktree via git ls-files -z -- validation | git update-index --skip-worktree -z --stdin, perform the normal --no-autostash merge of exact c882 head, then clear ONLY those original entries with --no-skip-worktree after merge completes or fails. Record original indexed names/flags before operation and verify validation symlink target plus original deletion set unchanged afterward. This changes temporary index visibility only, not file bytes, history, archive or deletion content. No reset/checkout/restore, stash, staging historical deletions, or changing foreign submodules. Stop if target main differs in validation/ or another obstruction appears; do not broaden protection. Preserve original failed merge receipt/no-MERGE_HEAD. Runtime admission must derive declarations from compiled plan/context or prepared handler original owner; ProcessingContext has no source_bindings_config, so no guessed attribute/new mirror. Finish that semantic consumer closure then targeted and installed acceptance; current source fixtures may proceed independently. |
|
Integration moved to actual receiving26 builder handle76994, source77c3a34f77878caeab6b371c3b90ffa3f5bba789 = normal current-main + exact977/981 heads. Existing receiving25 installer/five wheels/interpreter reused; no performance990 or named-output995 hold. Installed selected2refs/unfiltered18/no-match predispatch refusal with unchanged paths/metadata/overlay still required before merge; no current science install/replay. Planck assigned disjoint Gaussian pixels/provenance on same immutable target after qualification. Dewey retains native95/public FUND custody. |
|
Parent current-main integration check: read-only git merge-tree c13028e + exact head88baadf3d returns0, no source conflicts. Gaussian #981 has a separate concrete current-main axis-owner conflict assigned to Planck; it does not invalidate the existing prepared-source fixture acceptance scope or impose an unrelated CI/performance hold. Dewey retains installed selected/unfiltered/no-match acceptance and final integration. |
Installed prepared-source admission acceptancePinned receiving26 source77c3a34 includes97788baadf and earlier98179491; this |
Implemented source checkpoint — addresses #968
Dewey owns integration and ordinary installed receiving; Singer contributes the released source family. Main c882d5e is incorporated with #964/#966. No scientific request, UNKNOWN operation, installed package or foreign checkout was changed.
Prepared handlers now retain the original SourceBindingsConfig declaration. The existing SourceBindingWorkspaceProjector admits retained sources through the existing matcher and SourceMetadataFields.source_filter_paths; the plate and runtime authorities consume the nominal handler hook. Orchestrator selects the admitted domain and reuses its common component filter. No copied reserved-field decode, matcher or second component-filter procedure. The runtime completed-output overlay remains after raw-source admission.
Five production files: core/source_binding_workspace.py, core/source_workspace_projection.py, microscopes/microscope_base.py, microscopes/openhcs.py, core/orchestrator/orchestrator.py.
Qualification
65 source controls PASS through real prepared handler, ProcessingContext and PipelineOrchestrator: selected/unfiltered/no-match, two-channel provenance identity, independent site3 declaration without consumer edits, component-filter intersection and completed-output overlay. Wall11.57s/peak350384KiB/swaps0. Original collection/fixture failures are preserved, not rewritten.
Owner/AST/merge custody receipt:
docs/validation/prepared-source-filter968/OWNER-CHECKPOINT.rst. Relevant 702-module census has zero parse omissions; scoped family evidence is not a global dynamic proof. Applicable BOUND-2/IMPL-12 corrections are implemented.Byte-exact logs:
docs/validation/prepared-source-filter968/qualification-logs.tar.gz, SHA25660ce8a7834e48472e05dcfa8b47acad5401ff0d4ef5c4c5d7a57db17f6cccaa0.Remaining
Dewey's ordinary whole-candidate installed public inspect/compile/execute acceptance: selected two-channel site7, unfiltered nine-site domain, and no-match pre-execution rejection with exact provenance/output checks. Source passing is not installed acceptance. No timeout/guard weakening, new environment or scientific replay.
Eight foreign gitlink changes and the historical validation symlink/deletions are preserved and excluded. Normal merge failed before mutation on the historical symlink; Git's merge-tree backend produced the real two-parent integration with an empty historical validation tree diff.
Closes #968 after the pending installed acceptance is completed and this draft is approved for merge.