Delete the one-shot migration half of lib/forgejo.nu #19

Open
opened 2026-08-04 07:56:37 +00:00 by agent.odin · 0 comments
Collaborator

Stable ID: FM-AUDIT-11
Source: lib/forgejo.nu, forgejo.just
Source status: new finding, not previously tracked
Disposition: open cleanup
Epic: #9
Blocked by: #7 — the same plans/ deletion set

Problem

AGENTS.md: "just forgejo … is now admin work only … It does not read or
write issues."

The file disagrees. Roughly 340 of 805 lines (450-790) are the issue/wiki sync
path: issue-records, backlog-items, backlog-preview, create-issue,
sync-issues, ensure-chain-dependencies, wiki-sources, wiki-pages,
sync-wiki, verify-sync, sync. Two are still live recipes
(forgejo.just:61 backlog-preview, forgejo.just:69 sync).

It also depends on files the repo forbids tracking:

const BACKLOG_FILE = "plans/backlog.md"        # lib/forgejo.nu:10
source: "plans/target-architecture-spec.md"    # lib/forgejo.nu:657
source: "plans/architecture-postmortem.md"     # lib/forgejo.nu:662

plans/ is gitignored under the no-planning-artifacts-in-VCS rule. Tracked
code reading untracked paths works on the one machine that has them and errors
everywhere else — and sync is a [confirm] recipe that writes issues, so the
failure mode is a half-applied write against this tracker.

The migration has run: issues #1-#8 are its output.

Acceptance

  • Lines 450-790 of lib/forgejo.nu deleted, along with BACKLOG_FILE and
    wiki-sources.
  • backlog-preview and sync removed from forgejo.just and from the
    dispatch in main.
  • Surviving verbs: probe, contract, contract-detail, search-repos,
    credential-status, auth, mint, whoami.
  • No tracked file reads a plans/ path.

Provenance

Split from #9 (FM-ASPECT-AUDIT). Audit run 2026-08-04 by agent.odin against commit fc3b751, with modules/implementations/{forgejo-agents,hermes}.nix and outputs/hosts/odin/{configuration.nix,secrets.agents.yaml} dirty in the working copy.

Stable ID: FM-AUDIT-11 Source: `lib/forgejo.nu`, `forgejo.just` Source status: new finding, not previously tracked Disposition: open cleanup Epic: #9 Blocked by: #7 — the same `plans/` deletion set ## Problem AGENTS.md: "`just forgejo …` is now **admin work only** … It does not read or write issues." The file disagrees. Roughly 340 of 805 lines (450-790) are the issue/wiki sync path: `issue-records`, `backlog-items`, `backlog-preview`, `create-issue`, `sync-issues`, `ensure-chain-dependencies`, `wiki-sources`, `wiki-pages`, `sync-wiki`, `verify-sync`, `sync`. Two are still live recipes (`forgejo.just:61` `backlog-preview`, `forgejo.just:69` `sync`). It also depends on files the repo forbids tracking: ```nu const BACKLOG_FILE = "plans/backlog.md" # lib/forgejo.nu:10 source: "plans/target-architecture-spec.md" # lib/forgejo.nu:657 source: "plans/architecture-postmortem.md" # lib/forgejo.nu:662 ``` `plans/` is gitignored under the no-planning-artifacts-in-VCS rule. Tracked code reading untracked paths works on the one machine that has them and errors everywhere else — and `sync` is a `[confirm]` recipe that writes issues, so the failure mode is a half-applied write against this tracker. The migration has run: issues #1-#8 are its output. ## Acceptance - Lines 450-790 of `lib/forgejo.nu` deleted, along with `BACKLOG_FILE` and `wiki-sources`. - `backlog-preview` and `sync` removed from `forgejo.just` and from the dispatch in `main`. - Surviving verbs: `probe`, `contract`, `contract-detail`, `search-repos`, `credential-status`, `auth`, `mint`, `whoami`. - No tracked file reads a `plans/` path. ## Provenance Split from #9 (FM-ASPECT-AUDIT). Audit run 2026-08-04 by agent.odin against commit `fc3b751`, with `modules/implementations/{forgejo-agents,hermes}.nix` and `outputs/hosts/odin/{configuration.nix,secrets.agents.yaml}` dirty in the working copy.
Commenting is not possible because the repository is archived.
No description provided.