Files
open-harness/CHANGELOG.md
T
OpenHarness BotandClaude Opus 4.7 00078a7e8b feat: pi project config — mifune banner, path-guard, harness-context skill, CI wiring
Stand up .pi/ as a real project workspace for the pi-coding-agent CLI:
- settings.json: OpenAI defaults (gpt-4o), model cycling list, declared resource paths
- mifune-banner extension: flush-left MIFUNE wordmark + pi harness · ryaneggz/mifune subtitle
- path-guard extension: tool_call interceptor with case-insensitive risky-bash regex,
  hasUI headless guard, /dev/sd*|nvme*|hd*|disk* bare-redirection match, defensive
  toolName.toLowerCase() (verified lowercase in pi source), canonical input key `path`
- APPEND_SYSTEM.md: generic, consumer-agnostic
- prompts/review.md: /review template
- skills + rules: directory symlinks to ../.claude/{skills,rules} (single source of
  truth, mirrors .codex/ pattern)
- new canonical .claude/skills/harness-context/SKILL.md reachable from pi via symlink

Tests at .pi/extensions/__tests__/{path-guard,mifune-banner}.test.ts (32 + 7 cases,
hand-rolled mock ExtensionAPI, no pi devDep). vitest.config.ts include glob extended
to .pi/**/__tests__/**/*.test.ts. ci-harness.yml paths filter extended and a new
"Root tests" step runs pnpm test:scripts (also lifts cron-runtime.test.ts into CI).

86 tests passing across 6 files.

Closes #255

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-07 18:22:28 -06:00

42 KiB

Changelog

All notable changes to this project are documented here.

Format follows Keep a Changelog; versions use CalVer (YYYY.M.D with -N suffix for same-day releases) and match git tags.

Update policy and release automation live in .claude/rules/git.md § Changelog.

[Unreleased]

Fixed

  • Docs landing page supported-agent copy and agent grid now include DeepAgents with a matching icon tile.
  • opencode --version (and any opencode invocation) failing with EACCES: permission denied, mkdir '/home/sandbox/.config/opencode' on a fresh sandbox. Docker auto-creates ~/.config as root to satisfy the gh-config:/home/sandbox/.config/gh named-volume mount, which then blocks the sandbox user from creating siblings like ~/.config/opencode. The entrypoint's non-recursive parent-chown loop now also covers ~/.config alongside the existing ~/.local / ~/.local/share parents, while leaving the bind-mounted ~/.config/gh contents untouched. (#247)
  • opencode and opencode /connect failing with EACCES: permission denied, mkdir '/home/sandbox/.local/state' on a fresh sandbox. Docker auto-creates ~/.local and ~/.local/share as root to satisfy the opencode-host bind-mount path; the entrypoint now non-recursively chowns those parent dirs to sandbox:sandbox so the user can create siblings like .local/state. The bind-mounted ~/.local/share/opencode itself stays untouched. Re-applies a fix that was lost when #241 merged a conflicting entrypoint.sh. (#245)

Added

  • Project-local Pi config under .pi/ standing the agent up at the harness root: OpenAI-default settings.json (gpt-4o, model-cycling list scoped to GPT/o-series), mifune-banner.ts extension replacing pi's startup header with a flush-left MIFUNE wordmark + pi harness · github.com/ryaneggz/mifune subtitle, path-guard.ts extension intercepting tool_call events to confirm before write/edit on sensitive paths (.env*, secrets/, credentials.{json,yaml}, *.pem, *.key, ssh keys) and risky bash (rm -rf, sudo, git push --force, git reset --hard, bare > /dev/sd*|nvme*|hd*|disk*) with case-insensitive matching and ctx.hasUI guards for headless/RPC mode, generic consumer-agnostic APPEND_SYSTEM.md, prompts/review.md template invokable as /review, and skills + rules directory symlinks to ../.claude/skills / ../.claude/rules matching the single-source-of-truth pattern already in .codex/. New canonical .claude/skills/harness-context/SKILL.md reachable from pi via the symlink. Test suite at .pi/extensions/__tests__/{path-guard,mifune-banner}.test.ts (32 + 7 cases, hand-rolled mock ExtensionAPI, no pi devDep); pi source verified via gh api for tool-name casing (lowercase) and write/edit canonical input key (path). vitest.config.ts include extended to .pi/**/__tests__/**/*.test.ts; .github/workflows/ci-harness.yml paths: filter extended (.pi/**, scripts/**, vitest.config.ts) and a new "Root tests" step runs pnpm test:scripts, also bringing the previously-orphaned scripts/__tests__/cron-runtime.test.ts into CI. (#255)
  • Project-local Pi plan-mode extension under .pi/extensions/plan-mode/, with /plan, /plan approve, --plan, read-only tool/bash gating, plan approval prompts, and [DONE:n] progress tracking.
  • Directory README pattern: tracked README.md in apps/, crons/, scripts/, tasks/, and .worktrees/ documenting each directory's intent, subfolder conventions, and lifecycle. New rule .claude/rules/directory-readme.md codifies the pattern; .gitignore exempts only .worktrees/README.md (replacing the unused .gitkeep exemption); .claude/rules/git.md § Worktrees points to the new README and documents the .worktrees/project/<project-name>/<repo>/ slot for independent project clones; docs/architecture/container-runtime.md moves .worktrees/ into the canonical tree (README tracked, contents ignored). Three session lessons appended to context/IDENTITY.md covering README-over-.gitkeep, "treat X same as Y" interpretation discipline, and semantic-subfolder enumeration.
  • OpenCode as a core sandbox agent: install opencode-ai in the base image, persist ~/.local/share/opencode, add the opencode-host overlay, support scripts/ralph.sh --harness=opencode, and document OpenAI OAuth as the default OpenCode provider path.
  • DeepAgents CLI support as a first-class supported sandbox runtime alongside Claude Code, Codex, OpenCode, and Pi. .devcontainer/Dockerfile installs deepagents-cli via uv tool install into /usr/local/bin; .devcontainer/docker-compose.yml adds a deepagents-auth named volume at /home/sandbox/.deepagents so provider keys, memory, skills, and sessions persist across rebuilds; .devcontainer/docker-compose.deepagents-host.yml is an opt-in host-state overlay (off by default — DeepAgents stores raw provider API keys with no scope/expiry, so the blast radius is wider than the Claude/Codex host overlays); .devcontainer/entrypoint.sh extends its chown loop to include .deepagents and skips it when DEEPAGENTS_HOST_BIND_MOUNT=1. scripts/ralph.sh accepts --harness=deepagents (or RALPH_HARNESS=deepagents) and dispatches to a constrained default invocation deepagents -y --shell-allow-list recommended -q --no-stream --max-turns "$RALPH_DEEPAGENTS_MAX_TURNS" -n "$task" (default 25 turns); RALPH_DEEPAGENTS_FLAGS overrides the safety/output flag string, and --max-turns is always appended after so the per-iteration cap cannot be silently dropped. --shell-allow-list all combined with the sandbox's mounted Docker socket can affect sibling containers or host Docker — only enable for trusted tasks via the env-var override. install/banner.sh reports DeepAgents [installed] from command -v deepagents and [configured] only when ~/.deepagents/.env or ~/.deepagents/config.toml is non-empty (an empty mounted directory is no longer treated as authenticated). New agent doc at docs/agents/deepagents.md; docs/agents/overview.md, README.md, docs/quickstart.md, docs/onboarding.md, docs/installation.md, docs/operations/{provision,destroy,repair}.md, docs/guide/{overlays,permissions,configuration}.md, and docs/architecture/{container-runtime,overview}.md enumerate the new agent, volume, overlay, and Ralph harness option. Repo-local .deepagents/ is project data and follows normal git review/ignore rules; secrets and provider keys belong only in ~/.deepagents or ignored local files. Claude remains the default Ralph harness; existing Claude/Pi/Codex execution and fallback behavior are unchanged. (#237)
  • docs/agents/pi.md stub (linking upstream to badlogic/pi-mono) and a Pi entry in the home-page agent grid at apps/docs/src/pages/index.tsx, matching Pi's restoration as a default-installed CLI. (#233)
  • Top-level Makefile wrapping docker compose -f .devcontainer/docker-compose.yml so users type make sandbox / make shell / make destroy instead of the 50-character compose lines. Targets: sandbox, shell, destroy, stop, logs, ps, restart, help (default, self-documenting via awk). Uses -include .devcontainer/.env so SANDBOX_NAME flows through. No agent-CLI targets — the harness's value is sandbox isolation, agent choice (claude / codex / pi) happens inside make shell.

Changed

  • BREAKING: Installer now clones to ~/.openharness/ (was ~/openharness/); scripts/install.sh auto-migrates existing ~/openharness/ checkouts in place.
  • BREAKING: In-repo .openharness/ subdirectory removed entirely.
  • BREAKING: composeOverrides[] config moved from .openharness/config.json to repo-root config.json (gitignored, seeded from tracked config.example.json).
  • BREAKING: pi-host.yml dropped from default composeOverrides — Pi users add it back manually in config.json.
  • /cloudflared-tunnel skill reconstructs a missing <tunnel-id>.json from cloudflared tunnel token instead of failing — fixes the case where a tunnel exists in the Cloudflare account (e.g. created on another host) but only cert.pem is on the running machine. Documents that token-mode runs (--token <T>) silently drop the local --url flag, leaving Cloudflare to return 530s while connections register. (#249)
  • Quickstart collapsed from two parallel paths (installer + manual) to a single linear flow in README.md and docs/quickstart.md. Manual setup demoted to a <details> block. New "Configuration" section in both docs surfaces .devcontainer/.env as the customization surface (make destroy && make sandbox to re-apply).
  • install.sh moved to scripts/install.sh to colocate with cron-runtime.ts and ralph.sh per the orchestrator-scripts convention. Repo-detection logic and help-text self-references updated for the new path. Action required for the curl-pipe URL: update the https://oh.mifune.dev/install.sh redirect to https://raw.githubusercontent.com/ryaneggz/open-harness/refs/heads/main/scripts/install.sh.
  • scripts/install.sh smarter: auto-detects host gh auth token and prompts to share it with the sandbox (skips in-sandbox gh auth login when accepted); auto-populates .devcontainer/.env with host timezone and git identity; new prompt_yn helper for interactive Y/n prompts; idempotency guard preserves existing .devcontainer/.env on re-runs. Dropped the unconditional SANDBOX_PASSWORD prompt (only honored by the opt-in sshd overlay; defaults silently to changeme). Build-time message added before the cold-cache build to set ~10-min expectations. "Next steps" output restructured to lead with the .devcontainer/.env path so the customization surface is discoverable.
  • CLAUDE.md Lifecycle section uses the new make targets (make sandbox, make shell, make ps, make destroy); deeper inspection commands (docker exec ... tmux ls) keep their docker-native form.
  • .devcontainer/.example.env: top header rewritten to document the file as the single customization surface; INSTALL_AGENT_BROWSER default flipped from true to false (~1 GB / +3 min on first build, opt-in only when needed); SANDBOX_PASSWORD comment clarified to note it's only honored with the sshd overlay.
  • Consolidate repository layout documentation into docs/architecture/container-runtime.md#repo-layout; reduce duplicate tree blocks in AGENTS.md and README.md to one-line pointers; add .claude/rules/repo-layout-source.md to prevent the next drift round. Remove phantom heartbeat env vars (HEARTBEAT_ACTIVE_START, HEARTBEAT_ACTIVE_END, HEARTBEAT_AGENT, HEARTBEAT_INTERVAL) from docs/architecture/container-runtime.md and .devcontainer/.example.env. Fix broken README.md croner link (was .claude/specs/structure-spec-v0.7.md, now docs/architecture/crons-and-heartbeats.md).

Added

  • Restore @mariozechner/pi-coding-agent as a default-installed CLI alongside Claude Code and Codex. Dockerfile AGENTS default goes back to claude-code,codex,pi-coding-agent; .devcontainer/docker-compose.pi-host.yml overlay restored and listed in .openharness/config.json composeOverrides; .devcontainer/entrypoint.sh extends its host-bind skip-chown loop with .pi/PI_HOST_BIND_MOUNT. Pi auth shares the same trust tradeoffs as the claude/codex host overlays (host UID = 1000 + pre-existing ~/.pi). The Mom Slack bot stays out of base — install @ryaneggz/mifune for that. docs/installation.md, docs/onboarding.md, docs/operations/{provision,repair}.md updated; stale mom shell alias dropped from install/.zshrc (leftover from #209).
  • "type": "module" in root package.json to silence the Node MODULE_TYPELESS_PACKAGE_JSON warning emitted on every cron-runtime.ts invocation. The script already uses ESM import syntax; no CommonJS in scripts/ to break.
  • ## Active items watchlist inside crons/heartbeat.md — session-curated section the hourly heartbeat reads each pulse to validate deferred follow-ups across session boundaries via an enumerated permitted-checks list (gh pr view, gh issue view, gh run list, gh release list, date-based reminders). Cron is read-only on the section; sessions add and remove lines. New crons/.cron.log (gitignored under crons/*.log) appended each pulse as a one-line ISO-8601 liveness signal — additive to the existing memory/<today>/log.md writes. context/USER.md gains a 3-sentence "Tracking deferred follow-ups" pointer at the Authorization patterns boundary. Plan at .claude/plans/polished-spinning-dijkstra.md survived 3 critic rounds (round 1 rejected a separate memory/HEARTBEAT.md, round 2 rejected AGENTS.md documentation, round 3 converged on the v5 shape). (#224)

Removed

  • oh CLI references and the multi-agent / N-worktree / heartbeat-daemon copy from the marketing landing page at apps/docs/src/pages/index.tsx; quickstart code block now uses make shell, hero + architecture + WHY sections rewritten to "we provide the sandbox, you choose the harness". docs/agents/overview.md similarly drops the "Why run multiple agents" framing and the deleted oh harness add invocation. (#233)
  • Gemini hidden from the docs sidebar and sitemap via unlisted: true in docs/agents/gemini.md (Docusaurus 3); page stays reachable by direct URL for old links. The home-page agent grid swaps the Gemini tile for Pi. (#233)
  • Stale files missed in #223: .devcontainer/tests/cli-binaries.sh, .devcontainer/init-env.sh (orphan helper — install.sh writes .devcontainer/.env directly and docker compose loads it from that folder by default), .claude/posts/{linkedin,x}.md, tsconfig.base.json, .claude/plans/crispy-beaming-torvalds.md. Doc tree comments in docs/architecture/container-runtime.md and .openharness/README.md updated to drop the init-env.sh references. (#228)
  • Pruned four orphaned files in .openharness/ left over from the v0.7 convergence: agents (broken symlink to deleted workspace/.claude/agents/), agent/settings.json (referenced non-existent gpt-5.4 model and lastChangelogVersion: 0.66.1; no loader on main), banner.json (custom-banner skill deleted in fb71365), and settings.json (pointed at non-existent ./.claude/skills/). Refreshed .openharness/.gitignore header and added .openharness/README.md documenting the remaining live file (config.json) and the dormant status of Caddyfile / exposures.json. The directory's load-bearing role — composeOverrides consumed by install.sh and the container build — is unchanged. (#222)
  • Remove 0 eligible stale remote branches after critic-gated review; preserve all live remote branches because none met the >60-day deletion gate, and the backup branch still contains unique commits. (#213)
  • Remove five stale or corrupted .worktrees/ agent directories and stale worktree registrations, reducing the ignored worktree footprint below 100 MB. (#213)
  • Remove the dead legacy install-side setup, entrypoint, and tmux wrapper scripts now that the Dockerfile wires .devcontainer/entrypoint.sh directly. (#213)
  • Remove the empty untracked packages/web-ui/ and packages/slack/ husks, plus the stale Slack workspace and entrypoint references. (#213)
  • Remove the obsolete on-disk SPEC v0.6 artifact so .claude/specs/ only exposes canonical tracked specs. (#213)
  • BREAKING: oh harness add deprecated; mifune (and any other harness pack) installs via git clone + manual cp per the pack's README for v1. The CLI-driven pack installer was deleted along with packages/sandbox/ in US-006; its fetchGitPack (command-injection-prone) and registerComposeOverlays (path-traversal-prone) plumbing is gone with it. A redesigned, security-first standalone installer (~50 LOC) tracked for v0.8 in #211: URL allowlisting, signature/SHA verification, sandboxed install, command-injection-safe spawnSync, path-traversal-safe overlay resolution, atomic registry write. Per SPEC v0.7 §"Pack mechanism status in v0.7". (#210)
  • BREAKING: workspace template emptied of pi-coupled scaffolding. Deleted workspace/HEARTBEAT.md, workspace/IDENTITY.md, workspace/MEMORY.md, workspace/SOUL.md, workspace/TOOLS.md, workspace/USER.md (six identity files belonging to the v0 multi-agent persona); workspace/heartbeats/ (replaced by root crons/ per US-002), workspace/.ralph/, workspace/.codex symlink, workspace/.openharness symlink, and workspace/memory/ (instance state in template); workspace/.claude/skills/{compress,content-gate,eval-conciseness,quality-gate,wiki-ingest,wiki-lint,wiki-query,ralph,prd,ci-status}/ (ten workspace skills); workspace/.claude/agents/{council,critic,implementer,pm,agent-builder,command-builder,rule-builder,skill-builder}.md (eight sub-agents); and workspace/.claude/hooks/notify_slack.sh (Slack hook + its references in workspace/.claude/settings.local.json). Rewrote workspace/AGENTS.md (and the CLAUDE.md symlink) as a generic ~22-line agent-runtime stub. Kept: workspace/AGENTS.md, workspace/startup.sh, workspace/.claude/.example.env.claude, workspace/.claude/rules/{code-quality,git,token-conservation}.md, workspace/.claude/settings.local.json, workspace/.claude/screenshots/.gitkeep. The workspace template is now agent-runtime-agnostic; identity, skills, sub-agents, and routines come from a harness pack (e.g. @ryaneggz/mifune), not from this directory. Per SPEC v0.7 §"Harness Packs". (#210)
  • BREAKING: orchestrator skill set triaged to a defensible 4-skill core. Deleted .claude/skills/{delegate,harness-audit,strategic-proposal,skill-lint,prd,ralph}/ (six skill directories that mapped to v0 multi-agent / autonomous-agent flows). Converted .claude/skills/{provision,destroy,repair}/ to plain Markdown documentation at docs/operations/{provision,destroy,repair}.md (the operations are now docker compose invocations, not skills). Surviving orchestrator skills: /release, /ci-status, /cloudflared-tunnel, /agent-browser. Stale heartbeat/daemon/worktree-discovery docs (docs/heartbeats/, docs/architecture/daemon.md, docs/architecture/worktrees.md) deleted alongside; incidental workspace/heartbeats/ references in docs/guide/{configuration,workspace}.md and docs/agents/{overview,claude-code}.md rewritten to point at the croner runtime + crons/. Pack-side counterparts for cloudflared-tunnel and agent-browser tracked in ryaneggz/mifune#1 and #2. Per SPEC v0.7 §"Orchestrator vs workspace agent skills". (#210)
  • BREAKING: multi-agent comparison narrative archived. Deleted the still-draft blog/2026-04-29-worktree-per-agent.md; moved blog/2026-04-28-byoh.md to blog/archive/2026-04-28-byoh.md with archived: true frontmatter and a top-of-post note that v1 framing differs. Stripped the residual "side-by-side" wording from docs/agents/overview.md. Per SPEC v0.7 §"oh CLI" + §"Documentation source"; the v1 ICP statement at .claude/ICP.md now explicitly rejects multi-agent comparison-shopping framing as out-of-scope. (#210)
  • BREAKING: @openharness/sandbox CLI removed; docker compose is the canonical substrate. Deleted the packages/sandbox/ workspace package (CLI binary + harness/onboard/lib/tools source + tests), the entry from pnpm-workspace.yaml, the link:cli script from root package.json, the now-stale .github/workflows/ci.yml (sandbox-only CI), and the duplicate .github/workflows/build.yml (which had been pushing a drifted ghcr.io/ryaneggz/open-harness image alongside the canonical ghcr.io/ryaneggz/openharness produced by release.yml). The CLI build/symlink block in .devcontainer/entrypoint.sh that wired /usr/local/bin/openharness and /usr/local/bin/oh is gone. release.yml is now the sole image producer. Per SPEC v0.7 §"oh CLI". (#210)
  • BREAKING: heartbeat daemon removed. Deleted packages/sandbox/src/lib/heartbeat/ (~1,752 LOC), packages/sandbox/src/cli/heartbeat-daemon.ts, packages/sandbox/src/cli/actions/heartbeat.ts, packages/sandbox/src/tools/heartbeat.ts, the oh heartbeat {start,stop,status} command group, the heartbeat-daemon package bin, the seven heartbeat-*.test.ts suites, and .claude/skills/heartbeat/. Heartbeat env vars (HEARTBEAT_ACTIVE_START/_END/_AGENT) stripped from .devcontainer/docker-compose.yml; the legacy install-side daemon-startup blocks and the /usr/local/bin/heartbeat-daemon symlink in .devcontainer/entrypoint.sh are gone; install/banner.sh no longer advertises heartbeat-daemon status. The croner runtime (scripts/cron-runtime.ts, US-002/US-003/US-004) is the canonical replacement per SPEC v0.7 §"Croner runtime". (#210)
  • BREAKING: @mariozechner/pi-coding-agent is no longer a dependency. The pi agent CLI and Mom Slack bot have been extracted to a separate harness pack at ryaneggz/mifune (npm: @ryaneggz/mifune). Install with oh harness add @ryaneggz/mifune. (#208)

Added

  • context/ folder at repo root — orchestrator identity layer per the gist v0.6 spec §"context/" (https://gist.github.com/ryaneggz/8f6811efa144ac94d3cdc383846134d8), adapted for single-user harness scope. Four files: SOUL.md (voice and disposition, ~30 lines), IDENTITY.md (operating principles + append-only lessons learned, ~80 lines), TOOLS.md (environment inventory, ~40 lines), USER.md (working-relationship patterns, living document, ~45 lines). AGENTS.md bootloader updated with a session-start read instruction; .claude/protected-paths.txt extended with the four new entries so future cleanup passes do not delete them. Implements the session-loaded identity layer the v0.7 convergence (PR #212, US-013) correctly removed from workspace/ (pack territory) but never created at the orchestrator level. The IDENTITY.md lessons-learned section captures the meta-principles surfaced this session (revealed > stated preference, critic-gate before destructive actions, short feedback loops over speculative infrastructure). (#220)
  • .claude/protected-paths.txt — list of load-bearing skills, scripts, and config paths that critics must NOT propose deleting without an explicit override note in the finding's RECOMMENDATION column. Wired into .claude/agents/critic.md (general adversarial review) and .claude/skills/ship-spec/SKILL.md stage 3 (PRD critic gate). Replaces the per-invocation usage-logging proposal (closed as #217) after Critic B's proportionality argument: zero runtime overhead, works on day 1, ~20 LOC vs. an 8-story PRD with hooks. The v0.7 convergence (PR #212, US-012) deleted six load-bearing skills under "defensible 5-skill set" rationale; this list is the gate that would have caught it. (#218)
  • /ship-spec v1.1: stages 3 and 5 reordered — critics run BEFORE the GH issue is opened (was: issue first, then critics). Earlier ordering created dangling issues when critics halted; now no GitHub-side state changes until the spec passes the critic gate. Surfaced during the dogfood run on issue #217. (#218)
  • /ship-spec orchestrator skill at .claude/skills/ship-spec/SKILL.md. Composes /prd → 2 critics (parallel, asymmetric: implementer + user lens) → critique gate → /ralph → gh issue → branch + push → gh pr create --draft into one durable invocation. Critics write to tasks/<slug>/critique.md; pipeline HALTs on any high-severity finding without mitigation. v1 stops at draft PR; loop launch + CI verification stay manual until the critic phase has been proven valuable across 2-3 real runs. Idempotent at every stage. (#215)
  • v1 Ideal Customer Profile statement at .claude/ICP.md: primary persona (single working developer, one project, agent-tended), top three jobs-to-be-done, top three needs, and explicit anti-ICP (not multi-tenant SaaS, not non-developers, not production agent operators, not comparison-shopping tinkerers). (#210)
  • Seeded the two SPEC-reserved crons: crons/heartbeat.md (hourly pulse, 0 * * * *) and crons/cleanup-tasks.md (Sunday 23:00, 0 23 * * 0). Bodies follow SPEC v0.7 §"Croner runtime" + §"Weekly cleanup cron"; substrate stays empty otherwise so users add their own. (#210)
  • .devcontainer/entrypoint.sh now starts scripts/cron-runtime.ts in a system-cron tmux session on container boot, replacing the legacy heartbeat-daemon watchdog block. Idempotent (tmux has-session guard); restart policy is per-container-start per SPEC v0.7 §"Croner runtime". (#210)
  • scripts/cron-runtime.ts — minimal croner-backed runtime (≤120 LOC) that reads crons/*.md frontmatter, schedules per-cron tasks, runs the body as a prompt to claude -p (or $CRON_AGENT_BIN), logs to crons/.cron.log, and uses a PID-lock at crons/.pid to prevent double-firing. Replaces the 1,900-LOC heartbeat daemon per SPEC v0.7. (#210)
  • SPEC v0.7 amendments at .claude/specs/structure-spec-v0.7.md — additive-only revision resolving seven v0.6 conflicts (canonical image name, docs path, oh CLI deprecation, croner runtime contract, hook execution mechanism, memory directory format, tasks vs .ralph paths) and adding sections for harness packs, orchestrator-vs-workspace skill scope, and shrunk prose on Docusaurus config / eval flakiness / wiki-sync rubric / blog authorship / weekly cleanup. (#210)
  • README "Docker only (no installer)" section — concise compose-based deploy path for hosts that have only Docker + git.
  • Per-page OpenGraph + canonical link tags via theme.config.tsx head function (#140).
  • Blog post draft: Worktree-per-agent — stages for Wed publish (#145).
  • Blog section at /blog and About page nav entry (#143).
  • Blog post: BYOH — stop installing agent CLIs on your laptop (#144).
  • Root CHANGELOG.md and Keep-a-Changelog workflow documented in .claude/rules/git.md; /release now promotes [Unreleased] to the new version section at tag time.
  • Generate sitemap.xml and robots.txt during docs build via next-sitemap (#141).
  • Launch runbook consolidating manual cutover steps (DNS, GH settings, OG validation, GSC, promotion).
  • Docusaurus v3 docs site at apps/docs deployed to oh.mifune.dev (#164).

Changed

  • Consolidated cron runtime log onto crons/.cron.log; the daemon no longer writes crons/cron-runtime.log. Both files were already gitignored under crons/*.log. (#228)
  • Aligned the remaining flat-format memory references in tracked docs to the directory-per-day form per SPEC v0.7 §"Memory structure". Updated docs/guide/workspace.md (tree comment + daily-logs paragraph), docs/guide/identity.md (file table + memory protocol step + how-it-works paragraph), and docs/architecture/container-runtime.md (workspace tree comment) to use memory/YYYY-MM-DD/log.md. Flat memory/<date>.md files are deprecated. (#210)
  • BREAKING: CLAUDE.md rewritten for docker compose-only orchestrator instructions. The Lifecycle (Setup/Validate/Teardown), Permissions, "What You Do", "Exposing apps", and Project Structure sections no longer reference openharness sandbox/list/shell/clean/heartbeat or oh expose/oh harness add; commands now use docker compose -f .devcontainer/docker-compose.yml up -d --build, docker compose ps, docker exec -it -u sandbox openharness zsh, and docker compose ... down -v. Skills table trimmed to the 4-skill triaged set (/release, /ci-status, /cloudflared-tunnel, /agent-browser); provision/destroy/repair are documented in docs/operations/. The orphaned packages/sandbox/ entry in the project-structure block is removed and scripts/ + crons/ are added. .claude/skills/cloudflared-tunnel/SKILL.md no longer references oh expose (the gateway relationship is now described via .claude/rules/gateway-routing.md); .claude/skills/ci-status/SKILL.md updated to the actual workflow name CI: Harness. Per SPEC v0.7 §"oh CLI" + §"Orchestrator vs workspace agent skills". (#210)
  • BREAKING: docs/installation.md, docs/onboarding.md, docs/sandbox-lifecycle.md, and docs/connecting.md rewritten to remove oh CLI references. Installation is now docker compose -f .devcontainer/docker-compose.yml up -d --build; sandbox lifecycle uses docker compose up/stop/down -v; connecting uses docker exec -it -u sandbox <name> zsh. Onboarding is now a manual checklist run inside the sandbox (gh auth, claude, optional ssh / cloudflared / pack-supplied Slack). Deleted the entire docs/cli/ reference tree (overview, oh-sandbox, oh-shell, oh-clean, oh-onboard) and aligned stray oh expose / oh clean mentions in docs/integrations/{cloudflare,github,postgres}.md, docs/architecture/{overview,container-runtime}.md, and docs/guide/overlays.md. Per SPEC v0.7 §"oh CLI". (#210)
  • BREAKING: README.md, docs/intro.md, and docs/quickstart.md rewritten for single-project framing. The "run Claude, Codex, Gemini, and Pi side-by-side" tagline is gone; the harness is now framed as a Docker-based agent harness for one project, agent-tended over time. Quickstart leads with docker compose -f .devcontainer/docker-compose.yml up -d --build; all oh CLI references in these three files are gone (multi-agent setups now point at the @ryaneggz/mifune harness pack). Per SPEC v0.7 §"oh CLI". (#210)
  • BREAKING: install.sh rewritten as a docker-compose-only installer. Removed --cli, --with-cli, --install-node flags and the auto-detect / 3-way choose_path prompt; removed detect_node, install_nvm, the nvm SHA-256 pin, the pnpm setup + pnpm link --global ./packages/sandbox block, and the local-repo packages/sandbox/package.json detection at the repo-resolution step. The script now only checks Docker + git, clones / pulls into ~/openharness, prepares host auth dirs (~/.claude, ~/.codex, ~/.claude.json), writes .devcontainer/.env, runs docker compose -f .devcontainer/docker-compose.yml up -d --build, and prints next-steps using docker exec -it -u sandbox <name> zsh and docker compose ... down -v. Per SPEC v0.7 §"oh CLI". (#210)
  • install.sh curl-pipe target renamed ~/.openharness → ~/openharness so the cloned project no longer collides with the in-repo .openharness/ config dir (~/.openharness/.openharness/ was visually and semantically confusing). One-time migration: existing ~/.openharness clones are mv'd to ~/openharness automatically when the new path is absent. In-container paths (/home/sandbox/.openharness) are unchanged. (#200)
  • Reverted the sandbox/orchestrator vocabulary realignment (#170, #172). The in-container Linux user is sandbox again (UID/GID 1000 preserved); the ORCHESTRATOR_USER/ORCHESTRATOR_HOME constants are removed. The package name @openharness/sandbox, compose service, container default, SANDBOX_NAME env var, POSTGRES_USER, and sandbox_* Pi tool prefix were never changed. install/banner.sh carries an inverted migration guard for users coming back from a renamed image. (#198)
  • Consolidate documentation: /docs/ is now the single source of truth, served by Docusaurus from apps/docs/ via path: '../../docs'. Enabled blog at /blog/. Removed the duplicate apps/docs/docs/ tree. (#178)
  • Installer auto-detects Node 20+; new --cli / --docker-only / --install-node flags; --with-cli deprecated. (#176).
  • README and installation docs now use the short https://oh.mifune.dev/install.sh URL (302 redirect to the raw GitHub install script on main) instead of the long raw.githubusercontent.com URL.
  • /release now executes the [Unreleased] → [$VERSION] promotion (was prose-only) and release.yml sources the GitHub Release body from the promoted CHANGELOG section via body_path instead of generate_release_notes, so the GitHub Release notes match the changelog byte-for-byte.
  • Revert prior secondary product name; "Open Harness" is the sole brand across README, docs, and onboarding (#157).
  • Cloudflare onboarding step now requires an explicit public hostname (no default domain) (#157).
  • Slim README to ~110 lines, lead with oh CLI flow (#139).
  • Wiki promoted from workspace/wiki/ to docs/wiki/ — same structure (pages/, sources/, index.md, log.md), now top-level alongside human-curated docs.
  • 26 docs pages converted from Nextra MDX to plain markdown rendered by GitHub.

Fixed

  • make sandbox and scripts/install.sh now expand .openharness/config.json composeOverrides into -f flags so the default claude/codex/pi host-auth bind-mounts actually apply on a fresh install. Previously both paths ran the base compose file only, silently falling through to named-volume auth despite the documented intent. Also pre-creates ~/.pi alongside ~/.claude and ~/.codex in the install-time host-auth-dir loop, and removes residual references to the deleted /provision skill across docs and agent files.
  • Pi icon on the home-page agent grid no longer renders dim. Restored the inline PiIcon React component pattern from #168 (commit fbda6a5) so currentColor inverts cleanly between eggshell light and pure-black dark themes — the previous <img src="/img/agents/pi.svg"> wiring sandboxed the SVG document and lost the currentColor inheritance. apps/docs/static/img/agents/pi.svg reverted to fill="currentColor" so the file stays theme-adaptive if loaded directly elsewhere. (#233)
  • .claude/hooks/deny-env-dump.sh no longer false-denies on gh ... --body "$(cat <<'EOF' ... EOF)" invocations whose prose contains words like history or phrases like cat .env. Heredoc bodies are now stripped via perl -0777 before pattern matching (handles <<DELIM, <<'DELIM', <<"DELIM", <<-DELIM). The Tier-2 ASK rule for echo|printf of any uppercase $VAR was also removed — too broad on benign echo "Branch: $BRANCH" patterns; the deny tier above already catches secret-named variables (TOKEN, SECRET, AUTH, KEY, GH_TOKEN, AWS_*, …). .claude/skills/ship-spec/SKILL.md updated to note heredoc bodies are now safe (was: "prefer --body-file over heredoc"). (commit 3ec98fe)
  • Correct the container runtime documentation to show Dockerfile ENTRYPOINT ["entrypoint.sh"] invoking .devcontainer/entrypoint.sh directly, with install/banner.sh only sourced for interactive shell status. (#213)
  • Restored six orchestrator skills removed in error during the v0.7 convergence (US-012, commit fb71365): /ralph (PRD → prd.json converter), /prd (PRD generator), /harness-audit (parallel-sub-agent codebase audit), /skill-lint (skill staleness scorer), /delegate (parallel execution coordinator), and /strategic-proposal (council-based roadmap planning). The triage rationale ("workspace-agent skills, not orchestrator") was wrong: the orchestrator actively uses the prd.json schema for its own task management (e.g. tasks/openharness-v07-convergence/prd.json), so removing the tools that produce that schema was a regression. scripts/ralph.sh (the runner) was kept all along — only the wrapper skills were lost. Restored from fb71365^ unchanged; CLAUDE.md skills table updated.
  • install.sh now auto-disables the *-host.yml overlays in .openharness/config.json when host UID ≠ 1000 (was: a multi-line warning telling the user to do it by hand). Mode-0600 credential files in ~/.claude / ~/.codex / ~/.pi can't be read across UIDs, and mode-0700 dirs (e.g. ~/.pi/agent/sessions/) reject writes from non-owner UIDs — the sandbox user (UID 1000) would EACCES on oh / claude / codex / pi. The new logic uses jq to filter claude-host.yml, codex-host.yml, pi-host.yml out of composeOverrides so the base named volumes take over. The original warning is retained as a jq-missing fallback. (#202)
  • Host auth (~/.claude, ~/.codex, ~/.pi) is shared into the sandbox again. install.sh now pre-creates the three auth dirs and ~/.claude.json (empty if missing) before sandbox bring-up so docker can't auto-create them root-owned, and claude-host.yml / codex-host.yml / pi-host.yml are restored to default composeOverrides. UID-mismatch hosts (UID ≠ 1000) get a loud install-time warning telling them to drop the overlays from .openharness/config.json (mode-0600 credential files can't be read across UIDs). Together this restores the convenience that was lost in #194 / #195 without re-introducing the EACCES failure mode that motivated those PRs. (#196)
  • oh / claude / codex no longer fail with EACCES (or silent re-auth) on fresh install.sh installs. Removed docker-compose.claude-host.yml, docker-compose.codex-host.yml, and docker-compose.pi-host.yml from the default composeOverrides in .openharness/config.json. Each overlay's own header documents that it requires host UID 1000 + the source dir to pre-exist; shipping them as defaults broke any host where either condition wasn't met (docker auto-creates missing source dirs as root → sandbox user (UID 1000) can't write). The base compose's claude-auth / codex-auth / pi-auth named volumes now take effect by default; entrypoint.sh chowns them to UID 1000 on first boot. Single-laptop developers wanting cross-sandbox auth sharing can opt back in by appending the relevant overlay(s) to .openharness/config.json. (#194)
  • oh sandbox no longer fails on fresh install.sh installs with a Caddyfile bind-mount error. Removed docker-compose.gateway.yml and docker-compose.cloudflared.yml from the default composeOverrides in .openharness/config.json; both are additive overlays now loaded only when needed (oh expose re-adds the gateway via SandboxConfig.addOverride()). (#192)
  • install.sh next-steps now leads with a numbered "source your shell rc" step that detects $SHELL (bash → ~/.bashrc, zsh → ~/.zshrc, fish → ~/.config/fish/config.fish) so users don't have to exit + reopen their shell to pick up oh / node / pnpm. Curl-piped install runs in a child bash whose exports cannot reach the parent shell — the source step is now Step 1 of next-steps (was a buried "Reminder").
  • install.sh bootstraps PNPM_HOME before pnpm link --global so the CLI install no longer dies with ERR_PNPM_NO_GLOBAL_BIN_DIR on fresh nvm-installed Node. Runs pnpm setup (writes PNPM_HOME export to ~/.bashrc + ~/.zshrc) and also exports PNPM_HOME/PATH inline so the link step succeeds in the current shell regardless of rc state.
  • install.sh no longer silently exits when sourcing a pre-existing ~/.nvm/nvm.sh under set -euo pipefail. nvm + corepack calls are bracketed with relaxed strict mode and explicit $? checks, an ERR trap surfaces unexpected failures with the failing command and line, and pnpm is pinned to 10.33.0 (matches package.json#packageManager) instead of resolving pnpm@latest over the network on every install.
  • Slack bot no longer drops oversized agent replies with cascading msg_too_long errors. Main message is capped at 2,900 chars with a _message truncated — full response in thread_ footer; full content spills to thread replies; setWorking(false) always clears the working indicator. (#135)

Removed

  • Removed legacy /docs/{plans,wiki,launch-runbook,blog}/ and apps/docs/docs/ tree (consolidated into /docs/). (#178)
  • Nextra docs site and the .github/workflows/docs.yml deployment — documentation is now plain markdown in docs/, read in the GitHub UI.
  • Reference Next.js application at workspace/projects/next-app/, along with its CI jobs (workspace/projects/next-app paths in ci.yml / release.yml) and the release pre-flight gate referencing it.
  • Root package.json scripts: dev, docs:dev, docs:build, docs:preview.

Deprecated

Security


Release history prior to this file: see git tags and GitHub Releases. Most recent pre-changelog tag: 2026.4.22.