docs: the Git mask-target record says only the installer creates them, but the server prepares them live

Aperta Adatta ai principianti
#4,470 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
62/100
Tipo di issue
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
git, typescript
Ambito
documentation

Direzione di ricerca

Inizia dal paragrafo in docs/decisions/governed-writable-workers.md, righe 2853-2859, che afferma che i target mask vengono creati solo dal programma di installazione first-party di proprietà. Leggi prepareMaintenanceGitTargets in packages/ui-server/src/brain/maintenance-git.ts (intorno alle righe 124-151) e resolveWorkerProtection in packages/ui-sdk/src/server/worker-launcher.ts (intorno alla riga 1061) per confermare entrambi i creatori. Modifica il testo per nominare entrambi i creatori e indicare quando si applica ciascuno, incluso il caso publish:false. Poi esegui bun scripts/check-citations.ts per confermare che le citazioni continuino a risolversi.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

agent-ready area: docs priority: p3 type: docs

Part of #4426 (follow-ups from #4278). Deferred from the final review of PR #4444.

Context

docs/decisions/governed-writable-workers.md:2853-2859 says that originally absent mask targets "are created only by the owned first-party installer". The server also creates them:

  • Before each maintenance checkpoint: the server creates them in the live .git (prepareMaintenanceGitTargets, packages/ui-server/src/brain/maintenance-git.ts:124-151). This includes operations that publish nothing, such as the storage-removal review (packages/ui-server/src/storage/removal-facts.ts:12-14).
  • During governed admission: resolveWorkerProtection creates them too (packages/ui-sdk/src/server/worker-launcher.ts:1061).

Main's status made the same directories live before the epic, so the record was already inaccurate there.

Scope

Amend the record only; no code change. The amendment should state that:

  • the server prepares the three empty targets live, as their owner, before the checkpoint;
  • the installer's scaffold path and live-absence check apply only to targets still absent from the checkpoint.

Acceptance criteria

  • The record names both creators and when each applies.
  • The record states that a publish:false operation may leave the three empty directories in the live .git, and why that is accepted.
  • Code citations in the amended paragraph hold under bun scripts/check-citations.ts.
Lingua principale
TypeScript
Stelle
5
Fork
0
Merge medio
7h 22m
PR unite (30g)
600

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di schlessera/brain-kit

Tutte le issue di schlessera/brain-kit

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.