Skip to content

Repository files navigation

zed-docs

Architecture and design docs for zed-pkg, the universal package manager backed by the VCS hosts you already use.

Each doc below answers one of the tracked issues, in order. Where a design is already implemented, the doc links to the code.

#TopicStatus
1CAS + symlinks: dependency fetching decoupled from buildimplemented
2Global store <-> project bridge under OCIimplemented
3Polyglot version strings (git/hg tags, commits)implemented
4Lockfile vs mutable tags/branchesimplemented
5Source caching vs build cachingimplemented
6Process-level locking for concurrent CLIsimplemented; blocking OS locks + process regressions
7From concept to enterprise-gradeimplemented*
8Fast Rust CI (<3 min)implemented
9Multi-OS / multi-arch CLI distributionimplemented
10End-to-end testing across servers, CLI, and browsersimplemented
11Deploying the registry to Kubernetes (GitOps app-of-apps)implemented
12In-cluster e2e (kind + in-memory profile + Argo CD)implemented
13Remote browser-grid e2e (ORES clusters, AWS + Hetzner)partial
14Client-side sync patterns + opto-sync package adoptionpackage-ready; migration staged
15The manifest, where deps go, complementing npm/mavenimplemented
16zed-pkg-test CI harness (GitHub Actions only)node + rust proven
17Polyglot client libraries: one repo, one package per languageimplemented
18Native registry fan-out and target-only forge mirrorsdirection set
19Polyglot publishing: what is actually verified (audit of 18)verified in CI
20Repository synchronization and semantic conflict resolutionoperational runbook
21Deterministic offline release-plan review in a browserimplemented; three-engine + print/a11y verified
22Real flags2env C parser in browser WebAssembly and workersimplemented; three-engine verified
23Nix–Zed interoperability through sealed, immutable adapter recordsproposal; implementation staged
24Recursive dependency graphs, five-worker prefetch, and per-artifact locksimplemented; external E2E certified
25Complete one-version solving for overlapping transitive rangesimplemented; independent black-box certification
26Pure deterministic Zed → Nix flake-bundle rendering contractimplementation under review
27Durable .zpkg.toml creation on first dependency installimplemented; Node + Go/Python/Rust certified on Linux/macOS
28Flox, Devbox, mise/asdf, and scratch OCI interoperabilityRFC; executable policy validated
29Native prerequisites, install hooks, consent boundaries, staging, caching, and Nix puritymanifest contract implemented; installer lifecycle under review
30Git submodules vs Zed packages, workspaces, release composition, and deployment boundariesoperational policy; pack guard under review
31zed-lock: helper-thread async adapters over kernel-backed cross-process locksarchitecture approved; extraction tracked
32Organization clients/interfaces/lib/CLI/monorepo package pattern and fleet auditoperational policy; rollout audited
33Canonical GitHub organization, Linear project, GitHub Project, and artifact ownership registryoperational policy; Projects permission blocked
34Terminal/TTY/shell context, prompt safety, and cross-platform certificationimplemented; Linux/macOS/Windows certified
35Native registry hosts, wire protocols, and per-ecosystem release-candidate trackscontract implemented; multi-request publishes outstanding

Independent executable acceptance contracts that do not consume architecture numbers are indexed separately. The first is the zed develop clean-room acceptance contract, which is already on main and remains deliberately unnumbered.

* Enterprise features are implemented except SSO and per-org storage quotas, which remain planned. Audit logs shipped (zed org audit, GET /v1/orgs/{org}/audit); the quota that exists today is the org-claim squatting limit, which is a different thing. See doc 7.

The model in one paragraph

A package is <org>/<name> with a .zpkg.toml manifest (TOML only). Its source of truth is a repo on any git/hg/jj/sapling/fossil/pijul host; zpkg.tech is the primary artifact host and the forge is the mirror + provenance anchor. zed publish packs a pruned, deterministic tarball (tests, CI, .github/, READMEs stripped; licenses kept), verifies a matching VCS tag at HEAD, and uploads. zed install resolves semver, downloads each artifact once into a content-addressed store at $HOME/.zed-pkg, verifies its sha256, and symlinks it into the project's zed_modules/ — pnpm-style.

Governance

Organization contribution and review rules are in CONTRIBUTING.md. In particular, a pull request may not be closed as superseded until its successor incorporates and traces at least one substantive item from every predecessor.

This documentation is MIT licensed. See LICENSE. Report suspected security issues using the private-first procedure in SECURITY.md, not a public issue containing exploit details or credentials.

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages