Repository navigation
Description
This was generated by AI during triage.
Outcome
Implement reusable FogMachine workflows for container verification, artifact handoff, native packaging, and platform qualification. Product repositories retain ownership of behavior, lockfiles, and their supported OS/architecture matrix.
Context
FogMachine currently qualifies a Linux AMD64 image against Core and MCP. Its environment contract explicitly leaves native macOS/Windows and ARM64 qualification separate. Kanbun's desktop pipeline demonstrates the needed boundary: a successful container verifier produces JavaScript consumed by native Mac/Windows packaging jobs and container-based Linux packaging.
Packaging success does not establish runtime support. A downloaded Kanbun ARM64 development bundle failed codesign --verify --deep --strict and was locally ad-hoc signed before launch. Qualification needs to inspect and launch the artifact delivered to users.
Scope
- Define a versioned consumer contract/profile for verification commands, distributable inputs, and product-declared OS/CPU targets.
- Provide reusable, commit-pinned workflows: container verification; native packaging/qualification; protected release signing/publication.
- Emit a manifest containing source revision and clean/dirty state, image digest, toolchain versions, target OS/CPU, commands/results, input/output checksums, and artifact identities.
- Verify source revision and checksums at handoff. Fail closed on missing, mismatched, or unverified inputs. Run native qualification against the packaged application.
- Reuse verified platform-independent output. Compile OS/CPU-specific binaries or native dependencies in the declared target lane and record that provenance.
- Keep frozen dependency installation isolated per OS, CPU, source checkout and worktree. Share only disposable download caches.
- Run signature checks, install/launch smoke tests, and product-declared OS-specific checks. Distinguish unsigned/ad-hoc development qualification from Developer ID/notarized or Windows-trusted release qualification.
- Preserve pilot gates and retained evidence on failure. A Linux image pass must not promote Mac/Windows/ARM64 support.
- Keep PR jobs secret-free. Signing/publication requires protected release permissions; it must not be a side effect of verification.
Acceptance criteria
- A consumer can select the reusable workflow through an immutable commit/digest and a validated profile.
- Positive and negative contract tests cover unsupported profiles/pins, failed verification, tampered checksums, wrong source/target, and missing artifacts.
- Native dependencies are rebuilt for their actual target; no host/container node_modules, virtualenv or build directories cross platform/worktree boundaries.
- A native fixture is packaged, signature-checked, installed and launched on each claimed OS/CPU qualification lane; skipped or unavailable lanes remain unqualified.
- Native failure or missing evidence prevents the corresponding support/release gate from passing.
- Existing Core/MCP pilot behavior and image-publication gates remain intact.
- Examples, evidence format, versioning and consumer upgrade/rollback instructions are documented.
Boundaries
Do not migrate Kanbun or change product toolchain pins in this issue. Initial framework implementation does not expand the published image's architecture qualification. Do not provision signing credentials or publish a product release implicitly.
Reference: https://github.com/DataFog/fogmachine/blob/main/docs/architecture.md
Kanbun reference: sidmohan0/kanbun#30
Decision ADR PR: #3
Dependent consumer adoption: sidmohan0/kanbun#32
Activity