From 3f5fc4d7148e1ff8fbcc0f2505ff49aa19cf0ace Mon Sep 17 00:00:00 2001 From: Yappie LLM Date: Tue, 27 Oct 2026 19:11:51 -0400 Subject: [PATCH] Add MIT license and drop links to local paths and a private repo Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01AnysKdBXQqHjCMg7474BuE --- LICENSE | 21 +++++++++++++++++++++ docs/deck-daemon.md | 8 ++++---- packages/deckd/README.md | 3 +-- packages/deckd/src/history/jj_lib.rs | 5 ++--- packages/deckd/src/history/jj_lib_notes.rs | 4 ++-- 5 files changed, 30 insertions(+), 11 deletions(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..b54d67f --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 Cardstack Foundation + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/docs/deck-daemon.md b/docs/deck-daemon.md index 67c6011..e10726c 100644 --- a/docs/deck-daemon.md +++ b/docs/deck-daemon.md @@ -13,9 +13,9 @@ Companions: [`deck-at-rest.md`](deck-at-rest.md) (layout), [`deck-embroider-lessons.md`](deck-embroider-lessons.md) (pain at seal time), [`deck-boxel-backport-for-team.md`](./plans/deck-boxel-backport-for-team.md) (campaign). -jj-lib source used for spikes / dependency work: -`/Users/chris/Projects/jj` (upstream [`jj-vcs/jj`](https://github.com/jj-vcs/jj) -`lib/`). That tree is **not** where AMD or esbuild live. +jj-lib source used for spikes / dependency work: a local checkout of +[`jj-vcs/jj`](https://github.com/jj-vcs/jj) (`lib/`). That tree is **not** where AMD or +esbuild live. **Implementation:** [`packages/deckd/`](../packages/deckd/) — historyd-compatible HTTP, History under `.deck/history`, jj-lib in-process with a watchexec-shaped @@ -52,7 +52,7 @@ machinery directory, build pain at settle/seal time — not on GET. - Deck owns the binary and its RPC. jj upstream stays a **library dependency** (jj-lib), not a long-lived full-repo fork, unless a lib patch is unavoidable. - Prefer: crate depends on jj-lib from crates.io or a pinned path to - `/Users/chris/Projects/jj/lib`. Deck ships `deckd`; it does not become + a local jj checkout's `lib/`. Deck ships `deckd`; it does not become “Cardstack’s jj distribution.” ### R2 — Roles of deckd diff --git a/packages/deckd/README.md b/packages/deckd/README.md index adf8e61..cc22e14 100644 --- a/packages/deckd/README.md +++ b/packages/deckd/README.md @@ -7,8 +7,7 @@ jj-lib seal). Design: [`docs/deck-daemon.md`](../../docs/deck-daemon.md). Lives in the Deck monorepo at `packages/deckd/`. History + watch is the default binary; optional planes are feature-gated off. -jj-lib path copied closely from boxel-labs -[`jj-historyd`](file:///Users/chris/Projects/boxel-labs/examples/jj-lib-node/rust) +jj-lib path copied closely from an internal `jj-historyd` prototype (`HistoryService` + axum + `spawn_blocking`/`pollster`). Dependency: crates.io `jj-lib = "0.46.0"`, which needs rustc 1.97.1; diff --git a/packages/deckd/src/history/jj_lib.rs b/packages/deckd/src/history/jj_lib.rs index 9da75a3..fee4958 100644 --- a/packages/deckd/src/history/jj_lib.rs +++ b/packages/deckd/src/history/jj_lib.rs @@ -1,6 +1,5 @@ -//! jj-lib History — copied closely from -//! `/Users/chris/Projects/boxel-labs/examples/jj-lib-node/rust/src/lib.rs` -//! (`jj-historyd`), with these Deck-only deltas called out inline: +//! jj-lib History — copied closely from an internal `jj-historyd` prototype, +//! with these Deck-only deltas called out inline: //! //! 1. `Workspace::init_internal_git` (not colocated) — no depot `.git` / gitlink. //! 2. After init, durable store lives at `.deck/history/repo` with a thin diff --git a/packages/deckd/src/history/jj_lib_notes.rs b/packages/deckd/src/history/jj_lib_notes.rs index 3f86842..bfa087c 100644 --- a/packages/deckd/src/history/jj_lib_notes.rs +++ b/packages/deckd/src/history/jj_lib_notes.rs @@ -1,6 +1,6 @@ //! Notes for an in-process jj-lib backend (not compiled in this POC). //! -//! Local jj checkout for spikes: `/Users/chris/Projects/jj` (`jj-lib` in `lib/`). +//! jj source for spikes: [`jj-vcs/jj`](https://github.com/jj-vcs/jj) (`jj-lib` in `lib/`). //! //! ## Why CLI first //! @@ -46,4 +46,4 @@ #![allow(dead_code)] /// Marker so the module is not empty. -pub const JJ_LIB_SPIKE_ROOT_HINT: &str = "/Users/chris/Projects/jj"; +pub const JJ_LIB_SPIKE_ROOT_HINT: &str = "https://github.com/jj-vcs/jj";