Skip to content

Brew cask depends on agentsview and safehouse#347

Merged
clkao merged 2 commits into
mainfrom
spacedock-ensign/brew-cask-agentsview-safehouse-deps
Jun 13, 2026
Merged

Brew cask depends on agentsview and safehouse#347
clkao merged 2 commits into
mainfrom
spacedock-ensign/brew-cask-agentsview-safehouse-deps

Conversation

@clkao

@clkao clkao commented Jun 13, 2026

Copy link
Copy Markdown
Collaborator

The Spacedock Homebrew cask now installs its agentsview companion automatically instead of leaving users to find it in caveats.

What changed

  • Add depends_on cask: agentsview to both the spacedock and spacedock@next casks in .goreleaser.yaml.
  • Drop agentsview from each cask's "not installed by brew" caveats list.
  • Keep safehouse as a caveat — it is not yet a Homebrew package.
  • Add an internal/release render test asserting the generated casks carry the dependency.

Evidence

  • internal/release 77/77 passed; render test reds on the pre-edit config, greens after.
  • goreleaser snapshot render confirms depends_on cask: ["agentsview"] in both casks.

8p

Both generated Homebrew casks (spacedock stable + spacedock@next edge) now
declare `dependencies: - cask: agentsview` in .goreleaser.yaml's homebrew_casks
block, which goreleaser renders to `depends_on cask: ["agentsview"]` so brew
installs agentsview (it powers /spacedock:survey) alongside the launcher.
agentsview is dropped from each caveats "not installed by brew" list; safehouse
stays a caveat because it is not a brew package and has no depends_on target to
resolve.

internal/release/cask_dependencies_test.go proves each rendered cask carries the
agentsview dependency and a caveats block that names safehouse but not
agentsview. Primary proof renders the real Ruby via `goreleaser release
--snapshot --skip=publish --clean`; a config-parse fallback asserts the same
properties when goreleaser cannot run in the environment.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…stall-hint URL

safehouse IS brew-installable, but only from a third-party tap
(eugene1g/safehouse/agent-safehouse). A cask depends_on formula on that
tap-qualified name renders, but Homebrew 6.0 tap-trust refuses to auto-load an
untrusted third-party tap reached transitively, so a fresh install would fail
rather than pull safehouse silently. Keep safehouse a caveat, but correct it
from the false 'not installed by brew' to its real brew install command, in both
the stable and edge casks. Correct the matching code install-hint, which cited
the outdated github.com/anthropics/safehouse URL.

agentsview stays the only real depends_on cask. The render test now also guards
that no cask ships a depends_on formula and that the caveat carries the install
command; a safehouse-hint unit test pins the corrected hint string.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropics.com>
@clkao clkao merged commit 1579f8a into main Jun 13, 2026
6 of 9 checks passed
clkao added a commit that referenced this pull request Jun 13, 2026
clkao added a commit that referenced this pull request Jun 13, 2026
@clkao clkao deleted the spacedock-ensign/brew-cask-agentsview-safehouse-deps branch June 13, 2026 15:06
clkao added a commit that referenced this pull request Jun 13, 2026
…w] (#355)

* docs: slim README to front door + drop banned prose-grep test [yw]

Wave 1 structural cleanup for the site-is-canonical doc architecture:

- Remove internal/release/install_doc_test.go — a banned prose-grep that
  os.ReadFile'd docs/site/get-started/install.md and asserted author
  substrings. readInstallJourney was file-local; executableShellCommands
  stays (defined in workflow_exec_guard_test.go, 9 other call sites).
- Slim README.md to the front-door skeleton: keep title + Why hook,
  What's different, Install, License, Contributing. Drop Quick start,
  How it works, Usage (now on the canonical site).
- Install now links the published site https://spacedock.md/docs/
  (site_url in mkdocs.yml), keeping the in-repo install.md as secondary.

go test ./... green; install-journey grep-clean over live docs/code.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* docs: land the five 0.20.1 behaviors on canonical site pages [yw]

Wave 2 behavior-doc pass — yw is the sole doc-owner; the five members
shipped zero .md. Each behavior documented on its reverified anchor:

- gj (#350): new `## --version` section in command-reference.md showing
  the version+contract line, the Sandbox: posture, and the per-runtime
  install/enablement block (wording exercised from `spacedock --version`).
- te (#351): command-reference `## Setup` names the contract-compatible-
  but-behind opt-in upgrade hint (doctor + front-door print it; never blocks).
- zrc (#349): command-reference `## Launch` names the unsandboxed posture —
  claude `--permission-mode auto`, codex `--ask-for-approval on-request`,
  vs the sandboxed skip/bypass. Scoped to claude/codex; pi injects none.
- gp (#352): releasing.md made decouple-accurate — marketplace manifest
  moved to the standalone spacedock-dev/marketplace repo, no plugin-branch
  manifest, marketplace.json dropped from the release steps; build-from-
  source.md adds a spacedock-edge edge-channel user pointer.
- 8p (#347): install.md Homebrew tab notes brew also installs agentsview;
  safehouse is installed separately.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* docs: rewrite --version section to match version-forward output (#354) [yw]

#354 (da) replaced the enablement-jargon per-runtime block with a
version-forward one. Rewrite the `## --version` section to match:

- `<host>: spacedock <version>` when a plugin is installed
- ` (disabled)` appended only when the host reports it disabled
- `pi: spacedock ready` (pi launches from skills, no versioned plugin)
- `<host>: spacedock not installed` when host present but no plugin
- `<host>: not installed` when the host binary is absent

Drops the obsolete "installed, spacedock enabled" / "enablement unknown"
phrasing. Wording read from runtimeLine in internal/cli/host_runtime.go;
example output built and exercised via `go build && ./spacedock --version`.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant