Skip to content

Prove created GrayToColor carriers and project scalar outputs (#432) - #434

Merged
trissim merged 7 commits into
mainfrom
fix/graytocolor-role-axis-20261002
Oct 2, 2026
Merged

trissim merged 7 commits into
mainfrom
fix/graytocolor-role-axis-20261002

Conversation

@trissim

@trissim trissim commented Oct 2, 2026 •

Copy link
Copy Markdown
Collaborator

Working narrow repair for #432

Production checkpoint bd2ee78, exact main/base df15ddf. Incremental production/test diff from reviewed6370.

Dalton's retained installed ASSISTED4 four-step ImageMath scalar aliases -> named raw/cap GrayToColor STACK completed (5e3474f4-f736-4e61-a27f-1d7eb6ec7abd). The fifth ColorToGray step failed the actual compiler at mcp.stdout18793. The source repair now distinguishes created channel carriers from inherited preservation; it does not manufacture RGB source metadata or relax the strict consumer.

Original owners, not another protocol

  • Existing PrimaryImageCarrierTransition members declare preservation/creation. GrayToColor adds only its truthful creation annotation through the original metadata boundary.
  • Existing compiled-group owner resolves evidence backwards once. Compiler ancestry stops at the creator of the exact required carrier; unknown later operations, missing-source and false-preservation controls still reject. Replaced preservation-only walk/tuple-sentinel path is deleted.
  • PrimaryImageCarrierProof.validate_obligation now owns execution and shared failure aggregation; compiler supplies its actual source-validation continuation/context. Inherited's minimal hook executes that continuation, Created completes without source lookup, Unproved rejects its exact invocation. Abstract hook has no implementation; no forward-only leaf override. Original source-anchor projection/validation coalesced, preserving legitimate absent exact scoped anchors and terminal rejection. Compiler is39lines smaller than6370 and12 belowdf15; no negated foreign proof-property query or copied traversal.
  • ImageChannelType declarations select original metadata projection behavior. RGB/CHANNELS use original channel provenance/mask projection; HSV retains its derived-source context and clears the consumed axis. Removed RGB-only consumer branch and stale non-RGB output path.
  • No consumer function/type/name exceptions, mirrored registry/store, fake channel, arbitrary squeeze, timeout change or new importer. Current NRA catalogue review covers BOUND-8, IDEN-1/3, IMPL-1/2/3/4/5/8/12/13 and AGENT-4 in the receipts.

Behavioral evidence / bounds

91 focused source controls PASS, pytest8.79s/wall10.14s,382124KiB. All previous controls retained: grouped routing, terminal exact bindings, unknown/unreadable sources, transforms, prefixes/cross-step, false PRESERVE, unknown after creation and consumed second axis. Two separate original unary REDs explicitly deselected, retained and not fixed or passed here; #432 stays open. Each source shard uses existing read-only Python3.12.3/ABI, CPU0/pools1, MemoryMax512M, timeout60s.

Independent creator/preserver declarations construct real lanes and pass unchanged consumers in same-group/cross-step paths; a source-read trap confirms creation stops backtracking. Independent nominal ValidationVisitCapability uses cooperative super() before AND after concrete proof leaves in C3; actual before/source/after hooks and rejected-result collection execute exactly once, without consumer edits. RGB/HSV/CHANNELS preserve pixels, masks, physical identity/calibration and original input while clearing the consumed axis. No inheritance-only assertion or ornamental production mixin.

Original pinned R0 PASS, exact df15 -> bd2, tool3b03785/Python3.14/read-only original backing;17.18s/87576KiB/exit0. Zero positive deltas across5219 measurements; compiler class delta-12, foreign-probe delta-1. Prior0513 and6370 RED guard logs and the intermediate3FAIL/88PASS exact-source-anchor boundary failure are retained alongside original native failures. No suppression, waiver, copied detector, changed baseline or global NRA/R1 claim. Numeric kernels/runtime guards are unchanged in bd2 versus6370.

Coordination / installed boundary

Tristan's latest split: Root owns394; parent/Singer own404; parent/Schrodinger own432/434. Exact shared callable-contract/group/compiler/color hunks were named to Root before edits: #394 (comment). Root's other executor/materialization/prepared-signature/runtime-annotation work is untouched; no foreign WT edit or competing394/404 implementation.

No installed package/environment change, native/UI/MCP/science launch or provider call. Frozen fa049/H001 and parent's active6370 native3443084 remain untouched. Parent owns actual installed5-step/publicMCP acceptance; parent reports6370 compilec9ea4149 COMPLETE, execution/sampling is a distinct gate. Untracked required-runtime-qt-publication ledger preserved/excluded. Removed only owned synthetic fixture root graytocolor-obligation-owner-432-20261002 after terminal/no-handle proof,10632logical bytes. No hosted CI wait.

Evidence: docs/validation/graytocolor-binding-axis-432-20261002/obligation-owner-receipt.rst plus full raw logs and predecessor receipts. Incremental bd2 production touches only core/function_patterns.py and core/pipeline/compiler.py. Ready for parent source review and subsequent separate installed qualification. Unary singleton naming remains a separately retained boundary, not a blanket multi-artifact assembly defect.

@trissim trissim changed the title Diagnose #432: GrayToColor primary binding axis and raw-unit boundaries Diagnose #432: GrayToColor created-carrier proof and role projection Oct 2, 2026
@trissim trissim changed the title Diagnose #432: GrayToColor created-carrier proof and role projection Prove created GrayToColor carriers and project scalar outputs (#432) Oct 2, 2026
@trissim

trissim commented Oct 2, 2026

Copy link
Copy Markdown
Collaborator Author

Current working production head6370ac5f6 supersedes0513 only for proof-result ownership: original pinned R0 on0513 rejected +2 ForeignAbsenceProbe checks where compiler inspected optional proof.unproved_invocation. Failed18.09s/87504KiB receipt retained, not waived. Proof owner now require_proven_invocations() rejects its own failed chain; generic compiler no longer probes that optional field. All82 focused source controls PASS7.15s/372756KiB, two original unary naming RED cases explicitly deselected and untouched. Final original R0 on6370 is running bounded60s, receipt will append once terminal; no broader audit/CI/native/install. Runtime kernel/projection changes remain exactly0513.432 remains open for unary boundary; no blanket closes directive.

@trissim

trissim commented Oct 2, 2026

Copy link
Copy Markdown
Collaborator Author

Parent installed checkpoint on e2d72f9 (production6370): reviewed four-file production diff, built ordinary wheel SHA25662ad3f370489f3a06e3554701f5454aa029315b5238a58378cad7c811836e52f, installed privately with no dependency downloads or change to live H001/fa049. Actual imported module/distribution point to installed-e2d72; all four changed files are byte-identical to reviewed source. Fresh public MCP health: statusok, OpenHCS0.8.7, 56 packaged resources ready, exact private installed server path, no errors. Evidence: /home/ts/wt/openhcs-issue-batch-20260929/carrier434-installed-20261002/INSTALL-e2d72.rst and health-context-e2d72.log. Dalton owns newly authorized ASSISTED5 original five-step native acceptance, then one retained Site001 rooted trial with persistent tool/screenshot journals; held-out sites/reference answers remain sealed. No segmentation acceptance yet. Current original R0 remains RED (+27 compiler growth/+2 foreign source-obligation queries); Schrodinger owns that narrow follow-up, without weakening the guard. #394 ownership and already-integrated #404 graph repair are unchanged; no duplicate implementation.

@trissim

trissim commented Oct 2, 2026

Copy link
Copy Markdown
Collaborator Author

Narrow guard repair production bd2ee78 published. Exact production delta from6370 touches only core/function_patterns.py and core/pipeline/compiler.py. Proof ancestor validate_obligation now owns execution/error aggregation; Inherited leaf actually executes the supplied source continuation (abstract hook has no implementation/forwarding leaf), Created completes without source lookup, Unproved records rejection through the ancestor. Original source-anchor projection+validation coalesced; compiler39lines smaller than6370,12smaller thandf15. No negated foreign proof property, compatibility alias or copied traversal. Current91source checks PASS10.14s/382124KiB,2 original unary cases excluded/unfixed. Includes grouped/terminal exact bindings, prefix/cross-step, false preserve, consumed second axis, plus independent same-node validation capability in both C3 orders for inherited/created/rejected outcomes. Exact original pinned R0 df15->bd2 is running bounded60s; failures retained, result will append. Parent native3443084/installed6370 qualification untouched; no native/environment/394/404 action.

@trissim

trissim commented Oct 2, 2026

Copy link
Copy Markdown
Collaborator Author

Parent final installed checkpoint: exact current head4e745 (productionbd2) ordinary wheel a5e72ec18c04a0912ad6ff4d376c95be2017929dcf21ca4a12d4ada71b166afb privately installed with no dependencies/download/base-env changes. All four reviewed production files byte-identical; 27 installed compiler/carrier/scalar controls PASS6.32s,2 original unary cases excluded. Every loaded OpenHCS module remained in the ordinary wheel. Fresh actual public MCP session health and first_use exit0: version0.8.7,56 packaged resources ready, installed-4e745 server path,no errors/stale/restart. Original R0 PASS/91 source controls retained. Qualification: /home/ts/wt/openhcs-issue-batch-20260929/carrier434-installed-20261002/INSTALL-4e745.rst plus raw build/test logs and scripts. Predecessor6370 actual native five-step compile c9ea4149 COMPLETE; execution926a8d09 FAILED later at generic metadata publication, tracked435 with Root394. Cold source inspection gap436 with Dewey;422 already merged and not duplicated. Shipping this narrow compiler/color checkpoint without optional hostedCI;432 remains open for unary naming,435/436 remain independent live blockers. No complete scientific execution, rooted/graph QA or autonomous acceptance follows from these controls. Original source/journals/partial outputs/closed handles preserved, H001/fa049/display88 and held-out/reference answers untouched.

@trissim
trissim marked this pull request as ready for review October 2, 2026 07:50
Copilot AI balanced review requested due to automatic review settings October 2, 2026 07:50
@trissim
trissim merged commit 9029136 into main Oct 2, 2026
3 of 40 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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.

2 participants