Repository navigation
Closed
Labels
flaggedFeature is dark on main behind a @pickforge/flags flag
Description
Goal
Turn PickLab into the Flutter-first foundation of the new Pickforge: one local command that detects a mobile project, safely wires the user's existing coding agent to upstream tools, teaches a proven workflow, and produces reviewable evidence.
First proof:
pickforge init
pickforge doctorThen Claude Code, Codex, or Pi can fix a real Flutter overflow through the runtime and return before/after evidence.
Decisions
- Upstream-first: integrate official or established providers before building device automation.
- Flutter-first: prove one complete inspect → fix → hot reload → verify loop before expanding.
- Rust owns the durable local CLI/core; TypeScript owns the MCP and harness edges.
- Prototype in the PickLab repository. Rename repositories/packages only after the alpha is proven.
- Agents may prepare and open PRs. Elberte performs final review and is the only person who merges.
- Feature flag:
mobileIntegrationAlpha(default off; gates release exposure while the multi-PR feature lands).
Acceptance criteria
-
pickforge doctordetects Flutter, required local tools, supported harnesses, and actionable failures; human and JSON output are stable. -
pickforge init --dry-runpreviews every change without writing. -
pickforge initapplies config transactionally with backups and is idempotent. - Claude Code, Codex, and Pi adapters configure the same Flutter integration pack.
- The Flutter pack configures the official Dart/Flutter MCP and installs a portable workflow.
- A fresh Flutter project completes inspect → source → fix → hot reload → verify.
- The run produces canonical JSON plus a concise Markdown evidence report with before/after artifacts.
- State defaults outside the repo under
~/.pickforge/pickforge/projects/<stable-project-id>/, with an explicit test override. - Normal startup and the demo leave the project Git working tree clean except for the intended source fix.
- The TypeScript MCP edge supports current and legacy clients through dual-era conformance tests.
- Every implementation PR reaches CI green and stops at Ready for human review.
Explicit non-goals
- New IDE, embedded terminal, chat, swarm, Operator, or model router
- Custom generic Android/iOS automation already available upstream
- GUI, emulator viewer, persistent daemon, cloud sync, billing, or marketplace
- React Native or iOS support in this issue
- Immediate product/package/repository rename
- Archiving or deleting existing repositories before replacement proof and release preservation
PR plan
- PR 1 — Rust CLI foundation and Flutter-aware
doctor- Depends on: none
- Touches: Rust workspace/crate, path resolution, detection, CLI contract, tests, CI wiring
- Validation:
cargo fmt --check;cargo clippy --workspace --all-targets -- -D warnings;cargo test --workspace; existing Bun typecheck/test/build - Link: feat: add Flutter-aware Pickforge doctor #65
- PR 2 — Transactional
initplanner and harness adapters- Depends on: PR 1
- Touches: config plan/apply/backup, Claude Code/Codex/Pi adapters,
--dry-run, idempotency tests - Validation: focused Rust/adapter tests plus existing suite
- Link: feat: add transactional Pickforge init #68
- PR 3 — Flutter integration pack
- Depends on: PR 2
- Touches: Dart/Flutter MCP manifest, portable skill, compatibility checks, release gate
- Validation: clean-project setup tests across all three harnesses
- Link: feat: add Flutter integration pack #69
- PR 4 — Evidence capture and report
- Depends on: PR 3
- Touches: run artifact schema, Markdown renderer, redaction, storage isolation
- Validation: golden schema/report tests and clean-working-tree smoke test
- Link: pending
- PR 5 — MCP v2 dual-era edge
- Depends on: PR 3; independent of PR 4 where possible
- Touches: SDK v2 split packages,
serveStdio, legacy fallback, MRTR/Tasks boundaries, client conformance - Validation: Claude Code, Codex, Pi, and generic stdio contract tests
- Link: pending
- PR 6 — Alpha integration and release gate
- Depends on: PRs 1–5
- Touches: packaging, installer exposure, docs, unreleased notes, end-to-end demo
- Validation: fresh Flutter repo and clean-machine smoke matrix
- Link: pending
- Final retirement-plan pass
- Create linked issues in Pickforge IDE, PickScribe, and PickGauge for notices/release preservation; no archive/delete action in this issue.
- File follow-up issues for optional Omarchy packaging, React Native/Android, iOS/Swift, PickArena benchmarking, and final rename.
Traceability
| Acceptance criterion | PR/slice | Validation | Status |
|---|---|---|---|
| Stable Flutter-aware doctor | PR 1 | Rust unit/CLI contract tests | PR #65 ready for human review |
| Safe dry-run/apply/backup/idempotency | PR 2 | Config transaction tests | PR #68 ready for human review |
| Three harnesses + official Dart MCP | PR 3 | Clean-project harness matrix | PR #69 ready for human review |
| Runtime fix workflow | PRs 3, 6 | End-to-end Flutter overflow demo | pending |
| JSON + Markdown evidence | PR 4 | Schema and golden report tests | pending |
| External isolated storage + clean repo | PRs 1, 4, 6 | Path tests and startup smoke | pending |
| Dual-era MCP compatibility | PR 5 | Real-client/stdio conformance | pending |
| Human-only merge gate | Every PR | PR status stops at Ready for human review | pending |
Flag lifecycle
- merged behind flag
mobileIntegrationAlpha - tested on main with the flag on
- enabled in the alpha release
- flag removed after the enabled release is verified
Kickoff
Current status: Planned
Next action: start PR 1 in an isolated worktree with the smallest Rust CLI/doctor contract that can be validated independently.
Metadata
Metadata
Assignees
Labels
flaggedFeature is dark on main behind a @pickforge/flags flag
Activity
ElbertePlinio commentedon Aug 17, 2026
Progress update:
PR: #68
Depends on: #65
Blocked: none
Next: watch CI, then begin PR 3 from the reviewed PR 2 HEAD.
ElbertePlinio commentedon Aug 17, 2026
PR 2 is ready for human review:
PR: #68
Reviewed HEAD:
0e87becDepends on: #65
Merge authorization: Elberte only
Next: prepare PR 3 on top of this reviewed HEAD; do not merge PR 2 automatically.
ElbertePlinio commentedon Aug 17, 2026
PR 3 contract frozen on reviewed PR 2 HEAD
0e87bec:pickforge init --mobile-integration-alpha; normal init remains the empty base pack.pickforge-dart, commanddart mcp-server.--force-roots-fallback(Pi adapter currently has no roots support).pickforge-flutterAgent Skill, installed outside the project tree to Claude's user skill directory and the standard user.agents/skillsdirectory for Codex/Pi.dartis absent; no tool execution, guessed version floor, subprocess, or network access.npx skills addwould violate no-network and clean-project constraints.Next: implement and validate the clean-project three-harness matrix on branch
feat/64-flutter-pack.ElbertePlinio commentedon Aug 17, 2026
PR 3 opened as draft: #69
1acb945feat/64-init-planner/ feat: add transactional Pickforge init #68The PR will move to Ready for human review only after every required check is green. Merge authorization remains Elberte-only.
ElbertePlinio commentedon Aug 17, 2026
PR 3 is ready for human review:
PR: #69
Reviewed HEAD:
1acb945Depends on: #68
Merge authorization: Elberte only
Next: freeze PR 3's reviewed interfaces, then prepare PR 4 and PR 5 without merging any stack member automatically.
ElbertePlinio commentedon Aug 17, 2026
PR 4 / PR 5 contracts frozen from reviewed PR 3 HEAD
1acb945.PR 4 — sibling branch
feat/64-evidence-report<stateRoot>/projects/<projectId>/runs/.PR 5 — sibling branch
feat/64-mcp-v2serveStdiofactory; preserve default legacy serving and add modern 2026-07-28 conformance.request_user_inputreturns honest relay guidance; no fake push elicitation.The sibling branches intentionally have no source overlap. PR 6 will integrate their frozen interfaces. No PR in this stack will be merged without Elberte's final authorization.
ElbertePlinio commentedon Aug 18, 2026
Progress update — PR 4 and PR 5 are open from independently reviewed sibling branches:
d6c908aa26535eBoth PRs depend on #69. No merge, release, rename, or retirement action is authorized. Elberte remains the final review and merge gate.
ElbertePlinio commentedon Aug 18, 2026
PR 4 / PR 5 checkpoint — Ready for human review
Both sibling PRs are independently reviewed, remotely verified, and fully green against
feat/64-flutter-pack:f31101aeb08baaf2a4d5ca6e2079f6205f8bfb1154a195418e715360812e76fe07129fcb1589f72eDependency audit, Gitleaks, Ubuntu Rust, Windows-native Rust, and headed Bun test/coverage/build jobs all pass on both reviewed HEADs.
Status: PRs #70 and #71 are ready for Elberte's human review. No merge, release, rename, retirement, or archival action was performed.
ElbertePlinio commentedon Sep 1, 2026
End-to-end validation of the open stack (#65 → #68 → #69 → #70)
Ran the full thesis loop against a real Flutter Linux desktop app inside an isolated PickLab
session (
:90), with sandboxedHOME,PICKFORGE_HOME, andPICKLAB_HOME.pickforge doctoron a real project — ready, 9/9 checks passpickforge init --mobile-integration-alpha— 5 files written, all inside the sandbox;pickforge-dart→dart mcp-server, with--force-roots-fallbackfor codex/pino-opwith byte-identical configs (hash-verified)picklab desktop click→ counter 2lib/main.dartedited, hot reload landed in 183ms; label and theme changed, counterstayed at 2 (state preserved, correct hot-reload semantics)
pickforge evidence record→evidence.json+report.md+ content-hashed artifactsin the external run dir; planted
ghp_…token appears 0 times in both outputs; projectdirectory gained nothing
~/.pickforge/projects,~/.claude.json, Codex and Pi configs untouched; sessiondestroyed, no leaked processes
Automated coverage was also re-verified locally at #70's head: 81 Rust tests pass
(lib 10, cli 13, doctor 24, evidence 7, init 20, transaction 7).
Follow-ups filed
is started outside
desktop launch(flutter runinheritsWAYLAND_DISPLAYand opens onthe real desktop; silent, returns a black frame). Hit on the first launch of this run;
worked around with
env -u WAYLAND_DISPLAY GDK_BACKEND=x11.evidence recordcannot representintermediate states, so the "0 → 2" click claim has no artifact in the record.
Neither blocks the stack. #73 is the one worth fixing before the alpha is shown to anyone,
since it breaks the isolation promise silently.
Current status: In review — #65/#68/#69/#70/#71 all green and awaiting human review.
Next action: review bottom-up, retargeting each child to
mainbefore merging its parent.ElbertePlinio commentedon Sep 1, 2026
Tracked under the pivot epic: pickforge-platform#91 (workstream 1, the active one).
ci: allowlist secret fixtures by value instead of commit (#77)
ElbertePlinio commentedon Sep 4, 2026
Shipped in v0.4.0-alpha.1 (https://github.com/pickforge/pickforge/releases/tag/v0.4.0-alpha.1). Proof: ~/Projects/Boards/pickforge/device-pass-rename-2026-09-04.md (isolated Xvfb session, real Flutter app, vision verdict PASS on the integrated build).