Files
ryaneggzandClaude Opus 4.7 d14bc330eb task: cloudflared/SSH/host-overlay doc cleanup (keep postgres)
Apply PR #284's doc updates selectively — cloudflared, SSH overlays,
host-bind overlays, SANDBOX_PASSWORD, and openssh-server references
removed everywhere. Postgres mentions preserved; postgres compose
overlay restored.

Doc edits:
- AGENTS.md / CLAUDE.md (symlink): drop /cloudflared-tunnel skill row,
  rewrite "Exposing apps" to mention generic tunnels/proxies.
- README.md, docs/installation.md: drop SANDBOX_PASSWORD, cloudflared,
  openssh-server, host-overlay references.
- docs/quickstart.md: keep postgres link, drop cloudflare link, mention
  postgres overlay is opt-in.
- docs/integrations/github.md: drop SSH-overlay section.
- docs/integrations/cloudflare.md: deleted.
- docs/agents/{deepagents,opencode}.md: drop host-overlay sections.
- context/rules/git.md: drop "Advanced opt-ins" SSH section.
- Makefile: drop _check-jq / _check-config gates; jq invocation is now
  defensive (only runs when jq + config.json both present).
- apps/docs/src/pages/index.tsx: keep postgres in "composable substrate"
  copy, drop cloudflare tunnels / Caddy gateway mentions.
- .claude/skills/{agent-browser,harness-audit,strategic-proposal}/SKILL.md
  and .claude/agents/command-builder.md: drop cloudflared references
  (strategic-proposal infra row keeps PostgreSQL 16).
- CHANGELOG.md [Unreleased] § Removed: new entry for #283 listing the
  10 deleted overlays + companion infrastructure; note postgres was
  kept.

Infra:
- Restored .devcontainer/docker-compose.postgres.yml.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-14 02:36:15 +00:00

47 lines
1.7 KiB
Makefile

# Open Harness — Makefile
# Override sandbox name: make shell SANDBOX_NAME=mycontainer
-include .devcontainer/.env
SANDBOX_NAME ?= openharness
COMPOSE_BASE := -f .devcontainer/docker-compose.yml
# Base ships with no required overlays. Downstream packs (Pi extensions,
# BYO harness packs) register their own by appending paths to
# composeOverrides[] in config.json; jq is only invoked when both jq and
# config.json are present.
COMPOSE_OVERRIDES := $(shell command -v jq >/dev/null 2>&1 && [ -f config.json ] && \
jq -r '.composeOverrides[]?' config.json 2>/dev/null | sed 's|^|-f |' | tr '\n' ' ')
COMPOSE := docker compose $(COMPOSE_BASE) $(COMPOSE_OVERRIDES)
.DEFAULT_GOAL := help
.PHONY: sandbox shell destroy stop logs ps restart help
sandbox: ## Provision and start the sandbox
$(COMPOSE) up -d --build
shell: ## Connect to the sandbox (agent choice happens inside)
docker exec -it -u sandbox $(SANDBOX_NAME) zsh
destroy: ## Stop and remove the sandbox (volumes wiped)
$(COMPOSE) down -v
stop: ## Stop the sandbox, preserving volumes for later restart
$(COMPOSE) stop
logs: ## Tail compose logs
$(COMPOSE) logs -f
ps: ## Show service status
$(COMPOSE) ps
restart: ## Restart the service
$(COMPOSE) restart
help: ## List available targets with descriptions
@printf "Open Harness — Make targets:\n"
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?##/ {printf " \033[36m%-10s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)
@printf "\nConfiguration wizards (run \033[36minside\033[0m the sandbox after \033[36mmake shell\033[0m):\n"
@printf " \033[36moh config slack\033[0m Slack integration setup wizard\n"
@printf " \033[36moh --help\033[0m List all \033[36moh\033[0m subcommands\n"