Skip to content

Scenario: writ self install — a machine that has never seen writ can use it #891

Description

@David-Noble-at-work

The scenario

A developer brings up a new machine. She installs writ, and the first thing she does is point it at her three
layer repositories.

Install writ on a clean machine and register a layer.

Neither half works today, and the second fails because of the first.

Observed 2026-09-13 on danoble-ud24-1.local, a Linux machine with no devlore presence of any kind.
writ self install completed, and then:

$ writ repo list --output table
LAYER     ROOT                                                         STATE
base      /home/david-noble/.local/share/devlore/writ/layers/base      registered
team      /home/david-noble/.local/share/devlore/writ/layers/team      registered
personal  /home/david-noble/.local/share/devlore/writ/layers/personal  registered

$ writ repo add base [email protected]:NobleFactor/noblefactor-ops.git
Cloning into '/home/david-noble/.local/share/devlore/writ/repos/base'...
Error: layer base is already registered; run 'writ repo remove base' first

Three registrations she never made, whose root is the registration directory itself. Registering a real
repository is then refused — after the clone has already completed, leaving a repository on disk that nothing
points at.

Every consequence follows from install writing state it should not:

  • She cannot register a layer without first removing three registrations she did not create.
  • The attempt leaves an orphaned clone behind, so she is cleaning up writ's own state by hand.
  • writ status on that machine fails rather than reporting an empty store, so she cannot ask what is deployed.
  • Uninstalling any one of lore, star or writ removes the other two's man pages, because install claimed them all.

The narrative, in beats

Each beat is a step in that story, and each is already an issue in whichever epic owns the machinery.
The thread supplies the order; the epics keep the ownership.

The beats are on Scenario: devlore, under Scenario "writ self install — a machine that has never seen writ can use it". Ruled 2026-11-03: the board replaces the table that was here.

Beat 2 is the center. Beat 1 makes the install honest about what it owns; beat 3 makes the machine answerable
once it is installed.

Evidence of completion

On a machine with no devlore presence: writ self install, then writ repo list reports three unregistered
layers, writ status reports an empty store, and writ self uninstall of any one program leaves the other
two's man pages in place.

NobleFactor/devlore-cli#855 is the acceptance test that this thread, Thread:WritRepo and Thread:WritDeploy
all passed, on every platform.

Activity

  1. David-Noble-at-work commented on Sep 14, 2026

    @David-Noble-at-work
    ContributorAuthor

    Scheduled. This thread's beats are lanes 1 #840, 2 #756, 3 #780 of NobleFactor/devlore-cli#894 (schedule), which carries all three threads in one order. The thread closes when its lanes close and the scenario runs clean on darwin and linux.

  2. David-Noble-at-work commented on Nov 5, 2026

    @David-Noble-at-work
    ContributorAuthor

    Recorded on 2026-11-05 by the closing of the issue data model's design, NobleFactor/noblefactor-engprod#303.

    An item leaves a scenario when it moves to Triage or onto a schedule. These items had moved already, so their rows come off Scenario: devlore with this comment:

  3. David-Noble-at-work commented on Nov 16, 2026

    @David-Noble-at-work
    ContributorAuthor

    Ruled 2026-11-15 (NobleFactor/noblefactor-engprod#507, section 9, question 7): a closed item leaves its scenario. These closed items left Scenario: devlore on 2026-11-16, their rows removed by #507's pull request script: #756, #917.

  4. changed the title [-]Thread: writ self install — a machine that has never seen writ can use it[/-] [+]Scenario: writ self install — a machine that has never seen writ can use it[/+] on Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions