Skip to content

Release Pickforge 0.4.0 stable #89

Closed

Description

@ElbertePlinio

Goal

Ship the renamed Pickforge as a production-ready 0.4.0 stable release. Keep the product focused: Flutter-first integration plus the existing Linux desktop, headed-browser, and Android lab. Do not add new framework or cloud scope to this release.

This issue is the source of truth. Tick work here only after the linked PR is merged and its stated evidence is inspected. Release gates require tests against real published or release-candidate artifacts, not only mocks.

Release contract

  • 0.4.0-alpha.2: CI reliability, isolation/security hardening, normal Flutter integration path.
  • 0.4.0-beta.1: real macOS, clean-container Linux, Android, and harness validation.
  • 0.4.0: honest support matrix, stable docs/install path, telemetry decision, final release gates.
  • The npm trusted publisher is not a standalone task. The first real publish through it happens naturally with alpha.2.
  • Stable means 0.4.0, not 1.0.0.
  • The TypeScript lab remains Linux-only. macOS support, if validated, covers the Rust integration CLI (doctor, init, evidence) only.
  • Android proof is a stable blocker because Android is part of the public headline.
  • Keep legacy PICKLAB_* compatibility through the 0.4 release train. Remove it in a later release.

Evidence contract

For every real-user/device pass:

  • Use an isolated temporary HOME, PICKFORGE_HOME, and lab state.
  • Never drive the real desktop.
  • Capture baseline, interaction, changed runtime, and final state.
  • Verify teardown, no leaked processes/displays, and no writes to the real home.
  • Use an independent vision-capable reviewer that did not drive the test.
  • Save raw screenshots, any recording, command logs, environment/version facts, hashes where relevant, and a concise Markdown report under ~/Projects/Boards/pickforge/0.4-release/.
  • Link the report from this issue. Do not check a gate from test output alone when the requirement is runtime or visual behavior.

Phase 1 — 0.4.0-alpha.2 hardening

CI reliability

Isolation and security

Product and project state

Alpha.2 release gate

  • Full TypeScript, Rust, security, dependency, coverage, build, and complexity gates pass — chore(release): prepare 0.4.0-alpha.2 candidate #114; main CI 33964516932
  • Real Flutter Linux desktop device pass on the exact release candidate, with independent visual PASS — chore(release): prepare 0.4.0-alpha.2 candidate #114
  • Published alpha.2 installs from a fresh home and reports matching versions for all three commands — public alpha.2; release run 33994482015; inspected published-alpha2/release/REPORT.md
  • npm publish came from GitHub OIDC trusted publishing with provenance — public alpha.2; release run 33994482015; inspected published-alpha2/release/REPORT.md
  • GitHub prerelease assets and checksums match the installed binaries — public alpha.2; release run 33994482015; inspected published-alpha2/release/REPORT.md
  • No release-blocking regression or open known isolation escape — chore(release): prepare 0.4.0-alpha.2 candidate #114 closure review

Phase 2 — 0.4.0-beta.1 product proof

macOS arm64

  • Run the downloaded release artifact on a real Apple silicon Mac — public alpha.2 on Acorns; inspected macos/REPORT.md and raw CLI/MCP evidence; GUI and isolation gate completed 2026-09-07 in macos/process-sandbox/REPORT.md
  • Verify public installer, checksum, doctor, transactional/idempotent init, real Dart MCP handshake, and evidence recording in a disposable Flutter project — public alpha.2 on Acorns; inspected macos/REPORT.md and raw CLI/MCP evidence; GUI and isolation gate completed 2026-09-07 in macos/process-sandbox/REPORT.md
  • Verify isolated home/config behavior and clean teardown — public alpha.2 on Acorns 2026-09-07; inspected macos/process-sandbox/REPORT.md: sandbox-exec fixture, 0 → 1 → 2 plus hot reload on the same PID/window, independent visual PASS, zero real-home differences over 233,387 hashed entries, no owned processes or windows after teardown
  • Decide and document signing/notarization policy before stable — docs/releases/SIGNING.md already defines ad-hoc signing without notarization for the 0.4 train; release CI enforced the policy

Clean Linux/container

  • Add a real clean-container release smoke using built candidate artifacts
  • Verify installer, versions, Flutter project detection, doctor, init, lab prerequisites/diagnostics, and no source-tree pollution
  • Make the smoke a blocking release job or document the equally strong automated gate

Android

  • Add release-grade real Android and Flutter APK proof #93: run a real Flutter APK through the Android lab: AVD boot, install, launch, UI inspection, interaction, screenshots/logs, evidence, and cleanup
  • Prove no emulator or adb-owned process leaks and no collision between two isolated projects/sessions
  • Save visual evidence and obtain independent vision PASS

Real harnesses and migration

Beta gate

Phase 3 — 0.4.0 stable contract

Honest public support matrix

Stable product/docs

Final QA and stable release

Explicitly after 0.4.0

These do not block stable:

The next planned product work is #117, then #118. Finish the current device-pass work and the 0.4.0 release train first. #117 integrates the acceptance workflow and evidence viewer after the private-app device-pass work is closed out; #118 plans a complete native Linux desktop computer-use workflow alongside browser and Android, reusing the existing tools. Neither changes the current stop before step 8 or authorizes implementation now.

Current status

Alpha.2 preparation is merged through #114 at bb3d18dbc35cbf191d3c29740168bb941c42cd81. Main CI 33964516932 and release dry run 33964524265 passed on attempt 1. #17, #104, and #105 are closed.

The owner confirmed npm trusted publishing and authorized tagging and publishing alpha.2, followed by Mac, Android, three-harness, and upgrade verification. Tag v0.4.0-alpha.2 points to that verified main SHA. Release run 33994482015 passed all nine jobs on attempt 1. Alpha.2 is now public. Both Rust binaries and checksum files match the tested CI bytes; the registry tarball is byte-identical to the candidate; npm audit signatures verified its signature and provenance against the exact tag, commit, and workflow. A fresh isolated public Linux installation reports matching versions for all three commands. See published-alpha2/release/REPORT.md and its raw evidence.

New evidence is being saved under ~/Projects/Boards/pickforge/0.4-release/published-alpha2/. Mac testing targets the owner's Acorns MacBook over Tailscale. Android runs use isolated homes and AVD state. #93 still requires its published beta/stable artifact proof; an alpha.2 pass does not close it. Work stops before beta.1 publication and soak, per the owner's instruction.

Published alpha.2 harness/upgrade evidence: published-alpha2/harness-upgrade/REPORT.md and harness-parent-verification.json. Actual model calls to both generated servers succeeded in Claude Code, Codex, and Pi. Parent independently verified all 146 packet checksums, rehashed 10,748 legacy package files and both real legacy screenshot states, and found no test-owned process/session/auth symlink remaining. Scope is Linux x86_64 and legacy 0.3.0; this does not certify the optional browser bridge or every historical version.

Mac GUI status on 2026-09-05: public CLI/install/Dart checks ran on Acorns, but the requested visual device pass was not complete. Native macOS Screen Recording was ungranted for /usr/libexec/sshd-keygen-wrapper; Accessibility is now granted. The owner was asked to enable Screen Recording. No screenshot or visual PASS is claimed. Earlier real-home baseline mismatch is disclosed in published-alpha2/macos/REPORT.md; a fresh bounded baseline is required on resume. The test app was stopped.

Post-publication note reset is merged in #115 as 29836c3. Main CI 33995487338 passed all five jobs on attempt 1. Published alpha.2 remains immutable at bb3d18d; no beta.1 publication was started.

Published alpha.2 Android evidence is verified in published-alpha2/android/REPORT.md, android/manifest.html, and android-parent-verification.json. The isolated emulator pass shows counter 0 → 1 → 2 and background/resume retaining 2, with screenshots, video, and independent visual PASS. Parent checked all 476 evidence hashes, public package/binary identity, real Android/toolchain baselines, and no owned runtime processes remaining. Earlier preparation writes are disclosed; the corrected run used a read-only real home and private SDKs. This pass does not prove concurrent Android sessions or beta/stable artifacts. Provisioning #106 was closed as not planned after its conditional investigation: the evidence does not establish a deterministic portable default, so --wait-ready remains and no automatic provisioning change is claimed. #93 remains open.

Evidence index: published-alpha2/REPORT.md. #106 disposition is supported by android-provisioning-106/resume-review/REPORT.md and android-provisioning-parent-verification.json; all 93 packet hashes and raw assertions were independently verified. Mac Screen Recording remained ungranted on the latest fresh SSH probe, so the full Mac GUI gate is still incomplete. Work remains stopped before beta.1.

On 2026-09-07, the owner enabled Screen Recording for sshd-keygen-wrapper. A fresh SSH connection independently reports both screen capture and Accessibility granted. The full Mac GUI pass has resumed against the installed public alpha.2 artifact with a fresh home baseline; visual acceptance and final cleanup are pending. Step 8 remains unstarted.

Mac findings on 2026-09-07: the full Mac GUI and isolation pass is complete. The first fixture run leaked 11 shader-cache files into its macOS user container and an App Sandbox helper crashed with a crash-report plist; both failures are preserved under published-alpha2/macos/. The corrected pass replaced the fixture's App Sandbox entitlement with an explicit sandbox-exec profile plus CFFIXED_USER_HOME, and the parent verified zero real-home differences, matching screenshot and record hashes, redaction, PID and window continuity, and clean teardown (macos-process-sandbox-parent-verification.json). One fixture-only artifact: the Flutter tool's open foreground step made LaunchServices start a second instance, which was terminated by exact PID. The released product is unchanged; no beta gate is marked.

Activity

  1. added
    enhancement
    on Sep 4, 2026
  2. ElbertePlinio commented on Sep 4, 2026

    @ElbertePlinio
    MemberAuthor

    Execution started. Parallel current-main worktrees are implementing: (1) #79/#87 reliability, (2) #85/#86/#57 isolation, and (3) #54 plus removal of mobileIntegrationAlpha. A separate skeptical release audit is defining the published-artifact QA matrix. Evidence will be stored under ~/Projects/Boards/pickforge/0.4-release/ and linked here after inspection. No PR will be marked complete from mocks alone where the acceptance criterion is runtime or visual behavior.

  3. ElbertePlinio commented on Sep 4, 2026

    @ElbertePlinio
    MemberAuthor

    Phase 1 isolation: #86, #85 and #57 are addressed in #92 (open, not merged).

    Containment choice (#85): per-session scope — a private cgroup v2 directory inside the delegated cgroup the lab already runs in, falling back to a 256-bit PICKFORGE_CONTAINMENT_TOKEN where no delegation exists. Apps start through a supervisor that joins the scope before spawning them, so a setsid/double-fork descendant cannot be created outside it. No sudo on either path. PR_SET_PDEATHSIG, PR_SET_CHILD_SUBREAPER, PID namespaces and systemd-run --user --scope were evaluated and rejected; the rationale table is in the report. Cleanup selects by cgroup membership or an exact token re-read from /proc/<pid>/environ, refuses a pid whose identity no longer matches, excludes the caller's own process chain, and reports success only once the scope is confirmed empty.

    Runtime/D-Bus (#86): per-session XDG_RUNTIME_DIR at mode 0700 inside the session dir, both D-Bus addresses pointed at sockets that are never created (fail closed rather than falling back to $XDG_RUNTIME_DIR/bus or X11 autolaunch), removal gated on confirmed-gone processes and on path confinement through symlinks.

    Xvfb (#57): one shared stopOwnedDaemonGroup with the browser supervisor — group signal plus isProcessGroupAlive confirmation — and stopXvfb verifies the group-leader identity.

    48 new adversarial tests (escape, cleanup confirmation, stale identity/pid reuse, path confinement, permissions, failure reporting). Local gates all pass (1218 tests, three consecutive clean full runs; coverage, build, cargo, complexity-gate). Required CI on #92 passed on the first run with no reruns.

    Isolated device pass done (real Xvfb, real GTK app, daemonised escapee held and killed by session destroy, real home untouched) with an independent visual PASS from a model that did not drive the session. Report and raw evidence: ~/Projects/Boards/pickforge/0.4-release/alpha2-isolation-report.md and alpha2-isolation-device-pass/.

    Not touched here: #54, #79, #87.

  4. ElbertePlinio commented on Sep 4, 2026

    @ElbertePlinio
    MemberAuthor

    Reliability slice merged: #90 closes #79 and #87. Exact head had green CI on its first run, desktop teardown stress 10/10, real Chromium relay 11/11, full suite 1,182 passed / 4 skipped, and an independent final review marked CLEAN. Evidence: ~/Projects/Boards/pickforge/0.4-release/alpha2-reliability.md, review-pr90.md, and final-review-pr90.md. PR #91 and #92 are not ready: final reviews reproduced additional write-redirection and containment correctness blockers, so they remain open and unchecked.

  5. ElbertePlinio commented on Sep 4, 2026

    @ElbertePlinio
    MemberAuthor

    Storage/product-normalization slice merged: #91 closes #54 and removes mobileIntegrationAlpha. Main CI passed. The final design binds run mutations to verified directory descriptors, rejects traversal before staging or producer execution, and leaves legacy PICKLAB_* compatibility intact. Adversarial old-head tests reproduced manifest, screenshot, takeover-journal, and report redirection; the merged head prevented all outside writes. Complexity is clean. Evidence: alpha2-security-normalize.md, review-pr91.md, final-review-pr91.md, and closure-review-pr91.md.

  6. ElbertePlinio commented on Sep 4, 2026

    @ElbertePlinio
    MemberAuthor

    Stale PR #71 is closed. Its base predated the rename and current evidence/storage/isolation contracts, so merging or rebasing the whole stack was unsafe. Focused current-main replacement #94 tracks stable split MCP SDK v2 plus real Claude Code, Codex, and Pi protocol proof. Context7 and npm both confirm the split v2 packages are now the stable line.

  7. ElbertePlinio commented on Sep 5, 2026

    @ElbertePlinio
    MemberAuthor

    Isolation slice #92 merged after three review/fix rounds and clean closure review. It closes #85, #86 and #57. Exact combined head passed CI, both cgroup and forced-marker suites, loaded stress, and real isolated smokes for cross-scope refusal and destroy-from-inside caller survival. Raw evidence and hashes: alpha2-isolation-report.md and alpha2-isolation-device-pass/. Residual scope is documented honestly: this contains owned processes; it is not a hostile-code sandbox.

  8. ElbertePlinio commented on Sep 5, 2026

    @ElbertePlinio
    MemberAuthor

    Merged the three release-proof PRs sequentially on current main:

    • ci: gate releases on executed candidate artifacts #99 → fc170ea: candidate artifact release gates. Independent closure review CLEAN. Exact-head CI and Linux container + Apple silicon candidate smokes all passed on attempt 1. Evidence: closure-review-pr99.md and candidate-smokes/.
    • feat(mcp): migrate to split SDK v2 #100 → ec704ce: stable split MCP SDK v2 and real model-driven artifact_list calls from Claude Code, Codex, and Pi in isolated homes. The first-attempt browser lifecycle failure was not retried away: it was reproduced as an aborted 100 ms CDP probe killing the test stand-in with ECONNRESET, fixed, stressed 96/96 under two-core contention, then independently reviewed CLEAN. Evidence: mcp-v2/REPORT.md and closure-review-pr100.md.
    • fix(android): diagnose emulator starts distinctly and prove a real Flutter APK #101 → c4b601d: typed Android startup diagnostics, verified launch behavior, isolated concurrent sessions, and real Flutter APK device proof. Independent vision review PASS and final closure review CLEAN. Evidence: android/report.md, android/vision-verdict-round3.md, and closure-review-pr101-combined.md.

    Final current-main CI run 33945345750 passed all jobs on attempt 1. The preceding three main heads also passed on attempt 1, so the repeated-current-head CI item is now checked.

    #93 remains open with only its published beta/stable artifact criterion unchecked. #105 remains open. The full generated Dart + Pickforge MCP harness pass remains unchecked even though the source-built Pickforge MCP itself was used successfully by all three clients.

  9. ElbertePlinio commented on Sep 5, 2026

    @ElbertePlinio
    MemberAuthor

    Issue #17 is complete and closed after #108 merged. The current-main device pass covers real read-only watch, supervised takeover and return, visual plus DevTools control of the same headed browser, two-session isolation, sensitive-evidence behavior, and full process/display/profile cleanup. Independent vision verdict PASS. Packet: issue17-final/REPORT.md; 402 files verified by SHA256SUMS. Follow-ups: #110, #111, #112.

  10. ElbertePlinio commented on Sep 5, 2026

    @ElbertePlinio
    MemberAuthor

    Alpha.2 candidate preparation is merged as #114 at bb3d18d.

    Inspected release evidence:

    • final PR closure review: CLEAN at c0ded7d
    • merged-main CI 33964516932: attempt 1, all jobs green, including coverage/build and both Rust platforms
    • release dry run 33964524265: attempt 1, resolved 0.4.0-alpha.2; TypeScript/Rust gates, exact candidate pack/build, clean Linux Flutter container, and Apple-silicon smoke all green; publish job correctly skipped
    • exact-candidate Linux Flutter device pass: visual/semantic interaction, state-preserving hot reload, generated Dart MCP, Pickforge MCP, evidence redaction, and teardown all PASS
    • independent visual review: PASS
    • evidence: /home/dev/Projects/Boards/pickforge/0.4-release/alpha2-candidate/
    • dry-run packet: /home/dev/Projects/Boards/pickforge/0.4-release/alpha2-candidate/release-dry-run-33964524265/

    Ticked the merged/evidenced alpha.2 preparation, gate, device, and isolation items. Published-artifact, OIDC/provenance, and public checksum/install items remain unchecked until the tag workflow and public prerelease are inspected.

  11. ElbertePlinio commented on Sep 9, 2026

    @ElbertePlinio
    MemberAuthor

    Pickforge 0.4.0 is public.

    Release: https://github.com/pickforge/pickforge/releases/tag/v0.4.0 on bd5ca8f, the exact validated stable candidate. Release run 34374557374 passed all nine jobs first attempt. npm [email protected] published through trusted publishing with provenance; latest is 0.4.0, next stays 0.4.0-beta.1. Public assets are byte-identical to the verified draft and to the run's smoke checksums. https://pickforge.dev/install.sh serves the stable installer and a fresh public install reports 0.4.0 for pickforge, pickforge-lab, and pickforge-mcp. Unreleased notes reset in 4c8ad82.

    Evidence: ~/Projects/Boards/pickforge/0.4-release/published-stable/REPORT.md (publication proof) and stable-candidate/REPORT.md (device, harness, container, and egress passes on the same commit).

    Every Phase 3 item is checked. #117 and #118 continue in their own issues after this epic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions