Skip to content

feat(distribution): add real install and release paths #416

Closed

Description

@Sinity

Context

The README/product-tour work keeps pointing at a deeper gap: Polylogue has a flake and source-checkout workflows, but it does not yet have a clearly supported release/install story for users.

This is separate from README copy (#412) and package-boundary cleanup (#414). README should be able to point at real install/try commands instead of implying that a dev checkout is the product.

Problem

A new user should be able to answer:

  • how do I try Polylogue without committing to a full install?
  • how do I install it on NixOS or with Nix from any machine?
  • how do I install it outside Nix?
  • what is the supported release artifact and versioning story?
  • which commands are product commands, and which are source-tree devtools?

Today those answers are partial or implicit. The wheel also currently exposes devtools alongside polylogue, which may be right for a source checkout but is suspicious for a user-facing distribution.

Target model

Support a small but real distribution story:

  • Nix: nix run github:Sinity/polylogue or equivalent for try-without-install.
  • NixOS/Home Manager: documented package/module usage where appropriate.
  • Non-Nix: a viable Python package/install path, with clear prerequisites and limitations.
  • Releases: version, tag, changelog/release-note expectations, and artifact smoke checks.
  • Product/dev split: installed user package exposes product surfaces; source checkout/devshell exposes repo control-plane tooling.

Acceptance criteria

  • A fresh user can run Polylogue through a documented Nix command without cloning manually.
  • A non-Nix install path is documented and smoke-tested, even if packaging to downstream distros remains future work.
  • Release/versioning docs state how tags, pyproject.toml, generated docs, and package builds relate.
  • Packaging decides whether devtools ships in the user wheel; if it remains included, the reason is documented.
  • README docs: rebuild README as executable product tour #412 can point to these install paths without inventing commands.
  • Focused verification covers package build and at least one command smoke through the installed artifact.

Related work

Activity

  1. added
    type:feat
    type:tracking
    on Apr 26, 2026
  2. Sinity commented on Apr 26, 2026

    @Sinity
    OwnerAuthor

    Follow-up audit notes — package boundary evidence

    Distribution/package-boundary audit confirms this is a real packaging decision, not just README wording.

    Concrete evidence:

    • pyproject.toml exposes both commands in [project.scripts]:
      • polylogue = "polylogue.cli:main"
      • devtools = "devtools.__main__:main"
    • pyproject.toml packages both roots in the wheel:
      • packages = ["polylogue", "devtools"]
    • The Nix flake uses a different model: a package for Polylogue plus a devshell devtools wrapper tied to POLYLOGUE_REPO_ROOT.
    • README currently tells users to use devtools lab-corpus in Quickstart, which is source-checkout/devshell oriented rather than a clean installed-product story.

    Acceptance clarification:

    • Decide whether devtools is intentionally part of a published wheel. If yes, document it as an operator/repo-control-plane command and ensure it works outside a source checkout. If no, remove it from published package scripts and keep it devshell/source-only.
    • README docs: rebuild README as executable product tour #412 should not depend on source-checkout devtools for normal product trying unless the distribution story says that is the supported first-run path.
    • Nix nix run should run the product command by default, not the repo maintenance command.
  3. Sinity commented on May 1, 2026

    @Sinity
    OwnerAuthor

    Superseded by #576, which consolidates this scope with the verified architecture/proof/interface closure residuals into one acceptance scoreboard.

  4. Sinity commented on May 1, 2026

    @Sinity
    OwnerAuthor

    Closing as superseded by #576.

  5. Sinity commented on May 7, 2026

    @Sinity
    OwnerAuthor

    Closed-scope audit found distribution is largely implemented, with one stale-doc/gate reconciliation item now tracked in #944.

    Evidence: pyproject.toml exposes product scripts only, the package list is runtime-only, and devtools verify-distribution-surface builds/smokes wheel and sdist surfaces. However docs/release.md still says to verify wheel/sdist "once #416 lands the install path", so the release docs still describe this as future work.

    #944 should update the distribution/release wording and make the packaging gate expectation match the implemented surface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:cliarea:docsarea:nixtype:feattype:tracking

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions