Skip to content

feat(release): ship the native Kaskad K3 host tool - #341

Merged
Ivan-VHS merged 18 commits into
mainfrom
feat/kaskad-k3-host-tool-release-20261202
Dec 2, 2026
Merged

Ivan-VHS merged 18 commits into
mainfrom
feat/kaskad-k3-host-tool-release-20261202

Conversation

@Ivan-VHS

@Ivan-VHS Ivan-VHS commented Dec 2, 2026 •

Copy link
Copy Markdown
Owner

Summary

Deliver Kaskad's canonical K3 integer arithmetic as a real, independently runnable host program in the DAK release and expose it through a working native Mora calculator.

What changes

  • Advance only the Pytyliki submodule pin to fb7c0922da7aa29283940e8295ece40e95ce5033, the reviewed K3 implementation revision. The same SHA is recorded in federation/repositories.v1.json, federation/release-edition.v1.json and the Git submodule entry.
  • Build and CTest Pytyliki through the existing DAK release and dual-track host pipelines.
  • Require pytyliki-k3 as a release build output; copy it to duckos/release/bin/pytyliki-k3.
  • Run parse, add and mul against the copied release artifact before generating payload checksums.
  • Add explicit Linux and Windows CLI smoke checks to the application build matrix.
  • Extend federation metadata with a host-tool-package maturity state, tests for the exact pin and non-auto-execution boundary, plus release artifact and Apache-2.0 component-license metadata.
  • Add a fifth native Mora workbench: Kaskad K3. Its Qt calculator exposes parse, check, format, add, sub and mul; resolves the CLI only below the trusted DAK root; launches via QProcess argument arrays (no shell); enforces a short timeout; and validates the versioned JSON/domain contract before showing a result.
  • Keep the browser Mora panel informational. It never launches a host process. Native workbench use is user-initiated; manifest strings are not treated as commands and auto_execute remains false.
  • Document source provenance, precision and runtime boundaries.

Runtime and safety boundary

pytyliki-k3 is a host user-space CLI delivered in the DAK release. It is not a DAK kernel executable or a process running inside the Stage 1 kernel. DAK currently has no user-process loader, scheduler, syscall dispatcher or filesystem. The native Qt shell can present the K3 calculator and invoke the bounded CLI on explicit user action; it does not turn that CLI into an in-kernel process. Kaskad remains the mathematical source of truth; passing CTest does not establish theorem status.

The K3 source component retains its Apache-2.0 notice and license text inside the Pytyliki submodule; the rest of Pytyliki remains MIT-licensed.

Dependency

This PR pins an exact commit from Pytyliki PR #425. Merge this DAK PR only after that upstream implementation is accepted and the exact referenced commit is retained in the Pytyliki repository.

Verification observed

  • DAK Release ISO workflow previously completed successfully and ran parse, add and mul against the copied K3 artifact before producing the ISO.
  • Linux x86_64 peer-workbench pipeline previously built and tested all four federated programs; its K3 CLI smoke check passed.
  • Pytyliki Windows C11 CI completed successfully with 87/87 CTest checks, including the K3 suite; the Win32 workstation build also passed.
  • DAK native Qt Mora workflow for this PR head completed successfully, including the K3 calculator window smoke test.
  • DAK Stage 1 x86_64 boot ISO completed successfully.

The refreshed DAK CI for the latest head is still in progress. The Windows dual-track peer build has a known pre-existing failure in the old pinned Reaper revision (native lowering Release assertions, line-ending fixture and Windows-path tests). Upstream fixes landed in Reaper PRs #537 and #555, but updating DAK's old Reaper pin would import thousands of unrelated commits, so this PR deliberately does not do that.

No merge is performed here.

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-12-02T13:10:09.471415Z
We couldn’t complete this review. Comment @codex review to try again.
192a8cc PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@Ivan-VHS
Ivan-VHS force-pushed the feat/kaskad-k3-host-tool-release-20261202 branch from 192a8cc to 18536d7 Compare December 2, 2026 13:11
Comment thread mora/native/main.cpp
layout->addStretch(1);
}

void buildK3WorkbenchPanel(QVBoxLayout* layout)
@Ivan-VHS
Ivan-VHS merged commit 24e6a00 into main Dec 2, 2026
7 of 10 checks passed
@Ivan-VHS
Ivan-VHS deleted the feat/kaskad-k3-host-tool-release-20261202 branch December 2, 2026 13:42
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