Package jeans as a plugin repo with DotSlash releases
Adds the plugin and marketplace manifests, CI and release workflows modeled
on frork, the DotSlash config, a placeholder bin/jeans, and the quire mirror.

Task: Package as a plugin repo with DotSlash releases

  Done looks like: .claude-plugin/marketplace.json and plugin.json make this repo installable as jeans@jeans; bin/jeans is a DotSlash file for GitHub releases at kejadlen/jeans; .github/workflows/ci.yml, release.yml, and .github/dotslash-config.json follow ~/src/quire.kejadlen.dev/frork's (CalVer, macOS aarch64 plus Linux aarch64 and x86_64); .quire/config.fnl mirrors to https://github.com/kejadlen/jeans.git. Actionlint (or equivalent) passes on the workflows.

Assisted-by: Claude Code:claude-sonnet-5-5
change mopmkrsupvvmpqxpmqryxrnuvsrkpzxl
commit c2d618cdfea6b239dcae0a11d1c79834dd3c6d2b
author Alpha Chen <alpha@kejadlen.dev>
date
parent zqnulyqu
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json
new file mode 100644
index 0000000..069a66d
--- /dev/null
+++ b/.claude-plugin/marketplace.json
@@ -0,0 +1,13 @@
+{
+  "name": "jeans",
+  "owner": {
+    "name": "Alpha Chen"
+  },
+  "plugins": [
+    {
+      "name": "jeans",
+      "source": "./",
+      "description": "Use the jj commit graph as a task tracker — a stakeholder session runs a team of developer subagents up a tree of task commits"
+    }
+  ]
+}
diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json
new file mode 100644
index 0000000..63d56d4
--- /dev/null
+++ b/.claude-plugin/plugin.json
@@ -0,0 +1,8 @@
+{
+  "name": "jeans",
+  "version": "2026.12.03+1810",
+  "description": "Use the jj commit graph as a task tracker: tasks are commits, subtasks are their parents, and claiming one makes a workspace. A stakeholder session runs a team of developer subagents up the tree to a goal commit.",
+  "author": {
+    "name": "Alpha Chen"
+  }
+}
diff --git a/.github/dotslash-config.json b/.github/dotslash-config.json
new file mode 100644
index 0000000..4bc1358
--- /dev/null
+++ b/.github/dotslash-config.json
@@ -0,0 +1,20 @@
+{
+  "outputs": {
+    "jeans": {
+      "platforms": {
+        "macos-aarch64": {
+          "regex": "^jeans-aarch64-apple-darwin\\.tar\\.gz$",
+          "path": "jeans"
+        },
+        "linux-aarch64": {
+          "regex": "^jeans-aarch64-unknown-linux-gnu\\.tar\\.gz$",
+          "path": "jeans"
+        },
+        "linux-x86_64": {
+          "regex": "^jeans-x86_64-unknown-linux-gnu\\.tar\\.gz$",
+          "path": "jeans"
+        }
+      }
+    }
+  }
+}
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..c150e61
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,21 @@
+name: CI
+
+on:
+  push:
+    branches: [main]
+  pull_request:
+
+permissions: {}
+
+jobs:
+  ci:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+        with:
+          persist-credentials: false
+      - run: rustup component add clippy rustfmt llvm-tools
+      - run: cargo install grcov just
+      - run: cargo fmt --all --check
+      - run: just clippy coverage
+      # Mutation testing runs locally via `just mutants` — too slow for CI.
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100644
index 0000000..182e4fa
--- /dev/null
+++ b/.github/workflows/release.yml
@@ -0,0 +1,103 @@
+name: Release
+
+on:
+  workflow_dispatch:
+  workflow_run:
+    workflows: [CI]
+    types: [completed]
+    branches: [main]
+
+permissions: {}
+
+env:
+  # workflow_run checks out the default branch head by default, which may have
+  # moved past the commit CI actually validated.
+  RELEASE_SHA: ${{ github.event.workflow_run.head_sha || github.sha }}
+
+jobs:
+  version:
+    if: >-
+      github.event_name == 'workflow_dispatch'
+      || github.event.workflow_run.conclusion == 'success'
+    runs-on: ubuntu-latest
+    outputs:
+      version: ${{ steps.version.outputs.version }}
+    steps:
+      - name: Calculate version
+        id: version
+        run: |
+          CALVER=$(date -u +"%Y-%m-%d")
+          echo "version=${CALVER}+${RELEASE_SHA::7}" >> "$GITHUB_OUTPUT"
+
+  build:
+    needs: version
+    strategy:
+      matrix:
+        include:
+          - { os: macos-latest, target: aarch64-apple-darwin }
+          - { os: ubuntu-latest, target: x86_64-unknown-linux-gnu }
+          - { os: ubuntu-24.04-arm, target: aarch64-unknown-linux-gnu }
+    runs-on: ${{ matrix.os }}
+    steps:
+      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+        with:
+          ref: ${{ env.RELEASE_SHA }}
+          persist-credentials: false
+
+      - name: Build
+        run: |
+          rustup target add "${TARGET}"
+          JEANS_VERSION="${VERSION}" cargo build --release -p jeans --target "${TARGET}"
+          tar -czf "jeans-${TARGET}.tar.gz" -C "target/${TARGET}/release" jeans
+        env:
+          TARGET: ${{ matrix.target }}
+          VERSION: ${{ needs.version.outputs.version }}
+
+      - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
+        with:
+          name: jeans-${{ matrix.target }}
+          path: jeans-${{ matrix.target }}.tar.gz
+
+  publish:
+    needs: [version, build]
+    runs-on: ubuntu-latest
+    permissions:
+      contents: write # create GitHub release
+    outputs:
+      version: ${{ needs.version.outputs.version }}
+    steps:
+      - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
+        with:
+          pattern: jeans-*
+          merge-multiple: true
+
+      - name: Publish
+        run: |
+          gh release create "v${VERSION}" \
+            --repo "${GITHUB_REPOSITORY}" \
+            --title "v${VERSION}" \
+            --generate-notes \
+            --target "${RELEASE_SHA}" \
+            jeans-*.tar.gz
+        env:
+          GH_TOKEN: ${{ github.token }}
+          VERSION: ${{ needs.version.outputs.version }}
+
+  dotslash:
+    needs: publish
+    runs-on: ubuntu-latest
+    permissions:
+      contents: write # upload release assets
+    steps:
+      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+        with:
+          ref: ${{ env.RELEASE_SHA }}
+          persist-credentials: false
+
+      - name: Generate DotSlash file
+        uses: facebook/dotslash-publish-release@9c9ec027515c34db9282a09a25a9cab5880b2c52 # v2
+        with:
+          config: .github/dotslash-config.json
+          tag: v${{ needs.publish.outputs.version }}
+        env:
+          GITHUB_TOKEN: ${{ github.token }}
diff --git a/.quire/config.fnl b/.quire/config.fnl
new file mode 100644
index 0000000..bb50556
--- /dev/null
+++ b/.quire/config.fnl
@@ -0,0 +1 @@
+{:mirrors {"https://github.com/kejadlen/jeans.git" :github-mirror}}
diff --git a/bin/jeans b/bin/jeans
new file mode 100755
index 0000000..e036ec7
--- /dev/null
+++ b/bin/jeans
@@ -0,0 +1,57 @@
+#!/usr/bin/env dotslash
+
+# PLACEHOLDER: no release exists yet. Replace tag, size, and digest from the
+# first release (see the dotslash skill) before relying on this file.
+
+{
+  "name": "jeans",
+  "platforms": {
+    "macos-aarch64": {
+      "size": 1,
+      "hash": "sha256",
+      "digest": "0000000000000000000000000000000000000000000000000000000000000000",
+      "format": "tar.gz",
+      "path": "jeans",
+      "providers": [
+        {
+          "type": "github-release",
+          "repo": "https://github.com/kejadlen/jeans",
+          "tag": "v0.0.0-placeholder",
+          "name": "jeans-aarch64-apple-darwin.tar.gz"
+        }
+      ]
+    }
+,
+    "linux-aarch64": {
+      "size": 1,
+      "hash": "sha256",
+      "digest": "0000000000000000000000000000000000000000000000000000000000000000",
+      "format": "tar.gz",
+      "path": "jeans",
+      "providers": [
+        {
+          "type": "github-release",
+          "repo": "https://github.com/kejadlen/jeans",
+          "tag": "v0.0.0-placeholder",
+          "name": "jeans-aarch64-unknown-linux-gnu.tar.gz"
+        }
+      ]
+    }
+,
+    "linux-x86_64": {
+      "size": 1,
+      "hash": "sha256",
+      "digest": "0000000000000000000000000000000000000000000000000000000000000000",
+      "format": "tar.gz",
+      "path": "jeans",
+      "providers": [
+        {
+          "type": "github-release",
+          "repo": "https://github.com/kejadlen/jeans",
+          "tag": "v0.0.0-placeholder",
+          "name": "jeans-x86_64-unknown-linux-gnu.tar.gz"
+        }
+      ]
+    }
+  }
+}