You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c16ea7b
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(golang)!: rename stackencrypt to encrypt and stackauth to auth
The two packages are `encrypt` and `auth`, at languages/golang/encrypt and
languages/golang/auth, as the plan builder design names them: a package
name does not repeat the product, and `encrypt.Cipher` reads as what it
is where `stackencrypt.Cipher` repeated itself (SDK principle 13).
A move with nothing else in it, so a review can read it as one: `git mv`
of both directories, the guest crates with them, the package clauses, the
import paths, the selectors, the error prefixes and the prose; every path
in mise.toml, the root Cargo.toml exclude list, .gitignore, dependabot,
tests-golang.yml, go-binding-test.sh, the scripts/__tests__ guards,
AGENTS.md, SECURITY.md, stack-guest-abi's module doc, stack-encrypt's
CONTEXT.md and the label-segments fixture comment. The task alias
`go:stackencrypt:test` goes with the name it kept. The CI variable
STACKENCRYPT_TESTS_REQUIRE_LOCK becomes STACK_ENCRYPT_TESTS_REQUIRE_LOCK.
Two renames the compiler forced: the plan package's `encrypt` verdict
constant collided with the package it now imports, so it is `sealed`;
two test locals named `auth` shadowed the auth package and are `cts`.
docs/plans and the ADRs keep the old names as history.
Claude-Session: https://claude.ai/code/session_01V3WFXwax4J3uecpFEJ6yHc
Copy file name to clipboardExpand all lines: AGENTS.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,7 +92,7 @@ Every npm package except EQL lives under `languages/typescript/`: packages in `l
92
92
links are provenance only.
93
93
-`packages/stack-auth`, `packages/stack-profile`, `packages/stack-kms`, `packages/stack-encrypt`, `packages/stack-encrypt-derive`, `packages/stack-guest-abi`: The Rust crates imported from `cipherstash/cipherstash-suite` with their history — `stack-auth` and `stack-profile` (published to crates.io, one version group), `stack-kms` (published to crates.io from 0.1.0, its own version group, re-exported by `stack-encrypt` as `stack_encrypt::kms`), `stack-encrypt` and `stack-encrypt-derive` (published to crates.io from 0.1.0, one version group; `eql-bindings`' `stack-encrypt` feature depends on them from the registry), and `stack-guest-abi` (`publish = false`). They are the members of the **root Cargo workspace**, with the three node binding crates below. See "Working on the Rust crates".
94
94
-`languages/typescript/packages/auth`, `languages/typescript/packages/profile`, `languages/typescript/packages/stack-auth-wasm`: The node bindings of those crates. `@cipherstash/auth` (napi-rs v2) and its six `platforms/*` packages are published to npm from this repository by `release.yml` (`auth-artifacts`, `publish-auth`); a change to what it ships, the `stack-auth` crate included, needs an `@cipherstash/auth` changeset (`require-auth-npm-changeset.yml`). `@cipherstash/profile` and its platforms are private and never published; `@cipherstash/stack-auth-wasm` is private and builds the wasm that `@cipherstash/auth` ships. Their `build` and `test` scripts never invoke cargo; `build:native`, `build:debug` and `test:cargo` do.
95
-
-`languages/golang`: The Go module (`stackencrypt`, `stackauth`, `internal`), a wazero host with no cgo. Its two WASI guests (`*/guest`) are detached Cargo workspaces built by `mise run wasm:guest:build` and `mise run wasm:auth-guest:build`; the `.wasm` files they embed are gitignored. There is no Go release process yet.
95
+
-`languages/golang`: The Go module (`encrypt`, `auth`, `internal`), a wazero host with no cgo. Its two WASI guests (`*/guest`) are detached Cargo workspaces built by `mise run wasm:guest:build` and `mise run wasm:auth-guest:build`; the `.wasm` files they embed are gitignored. There is no Go release process yet.
0 commit comments