Repository navigation
Description
Navigation: This is a tracking umbrella. Active work happens in the child issues below.
Children (decomposed 2026-05-17), one per distribution channel:
- feat(dist): PyPI release workflow with trusted-publisher OIDC and installed-smoke tests #1234 — PyPI release workflow with trusted-publisher OIDC and installed-smoke tests
- feat(dist): Nix flake module/service path with cachix and out-of-repo nix run #1235 — Nix flake module/service path with cachix and out-of-repo
nix run- feat(dist): OCI container image for polylogued with healthcheck and volume contract #1236 — OCI container image for
polyloguedwith healthcheck and volume contract- feat(dist): Homebrew formula for macOS/Linux with polylogue + polylogued + polylogue-mcp #1237 — Homebrew formula for macOS/Linuxbrew (depends on PyPI: feat(dist): PyPI release workflow with trusted-publisher OIDC and installed-smoke tests #1234)
- feat(dist): browser extension packaged release artifact and installation docs #1238 — browser extension packed release artifact and installation docs
Each child is independently closable. Do not implement at this umbrella level.
Why this exists (original context preserved)
Summary
Set up Polylogue for broad distribution across packaging channels so an external user can install it without cloning the repo.
Why
Today the only supported install path is `nix develop` inside this repo. `pyproject.toml` declares a wheel and Nix has a flake output, but neither is published. The browser extension is unpacked-only. There's no container image. For external adoption, each missing channel is a barrier.
Acceptance criteria
Pick a phased rollout, all phases tracked here:
Phase 1 — Python
- Publish `polylogue` to PyPI on tag (`vX.Y.Z`)
- Publish a console-only wheel that omits Drive/voyage extras unless requested
- `pip install polylogue` produces working `polylogue`, `polylogued`, `polylogue-mcp` binaries
- Documented install in `README.md`
Phase 2 — Nix flake
- Confirm `nix run github:Sinity/polylogue` works end-to-end without a checkout
- Provide a NixOS module example (already partially in `nix/module.nix`) with documented options
- Publish on flakehub or equivalent registry
Phase 3 — OCI container
- A multi-stage Containerfile producing a single image with all three binaries
- Volumes documented for `/data` and `/config`
- Pushed to GHCR on tag
Phase 4 — Browser extension
- Manifest hardening for the Chrome Web Store reviewer (privacy policy, optional permissions, justification)
- Submit to Chrome Web Store
- Firefox MV3 compat check (Firefox is mostly MV3-compatible now) → submit to AMO
Phase 5 — Optional convenience channels
- Homebrew tap or formula
- Arch AUR package
Each phase ships behind its own PR and updates `docs/release.md`.
Out of scope
- Hosting the daemon as a SaaS (this is a local-first project)
- Mobile builds
Related
- docs: revamp README + assurance visuals (screencasts, webui+extension screenshots) #952 (docs revamp must precede broad distribution — README is what new users see first)
Activity
Sinity commentedon May 8, 2026
Closing: distribution packaging is deferred. Current distribution is via Nix flake (nix run, nix develop) and source checkout. PyPI, Homebrew, and container packaging require build infrastructure that's tracked as future work.
Sinity commentedon May 9, 2026
Reopening: closeout deferred this to "MK2/future" without explicit authorization. Per CLAUDE.md §10 (Completion Stewardship) and the issue-closeout-honesty rule, deferral isn't a close reason unless the user agrees. Either complete or convert to a tracked successor with explicit user sign-off.
Sinity commentedon May 11, 2026
Strengthening pass — distribution packaging phases
This issue should be phased by install contract, not by packaging wish list.
Recommended phases:
nix runand module/service path work outside the repo devshell, with generated docs matching actual commands.Acceptance for each phase:
polylogue,polylogued, andpolylogue-mcpentrypoints are present where intended.Implementation anchors:
pyproject.toml,hatch_build.py,flake.nix,nix/module.nix, installed script smoke tests, release docs, anddevtools verify-distribution-surface.feat(distribution): PyPI/container packaging readiness (#953) (#1141)
Sinity commentedon May 17, 2026
Decomposed into: #1234 #1235 #1236 #1237 #1238
feat(dist): OCI container with multi-arch + healthcheck + compose (#1236
feat(dist): Nix flake module + service + cachix + FlakeHub (#1235) (#…
feat(dist): Homebrew formula + auto-bump action (#1237) (#1341)
Sinity commentedon May 24, 2026
Done: all 5 distribution-channel children (#1234 PyPI, #1235 Nix flake, #1236 OCI, #1237 Homebrew, #1238 browser extension) are CLOSED. Umbrella complete. Onboarding doc references absorbed into #869.