Skip to content

packages devx: lyracore publish defaults to ALL provisioned databases #91

Closed
LyraCoreProject/lyracore-cli
#31

Description

@Mathih13

Spec: the packages-devx design, §4 (public proposal: #1; the full design doc lives in the private working origin).

Change lyracore publish (lyracore-cli repo + pin bump) so no args = every provisioned database, replacing today's "no args = the fixture database". Partial-shard publish is the most documented trap in docs/danger-zones.md (presents as an unrelated mid-session hang), and the fixture is already four databases — the safe thing must be the zero-thought default. Naming databases stays supported as the explicit expert case. Update docs/development-cli.md §publish accordingly.

Done when: lyracore publish with no arguments publishes all databases dev status knows about (verified against the 4-DB fixture), and lyracore publish <one-db> still targets only that one.


Migrated 2026-08-11 from the private tracker (spacetime-core#499).

Activity

  1. Mathih13 commented on Aug 24, 2026

    @Mathih13
    ContributorAuthor

    This was generated by AI during triage.

    Agent Brief

    Category: enhancement
    Summary: Make bare lyracore publish target the persisted fixture topology.

    Current behavior:
    The pinned CLI publishes only lyracore when no destination is named, although its topology model knows the four sharded fixture destinations. Existing tests preserve this unsafe default.

    Desired behavior:
    With explicit destination names, publish only those destinations. With no names, read the persisted active fixture topology. An active single fixture publishes its one destination. An active sharded fixture publishes its four ordered destinations. If no fixture is active, use the configured default sharded fixture topology. Keep the existing fail-fast behavior and report the destination that failed.

    Key interfaces:

    • Bare lyracore publish
    • Explicit destination arguments
    • Persisted fixture topology used by development status

    Acceptance criteria:

    • Bare publish targets one destination for an active single fixture.
    • Bare publish targets all four ordered destinations for an active sharded fixture.
    • With no active fixture, bare publish uses the configured four-destination default.
    • Explicit destination arguments remain exact.
    • Publication stops at the first failure and names completed and unattempted destinations.
    • CLI documentation and tests no longer describe lyracore as the universal bare default.

    Out of scope:

    • Production Realm discovery
    • Parallel publication or rollback
  2. added
    ready-for-agentComplete enough to build from the issue alone, by a person or their agent
    on Aug 24, 2026
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

    P2normalenhancementNew feature or requestready-for-agentComplete enough to build from the issue alone, by a person or their agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions