Skip to content

Scenario: writ repo set and unset — a layer points where you say #892

Description

@David-Noble-at-work

The scenario

Three repositories contribute to a machine: noblefactor-ops as base, devlore-cli as team, personal as
personal. A developer registers them, and later moves one: the personal repository was a working tree in
~/Workspace/Personal and is now a clone writ should make for itself, or the other way round.

Point a layer at a repository. Then point it somewhere else. Then take it away.

The first works. The second is refused. The third leaves a repository behind.

  • writ repo add <layer> <url> clones first and validates second, so a refusal leaves a complete clone
    that nothing points at.
  • Registering a layer that is already registered is refused, and the user is sent to remove first — a state
    nobody wants, guarding an intent everybody has, since a layer has exactly one registration and registering
    it again means re-pointing it.
  • writ repo remove drops the registration and leaves the clone writ made in its own home, so the next
    registration from a URL finds the directory occupied.
  • A clone writ makes is named for the layer, so three clones are called base, team and personal
    whatever repositories they are, and repo list cannot say which repository a layer is.
  • Nothing brings a cloned layer forward: its manifests stay at the checkout writ made until the user runs
    git pull by hand.

The narrative, in beats

The beats are on Scenario: devlore, under Scenario "writ repo set and unset — a layer points where you say". Ruled 2026-11-03: the board replaces the table that was here.

Beat 1 is the center: it is the verb the other three hang from. Beat 2 is what makes re-pointing safe, because
set displacing a writ-owned clone is the same ownership question as unset removing one.

What this thread does not decide

A working tree the user registered by path is theirs and is never touched: the registration alone goes. Only a
clone writ made in its own home is writ's to remove. That rule is stated in #791 and #792 and is not reopened
here.

Waits on

Thread:WritSelfInstall. On a fresh machine, install leaves three registrations behind, so repo set has
nothing clean to act on until #840 lands.

Evidence of completion

On a machine with layers registered: writ repo set registers a new layer and re-points an existing one,
narrating what changed and removing a writ-owned clone it displaces; writ repo unset removes the registration
and the clone writ made; add, remove, rm and ls are unknown commands; repo list names the repository
each layer is; and a cloned layer can be refreshed.

NobleFactor/devlore-cli#855 is the acceptance test across all three threads.

Activity

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

    @David-Noble-at-work
    ContributorAuthor

    Scheduled. This thread's beats are lanes 4 #791, 5 #792, 6 #793, 7 #812 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 Sep 18, 2026

    @David-Noble-at-work
    ContributorAuthor

    Rescheduled 2026-09-15 by the owner: #791 and #792 moved to #887 (schedule) as lanes 8 and 9, so the command line work ends with the verbs its specification names. This thread’s remaining beats are lanes 4 (#793) and 5 (#812) of #894 (schedule).

  3. 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:

  4. 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: #791, #792, #793.

  5. changed the title [-]Thread: writ repo set and unset — a layer points where you say[/-] [+]Scenario: writ repo set and unset — a layer points where you say[/+] 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