Skip to content

v0.8.0 — memory substrate 跨工具可攜 + gate DX + ship pipeline

Latest

Choose a tag to compare

@screenleon screenleon released this 04 Jul 04:51
b5eb215

v0.8.0 — memory substrate 跨工具可攜 + gate DX + ship pipeline

v0.8.0 delivers the last two Claude-specific coupling points of the memory substrate, gate detached lifecycle, repo-wide worktree tooling, and — as an unplanned mainline driven by real usage — the full pmctl ship pipeline from single-ticket start to N-lane parallel orchestration.

Highlights

Memory substrate cross-tool portability (CC-412, headline)

  • find_memory_dir override seam: PM_MEMORY_DIR env > dispatch.memory_dir config > CLAUDE_CONFIG_DIR convention; byte-identical behavior when unset.
  • Injection layering documented: portable core = pmctl context --source memory retrieval API; injection = per-tool adapter (Claude keeps its hook; other hosts call the API).

Gate DX

  • Gate detached lifecycle (CC-423): pmctl gate run --lifecycle detached (now default) + gate-supervisor + pmctl gate wait <gate_id>; session interrupts can no longer kill a running gate.
  • pr-gate.sh --head <ref> (CC-425): gate a fixed ref range with no PR / working tree.
  • Shared detached-launch lib (CC-434): dispatch/gate supervisors now share one sentinel/setsid implementation (spike CC-433: lib GREEN, poll→notify AMBER not adopted → CC-435 conditional).
  • Perf (CC-432): test-release-verify.sh 380s → ~127s via shared --no-suite cache.

Ship pipeline (unplanned mainline, CC-439..443)

  • /ship <ticket-id> command: implement → pr-gate → PR without confirmation stops (CC-439).
  • pmctl ship prepare/finish + --parallel N-lane orchestrator on worktree lanes (CC-441).
  • Unified start entry pmctl ship <id> [--worktree] [--adapter] + ship-lanes.jsonl tracking + dispatch-failed status (CC-442 spike / CC-443).

Worktree tooling (CC-014)

  • pmctl worktree create/list/remove/gc + using-git-worktrees skill; executor-agnostic lane management.

Host-PM-aware install spike (CC-381)

  • Three-way analysis converged in docs/spikes/CC-381.md; codex PreToolUse hooks proven stable + fail-closed. Follow-ups: CC-436 (payload probe), CC-437 (host-aware doctor), CC-438 (host manifest schema v1). install.sh write path deliberately untouched.

Release closure notes (CC-444)

  • /pre-release v0.8.0 Layer 1 caught 6 missing CHANGELOG entries (backfilled) and a stale milestone row (fixed); Layer 2 semantic coverage: 7/7 Covered (High).
  • Found and fixed during closure: test-pmctl-worktree.sh (36 cases) was never registered in run-all-tests.sh — registered now; suite-registration lint tracked as CC-449.
  • Full release-verify.sh --e2e sign-off run before tagging (result recorded in PR #367).

What's next (v1.0 roadmap, DECISIONS 2026-07-04)

v1.0 = public 正式版. Principle: only claim surfaces with evidence, contract, and support matrix; everything else experimental. v0.9.0 = evidence + contract + codex-host axis; v1.0-rc = opencode host (N=2 host abstraction proof) + public posture. Host support target at v1.0: claude + codex + opencode.