Add specstory kit - #158
Open
jakelevirne wants to merge 1 commit into
Open
Conversation
dvdksn
reviewed
Jul 21, 2026
dvdksn
left a comment
Contributor
There was a problem hiding this comment.
Hey @jakelevirne 👋 nice to see you here!
This looks like a great kit for sbx. Looks like the commit is missing DCO sign-off: git commit --amend --no-edit -s. Otherwise LGTM!
Installs the SpecStory CLI (v2.3.0, pinned + SHA256-verified from github.com/specstoryai/getspecstory releases) and runs a background specstory watch daemon from $WORKSPACE_DIR so conversations are auto-saved to .specstory/history/ on the host workspace as they happen. Agent-agnostic mixin; pair with claude, codex, cursor, or gemini. Signed-off-by: Jake Levirne <51732+jakelevirne@users.noreply.github.com>
jakelevirne
force-pushed
the
add-specstory-kit
branch
from
July 21, 2026 13:49
b81635a to
7e2ecbe
Compare
Author
|
thanks, @dvdksn ... good to be here! I've added DCO sign-off |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this adds
A new
specstorymixin that installs the SpecStory CLI — a wrapper for terminal coding agents (Claude Code, Cursor CLI, Codex CLI, Gemini CLI) that saves conversations as local markdown. Agent-agnostic; pair with any supported agent.I maintain SpecStory, so this kit wraps our own CLI — happy to field any questions about the install flow or the watch daemon behavior.
How it works
Install: Downloads a pinned SpecStory release tarball from the public release repo (
github.com/specstoryai/getspecstory), verifies its SHA256 against a digest captured inspec.yaml, and extracts the singlespecstorybinary into/usr/local/bin/. Pinned to v2.3.0; per-arch digests sourced from the release'sSpecStoryCLI_2.3.0_checksums.txt. Bumping is a one-line version edit + a digest update.Auto-save at runtime: The kit starts
specstory watch --no-version-check --no-usage-analyticsas a background startup command, so conversations are auto-saved to.specstory/history/on the host workspace as they happen — no manualspecstory syncstep after the agent exits.Two sbx behaviors make this work without user action:
sbx runlaunches the agent with cwd set to the host workspace mount path (e.g./Users/you/my-project), not the container's default/home/agent/workspace./home/agent/workspace, but sbx setsWORKSPACE_DIRto the host mount path. The kit's startup commandcds to$WORKSPACE_DIRbefore exec'ingspecstory watch, so the daemon's cwd matches the agent's cwd and its./.specstory/history/output lands on the host via the virtiofs mount.--no-version-checkand--no-usage-analyticskeep the daemon local-only — no outbound network calls at runtime, so no extraallowedDomainsentries are needed beyond the two install-time domains (github.com,release-assets.githubusercontent.com).Validation
All four local checks from
CONTRIBUTING.mdpass:sbx kit validate ./specstory/— VALIDscripts/test-kit.sh specstory— TCK PASS (including realinstall_executionagainst ashell-dockercontainer; SHA256 verified against the published artifact)scripts/test-kit-e2e.sh specstory— e2e PASS under deny-all (network contract complete)claude -p "say exactly: ok", confirmed.specstory/history/*.mdappeared on the host automatically via the watch daemon (no manualspecstory sync). Verified the daemon is persistent across multiple consecutive sessions.Scope
Thin install-and-watch layer. Does not configure SpecStory Cloud auth, pick a custom output directory, or launch the agent through
specstory runfor you — those decisions belong in the user's project or shell setup. Authored in v1 schema for compatibility with the current releasedsbx; can migrate to v2 withscripts/migrate-v1-to-v2.goonce a v2-capablesbxstable ships.